/* ===================================
   Maisey Fence - Modern Website Styles
   =================================== */

/* CSS Variables - Dark Mode */
:root {
    --primary: #cb4154;
    --primary-dark: #a83344;
    --primary-light: #e85a6b;
    --secondary: #252627;
    --secondary-light: #333435;
    --accent: #d4a853;
    --white: #ffffff;
    --off-white: #1a1b1c;
    --bg-dark: #151617;
    --bg-card: #1e1f20;
    --bg-card-hover: #2a2b2c;
    --gray-100: #2a2b2c;
    --gray-200: #333435;
    --gray-300: #404142;
    --gray-400: #505152;
    --gray-500: #808182;
    --gray-600: #a0a1a2;
    --gray-700: #c0c1c2;
    --gray-800: #e0e1e2;
    --gray-900: #f0f1f2;

    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--bg-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
}

.text-accent {
    color: var(--primary);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-light {
    background: var(--white);
    color: var(--bg-dark);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--white);
}

.logo-icon {
    font-size: 1.75rem;
    color: var(--primary);
}

.logo-accent {
    color: var(--primary);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: rgba(255, 255, 255, 0.9);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 1.1rem;
}

.nav-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-estimate:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--white);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(203, 65, 84, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 83, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 38, 39, 0.75) 0%, rgba(51, 52, 53, 0.65) 100%);
    z-index: -1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-badge span {
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .text-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.stat {
    text-align: center;
    padding: 0 10px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Services Section
   =================================== */
.services {
    padding: 100px 0;
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--gray-300);
}

.service-card.featured {
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.service-title {
    font-size: 1.375rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-title {
    color: var(--white);
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.service-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.service-link:hover {
    gap: 12px;
}

/* ===================================
   Maisey Latch Section
   =================================== */
.maisey-latch {
    padding: 100px 0;
    background: var(--bg-dark);
}

.latch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.latch-content .section-title {
    text-align: left;
}

.latch-tagline {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.6;
}

.latch-tagline strong {
    color: var(--primary);
}

.latch-desc {
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.latch-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.latch-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
}

.latch-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 65, 84, 0.2);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.latch-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.latch-img-main,
.latch-img-secondary {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.latch-img-main {
    grid-column: span 2;
}

@media (max-width: 1024px) {
    .latch-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .latch-images {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .latch-features {
        grid-template-columns: 1fr;
    }

    .latch-images {
        grid-template-columns: 1fr;
    }

    .latch-img-main {
        grid-column: span 1;
    }
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: 100px 0;
    background: var(--secondary);
    color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid var(--bg-card);
    background: var(--bg-card);
}

.img-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.about-img-secondary .img-placeholder {
    aspect-ratio: 1;
}

.about-experience {
    position: absolute;
    top: 40px;
    left: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-content .section-title {
    text-align: left;
    color: var(--white);
}

.about-content .section-tag {
    color: var(--primary-light);
}

.about-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}

.about-feature {
    display: flex;
    gap: 12px;
}

.feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 65, 84, 0.2);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-text strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--white);
}

.feature-text span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: 100px 0;
    background: var(--secondary);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--gray-300);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: var(--transition);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-dark);
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}

.testimonials-track .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: calc(33.333% - 16px);
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--gray-300);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-400);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--primary-light);
}

@media (max-width: 1024px) {
    .testimonials-track .testimonial-card {
        flex: 0 0 calc(50% - 12px);
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .testimonials-track .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--gray-300);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info strong {
    display: block;
    color: var(--white);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.testimonials-cta {
    text-align: center;
}

.testimonials-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.review-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.review-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
}

.review-link:hover {
    background: var(--bg-card-hover);
    border-color: var(--gray-300);
}

.review-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--white);
}

/* ===================================
   Financing Section
   =================================== */
.financing {
    padding: 100px 0;
    background: var(--secondary);
    position: relative;
}

.financing-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.financing-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.financing-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.financing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    text-align: left;
}

.financing-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.financing-feature:hover {
    background: var(--bg-card-hover);
    border-color: var(--gray-300);
    transform: translateY(-4px);
}

.financing-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(203, 65, 84, 0.2);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 1.25rem;
}

.financing-text strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.financing-text span {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

@media (max-width: 640px) {
    .financing-features {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Membership Section
   =================================== */
.membership {
    padding: 100px 0;
    background: var(--bg-dark);
}

.membership-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.benefit-icon {
    font-size: 1.25rem;
}

.membership-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.plan-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--gray-300);
}

.plan-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.02);
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-8px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.plan-name {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.price-period {
    font-size: 1rem;
    color: var(--gray-500);
}

.plan-annual {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.plan-annual span {
    color: var(--primary);
}

.plan-features {
    flex: 1;
    margin-bottom: 24px;
}

.plan-includes {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 8px 0;
    color: var(--gray-600);
    font-size: 0.9375rem;
    padding-left: 24px;
    position: relative;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.plan-features li strong {
    color: var(--white);
}

.membership-addon {
    text-align: center;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

.membership-addon p {
    color: var(--gray-600);
    margin: 0;
}

.membership-addon strong {
    color: var(--white);
}

@media (max-width: 1024px) {
    .membership-plans {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .plan-card.featured {
        transform: none;
        order: -1;
    }

    .plan-card.featured:hover {
        transform: translateY(-8px);
    }

    .membership-benefits {
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .membership-benefits {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: 80px 0;
    background: var(--secondary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact .section-header {
    margin-bottom: 40px;
}

.contact .contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info .section-title {
    text-align: left;
    color: var(--white);
}

.contact-info .section-tag {
    color: var(--primary-light);
}

.contact-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius);
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-text-block strong {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-text-block a,
.contact-text-block span {
    color: var(--white);
    font-size: 1.0625rem;
}

.contact-text-block a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius);
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--white);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    background: var(--bg-dark);
    color: var(--white);
    transition: var(--transition);
}

.form-group select {
    color: var(--gray-500);
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(203, 65, 84, 0.2);
    background: var(--secondary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 16px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-credit a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.footer-credit .ff-credit-logo {
    height: 32px;
    width: auto;
    vertical-align: middle;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer-credit a:hover .ff-credit-logo {
    opacity: 1;
}

/* FieldFuze logo block inside blog article */
.ff-logo-block {
    display: flex;
    justify-content: center;
    margin: 28px 0;
}

.ff-logo-block img {
    height: 56px;
    width: auto;
    transition: transform 0.2s ease;
}

.ff-logo-block a:hover img {
    transform: translateY(-2px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-img-secondary {
        right: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta,
    .nav-estimate {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-dark);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        gap: 0;
    }

    .nav-links.active a {
        color: var(--white);
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-200);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* ===================================
   Dropdown Navigation
   =================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition-fast);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.nav-dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* ===================================
   Breadcrumb Navigation
   =================================== */
.breadcrumb {
    padding: 16px 0;
    margin-top: 80px;
    border-bottom: none;
    background: var(--secondary);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.breadcrumb-list a {
    color: var(--gray-600);
    transition: var(--transition-fast);
}

.breadcrumb-list a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--gray-400);
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

/* ===================================
   Subpage Hero
   =================================== */
.subpage-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(203, 65, 84, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 83, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.subpage-hero .container {
    position: relative;
    z-index: 1;
}

.subpage-hero .section-tag {
    margin-bottom: 16px;
}

.subpage-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-family: var(--font-display);
    margin-bottom: 16px;
    color: var(--white);
}

.subpage-hero-title strong {
    color: var(--primary);
}

.subpage-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   Content Sections (Subpages)
   =================================== */
.content-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.content-section.alt-bg {
    background: var(--secondary);
}

/* Gradient separator between consecutive content sections */
.content-section + .content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
    z-index: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

/* Style ALL images inside content grids (with or without .content-image wrapper) */
.content-grid img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: var(--transition);
}

.content-grid > div:hover img {
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    border-color: var(--gray-300);
}

.content-image {
    position: relative;
}

.content-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(203,65,84,0.2);
    pointer-events: none;
}

.content-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 20px;
    font-family: var(--font-display);
    color: var(--white);
}

.content-text h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 12px;
}

.content-text p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-text ul {
    margin-bottom: 16px;
}

.content-text ul li {
    color: var(--gray-700);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.7;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.content-text ul li strong {
    color: var(--white);
}

/* ===================================
   Process Steps
   =================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    counter-reset: step;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    counter-increment: step;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.process-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===================================
   Comparison Table
   =================================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    text-align: left;
    padding: 16px 20px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--primary);
}

.comparison-table td {
    padding: 14px 20px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}

.comparison-table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tr:hover td {
    background: rgba(203, 65, 84, 0.05);
}

/* ===================================
   FAQ Section (Subpages)
   =================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gray-300);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle {
    font-size: 1.25rem;
    transition: var(--transition);
    color: var(--primary);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===================================
   Related Services Grid
   =================================== */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: var(--bg-card-hover);
}

.related-card:hover::before {
    opacity: 1;
}

.related-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--white);
}

.related-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.related-card .btn {
    font-size: 0.875rem;
    padding: 10px 20px;
}

/* ===================================
   Neighborhoods Grid
   =================================== */
.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.neighborhood-item {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 24px;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.neighborhood-item:hover {
    border-color: var(--primary);
    color: var(--white);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===================================
   Blog Grid & Cards
   =================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 28px;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--white);
    transition: var(--transition-fast);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link:hover {
    gap: 10px;
}

/* Blog Post Content */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.blog-content h2 {
    font-size: 1.75rem;
    margin: 40px 0 16px;
    font-family: var(--font-display);
}

.blog-content h3 {
    font-size: 1.375rem;
    margin: 32px 0 12px;
}

.blog-content p {
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 20px;
}

.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.blog-content li {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 8px;
}

.blog-content a {
    color: var(--primary);
    text-decoration: underline;
}

.blog-content a:hover {
    color: var(--primary-light);
}

/* ===================================
   CTA Banner (Subpages)
   =================================== */
.cta-banner {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    font-family: var(--font-display);
    color: var(--white);
}

.cta-banner h2 strong {
    color: var(--white);
}

.cta-banner p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-banner .btn {
    font-size: 1.1rem;
    padding: 16px 36px;
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.cta-banner .btn:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}


/* ===================================
   Responsive - New Components
   =================================== */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-grid.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0;
        min-width: auto;
    }

    .nav-dropdown-menu li a {
        padding: 8px 20px;
        font-size: 0.85rem;
        color: var(--gray-500);
    }

    .dropdown-arrow {
        display: none;
    }

    .breadcrumb {
        margin-top: 70px;
    }

    .subpage-hero {
        padding: 48px 0 36px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }

    .neighborhoods-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(203, 65, 84, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}
.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.floating-cta:hover {
    background: #b83a4b;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(203, 65, 84, 0.55);
}
.floating-cta-icon {
    font-size: 1.1rem;
}
@media (max-width: 480px) {
    .floating-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Quick Contact Bar */
.quick-contact-bar {
    background: var(--primary);
    padding: 16px 0;
}
.quick-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.quick-contact-text {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quick-contact-text strong {
    font-size: 1.1rem;
}
.quick-contact-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}
.quick-contact-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.btn-sm {
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
}
@media (max-width: 768px) {
    .quick-contact-inner {
        flex-direction: column;
        text-align: center;
    }
    .quick-contact-actions {
        flex-direction: column;
        width: 100%;
    }
    .quick-contact-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Scroll Animations (will be triggered by JS) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   UI POLISH LAYER — 2026-08-26
   Refines spacing, hierarchy, contrast & polish on top of the
   existing dark + red (#cb4154) + gold (#d4a853) palette.
   Appended last (refines base by cascade). clamp() keeps it
   responsive without clobbering the mobile breakpoints above.
   Fully removable as one block.
   ============================================================ */

/* ---- Container & vertical rhythm ---- */
.container { max-width: 1210px; padding-left: clamp(20px, 4vw, 32px); padding-right: clamp(20px, 4vw, 32px); }
.services, .about, .gallery, .financing, .membership,
.maisey-latch, .testimonials, .content-section {
    padding-top: clamp(72px, 9vw, 120px);
    padding-bottom: clamp(72px, 9vw, 120px);
}
.section-header { margin-bottom: clamp(44px, 6vw, 68px); max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---- Type hierarchy & readability ---- */
body { color: rgba(255,255,255,0.80); }
h1, h2, h3 { letter-spacing: -0.018em; }
.section-tag { font-size: 0.75rem; letter-spacing: 2.5px; margin-bottom: 14px; opacity: 0.95; }
.section-title { font-size: clamp(1.95rem, 4.4vw, 2.85rem); }
.section-subtitle { font-size: 1.06rem; line-height: 1.75; color: rgba(255,255,255,0.60); }
.blog-content > p, .blog-content > ul li { color: rgba(255,255,255,0.73); line-height: 1.8; }
.blog-content > p { margin-bottom: 1.15em; }
.blog-content h2 { margin-top: 1.9em; margin-bottom: 0.55em; }

/* ---- Buttons: refined, clearer hierarchy ---- */
.btn { padding: 15px 30px; border-radius: 10px; letter-spacing: 0.01em; }
.btn-primary { box-shadow: 0 10px 26px -12px rgba(203,65,84,0.7); }
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(203,65,84,0.85); }
.btn-secondary { border-color: rgba(255,255,255,0.24); color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 0.9rem; }

/* ---- Hero: contrast + designed stat panel ---- */
.hero-overlay {
    background: linear-gradient(180deg, rgba(12,13,14,0.50) 0%, rgba(12,13,14,0.66) 48%, rgba(12,13,14,0.90) 100%);
}
.hero-title { letter-spacing: -0.022em; text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.hero-subtitle { color: rgba(255,255,255,0.86); }
.hero-stats {
    gap: 0;
    max-width: 620px;
    margin-left: auto; margin-right: auto;
    margin-bottom: clamp(40px, 7vw, 64px);
    padding: 22px 8px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.hero-stats .stat { flex: 1 1 0; padding: 0 18px; }
.hero-stats .stat-number { color: var(--accent); font-size: clamp(1.9rem, 4vw, 2.2rem); }

/* ---- Cards: refined borders / shadow ---- */
.related-card, .blog-card { border-radius: 14px; border-color: rgba(255,255,255,0.08); }
.related-card { padding: 34px 26px; }
.related-card:hover, .blog-card:hover { box-shadow: 0 26px 50px -18px rgba(0,0,0,0.6); }

/* ---- Tame the constant motion ---- */
.financing-badge { animation: none; }

/* ---- CTA banner: richer, less neon ---- */
.cta-banner { padding: clamp(64px, 8vw, 90px) 0; background: linear-gradient(135deg, #8f2a38 0%, var(--primary) 58%, #d0485b 100%); }

/* ---- Section rhythm: break up same-tone runs (keep palette) ---- */
.gallery { background: var(--bg-dark); }
.maisey-latch { background: var(--secondary); }

/* ---- Services hub: scannable "why" feature grid ---- */
.hub-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 4px 0 8px; }
.hub-why-item { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 24px 22px; }
.hub-why-item h3 { font-size: 1.05rem; color: #fff; margin: 0 0 8px; letter-spacing: -0.01em; }
.hub-why-item p { color: rgba(255,255,255,0.66); font-size: 0.95rem; line-height: 1.65; margin: 0; }
.hub-why-item a { color: var(--primary-light); font-weight: 600; white-space: nowrap; }

/* ---- Premium subpage-hero backdrop: ONE soft red glow over a dark gradient ---- */
.subpage-hero {
    background:
        radial-gradient(ellipse 78% 68% at 50% -10%, rgba(203,65,84,0.14), transparent 60%),
        linear-gradient(180deg, #17181b 0%, #0f1012 100%);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.subpage-hero::before { display: none; }
.subpage-hero::after { display: none; }
/* gradient accent word in hero headlines */
.subpage-hero-title strong {
    background: linear-gradient(92deg, #ef6a79, #cb4154);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Footer brand: real logo instead of the grid glyph ---- */
.footer-logo-img { height: 44px; width: auto; }

/* ---- Maisey Latch: lift the transparent black product off the dark bg ---- */
.latch-img-main, .latch-img-secondary {
    background: radial-gradient(120% 120% at 50% 22%, #34363a 0%, #212327 62%, #191a1c 100%);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 28px;
}

/* ---- Floating CTA: step aside at the contact/footer so it stops overlapping ---- */
.floating-cta.near-footer { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; }

/* ---- Comparison tables: fill the container (were shrink-to-fit / left-aligned) ---- */
.comparison-table table { width: 100%; border-collapse: collapse; }

/* =====================================================================
   MODERN RESET LAYER  —  site-wide cleanup (2026-11)
   Drops the serif + gold, flattens gradients/glows/pulses, calms the nav.
   Palette stays dark + red; gold retired. Remove this block to revert.
   ===================================================================== */

/* 1 — Typography: retire the serif display face + the gold accent token */
:root {
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --accent: #e9e9ec;                 /* gold retired (token used only for text) */
}
.subpage-hero-title, .section-title, .cta-banner h2, .hero-title,
.financing h2, .about-text h2 { font-weight: 800; letter-spacing: -0.02em; }

/* 2 — Buttons: solid, flat, no gradient / glow / lift */
.btn { box-shadow: none !important; background-image: none; text-transform: none; letter-spacing: 0; }
.btn:hover { box-shadow: none !important; transform: none; }

/* 3 — Navbar: one calm CTA, phone as a quiet text link, tighter + no wrap */
.nav-container { gap: 20px; }
.nav-links { gap: 24px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.nav-estimate {                        /* the single, solid CTA */
    background: var(--primary); border: 1px solid var(--primary); color: #fff;
    padding: 9px 18px; font-size: 0.875rem; box-shadow: none; white-space: nowrap;
}
.nav-estimate:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: none; }
.nav-cta {                             /* phone -> plain text link, no red pill */
    background: transparent; color: #fff; padding: 8px 4px; font-weight: 600;
    border-radius: 0; white-space: nowrap;
}
.nav-cta:hover { background: transparent; color: var(--primary-light); transform: none; }

/* 4 — CTA banner: calm flat band (was maroon gradient + glow halos) */
.cta-banner { background: #141518 !important; border-top: 1px solid rgba(255,255,255,0.07); }
.cta-banner::before, .cta-banner::after { display: none !important; }

/* 5 — Section eyebrows: mute from red to quiet gray (less red everywhere) */
.section-tag { color: var(--gray-600) !important; background: transparent !important; letter-spacing: 0.14em; }

/* 6 — Kill the last infinite pulse */
.financing-badge { animation: none; }

/* 7 — Service-icon chips: soften the solid-red squares to a subtle tinted chip */
.service-icon {
    background: rgba(232,90,107,0.12) !important;
    border: 1px solid rgba(232,90,107,0.22);
}
.service-icon svg { color: var(--primary-light); }

/* 8 — Footer: cooler base, muted small-caps headings, more air */
.footer { background: #121316; padding-top: 72px; }
.footer-grid { gap: 48px; padding-bottom: 48px; border-bottom-color: rgba(255,255,255,0.07); }
.footer-links h4, .footer-contact h4 {
    font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gray-600); font-weight: 600; margin-bottom: 18px;
}
.footer-brand p, .footer-links a, .footer-contact p, .footer-contact a { color: var(--gray-600); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-social a { background: rgba(255,255,255,0.06); }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { color: var(--gray-500); }

/* 9 — "We run a real operation" homepage section */
.ops-section { padding: clamp(64px, 8vw, 96px) 0; background: var(--bg-dark); }
.ops-lead { max-width: 760px; margin: 0 auto 18px; text-align: center; color: var(--gray-700); line-height: 1.8; font-size: 1.05rem; }
.ops-lead a { color: var(--primary-light); font-weight: 600; text-decoration: none; }
.ops-lead a:hover { text-decoration: underline; }
.ops-section .financing-features { margin-top: 36px; }
.ops-more { text-align: center; margin-top: 12px; }
.ops-more a { color: var(--primary-light); font-weight: 600; text-decoration: none; }
.ops-more a:hover { text-decoration: underline; }
