* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #375b82;
    --primary-hover: #2b4868;
    --accent-gold: #bc9c22;        /* Decorative gold (borders, badges, hover effects) */
    --accent-gold-text: #8A7318;   /* WCAG AA accessible gold for text on white (4.87:1) */
    --accent-hover: #a68a1e;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    --medium-gray: #E2E8F0;
    --dark-gray: #475569;
    --text: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --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);
}

html {
    scroll-behavior: smooth;
}

/* Dynamic scroll margins ensure sections stop exactly at the edge of the sticky header */
section[id], footer[id], div[id].featured-work {
    scroll-margin-top: var(--header-height, 100px);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles - 3-Tier Stacked */
header {
    width: 100%;
    z-index: 1000;
    background: var(--primary);
}

/* Tier 1: Utility */
.header-utility {
    background-color: var(--primary);
    color: var(--white);
    height: 40px;
    font-size: 13px;
}

.header-utility .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.header-utility .contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
}

.header-utility .contact-item svg {
    stroke: var(--accent-gold);
    fill: none;
}

.header-utility .separator {
    color: rgba(255, 255, 255, 0.4);
}

a.contact-item:hover {
    color: var(--accent-gold);
}

/* Tier 2: Branding */
.header-branding {
    background-color: var(--primary);
    padding: 0 0 20px;
    text-align: center;
}

.header-branding .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo-brand img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100px;
    display: inline-block;
}

/* Tier 3: Navigation */
.header-nav {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--medium-gray);
}

.header-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    position: relative;
}

.mobile-logo {
    display: none;
}

nav > ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
    padding-right: 200px;
}

nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 24px 0;
}

nav a {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover,
nav a.active-link {
    color: var(--accent-gold-text);
}

nav > ul > li > a.active-link {
    border-bottom: 3px solid var(--accent-gold);
    color: var(--accent-gold-text);
}

@media (max-width: 768px) {
    nav > ul > li > a.active-link {
        border-bottom: none;
        background: #f8fafc;
        border-left: 4px solid var(--accent-gold);
    }
}

/* Dropdown Navigation */
.has-dropdown {
    position: relative;
}

/* Chevron icon inside toggle */
.dd-chevron {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Dropdown menu panel — vertical column layout */
.dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 230px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
    padding: 8px 0;
    border: 1px solid var(--medium-gray);
    list-style: none;
    margin: 0;
    pointer-events: none;
}

/* Invisible bridge so hover doesn't break crossing the gap */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    right: -10px;
    height: 6px;
    display: none;
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 10px 20px;
    display: block;
    text-transform: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    border-bottom: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.dropdown a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

/* Desktop: hover-triggered dropdown */
@media (min-width: 769px) {
    .has-dropdown::after {
        display: block;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown:focus-within .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .has-dropdown:hover .dd-chevron {
        transform: rotate(180deg);
    }

    .has-dropdown > a::after {
        content: none;
    }
}

/* Mobile: accordion-style dropdown */
@media (max-width: 768px) {
    .dd-chevron {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .dd-chevron {
        transform: rotate(180deg);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        background: #f1f5f9;
        pointer-events: auto;
    }

    .has-dropdown.active .dropdown {
        max-height: 700px;
    }

    .has-dropdown > a::after {
        content: none;
    }

    .dropdown a {
        padding: 14px 20px 14px 35px;
        white-space: normal;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 15px;
        color: var(--text);
    }

    .dropdown a:hover,
    .dropdown a:active {
        background: #e2e8f0;
        color: var(--primary);
    }

    .dropdown li:last-child a {
        border-bottom: none;
    }
}

.header-cta {
    position: absolute;
    right: 24px;
}

.header-cta .btn {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    text-transform: uppercase;
    box-shadow: none;
}

.header-cta .btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* General Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(55, 91, 130, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(55, 91, 130, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

/* =========================================
   MOBILE RESPONSIVENESS (OVERHAULED)
   ========================================= */

@media (max-width: 900px) {
    /* Tablet Tweaks */
    .services-grid, 
    .testimonials-grid,
    .footer-grid,
    .gallery-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 30px;
    }

    nav > ul {
        gap: 16px;
    }

    nav a {
        font-size: 12px;
    }

    .header-cta .btn {
        padding: 10px 18px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    /* GLOBAL OVERFLOW FIX */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    /* 1. BLUE STICKY HEADER */
    header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100vw;
        height: 70px;
        background-color: var(--primary) !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 99999;
        overflow: visible;
    }
    
    /* Push body content down */
    body {
        padding-top: 70px;
    }

    /* Hide desktop elements explicitly */
    .header-utility, 
    .header-branding, 
    .header-cta { 
        display: none !important;
    }

    /* Remove white background from nav container so blue shows through */
    .header-nav {
        position: static !important;
        border: none;
        height: 100%;
        background: transparent !important;
    }

    .header-nav .container {
        height: 100%;
        padding: 0 20px !important;
        width: 100%;
        max-width: 100vw !important;
        display: flex;
        align-items: center;
        justify-content: flex-end; 
        position: relative;
        overflow: visible;
    }

    /* 2. CENTERED LOGO (Optimized for Blue Bg) */
    .mobile-logo {
        display: flex !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: auto; 
        width: auto;
        max-width: 250px;
        max-height: 55px;
        align-items: center;
        justify-content: center;
        z-index: 10;
        overflow: visible;
    }
    
    .mobile-logo img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 55px !important;
        object-fit: contain;
        filter: none;
    }

    /* 3. HAMBURGER MENU (White on Blue) */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
        background: transparent;
        border: none;
        z-index: 20;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }
    .mobile-menu-btn span {
        background-color: #ffffff !important; /* WHITE ICON */
        width: 28px;
        height: 2px;
        border-radius: 2px;
    }

    /* 4. INSURANCE FORM & OVERFLOW FIXES */
    .insurance-form {
        padding: 25px 20px !important;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .form-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .form-group.full-width {
        grid-column: span 1 !important;
    }
    
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Insurance logos grid collapse */
    .insurance-logos {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100%;
    }
    
    .insurance-logo {
        padding: 15px 10px !important;
        font-size: 12px !important;
        height: 65px !important;
        min-width: 0 !important;
    }
    
    .insurance-content > p {
        font-size: 16px !important;
    }
    
    .insurance-content h2 {
        font-size: 32px !important;
        word-wrap: break-word;
    }
    
    .insurance {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .insurance *:not(svg):not(path):not(polyline):not(circle):not(line):not(rect) {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .insurance-form .btn {
        white-space: normal !important;
        word-wrap: break-word;
    }
    
    #insurance-info-display {
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    #insurance-info-display .btn {
        white-space: normal !important;
        max-width: 100%;
    }
    
    /* Uploadcare widget overflow fix */
    .uploadcare--widget,
    .uploadcare--widget *,
    .uploadcare--panel,
    .uploadcare--tab,
    .uploadcare--dialog {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile Nav Dropdown */
    nav {
        display: block;
        position: fixed;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99998;
        background-color: var(--white);
        padding: 10px 0 20px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

        /* Animation State: Closed */
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        pointer-events: none;
    }

    /* Open State */
    body.nav-open nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Scroll Lock */
    body.nav-open {
        overflow: hidden;
    }

    nav > ul {
        display: flex;
        flex-direction: column !important;
        width: 100%;
        padding: 0;
        padding-right: 0;
        margin: 0;
        gap: 0;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    nav > ul > li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #f1f5f9;
        font-size: 15px;
        color: var(--primary) !important;
        text-align: left;
    }

    nav > ul > li > a:hover,
    nav > ul > li > a:active {
        background: #f8fafc;
        color: var(--accent-gold-text) !important;
    }

    /* 4. GRID COLLAPSE (Fixes thin cards) */
    .services-grid,
    .testimonials-grid,
    .footer-grid,
    .contact-grid,
    .insurance-grid,
    .why-us-grid,
    .ba-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        display: grid !important;
    }

    /* MOBILE SPACING FIXES (#1016) */
    .services,
    .testimonials,
    .featured-work,
    .why-us,
    .insurance,
    .contact {
        padding: 60px 0 !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .page-header {
        padding: 50px 0 30px;
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    /* 5. HERO FIXES */
    .hero {
        padding: 60px 0 80px 0;
        text-align: center;
        background-attachment: scroll !important; /* Fixes mobile jitter */
        margin-top: 0;
        min-height: auto !important;
        overflow: hidden;
    }

    .fade-in {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
        visibility: visible !important;
    }

    .why-us, .services, .insurance, .contact, .featured-work {
        overflow: visible !important;
    }
    .hero-content {
        padding: 0;
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 30px;
    }
    .stat {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px;
        width: 100%;
    }
    .stat:last-child { border: none; }

    /* 6. FOOTER FIXES (Prevent cut-off) */
    footer {
        overflow-x: hidden;
    }
    footer .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    .footer-column {
        text-align: center;
        margin: 0;
        padding: 0;
    }
    .footer-column li {
        margin-bottom: 0;
    }
    .footer-column a {
        padding: 12px 0;
    }
    .footer-about {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-contact p {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 25px;
    }
    .footer-bottom-links a {
        padding: 10px 5px;
        display: inline-block;
    }

    /* 7. GENERAL FIXES */
    .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Insurance section overflow */
    .insurance,
    .insurance .container,
    .insurance-grid,
    .insurance-content {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Fix Testimonials running off screen */
    .testimonial-card {
        width: 100%;
        margin: 0;
    }
    .rating-summary-card {
        flex-direction: column;
        padding: 25px;
        width: 100%;
    }
    .summary-left {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 15px;
        padding-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }

    /* Brands Scroll Container */
    .brands-outer-container {
        width: 100%;
        overflow-x: auto;
    }
    
    /* Reset Gallery Big Item */
    .gallery-item:nth-child(1) {
        grid-column: auto;
        grid-row: auto;
    }
    
    /* Remove any weird margins causing overflow */
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(30, 41, 59, 0.65) 50%, rgba(30, 41, 59, 0.75) 100%),
                url('../assets/images/hero/custom-silver-nissan-gtr-widebody.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 130px;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, var(--light-gray) 2%, transparent);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/backgrounds/black-carbon-fiber-texture.webp') repeat;
    opacity: 0.03;
    pointer-events: none;
}

.hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 750px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gold);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(55, 91, 130, 0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(55, 91, 130, 0.3); }
    50% { transform: scale(1.02); box-shadow: 0 8px 25px rgba(55, 91, 130, 0.4); }
}

.hero h1 {
    font-size: 62px;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero h1 span {
    color: var(--accent-gold);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-gold);
    opacity: 0.3;
    z-index: -1;
}

.hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 650px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 70px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    display: block;
}



/* Services Section */
.services {
    padding: 120px 0;
    background: var(--white);
}

.services .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--accent-gold-text);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    font-size: 48px;
    margin-bottom: 22px;
    font-weight: 800;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
    font-size: 18px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid var(--medium-gray);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.service-card-grid .service-image {
    height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-grid-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100%;
}

.service-grid-images img {
    min-height: 0;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.8), transparent);
}

.icbc-card .service-image::after {
    display: none;
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(55, 91, 130, 0.3);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.service-content {
    padding: 35px 32px 40px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.75;
    font-size: 15px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 18px;
}

.service-link svg {
    width: 20px;
    height: 20px;
}

/* Featured Work Gallery */
.featured-work {
    padding: 120px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.featured-work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/backgrounds/silver-carbon-fiber-texture.webp') repeat;
    opacity: 0.05;
}

.featured-work .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.featured-work .section-header {
    margin-bottom: 60px;
}

.featured-work .section-subtitle {
    color: var(--white);
}

.featured-work .section-title {
    color: var(--white);
}

.featured-work .section-description {
    color: rgba(255, 255, 255, 0.75);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
}

/* Why Choose Us */
.why-us {
    background: var(--light-gray);
    padding: 120px 0;
    position: relative;
    overflow: clip;
    z-index: 1;
}

.why-us .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 50% 1fr;
    gap: 0;
    align-items: center;
}

.why-us-content {
    position: relative;
    z-index: 10;
    padding-right: 40px;
}

.why-us-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.why-us-content > p {
    color: var(--dark-gray);
    font-size: 18px;
    margin-bottom: 45px;
    line-height: 1.8;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 4px 15px rgba(55, 91, 130, 0.3);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.feature-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.7;
}

.why-us-image-hero {
    position: absolute;
    top: -2px;
    bottom: -2px;
    right: 0;
    width: calc(50% + 2px);
    height: auto;
    border-radius: 0;
    overflow: hidden;
    z-index: 1;
}

.why-us-image-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 50%;
    background: linear-gradient(to right, var(--light-gray) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.why-us-image-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px 15px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    pointer-events: none;
}

.experience-badge .years {
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.experience-badge .label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 700;
    line-height: 1.4;
}

/* Insurance Section */
.insurance {
    padding: 120px 0;
    background: var(--white);
}

.insurance .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.insurance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.insurance-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.insurance-content > p {
    color: var(--dark-gray);
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.insurance-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.insurance-logo {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 22px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    transition: all 0.3s;
    border: 2px solid transparent;
    font-weight: 700;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

.insurance-logo:hover {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow);
    background: var(--white);
}

.insurance-form {
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--medium-gray);
}

.insurance-form h3 {
    font-size: 28px;
    margin-bottom: 35px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 22px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: 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 4px rgba(55, 91, 130, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8; /* Placeholder gray - intentionally not a variable */
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.insurance-form .btn {
    width: 100%;
    justify-content: center;
    padding: 20px;
    font-size: 16px;
    border-radius: 12px;
}

/* Brands Section */
.brands {
    background: var(--primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.brands::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/backgrounds/black-carbon-fiber-texture.webp') repeat;
    opacity: 0.05;
}

.brands .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.brands-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.brands-title {
    color: var(--white);
    opacity: 1;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    margin-bottom: 0;
}

.brands-search-wrapper {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.brands-search-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px 10px 45px;
    color: var(--white);
    font-size: 14px;
    transition: all 0.3s;
}

.brands-search-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-gold);
}

.brands-search-wrapper svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

.brands-outer-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brands-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.brands-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.brand-item {
    flex: 0 0 auto;
    background: var(--white);
    padding: 15px 30px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    height: 80px;
}

.brand-item.hidden {
    display: none;
}

.brand-item img {
    max-height: 50px;
    max-width: 130px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.brand-item:hover img {
    opacity: 1;
}

.brands-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    z-index: 2;
}

.brands-nav-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .brands-header-flex {
        flex-direction: column;
        text-align: center;
    }
    .brands-search-wrapper {
        max-width: 100%;
    }
    .brands-nav-btn {
        display: none;
    }
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: var(--light-gray);
}

.testimonials .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.testimonial-card {
    background: var(--white);
    padding: 45px 38px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars svg {
    width: 22px;
    height: 22px;
    fill: #FCD34D;
}

/* Rating Summary Card */
.rating-summary-card {
    background: var(--white);
    max-width: 450px;
    margin: 40px auto 0;
    padding: 25px 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
    border: 1px solid var(--medium-gray);
}

.summary-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--medium-gray);
    padding-right: 30px;
}

.summary-score {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.summary-stars {
    display: flex;
    gap: 2px;
}

.summary-stars svg {
    width: 18px;
    height: 18px;
    fill: #FCD34D;
}

.summary-right {
    display: flex;
    flex-direction: column;
}

.summary-platform {
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 2px;
}

.summary-count {
    font-size: 13px;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.summary-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold-text);
    text-decoration: underline !important;
}

@media (max-width: 480px) {
    .rating-summary-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }
    .summary-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--medium-gray);
        padding-bottom: 15px;
        width: 100%;
    }
}

.testimonial-quote {
    width: 50px;
    height: 50px;
    background: rgba(55, 91, 130, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--dark-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 25px;
    border-top: 1px solid var(--medium-gray);
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(55, 91, 130, 0.3);
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--dark-gray);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/backgrounds/black-carbon-fiber-texture.webp') repeat;
    opacity: 0.1;
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 46px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.contact-info > p {
    color: var(--dark-gray);
    font-size: 18px;
    margin-bottom: 45px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.contact-text p {
    color: var(--dark-gray);
    font-size: 15px;
    line-height: 1.6;
}

.contact-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 100%;
    min-height: 500px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/backgrounds/black-carbon-fiber-texture.webp') repeat;
    opacity: 0.03;
}

footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 55px;
    margin-bottom: 30px;
}

.footer-about .logo {
    display: block;
    margin-bottom: 25px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin-bottom: 30px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-gold);
    transform: translateY(-5px);
}

.social-link svg {
    width: 22px;
    height: 22px;
    stroke: var(--white);
}

.footer-column h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 14px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.65);
    transition: all 0.3s;
    font-size: 15px;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.7;
}

.footer-contact svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 35px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Mobile Floating CTA */
.mobile-floating-cta {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.mobile-floating-cta .btn {
    background: var(--primary);
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 35px rgba(55, 91, 130, 0.4);
    font-size: 16px;
}

/* Related Services Section */
.related-services {
    padding: 80px 0;
    background: var(--light-gray);
    border-top: 1px solid var(--medium-gray);
}

.related-services .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.related-service-link {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.related-service-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
    color: var(--accent-gold-text);
}

/* Page Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* --- SEO MULTI-PAGE STYLES --- */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    padding: 80px 0 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/backgrounds/black-carbon-fiber-texture.webp') repeat;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--white);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

/* FAQ Page Styles */
.faq-page {
    padding: 0 0 100px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.faq-item.active {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--accent-gold-text);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    color: var(--dark-gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}

/* FAQ Enhanced Styles */
.faq-search-container {
    max-width: 600px;
    margin: 30px auto 0;
    position: relative;
}

.faq-search-container input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--medium-gray);
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s;
}

.faq-search-container input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(55, 91, 130, 0.1);
}

.faq-search-container .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94a3b8;
}

.faq-controls {
    text-align: center;
    margin-top: 40px;
}

.faq-controls .btn {
    min-width: 200px;
}

.faq-ask-link-wrapper {
    margin-top: 20px;
}

.faq-ask-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline !important;
    font-size: 15px;
    transition: color 0.3s;
}

.faq-ask-link:hover {
    color: var(--accent-gold-text);
}

/* FAQ Modal Styles */
.faq-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.faq-modal-content {
    background-color: var(--white);
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    box-shadow: var(--shadow-xl);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    color: var(--dark-gray);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.faq-modal-close:hover {
    color: var(--primary);
}

.faq-submission {
    max-width: 100%;
    margin: 0;
    text-align: center;
    background: transparent;
    padding: 50px;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.faq-submission h3 {
    margin-bottom: 10px;
}

.faq-submission p {
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.faq-form {
    text-align: left;
}

.faq-item.hidden-item {
    display: none;
}

.faq-category.hidden-category {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
}



@media (max-width: 1024px) {
    /* Stack layout to prevent text/image overlap */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us-content {
        padding-right: 0;
    }

    .why-us-image-hero {
        position: relative;
        width: 100%;
        height: 500px;
        top: auto;
        right: auto;
        bottom: auto;
        margin-top: 40px;
        border-radius: 32px;
        z-index: 1;
        box-shadow: var(--shadow-xl);
    }

    .why-us-image-hero::after {
        display: none;
    }

    .experience-badge {
        right: 40px;
        top: 40px;
    }
}

@media (max-width: 1024px) {
    .why-us-grid,
    .insurance-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Reset Breakout Image for Tablet/Mobile */
    .why-us-image-hero {
        height: 450px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-about .social-links {
        justify-content: center;
    }

    .hero h1 {
        font-size: 52px;
    }
}

/* Media Queries already merged into the block above for <768px specific fixes */

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- ANALYTICS BANNER --- */
#analytics-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 41, 59, 0.98); /* Brand Dark Blue */
    color: white;
    padding: 20px;
    z-index: 9999;
    border-top: 3px solid var(--accent-gold); /* Brand Gold */
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.analytics-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.analytics-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e2e8f0;
    font-family: 'Open Sans', sans-serif;
}

.analytics-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

#analytics-accept {
    background: var(--accent-gold);
    color: #111;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

#analytics-accept:hover {
    background: #f0c430;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

#analytics-decline {
    background: transparent;
    border: 1px solid #64748b;
    color: #cbd5e1;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

#analytics-decline:hover {
    border-color: #ef4444;
    color: #ef4444;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .analytics-content {
        flex-direction: column;
        text-align: center;
    }
    
    .analytics-buttons {
        width: 100%;
        justify-content: center;
    }
    
    #analytics-banner {
        max-width: 100vw;
        box-sizing: border-box;
        overflow: hidden;
    }
}


/* --- TEXT PAGE STYLES (For Ghost Pages) --- */
.text-page-section {
    padding: 80px 0;
    background: #fff;
}
.text-page-content {
    max-width: 900px; /* Readability width */
    margin: 0 auto;
}
.text-page-content h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 25px;
    color: var(--primary);
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 15px;
}
.text-page-content h2:first-child { margin-top: 0; }
.text-page-content h3 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--accent-gold-text);
}
.text-page-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--dark-gray);
}
.text-page-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.text-page-content li {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-gray);
    list-style-type: disc;
}
.text-page-content strong {
    color: var(--primary);
}

/* Text Page Utility Classes (extracted from inline styles) */
.text-page-content .page-lead {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
}

.text-page-content .page-tagline {
    font-size: 20px;
    font-weight: 500;
}

.text-page-content .page-promise {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 30px;
}

.text-page-content .callout-box {
    background-color: var(--light-gray);
    padding: 20px;
    border-left: 5px solid #d9534f;
    margin: 20px 0;
    border-radius: 4px;
}

.text-page-content .callout-box h3 {
    margin-top: 0;
    color: var(--primary);
}

.text-page-content .callout-box p:last-child {
    margin-bottom: 0;
}

.text-page-content .inline-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

.text-page-content .inline-link:hover {
    color: var(--accent-gold-text);
}

.text-page-content ol {
    padding-left: 20px;
    margin-bottom: 30px;
}

.text-page-content ol li {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--dark-gray);
    line-height: 1.8;
}

/* =========================================
   GHOST IMAGE CYCLER — TESTING BRANCH
   Moved to css/ghost-images.css (loaded only on /tester2/ pages)
   to avoid shipping ~600 lines of unused CSS to production visitors.
   ========================================= */
/* --- GHOST IMAGE CYCLER START --- */
/* @see css/ghost-images.css — conditionally loaded by ghost-images.js */
/* --- GHOST IMAGE CYCLER END --- */
.ghost-image-slot {
    margin: 40px 0;
    border: 2px dashed var(--medium-gray);
    border-radius: 16px;
    background: var(--light-gray);
    overflow: visible;
    position: relative;
    transition: opacity 0.2s, box-shadow 0.2s;
}

/* Layout variants */
.ghost-image-slot.ghost-layout-full {
    float: none;
    width: 100%;
    clear: both;
}

.ghost-image-slot.ghost-layout-float-left {
    float: left;
    margin: 10px 30px 20px 0;
}

.ghost-image-slot.ghost-layout-float-right {
    float: right;
    margin: 10px 0 20px 30px;
}

/* Height control — when user sets explicit height via resize */
.ghost-image-slot.ghost-has-height .ghost-img-viewport {
    height: var(--ghost-slot-height, auto);
    min-height: 0;
}

.ghost-image-slot.ghost-has-height .ghost-img {
    height: 100%;
    object-fit: cover;
}

/* Dragging state */
.ghost-image-slot.ghost-slot-dragging {
    opacity: 0.35;
    box-shadow: none;
}

/* Resizing state */
.ghost-image-slot.ghost-resizing {
    user-select: none;
    -webkit-user-select: none;
}

/* ── Horizontal drop indicators (above/below elements) ── */
.ghost-drop-indicator {
    height: 4px;
    margin: 6px 0;
    border-radius: 2px;
    background: transparent;
    transition: background 0.15s, height 0.15s;
    pointer-events: auto;
    clear: both;
}

.ghost-drop-indicator--active {
    height: 6px;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(55, 91, 130, 0.4);
    margin: 10px 0;
}

/* ── Vertical drop indicators (left/right of elements) ── */
.ghost-drop-indicator-v {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5px;
    background: transparent;
    border-radius: 3px;
    transition: background 0.15s, width 0.15s, box-shadow 0.15s;
    pointer-events: auto;
    z-index: 20;
}

.ghost-drop-indicator-v--left {
    left: -12px;
}

.ghost-drop-indicator-v--right {
    right: -12px;
}

.ghost-drop-indicator-v--active {
    width: 6px;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(55, 91, 130, 0.5);
}

/* ── Toolbar (single row, simplified from v3's two-row) ── */
.ghost-img-toolbar {
    display: flex;
    gap: 6px;
    padding: 8px 12px;
    background: #f1f5f9;
    border-bottom: 1px solid var(--medium-gray);
    border-radius: 14px 14px 0 0;
    align-items: center;
    flex-wrap: wrap;
}

/* Drag handle */
.ghost-img-drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 20px;
    color: #94a3b8;
    cursor: grab;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    line-height: 1;
}

.ghost-img-drag-handle:hover {
    background: var(--medium-gray);
    color: var(--primary);
}

.ghost-img-drag-handle:active {
    cursor: grabbing;
}

/* Layout toggle group */
.ghost-img-layout-toggles {
    display: inline-flex;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.ghost-img-layout-btn {
    padding: 5px 10px;
    border: none;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.ghost-img-layout-btn + .ghost-img-layout-btn {
    border-left: 1px solid var(--medium-gray);
}

.ghost-img-layout-btn:hover {
    background: #e2e8f0;
}

.ghost-img-layout-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Aspect ratio lock button */
.ghost-img-lock-btn {
    padding: 4px 8px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    background: var(--white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}

.ghost-img-lock-btn:hover {
    background: #e2e8f0;
    border-color: var(--primary);
}

/* Reset button */
.ghost-img-reset {
    padding: 5px 12px;
    background: transparent;
    color: #94a3b8;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.ghost-img-reset:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* Hide/remove button */
.ghost-img-hide {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    color: #94a3b8;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ghost-img-hide:hover {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* ── Resize handles — 8 positions (visible dots & bars) ── */
.ghost-resize-handle {
    position: absolute;
    z-index: 15;
    transition: background 0.2s, transform 0.15s;
}

/* Corner handles — visible circles */
.ghost-resize-handle--nw,
.ghost-resize-handle--ne,
.ghost-resize-handle--se,
.ghost-resize-handle--sw {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #94a3b8;
    border: 2px solid var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ghost-resize-handle--nw { top: -6px; left: -6px; cursor: nw-resize; }
.ghost-resize-handle--ne { top: -6px; right: -6px; cursor: ne-resize; }
.ghost-resize-handle--se { bottom: -6px; right: -6px; cursor: se-resize; }
.ghost-resize-handle--sw { bottom: -6px; left: -6px; cursor: sw-resize; }

/* Edge handles — visible bars */
.ghost-resize-handle--n,
.ghost-resize-handle--s {
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 6px;
    border-radius: 3px;
    background: #94a3b8;
    border: 1px solid var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ghost-resize-handle--n { top: -3px; cursor: n-resize; }
.ghost-resize-handle--s { bottom: -3px; cursor: s-resize; }

.ghost-resize-handle--e,
.ghost-resize-handle--w {
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 32px;
    border-radius: 3px;
    background: #94a3b8;
    border: 1px solid var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ghost-resize-handle--e { right: -3px; cursor: e-resize; }
.ghost-resize-handle--w { left: -3px; cursor: w-resize; }

/* Handle hover — highlight blue and slightly enlarge */
.ghost-resize-handle:hover {
    background: var(--primary);
}

.ghost-resize-handle--nw:hover { transform: scale(1.3); }
.ghost-resize-handle--ne:hover { transform: scale(1.3); }
.ghost-resize-handle--se:hover { transform: scale(1.3); }
.ghost-resize-handle--sw:hover { transform: scale(1.3); }
.ghost-resize-handle--n:hover { transform: translateX(-50%) scaleY(1.4); }
.ghost-resize-handle--s:hover { transform: translateX(-50%) scaleY(1.4); }
.ghost-resize-handle--e:hover { transform: translateY(-50%) scaleX(1.4); }
.ghost-resize-handle--w:hover { transform: translateY(-50%) scaleX(1.4); }

/* Resize outline — dashed border during active resize */
.ghost-resize-outline {
    position: absolute;
    inset: 0;
    border: 2px dashed var(--primary);
    border-radius: 14px;
    pointer-events: none;
    z-index: 12;
    opacity: 0.6;
}

/* ── Viewport & Navigation Arrows ── */
.ghost-img-viewport {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    overflow: hidden;
    background: var(--light-gray);
    border-radius: 0 0 14px 14px;
}

.ghost-img {
    display: block;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.ghost-img-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(30, 41, 59, 0.65);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    line-height: 1;
    padding: 0;
    font-family: system-ui, sans-serif;
}

.ghost-img-arrow--left {
    left: 12px;
}

.ghost-img-arrow--right {
    right: 12px;
}

.ghost-img-arrow:hover {
    background: var(--primary);
    border-color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(55, 91, 130, 0.4);
}

.ghost-img-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.ghost-img-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(30, 41, 59, 0.6);
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: none;
}

.ghost-img-saved-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: none;
}

.ghost-img-empty {
    color: #94a3b8;
    font-style: italic;
    font-size: 14px;
    text-align: center;
    padding: 40px 20px;
}

.ghost-img-search {
    padding: 6px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    font-size: 12px;
    font-family: inherit;
    min-width: 140px;
    flex: 1 1 auto;
    max-width: 220px;
    transition: border-color 0.2s;
}

.ghost-img-search:focus {
    outline: none;
    border-color: var(--primary);
}

.ghost-img-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

/* ── Search with thumbnails ── */
.ghost-img-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #f1f5f9;
}

.ghost-img-search-item:hover {
    background: #f1f5f9;
}

.ghost-img-search-item:last-child {
    border-bottom: none;
}

.ghost-img-search-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: var(--medium-gray);
}

.ghost-img-search-label {
    font-size: 12px;
    color: var(--dark-gray);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ghost-img-search-none {
    color: #94a3b8;
    font-style: italic;
    font-size: 12px;
    padding: 10px;
    justify-content: center;
}

/* ── Upload hover state ── */
.ghost-img-viewport.ghost-upload-hover {
    outline: 3px dashed var(--primary);
    outline-offset: -3px;
    background: rgba(55, 91, 130, 0.05);
}

.ghost-upload-hint {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(55, 91, 130, 0.08);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 35;
    border-radius: 0 0 14px 14px;
}

.ghost-img-viewport.ghost-upload-hover .ghost-upload-hint {
    display: flex;
}

/* ── Save status indicator ── */
.ghost-save-indicator {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 4px 10px;
    border-radius: 12px;
    transition: all 0.3s;
    min-width: 0;
    white-space: nowrap;
}

.ghost-save-idle {
    opacity: 0;
}

.ghost-save-saving {
    background: #fef3c7;
    color: #d97706;
    opacity: 1;
}

.ghost-save-saved {
    background: #dcfce7;
    color: #16a34a;
    opacity: 1;
}

.ghost-save-error {
    background: #fef2f2;
    color: #ef4444;
    opacity: 1;
}

/* Preview button */
.ghost-img-preview {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 30;
    padding: 6px 14px;
    background: rgba(30, 41, 59, 0.7);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

.ghost-img-preview:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Preview overlay */
.ghost-preview-overlay {
    position: absolute;
    inset: 0;
    z-index: 50;
    border-radius: 12px;
    overflow: hidden;
    background: #1e293b;
}

.ghost-preview-overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Add Image Slot bars ── */
.ghost-add-slot-bar {
    text-align: center;
    padding: 4px 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.text-page-content:hover .ghost-add-slot-bar {
    opacity: 1;
}

.ghost-add-slot-btn {
    padding: 4px 16px;
    background: transparent;
    color: #94a3b8;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.ghost-add-slot-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(55, 91, 130, 0.05);
}

/* ── Global toolbar ── */
.ghost-global-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
    clear: both;
}

.ghost-global-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: 1px solid var(--medium-gray);
    transition: all 0.2s;
    white-space: nowrap;
}

.ghost-help-btn {
    background: #fef3c7;
    color: #d97706;
    border-color: #fcd34d;
}

.ghost-help-btn:hover {
    background: #fde68a;
}

.ghost-preview-all-btn {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    margin-left: auto;
}

.ghost-preview-all-btn:hover {
    background: var(--primary-hover);
}

.ghost-reset-all-btn {
    background: var(--white);
    color: #dc2626;
    border-color: #fca5a5;
}

.ghost-reset-all-btn:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

.ghost-undo-btn {
    background: var(--white);
    color: var(--dark-gray);
}

.ghost-undo-btn:hover:not(:disabled) {
    background: var(--light-gray);
    border-color: var(--primary);
    color: var(--primary);
}

/* ── Full-page preview mode ── */
.ghost-full-preview .ghost-img-toolbar,
.ghost-full-preview .ghost-img-search-results,
.ghost-full-preview .ghost-img-arrow,
.ghost-full-preview .ghost-img-counter,
.ghost-full-preview .ghost-img-saved-badge,
.ghost-full-preview .ghost-img-preview,
.ghost-full-preview .ghost-resize-handle,
.ghost-full-preview .ghost-resize-outline,
.ghost-full-preview .ghost-add-slot-bar,
.ghost-full-preview .ghost-upload-hint {
    display: none !important;
}

.ghost-full-preview .ghost-image-slot {
    border: none;
    background: transparent;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.ghost-full-preview .ghost-img-viewport {
    padding: 0;
    min-height: 0;
}

.ghost-full-preview .ghost-global-toolbar {
    border-bottom-color: var(--primary);
}

/* ── Tutorial / Help Overlay ── */
.ghost-tutorial-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ghost-tutorial-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 36px 32px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.ghost-tutorial-title {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    margin: 0 0 8px;
}

.ghost-tutorial-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 24px;
}

.ghost-tutorial-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ghost-tutorial-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
}

.ghost-tutorial-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ghost-tutorial-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.ghost-tutorial-card-header strong {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}

.ghost-tutorial-card-body {
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.ghost-tutorial-card-body b {
    color: var(--dark-gray);
}

.ghost-tutorial-close {
    display: block;
    margin: 28px auto 0;
    padding: 12px 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.ghost-tutorial-close:hover {
    background: var(--primary-hover);
}

/* ── Background Mode ── */
.ghost-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.ghost-bg-layer--fixed {
    position: fixed;
    inset: 0;
    z-index: 0;
    border-radius: 0;
}

.ghost-bg-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ghost-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: background 0.3s, backdrop-filter 0.3s;
}

/* Section background wrapper */
.ghost-bg-section-wrapper {
    position: relative;
    z-index: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: min-height 0.2s;
}

.ghost-bg-section-wrapper > *:not(.ghost-bg-layer):not(.ghost-bg-overlay) {
    position: relative;
    z-index: 2;
}

/* Full-page background container adjustments */
.text-page-content.ghost-has-full-bg {
    position: relative;
    z-index: 0;
}

.text-page-content.ghost-has-full-bg > *:not(.ghost-bg-layer):not(.ghost-bg-overlay) {
    position: relative;
    z-index: 2;
}

/* Text light mode — applied when textLight is enabled */
.ghost-text-light,
.ghost-text-light p,
.ghost-text-light h1,
.ghost-text-light h2,
.ghost-text-light h3,
.ghost-text-light h4,
.ghost-text-light h5,
.ghost-text-light h6,
.ghost-text-light li,
.ghost-text-light span,
.ghost-text-light a,
.ghost-text-light blockquote,
.ghost-text-light td,
.ghost-text-light th,
.ghost-text-light label,
.ghost-text-light small {
    color: #FFFFFF !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 0, 0, 0.3);
}

.ghost-text-light a {
    text-decoration-color: rgba(255, 255, 255, 0.6) !important;
}

/* Background slot in edit mode — show as compact toolbar card */
.ghost-image-slot.ghost-mode-background {
    border: 2px dashed var(--primary);
    border-radius: 12px;
    background: rgba(55, 91, 130, 0.06);
    margin: 20px 0;
    float: none;
    width: 100%;
    clear: both;
}

.ghost-image-slot.ghost-mode-background .ghost-img-viewport {
    min-height: 120px;
    max-height: 180px;
}

.ghost-image-slot.ghost-mode-background .ghost-img {
    max-height: 160px;
    opacity: 0.7;
}

.ghost-image-slot.ghost-mode-background .ghost-resize-handle {
    display: none !important;
}

/* ── Background toolbar controls ── */
.ghost-bg-controls {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: #eef2f7;
    border-top: 1px solid var(--medium-gray);
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
}

.ghost-bg-control-group {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.ghost-bg-control-label {
    font-weight: 700;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 10px;
    white-space: nowrap;
}

.ghost-bg-scope-toggles {
    display: inline-flex;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    overflow: hidden;
}

.ghost-bg-scope-btn {
    padding: 4px 10px;
    border: none;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.ghost-bg-scope-btn + .ghost-bg-scope-btn {
    border-left: 1px solid var(--medium-gray);
}

.ghost-bg-scope-btn:hover {
    background: #e2e8f0;
}

.ghost-bg-scope-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* Fixed toggle */
.ghost-bg-fixed-btn {
    padding: 4px 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.ghost-bg-fixed-btn:hover {
    border-color: var(--primary);
}

.ghost-bg-fixed-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.ghost-bg-fixed-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Text light toggle */
.ghost-bg-textlight-btn {
    padding: 4px 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 10px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.ghost-bg-textlight-btn:hover {
    border-color: var(--primary);
}

.ghost-bg-textlight-btn.active {
    background: #1e293b;
    color: #FFFFFF;
    border-color: #1e293b;
}

/* Overlay slider */
.ghost-bg-slider-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ghost-bg-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--medium-gray);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.ghost-bg-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
}

.ghost-bg-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: pointer;
}

.ghost-bg-slider-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--dark-gray);
    min-width: 28px;
    text-align: right;
}

/* Overlay color picker */
.ghost-bg-color-input {
    width: 24px;
    height: 24px;
    border: 2px solid var(--medium-gray);
    border-radius: 6px;
    padding: 0;
    cursor: pointer;
    background: none;
    -webkit-appearance: none;
    appearance: none;
}

.ghost-bg-color-input::-webkit-color-swatch-wrapper {
    padding: 0;
}

.ghost-bg-color-input::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.ghost-bg-color-input::-moz-color-swatch {
    border: none;
    border-radius: 4px;
}

/* Section span indicator */
.ghost-bg-span-controls {
    display: flex;
    align-items: center;
    gap: 3px;
}

.ghost-bg-span-btn {
    width: 22px;
    height: 22px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    background: var(--white);
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.ghost-bg-span-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.ghost-bg-span-value {
    font-size: 10px;
    font-weight: 700;
    color: var(--dark-gray);
    min-width: 16px;
    text-align: center;
}

/* Section drag-to-extend handles */
.ghost-bg-extend-handle {
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    cursor: ns-resize;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ghost-bg-extend-handle::after {
    content: '';
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary);
    opacity: 0.4;
    transition: opacity 0.15s, width 0.15s;
}

.ghost-bg-extend-handle:hover::after {
    opacity: 1;
    width: 60px;
}

.ghost-bg-extend-handle--top {
    top: -5px;
}

.ghost-bg-extend-handle--bottom {
    bottom: -5px;
}

/* Extend highlight during drag */
.ghost-bg-extend-highlight {
    position: absolute;
    left: 0;
    right: 0;
    border: 2px dashed var(--primary);
    background: rgba(55, 91, 130, 0.08);
    border-radius: 8px;
    pointer-events: none;
    z-index: 15;
    transition: top 0.1s, height 0.1s;
}

/* ── Aspect ratio lock — color-based toggle ── */
.ghost-img-lock-btn.ghost-lock-free {
    background: var(--white);
    color: #94a3b8;
    border-color: var(--medium-gray);
}

.ghost-img-lock-btn.ghost-lock-locked {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ── Full-page preview — background mode ── */
.ghost-full-preview .ghost-image-slot.ghost-mode-background {
    display: none !important;
}

.ghost-full-preview .ghost-bg-controls {
    display: none !important;
}

/* ── Mobile responsive ── */
@media (max-width: 768px) {
    .ghost-image-slot.ghost-layout-float-left,
    .ghost-image-slot.ghost-layout-float-right {
        float: none;
        width: 100% !important;
        margin: 40px 0;
    }
    .ghost-img-viewport {
        padding: 15px 50px;
        min-height: 200px;
    }
    .ghost-img-arrow {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .ghost-img-arrow--left { left: 6px; }
    .ghost-img-arrow--right { right: 6px; }
    .ghost-img-toolbar {
        flex-wrap: wrap;
    }
    .ghost-img-search {
        min-width: 0;
        flex: 1 1 100%;
    }
    .ghost-img-layout-toggles { flex-shrink: 0; }
    .ghost-img-reset { flex-shrink: 0; }
    .ghost-global-toolbar {
        justify-content: center;
        flex-wrap: wrap;
    }
    .ghost-resize-handle { display: none !important; }
    .ghost-tutorial-content {
        padding: 24px 16px;
    }
    .ghost-drop-indicator-v { display: none !important; }
    /* Background mode mobile */
    .ghost-bg-controls {
        flex-wrap: wrap;
        gap: 6px;
    }
    .ghost-bg-slider {
        width: 60px;
    }
    .ghost-bg-layer--fixed {
        position: absolute;
        height: 100%;
    }
    .ghost-bg-extend-handle {
        height: 16px;
    }
}
.text-page-content h2:first-of-type {
    margin-top: 0;
}

/* Hero Subheadline */
.hero-subheadline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Insurance Info Display (extracted from inline styles) */
#insurance-info-display {
    display: none;
    margin-top: 20px;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
}

#insurance-info-title {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 20px;
}

#insurance-info-text {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

#insurance-info-display .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* Map Container */
.map-container {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    border: 0;
    width: 100%;
}

/* FAQ Section */
.faq-section {
    background-color: var(--light-gray);
    padding: 80px 0;
}

/* Trust Bar - Insurance Partner Badges */
.trust-bar .insurance-logo-icbc {
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

.trust-bar .insurance-logo-green {
    background: #1a5f2a;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

.trust-bar .insurance-logo-red {
    background: #d32f2f;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

.trust-bar .insurance-logo-indigo {
    background: #5c6bc0;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

.trust-bar .insurance-logo-orange {
    background: #f57c00;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

.trust-bar .insurance-logo-purple {
    background: #7b1fa2;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
}

/* File Upload Input */
.form-group input[type="file"] {
    padding: 12px;
    background: var(--white);
}

/* --- BEFORE/AFTER SLIDER STYLES --- */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ba-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.ba-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ba-slider {
    position: relative;
    width: 100%;
    padding-bottom: 66.66%; /* 3:2 Aspect Ratio */
    height: 0;
    overflow: hidden;
    cursor: col-resize;
}

.ba-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-img-before-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    /* Width set by JS to match container */
    max-width: none;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ba-line {
    width: 2px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.ba-circle {
    position: absolute;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.ba-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 30;
    cursor: col-resize;
    margin: 0;
}

.ba-details {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}

.ba-details h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.ba-details p {
    font-size: 14px;
    color: var(--dark-gray);
    margin: 0;
}

.ba-labels {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 25;
    pointer-events: none;
}

.ba-label {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .ba-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ba-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ACCESSIBILITY: Focus-visible outlines (#1020)
   ========================================= */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.btn:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 6px rgba(55, 91, 130, 0.15);
}

.faq-question:focus-visible,
.insurance-logo:focus-visible,
.brands-nav-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.social-link:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

nav a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* =========================================
   ACCESSIBILITY: Reduced motion (#1024)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }

    .service-card:hover,
    .testimonial-card:hover,
    .ba-item:hover,
    .gallery-item:hover img,
    .contact-item:hover {
        transform: none !important;
    }
}

/* =========================================
   ACCESSIBILITY: Skip-to-content link (#1021)
   ========================================= */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

