/* ============================================================
   DAWG GONE DOORS — Frontend Design System v3.0

   01. Design Tokens
   02. Reset & Base
   03. Typography
   04. Layout
   05. Buttons
   06. Forms
   07. Labels & Badges
   08. Navbar
   09. Hero (Static)
   10. Page Header (inner pages)
   11. Stats Bar
   12. Section Headers & Cards
   13. Service Cards
   14. Feature Cards
   15. Process Steps
   16. Testimonials (Grid)
   17. CTA Section
   18. About Page
   19. Services Page
   20. Gallery
   21. FAQ
   22. Contact Page
   23. Accessories Page
   24. Footer
   25. Floating UI
   26. Flash Messages
   27. Loading States
   28. Scroll Animations
   29. Responsive
   ============================================================ */

/* ============================================================
   01. DESIGN TOKENS
   ============================================================ */
:root {
    /* Navy Palette */
    --navy-900: #060E18;
    --navy-800: #0C1A26;
    --navy-700: #0F2030;
    --navy-600: #1A2E40;
    --navy-500: #2C4A5A;

    /* Amber / Brand Palette */
    --amber-700: #7A3B10;
    --amber-600: #8B4513;
    --amber-500: #A0522D;
    --amber-400: #C4763A;
    --amber-300: #D4924E;
    --amber-100: #F5EDE3;
    --amber-50:  #FBF7F3;

    /* Neutral Palette */
    --gray-900: #111827;
    --gray-800: #1F2937;
    --gray-700: #374151;
    --gray-600: #4B5563;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-300: #D1D5DB;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50:  #F9FAFB;
    --white:    #FFFFFF;

    /* Status */
    --success: #16a34a;
    --error:   #dc2626;

    /* ---- Semantic aliases ---- */
    --primary:          var(--navy-600);
    --secondary:        var(--navy-500);
    --accent:           var(--amber-600);
    --accent-light:     var(--amber-400);
    --accent-pale:      var(--amber-100);
    --muted-color:      var(--gray-500);
    --success-color:    var(--success);

    /* ---- Line Height Scale ---- */
    --lh-heading: 1.2;
    --lh-ui:      1.5;
    --lh-body:    1.7;

    /* ---- Z-Index Layer Map ---- */
    --z-base:     1;
    --z-elevated: 2;
    --z-sticky:   100;
    --z-float:    200;
    --z-nav:      1000;
    --z-overlay:  1500;
    --z-modal:    2000;
    --z-lightbox: 3000;
    --z-toast:    4000;

    --text-white:   var(--white);
    --text-dark:    var(--gray-900);
    --text-primary: var(--gray-900);
    --text-body:    var(--gray-700);
    --text-light:   var(--gray-700);
    --text-muted:   var(--gray-500);

    --bg-white:     var(--white);
    --bg-light:     var(--gray-100);
    --bg-pale:      var(--amber-50);
    --bg-dark:      var(--navy-600);
    --bg-primary:   var(--white);
    --bg-secondary: var(--gray-100);

    /* Typography */
    --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    var(--font);
    --font-display: var(--font);

    /* Spacing (8px scale) */
    --sp-1:  0.5rem;    /*  8px */
    --sp-2:  1rem;      /* 16px */
    --sp-3:  1.5rem;    /* 24px */
    --sp-4:  2rem;      /* 32px */
    --sp-5:  2.5rem;    /* 40px */
    --sp-6:  3rem;      /* 48px */
    --sp-8:  4rem;      /* 64px */
    --sp-10: 5rem;      /* 80px */
    --sp-12: 6rem;      /* 96px */

    /* Layout */
    --max-w:         1200px;
    --container-max-width: var(--max-w);
    --header-height: 72px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-offset: calc(var(--header-height) + var(--safe-top));
    --dock-height: 0px;
    --section-padding: var(--sp-10) 0;

    /* Border Radius */
    --r-sm:  4px;
    --r:     8px;
    --r-lg:  12px;
    --r-xl:  16px;
    --r-2xl: 24px;
    --r-full: 9999px;
    --border-radius:    var(--r);
    --border-radius-lg: var(--r-xl);
    --border-radius-xl: var(--r-2xl);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow:    0 4px 8px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.09), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 35px rgba(0,0,0,0.10), 0 8px 14px rgba(0,0,0,0.05);
    --shadow-light:  var(--shadow-sm);
    --shadow-medium: var(--shadow);
    --shadow-heavy:  var(--shadow-md);
    --card-hover-shadow: var(--shadow-md);

    /* Transitions */
    --ease:            cubic-bezier(0.4, 0, 0.2, 1);
    --dur:             200ms;
    --dur-s:           300ms;
    --transition:      all var(--dur) var(--ease);
    --transition-slow: all var(--dur-s) var(--ease);
    --transition-bounce: all 300ms cubic-bezier(0.68,-0.55,0.265,1.55);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--navy-600), var(--navy-500));
    --gradient-accent:  linear-gradient(135deg, var(--amber-600), var(--amber-400));
    --gradient-hero:    linear-gradient(135deg, rgba(9,14,24,0.88) 0%, rgba(26,46,64,0.6) 100%);
    --gradient-glass:   linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

/* ============================================================
   02. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html, body { overflow-x: hidden; width: 100%; }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--accent); transition: var(--transition); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font);
    line-height: var(--lh-heading);
    color: var(--gray-900);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.375rem); }
h4 { font-size: 1.075rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

p {
    font-size: 0.9375rem;
    line-height: var(--lh-body);
    color: var(--gray-700);
    margin-bottom: 0.875rem;
}
p:last-child { margin-bottom: 0; }

/* ============================================================
   04. LAYOUT
   ============================================================ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

section { padding: var(--section-padding); position: relative; }

/* Section background utilities */
.section-white { background: var(--white); }
.section-light { background: var(--gray-50); }
.section-pale  { background: var(--amber-50); }
.section-dark  { background: var(--navy-800); color: var(--white); }

.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.87); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.87); }

/* Utility */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================================
   05. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.375rem;
    border: 2px solid transparent;
    border-radius: var(--r);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 42px;
    background: transparent;
}

.btn-lg { padding: 0.75rem 1.75rem; font-size: 0.975rem; min-height: 48px; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; min-height: 34px; }

/* Primary (amber gradient) */
.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: var(--amber-500);
    box-shadow: 0 2px 8px rgba(139,69,19,0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--amber-700), var(--amber-500));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(139,69,19,0.35);
    color: var(--white);
}
.btn-primary:active { transform: translateY(0); }

/* Secondary (navy) */
.btn-secondary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--navy-500);
    box-shadow: 0 2px 8px rgba(26,46,64,0.2);
}
.btn-secondary:hover {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26,46,64,0.3);
    color: var(--white);
}

/* Ghost (for dark backgrounds) */
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.9);
    color: var(--white);
    transform: translateY(-2px);
}

/* Success */
.btn-success {
    background: linear-gradient(135deg, var(--success), #22c55e);
    color: var(--white);
    border-color: var(--success);
}
.btn-success:hover { transform: translateY(-2px); color: var(--white); }

/* Focus visible — keyboard navigation */
.btn:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(196,118,58,0.2);
}

/* Loading state */
.btn-loading { display: none; }
.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: flex; align-items: center; gap: 0.5rem; }
.spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* ============================================================
   06. FORMS
   ============================================================ */
.form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.form-header { text-align: center; margin-bottom: 2rem; }
.form-header h2,.form-header h3 { color: var(--gray-900); margin-bottom: 0.375rem; }
.form-header p { color: var(--gray-500); font-size: 0.875rem; margin: 0; }

.form-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.form-section h4 { color: var(--gray-900); margin-bottom: 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.form-section h5 { color: var(--accent); font-size: 0.85rem; margin-bottom: 0.875rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
    line-height: var(--lh-ui);
}
.form-group label .req {
    color: var(--error);
    font-weight: 700;
    margin-left: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6875rem 0.875rem;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--r);
    font-size: 0.9375rem;
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    line-height: var(--lh-ui);
    min-height: 44px;
}
.form-group textarea { min-height: auto; }

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139,69,19,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

.form-group .error-message {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.form-actions { text-align: center; padding-top: 1.5rem; }
.form-disclaimer {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 1rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Checkbox */
.checkbox-group { margin-bottom: 1rem; }
.checkbox-label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: var(--lh-ui);
    user-select: none;
}
/* The text span sits to the right of the checkmark */
.checkbox-label > span:last-child {
    flex: 1;
    padding-top: 1px;
}

/* Hide native input — keep accessible */
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Custom checkbox box */
.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    margin-top: 1px; /* optical alignment with text baseline */
    flex-shrink: 0;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Checkmark tick via ::after */
.checkmark::after {
    content: '';
    display: none;
    width: 5px;
    height: 9px;
    border: 2px solid var(--white);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

/* Hover state */
.checkbox-label:hover .checkmark {
    border-color: var(--accent-light);
}

/* Checked state */
.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139,69,19,0.12);
}
.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
    display: block;
}

/* Focus-visible state for keyboard nav */
.checkbox-label input[type="checkbox"]:focus-visible ~ .checkmark {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

/* Conditional fields */
.conditional-field {
    display: none;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--r);
    margin-top: 1rem;
    border-left: 3px solid var(--accent);
}
.conditional-field.show { display: block; animation: slideDown 0.3s var(--ease); }

/* Door style picker */
.door-styles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.door-style-option {
    position: relative;
    border: 2px solid var(--gray-200);
    border-radius: var(--r);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.door-style-option:hover { border-color: var(--accent); }
.door-style-option.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(139,69,19,0.12); }
.door-style-option img { width: 100%; height: 140px; object-fit: cover; display: block; }
.door-style-label {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}
.door-style-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

/* ============================================================
   07. LABELS & BADGES
   ============================================================ */
.section-overline {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--accent);
    margin-bottom: 0.625rem;
}
.section-dark .section-overline { color: var(--amber-400); }

.hero-badge {
    display: block;
    background: none;
    border: none;
    color: #F0C090;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0;
    border-radius: 0;
    margin-bottom: 0.85rem;
}

/* ============================================================
   08. NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-offset);
    padding-top: var(--safe-top);
    background: rgba(9,14,24,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-top: none;
    z-index: var(--z-nav);
    transition: box-shadow var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}

.navbar.scrolled {
    background: rgba(9,14,24,0.99);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Logo */
.nav-logo { flex-shrink: 0; }
.nav-logo a { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.logo-img { height: 68px; width: auto; display: block; }
.logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.35rem;
    margin-left: auto;
}

.nav-link {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.35rem 0;
    border-radius: 0;
    background: none;
    transition: color var(--dur) var(--ease);
    white-space: nowrap;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    border-radius: 0;
    transition: width var(--dur) var(--ease);
}
.nav-link:hover { color: var(--white); background: none; }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--white); background: none; font-weight: 600; }
.nav-link.active::after { width: 100%; }

/* Get Quote CTA in nav */
.navbar .nav-menu .nav-cta {
    background: var(--accent);
    color: var(--white);
    padding: 7px 16px;
    border-radius: var(--r);
    font-weight: 700;
    margin-left: 0.5rem;
    font-size: 0.875rem;
}
.navbar .nav-menu .nav-cta::after { display: none; }
.navbar .nav-menu .nav-cta:hover {
    background: var(--amber-400);
    color: var(--white);
    transform: translateY(-1px);
}

.nav-drawer-label,
.nav-drawer-phone,
.nav-backdrop,
.mobile-dock { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: 0.5rem;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: var(--r);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}
.hamburger:focus-visible {
    outline: 2px solid var(--amber-300);
    outline-offset: 2px;
}
.hamburger .bar {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    margin-left: -11px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, top 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger .bar:nth-child(1) { top: 15px; }
.hamburger .bar:nth-child(2) { top: 21px; }
.hamburger .bar:nth-child(3) { top: 27px; }
.hamburger.active .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile nav */
@media (max-width: 960px) {
    .hamburger { display: flex; }
    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1;
        background: rgba(6, 14, 24, 0.55);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }
    .nav-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-container { position: relative; z-index: 2; }
    .nav-menu {
        position: fixed;
        top: var(--nav-offset);
        right: 0;
        width: min(22rem, 88vw);
        height: calc(100dvh - var(--nav-offset));
        max-height: calc(100dvh - var(--nav-offset));
        background: #0a1520;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1.15rem calc(1.5rem + var(--safe-bottom));
        border-left: 1px solid rgba(255,255,255,0.08);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s;
        z-index: 3;
        box-shadow: -16px 0 40px rgba(0,0,0,0.35);
    }
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    .nav-menu li { width: 100%; }
    .nav-drawer-label {
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.62);
        padding: 0.85rem 0.35rem 0.65rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: 0.35rem;
        list-style: none;
    }
    .nav-drawer-phone { display: block; margin-top: 0.75rem; }
    .nav-link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.65rem 0.5rem;
        font-size: 1.12rem;
        border-radius: var(--r);
        background: none;
    }
    .nav-link::after { display: none; }
    .nav-link:hover,
    .nav-link:focus-visible { background: rgba(255,255,255,0.06); color: var(--white); }
    .nav-link.active { background: rgba(160, 82, 45, 0.18); color: var(--white); }
    .navbar .nav-menu .nav-cta {
        margin: 0.85rem 0 0;
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: var(--r);
        font-size: 1rem;
    }
    .navbar .nav-menu .nav-cta:hover { transform: none; }
    .nav-phone-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        min-height: 48px;
        padding: 0.7rem 1rem;
        border: 1.5px solid rgba(255,255,255,0.18);
        border-radius: var(--r);
        color: var(--white);
        font-weight: 600;
        font-size: 0.95rem;
        text-decoration: none;
    }
    .nav-phone-btn:hover { border-color: var(--amber-300); color: var(--amber-300); }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 960px) {
    .nav-menu.active .nav-item,
    .nav-menu.active .nav-drawer-label {
        animation: navItemIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .nav-menu.active .nav-drawer-label { animation-delay: 0.05s; }
    .nav-menu.active .nav-item:nth-child(2) { animation-delay: 0.08s; }
    .nav-menu.active .nav-item:nth-child(3) { animation-delay: 0.11s; }
    .nav-menu.active .nav-item:nth-child(4) { animation-delay: 0.14s; }
    .nav-menu.active .nav-item:nth-child(5) { animation-delay: 0.17s; }
    .nav-menu.active .nav-item:nth-child(6) { animation-delay: 0.20s; }
    .nav-menu.active .nav-item:nth-child(7) { animation-delay: 0.23s; }
    .nav-menu.active .nav-item:nth-child(8) { animation-delay: 0.26s; }
    .nav-menu.active .nav-item:nth-child(9) { animation-delay: 0.29s; }
}

@keyframes navItemIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
    .logo-img { height: 48px; }
    .logo-text {
        display: block;
        font-size: 0.82rem;
        max-width: 9.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ============================================================
   09. HERO (STATIC — no carousel)
   ============================================================ */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: 420px;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: var(--nav-offset);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(9,14,24,0.87) 0%,
        rgba(26,46,64,0.60) 60%,
        rgba(9,14,24,0.40) 100%
    );
}

.hero-container {
    position: relative;
    z-index: var(--z-elevated);
    width: 100%;
}

.hero-content {
    max-width: 680px;
    color: var(--white);
    text-align: left;
}

.hero-title {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255,255,255,0.88);
    line-height: var(--lh-body);
    margin-bottom: 0;
    max-width: 520px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Legacy hero classes (kept for JS compat — elements may not exist) */
.hero-carousel,.hero-slide,.carousel-nav,.carousel-prev,.carousel-next,.carousel-dots { display: none !important; }

@media (max-width: 640px) {
    .hero { height: calc(100dvh - var(--header-height)); max-height: calc(100dvh - var(--header-height)); min-height: 360px; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-subtitle { margin: 0 auto; }
    .hero-actions { justify-content: center; }
}

/* ============================================================
   10. PAGE HEADER (inner pages — about, services, contact, etc.)
   ============================================================ */
.page-header {
    position: relative;
    padding: 5.5rem 0 3.75rem;
    text-align: center;
    overflow: hidden;
    background: var(--gradient-primary);
    margin-top: var(--nav-offset);
}

/* Photo-based variant */
.page-header.has-photo {
    background-size: cover !important;
    background-position: center !important;
}
.page-header.has-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9,14,24,0.75) 0%, rgba(9,14,24,0.50) 100%);
    z-index: 0;
}
.page-header.has-photo .container { position: relative; z-index: 1; }

.page-header-content { max-width: 640px; margin: 0 auto; }

.page-title {
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.page-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 0.975rem;
    line-height: var(--lh-body);
    margin: 0;
}

/* Page-specific bg images (paths relative to assets/ directory) */
.gallery-hero { background-image: url('images/about-hero.png'); }
.about-hero { background-image: url('images/about 4.jpg'); }
.services-hero-header { background-image: url('images/hey1.jpg'); }
.contact-hero-header { background-image: url('images/about 4.jpg'); }
.acc-hero-header { background-image: url('images/6..jpg'); }

/* ============================================================
   11. FACTS LINE (replaces fake stat badges)
   ============================================================ */
.stats-bar {
    background: #F3F0EA;
    padding: 0.9rem 0;
    border-bottom: 1px solid #E4DFD6;
}
.facts-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem 0;
}
.facts-line > span,
.facts-line > a {
    font-size: 0.84rem;
    font-weight: 500;
    color: #3A4450;
    padding: 0.2rem 0.15rem;
    text-decoration: none;
    line-height: 1.45;
}
.facts-line > a { color: var(--navy-800); text-decoration: underline; text-underline-offset: 2px; }
.facts-line > a:hover { color: var(--accent); }
.facts-line > span:not(:last-child)::after,
.facts-line > a:not(:last-child)::after {
    content: '·';
    margin: 0 0.7rem;
    color: #B8B2A6;
    font-weight: 400;
    pointer-events: none;
}
.facts-line-left { justify-content: flex-start; }
.facts-line-on-dark > span,
.facts-line-on-dark > a {
    color: rgba(255,255,255,0.82);
}
.facts-line-on-dark > a { color: #fff; }
.facts-line-on-dark > span:not(:last-child)::after,
.facts-line-on-dark > a:not(:last-child)::after {
    color: rgba(255,255,255,0.35);
}
.facts-line-on-hero > span,
.facts-line-on-hero > a {
    color: rgba(255,255,255,0.82);
}
.facts-line-on-hero > span:not(:last-child)::after,
.facts-line-on-hero > a:not(:last-child)::after {
    color: rgba(255,255,255,0.4);
}

.stats-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    padding: 0.5rem 2.5rem;
    position: relative;
}
.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}
.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--amber-400);
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.stat-label {
    display: block;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.48);
    margin-top: 2px;
}

/* story-stats override (about page) */
.story-stats.facts-line {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    justify-content: flex-start;
}

/* ============================================================
   12. SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    color: var(--gray-900);
    margin-bottom: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
    color: var(--gray-600);
    font-size: 0.975rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: var(--lh-body);
}

/* ============================================================
   13. SERVICE CARDS (Homepage)
   ============================================================ */
.services-overview { background: var(--white); }

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

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.service-icon {
    width: 52px; height: 52px;
    background: var(--amber-50);
    border: 1px solid rgba(139,69,19,0.12);
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    margin: 0 auto 1.125rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.service-card:hover .service-icon { background: var(--accent); color: var(--white); border-color: var(--accent); }
.service-card h3 { font-size: 1.05rem; color: var(--gray-900); margin-bottom: 0.5rem; }
.service-card p { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; flex-grow: 1; margin-bottom: 1rem; }
.service-price { color: var(--accent); font-weight: 800; font-size: 0.975rem; margin-bottom: 1.125rem; letter-spacing: -0.01em; }
.service-card .btn { margin-top: auto; align-self: center; }

/* ============================================================
   14. FEATURE CARDS (Why Choose Us)
   ============================================================ */
.why-choose-us   { background: var(--amber-50); }
.why-choose-about { background: var(--amber-50); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.125rem;
    margin-top: 2rem;
}

/* Homepage: vertical card (left border accent) */
.feature-card {
    background: var(--white);
    border-radius: 0 var(--r) var(--r) 0;
    padding: 1.25rem 1.25rem 1.25rem 1.375rem;
    border-left: 3px solid var(--accent);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.feature-card:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.feature-icon {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
}
.feature-card h3 { font-size: 0.975rem; color: var(--gray-900); margin-bottom: 0.3rem; }
.feature-card p  { color: var(--gray-600); font-size: 0.875rem; margin: 0; }

/* About page: horizontal item (icon left, text right) */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--r);
    border: 1px solid var(--gray-200);
    border-left: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.feature-item:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.feature-item .feature-icon {
    flex-shrink: 0;
    width: 44px !important; height: 44px !important;
    background: var(--amber-50) !important;
    border-radius: var(--r-lg) !important;
    border: 1px solid rgba(139,69,19,0.1);
    display: flex !important; align-items: center !important; justify-content: center !important;
    color: var(--accent) !important;
    font-size: 1.1rem;
    margin: 0 !important;
}
.feature-content h3 { font-size: 0.9rem; color: var(--gray-900); margin-bottom: 0.2rem; font-weight: 700; }
.feature-content p  { color: var(--gray-600); font-size: 0.85rem; margin: 0; line-height: var(--lh-ui); }

/* ============================================================
   15. PROCESS STEPS (How It Works)
   ============================================================ */
.how-it-works { background: var(--gray-50); }

.steps-row {
    display: grid;
    grid-template-columns: 1fr 48px 1fr 48px 1fr;
    align-items: start;
    gap: 0;
    margin-top: 2.5rem;
}

.step-item {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.step-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: var(--amber-50);
    border: 2px solid rgba(139,69,19,0.2);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    margin: 0 auto 1rem;
    letter-spacing: -0.02em;
}
.step-item h3 { font-size: 1rem; color: var(--gray-900); margin-bottom: 0.5rem; }
.step-item p  { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; margin: 0; }

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3.25rem;
    color: var(--gray-300);
    font-size: 1.5rem;
}
.step-connector::after {
    content: '→';
    color: var(--amber-300);
    font-size: 1.25rem;
}

/* ============================================================
   16. TESTIMONIALS (Grid — not carousel)
   ============================================================ */
/* testimonials background controlled by section utility class */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--accent);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.testimonial-stars { color: var(--accent); font-size: 0.875rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.25rem;
    position: relative;
}
.testimonial-text::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 0.75;
    color: var(--accent);
    opacity: 0.12;
    position: absolute;
    top: 0; left: -0.5rem;
    pointer-events: none;
}
.testimonial-author strong { display: block; font-size: 0.875rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.15rem; }
.testimonial-author span   { font-size: 0.78rem; color: var(--gray-500); }

/* Legacy carousel classes (kept so JS doesn't error) */
.testimonial-slide,.testimonial-prev,.testimonial-next,.testimonial-dots,.testimonial-nav { display: none !important; }
.testimonial-rating { display: none; }

/* ============================================================
   17. CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-600) 100%);
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid rgba(139,69,19,0.2);
}
.cta-content h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 0.975rem; margin-bottom: 2rem; }
.cta-content .section-overline { color: var(--amber-400); }
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   18. ABOUT PAGE
   ============================================================ */
.about-story    { background: var(--white); }
.values-mission { background: var(--gray-50); }
.team-section   { display: none; } /* Removed — no real team photos */

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.story-text h2 { color: var(--gray-900); margin-bottom: 1rem; }
.story-text p  { font-size: 0.9375rem; color: var(--gray-700); }

.story-image {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.story-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}
.story-image:hover img { transform: scale(1.03); }
.image-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(9,14,24,0.80));
    padding: 2rem 1.5rem 1.25rem;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}
.story-image:hover .image-overlay { opacity: 1; }
.about-story .image-overlay { opacity: 1; }
.overlay-text h3 { color: var(--white); margin-bottom: 0.25rem; font-size: 0.95rem; }
.overlay-text p  { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.82rem; }

/* Values / Mission cards */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.vm-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--accent);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: var(--transition);
}
.vm-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vm-icon {
    width: 48px; height: 48px;
    background: var(--amber-50);
    border-radius: var(--r-lg);
    border: 1px solid rgba(139,69,19,0.12);
    display: flex; align-items: center; justify-content: center;
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: 1.2rem;
}
.vm-card h3 { font-size: 1rem; color: var(--gray-900); margin-bottom: 0.625rem; }
.vm-card p  { color: var(--gray-600); font-size: 0.875rem; line-height: 1.6; margin: 0; }
.vm-card ul { list-style: none; margin: 0; padding: 0; }
.vm-card li {
    padding: 0.3rem 0;
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
}
.vm-card li::before {
    content: "✓";
    color: var(--success);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ============================================================
   19. SERVICES PAGE — Detailed alternating cards
   ============================================================ */
.services-intro  { background: var(--gray-50); padding: 3rem 0; }
.detailed-services { background: var(--white); }

.intro-content { max-width: 800px; margin: 0 auto; text-align: center; }
.intro-content h2 { margin-bottom: 1rem; }
.intro-content p { font-size: 0.9375rem; }
.intro-content em { color: var(--accent); font-style: normal; font-weight: 700; }

.service-section { margin-bottom: 2rem; }
.service-card-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--dur-s) var(--ease);
    min-height: 380px;       /* uniform baseline on desktop */
}
.service-card-detailed:hover { box-shadow: var(--shadow-md); }

/* Image fills its grid cell via absolute positioning — prevents portrait
   images from inflating the card height */
.service-image {
    position: relative;
    overflow: hidden;
    /* height is 100% of the grid row (driven by the content column) */
}
.service-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--ease);
}
.service-card-detailed:hover .service-image img { transform: scale(1.04); }

/* Removed badge-on-image (was redundant) */
.service-overlay { display: none; }
.service-badge { display: none; }

.service-content {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
}
.svc-jump-bar {
    background: #fff;
    border-bottom: 1px solid #E4DFD6;
    padding: 0.65rem 0;
}
.svc-night {
    font-size: 0.9rem;
    color: #3A4450;
    line-height: 1.5;
    margin: 0 0 1.75rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid #E4DFD6;
}
.svc-night a {
    color: var(--navy-800);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.svc-night a:hover { color: var(--accent); }
.service-content h2 {
    color: var(--gray-900);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.875rem;
}
.service-content h2 i { color: var(--accent); font-size: 1.1rem; }
.service-content p   { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.25rem; }

.service-features { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    color: var(--gray-700);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--gray-100);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-pricing {
    margin-bottom: 1.5rem;
    margin-top: auto;
    padding: 0.875rem 1rem;
    background: var(--amber-50);
    border-radius: var(--r);
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
}
.price-highlight {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}
.price-note {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================================
   20. GALLERY
   ============================================================ */
.gallery-filter {
    padding: 1rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: var(--nav-offset);
    z-index: var(--z-sticky);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}
.filter-btn {
    background: transparent;
    border: 1.5px solid var(--gray-300);
    color: var(--gray-600);
    padding: 5px 16px;
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.01em;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

.gallery-grid-section { padding: 2rem 0; background: var(--gray-50); }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
}

.gallery-item {
    border-radius: var(--r);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
    position: relative;
}
.gallery-item.hidden { display: none; opacity: 0; transform: scale(0.96); }
.gallery-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.gallery-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s var(--ease); }
.gallery-item:hover .gallery-image img { transform: scale(1.06); }

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(9,14,24,0.88) 0%, rgba(9,14,24,0.15) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-view-btn {
    position: absolute;
    top: 0.625rem; right: 0.625rem;
    background: rgba(255,255,255,0.95);
    border: none; width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); cursor: pointer; font-size: 0.72rem;
    opacity: 0; transform: scale(0.8);
    transition: var(--transition);
}
.gallery-item:hover .gallery-view-btn { opacity: 1; transform: scale(1); }
.gallery-view-btn:hover { background: var(--accent); color: var(--white); }

.gallery-info h3 { color: var(--white); font-size: 0.85rem; font-weight: 700; margin-bottom: 0.15rem; }
.gallery-info p  { color: rgba(255,255,255,0.7); font-size: 0.72rem; margin: 0; }
.gallery-details { display: none; }

/* Gallery Reviews */
.gallery-reviews { background: var(--white); padding: var(--section-padding); }
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.125rem;
    margin-top: 2rem;
}
.review-item {
    padding: 1.375rem;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    border-top: 2px solid var(--accent);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: var(--transition);
}
.review-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.review-stars { color: var(--accent); font-size: 0.75rem; margin-bottom: 0.75rem; letter-spacing: 0.06em; }
.review-text {
    font-size: 0.875rem; color: var(--gray-700);
    line-height: 1.7; font-style: italic;
    flex-grow: 1; margin-bottom: 1rem; display: block;
}
.review-author { font-size: 0.8rem; font-weight: 700; color: var(--gray-900); margin: 0; }

/* Gallery service-quote */
.service-quote-section { background: var(--gray-50); padding: var(--section-padding); border-top: 1px solid var(--gray-200); }

/* Gallery map + contact */
.map-contact-section { background: var(--white); padding: var(--section-padding); border-top: 1px solid var(--gray-200); }
.map-contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}
.map-area iframe { width: 100%; height: 340px; border: 0; border-radius: var(--r-lg); display: block; box-shadow: var(--shadow-sm); }
.map-contact-grid .contact-info { display: flex; flex-direction: column; gap: 0.875rem; }
.map-contact-grid .contact-card {
    padding: 1.1rem 1.25rem;
    display: flex; align-items: center; gap: 0.875rem;
    text-align: left;
}
.map-contact-grid .contact-icon { margin: 0; flex-shrink: 0; }
.map-contact-grid .contact-card-body { flex: 1; }
.map-contact-grid .contact-card h3 { font-size: 0.8rem; margin-bottom: 0.1rem; }
.map-contact-grid .contact-card > p { display: none; }
.map-contact-grid .contact-card a { display: block; color: var(--accent); font-weight: 700; font-size: 0.875rem; }
.map-contact-grid .availability { font-size: 0.7rem; color: var(--gray-500); }

/* Lightbox */
.lightbox-modal {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: var(--z-lightbox); padding: 1.25rem;
}
.lightbox-modal.active { opacity: 1; visibility: visible; }
.lightbox-content {
    position: relative;
    width: 100%; max-width: 880px; max-height: 90vh;
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    animation: lbFadeIn 0.3s var(--ease);
}
@keyframes lbFadeIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close {
    position: absolute; top: 0.625rem; right: 0.625rem;
    background: rgba(0,0,0,0.6); border: none; color: var(--white);
    width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; z-index: var(--z-elevated);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--dur) var(--ease); line-height: 1;
}
.lightbox-close:hover { background: rgba(0,0,0,0.9); }
.lightbox-image-container {
    width: 100%; max-height: 74vh;
    display: flex; justify-content: center; align-items: center;
    background: var(--navy-800);
}
.lightbox-image-container img { max-width: 100%; max-height: 74vh; object-fit: contain; display: block; }
.lightbox-info { padding: 0.875rem 1.25rem; text-align: center; border-top: 1px solid var(--gray-200); }
.lightbox-info h3 { font-size: 0.9rem; color: var(--gray-900); margin-bottom: 0.1rem; }
.lightbox-info p  { font-size: 0.78rem; color: var(--gray-500); margin: 0; }
.lightbox-nav {
    position: absolute; top: 38%; left: 0; right: 0;
    display: flex; justify-content: space-between;
    padding: 0 0.625rem; pointer-events: none;
    transform: translateY(-50%);
}
.lightbox-prev, .lightbox-next {
    background: rgba(0,0,0,0.5); border: none; color: var(--white);
    width: 38px; height: 38px; border-radius: 50%;
    cursor: pointer; font-size: 1.1rem;
    pointer-events: all; transition: background var(--dur) var(--ease);
    display: flex; align-items: center; justify-content: center;
}
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(0,0,0,0.85); }

/* ============================================================
   21. FAQ ACCORDION
   ============================================================ */
.faq-section { background: var(--gray-50); }
.faq-container { max-width: 760px; margin: 2rem auto 0; }
.faq-item {
    background: var(--white);
    border-radius: var(--r);
    margin-bottom: 0.5rem;
    border: 1px solid var(--gray-200);
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq-item:hover { border-left-color: rgba(139,69,19,0.35); }
.faq-item.active { border-left-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    gap: 1rem;
    background: var(--white);
    transition: background var(--dur) var(--ease);
}
.faq-question:hover { background: var(--amber-50); }
.faq-question h3 {
    color: var(--gray-900);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0;
}
.faq-toggle,
.faq-question > .faq-toggle,
.faq-question > i {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    width: 20px; text-align: center;
    display: inline-block;
}
.faq-item.active .faq-toggle,
.faq-item.active .faq-question > i { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease);
}
.faq-item.active .faq-answer { max-height: 500px; opacity: 1; }
.faq-answer p {
    padding: 0.875rem 1.25rem 1.125rem;
    margin: 0;
    color: var(--gray-700);
    font-size: 0.875rem;
    line-height: 1.7;
    border-top: 1px solid var(--gray-100);
}

/* ============================================================
   22. CONTACT PAGE
   ============================================================ */
.contact-info-section { background: var(--white); }
.contact-form-section { background: var(--gray-50); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.contact-card {
    background: var(--white);
    padding: 1.5rem 1.25rem;
    border-radius: var(--r-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
    border-top: 3px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-card:hover {
    border-top-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Horizontal variant (contact.php top cards) */
.contact-card.contact-card-h {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
    padding: 1.125rem 1.375rem;
}
.contact-card.contact-card-h .contact-icon { margin: 0; flex-shrink: 0; }
.contact-card.contact-card-h .contact-card-body { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; }
.contact-card.contact-card-h .contact-card-body h3 { font-size: 0.82rem; margin: 0; }
.contact-card.contact-card-h .contact-card-body a { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.contact-card.contact-card-h .availability { font-size: 0.7rem; color: var(--gray-500); }

.contact-icon {
    width: 50px; height: 50px;
    background: var(--amber-50);
    border-radius: var(--r-lg);
    border: 1px solid rgba(139,69,19,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent);
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.contact-card:hover .contact-icon { background: var(--accent); color: var(--white); border-color: var(--accent); }
.contact-card h3 { color: var(--gray-900); margin-bottom: 0.25rem; font-size: 0.9rem; }
.contact-card > p { color: var(--gray-500); font-size: 0.82rem; margin-bottom: 0.5rem; }
.contact-details a { display: block; color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.availability { color: var(--gray-500); font-size: 0.74rem; }

/* Contact form + sidebar layout */
.contact-content { display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; }
.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.contact-form-container .form-header { text-align: left; margin-bottom: 1.5rem; }
.contact-form-container .form-header h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.contact-form-container .form-header p { font-size: 0.875rem; color: var(--gray-500); margin: 0; }

/* Business info sidebar */
.business-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-xs);
}
.info-card h3 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
    margin-bottom: 0.875rem;
}
.info-card h4 { color: var(--accent); font-size: 0.78rem; margin: 0.75rem 0 0.35rem; font-weight: 700; }
.hours-list { margin-bottom: 0.875rem; }
.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.82rem;
}
.hour-item:last-child { border-bottom: none; }
.day { color: var(--gray-800); font-weight: 600; }
.time { color: var(--gray-500); }
.emergency-note {
    display: flex; align-items: center; gap: 0.5rem;
    background: rgba(22,163,74,0.07);
    color: var(--success);
    padding: 0.5rem 0.75rem;
    border-radius: var(--r);
    font-size: 0.78rem; font-weight: 700;
    border: 1px solid rgba(22,163,74,0.15);
}
.service-areas-list { display: flex; flex-direction: column; gap: 0.5rem; }
.area-group ul { list-style: none; padding: 0; margin: 0.25rem 0 0; }
.area-group li { color: var(--gray-700); padding: 0.18rem 0; font-size: 0.82rem; }
.benefits-list { list-style: none; padding: 0; margin: 0; }
.benefits-list li {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 0;
    color: var(--gray-700); font-size: 0.82rem;
    border-bottom: 1px solid var(--gray-100);
}
.benefits-list li:last-child { border-bottom: none; }
.benefits-list i { color: var(--success); font-size: 0.7rem; }
.form-disclaimer { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.875rem; line-height: 1.5; }
.form-disclaimer a { color: var(--accent); }
.map-container { margin-top: 2rem; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ============================================================
   23. ACCESSORIES PAGE
   ============================================================ */
.accessories-section {
    padding: var(--section-padding);
    background: var(--white);
}

/* Legacy .accessories selector — align with system */
.accessories {
    padding: var(--section-padding);
    background: var(--white);
}

.accessories-header {
    text-align: center;
    margin-bottom: 3rem;
}
.accessories-header h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}
.accessories-header p {
    color: var(--gray-600);
    font-size: 0.975rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Product grid */
.accessories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(139,69,19,0.2);
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}
.product-card h3 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 1rem 1rem 0.375rem;
    letter-spacing: -0.01em;
}
.product-card .price {
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 1rem 0.625rem;
}
.product-card .price .old-price {
    text-decoration: line-through;
    color: var(--gray-400);
    margin-right: 0.375rem;
    font-weight: 400;
}
.product-card p {
    color: var(--gray-600);
    font-size: 0.85rem;
    line-height: var(--lh-ui);
    padding: 0 1rem;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

/* Order button — aligned with design system */
.order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: var(--transition);
    text-transform: none;
}
.order-btn:hover {
    background: linear-gradient(135deg, var(--amber-700), var(--amber-500));
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
    color: var(--white);
    transform: none;
}

/* Accessories modal */
.modal {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    padding: 1.25rem;
}
.modal.show { display: flex; }
.modal-content {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--r-xl);
    width: 100%; max-width: 360px;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: popIn 0.25s var(--ease);
}
.modal-logo { display: flex; justify-content: center; margin-bottom: 1rem; }
.modal-logo img { max-width: 88px; height: auto; object-fit: contain; }
.modal-content h2 { font-size: 1.2rem; text-align: center; color: var(--gray-900); margin-bottom: 1rem; }
.modal-content .close {
    position: absolute; top: 0.875rem; right: 1rem;
    font-size: 1.4rem; color: var(--gray-500); cursor: pointer;
    transition: color var(--dur) var(--ease); line-height: 1;
}
.modal-content .close:hover { color: var(--gray-900); }
.modal-content form label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.25rem; }
.modal-content input,
.modal-content textarea {
    width: 100%; padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--gray-300); border-radius: var(--r);
    font-size: 0.875rem; color: var(--gray-900);
    font-family: var(--font); margin-bottom: 0.75rem;
    transition: border-color var(--dur) var(--ease);
}
.modal-content input:focus, .modal-content textarea:focus { border-color: var(--accent); outline: none; }
.modal-content .note { font-size: 0.78rem; color: var(--gray-500); text-align: center; margin: 0.5rem 0; }
.modal-content button[type="submit"] {
    width: 100%; padding: 0.75rem 0;
    background: var(--gradient-accent); color: var(--white);
    border: none; border-radius: var(--r); font-size: 0.95rem;
    font-weight: 700; font-family: var(--font); cursor: pointer;
    transition: var(--transition);
}
.modal-content button[type="submit"]:hover { background: linear-gradient(135deg, var(--amber-700), var(--amber-500)); }
.quantity-control { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.qty-btn {
    background: var(--accent); color: var(--white);
    border: none; padding: 0.3rem 0.625rem;
    border-radius: var(--r); cursor: pointer;
    font-size: 1rem; line-height: 1;
    transition: background var(--dur) var(--ease);
}
.qty-btn:hover { background: var(--amber-700); }
.quantity-control input { width: 52px; text-align: center; margin: 0; }

/* ============================================================
   24. FOOTER
   ============================================================ */
.footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.55);
    padding: 3.25rem 0 1.35rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 1fr 0.9fr minmax(0, 1.25fr);
    gap: 2.25rem 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    margin-bottom: 0.85rem;
}
.footer-logo-img {
    height: 42px;
    width: auto;
    display: block;
    border-radius: 6px;
}
.footer-brand-link span {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.footer-brand p {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.55;
    margin: 0 0 1.1rem;
    max-width: 16.5rem;
}
.footer-quote-btn {
    width: auto;
    min-height: 36px;
    padding: 0.4rem 1rem;
}

.footer-label {
    color: rgba(255,255,255,0.38);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 0.85rem;
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
    color: rgba(255,255,255,0.62);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}
.footer-links a:hover { color: var(--amber-300); }

.footer-contact-list {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}
.footer-contact-list li {
    margin-bottom: 0.75rem;
}
.footer-contact-list a,
.footer-contact-plain {
    display: block;
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.35;
}
.footer-contact-list a:hover { color: var(--amber-300); }
.footer-contact-list span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    margin-top: 0.12rem;
}

.footer-hours {
    margin: 0 0 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-hours-label {
    color: rgba(255,255,255,0.38);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 0.5rem;
}
.footer-hour-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.62);
    padding: 0.18rem 0;
}
.footer-hour-muted { color: rgba(255,255,255,0.38); }

.footer-facebook {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
}
.footer-facebook:hover { color: var(--amber-300); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 1.25rem;
}
.footer-bottom p {
    color: rgba(255,255,255,0.34);
    font-size: 0.78rem;
    margin: 0;
}
.footer-bottom a {
    color: rgba(255,255,255,0.55);
    font-weight: 600;
    text-decoration: none;
}
.footer-bottom a:hover { color: var(--amber-300); }

/* ============================================================
   25. FLOATING UI
   ============================================================ */
.fixed-quick-actions {
    position: fixed;
    bottom: 84px; right: 20px;
    z-index: var(--z-toast);
    display: flex; flex-direction: column; align-items: center;
}
.floating-cta {
    width: 48px; height: 48px;
    background: var(--amber-700);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: var(--transition);
}
.floating-cta:hover {
    background: var(--amber-600);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139,69,19,0.4);
}

#backToTop {
    position: fixed;
    right: 20px; bottom: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--navy-700);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease), background var(--dur) var(--ease);
    z-index: var(--z-lightbox);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--accent); transform: translateY(-2px); }

/* ============================================================
   26. FLASH MESSAGES / TOASTS
   Centered near the top of the viewport, auto-fades after ~5.5s.
   Shared between the PHP-rendered flash (#flash-message, full page
   reloads) and the JS-created AJAX toast (#site-toast, form fetch()
   responses) — both use the same .flash-message/.flash-{type} classes.
   ============================================================ */
.flash-message {
    position: fixed;
    top: calc(var(--nav-offset) + 14px);
    left: 50%;
    z-index: 3000;
    width: min(92vw, 460px);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: 0 16px 40px rgba(6,14,24,0.22);
    animation: toastIn 0.35s var(--ease);
    transform: translate(-50%, 0);
}
.flash-message .container {
    max-width: none;
    padding: 0.85rem 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: flex-start;
}
.flash-message .flash-text { flex: 1; font-size: 0.925rem; font-weight: 600; line-height: 1.4; }
.flash-message i.fas { font-size: 1.05rem; flex-shrink: 0; }
.flash-success { color: #15803d; }
.flash-success i.fas { color: #16a34a; }
.flash-error   { color: #b91c1c; }
.flash-error   i.fas { color: #dc2626; }
.flash-info    { color: var(--navy-700); }
.flash-info    i.fas { color: var(--navy-500); }
.flash-close {
    background: none; border: none; color: inherit;
    opacity: 0.5;
    font-size: 1.25rem; cursor: pointer;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease);
    flex-shrink: 0;
}
.flash-close:hover { opacity: 1; background: rgba(0,0,0,0.06); }
@keyframes toastIn  { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes toastOut { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -14px); } }

/* ============================================================
   27. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.fade-up.animated { opacity: 1; transform: translateY(0); }

.slide-in-left {
    opacity: 0;
    transform: translateX(-28px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.slide-in-left.animated { opacity: 1; transform: translateX(0); }

.slide-in-right {
    opacity: 0;
    transform: translateX(28px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.slide-in-right.animated { opacity: 1; transform: translateX(0); }

.slide-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.slide-in-up.animated { opacity: 1; transform: translateY(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   28. KEYFRAMES
   ============================================================ */
@keyframes fadeInUp  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }
@keyframes slideDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:none; } }
@keyframes slideOutUp { from { opacity:1; transform:none; } to { opacity:0; transform:translateY(-24px); } }
@keyframes spin      { to { transform:rotate(360deg); } }
@keyframes popIn     { from { opacity:0; transform:scale(0.94) translateY(-12px); } to { opacity:1; transform:none; } }
@keyframes slideSlide { from { opacity:0; transform:translateY(-24px); } to { opacity:1; transform:none; } }

/* ============================================================
   29. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .story-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-content { grid-template-columns: 1fr; }
    .map-contact-grid { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: 1fr; gap: 1rem; }
    .step-connector { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-card-detailed { grid-template-columns: 1fr; min-height: 0; }
    .service-card-detailed .service-image { order: -1; height: 260px; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-padding: 3.5rem 0; --header-height: 64px; }
    .logo-img { height: 56px; }
    h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .hero { height: calc(100dvh - var(--header-height)); min-height: 360px; max-height: calc(100dvh - var(--header-height)); }
    .page-header { padding: 4.5rem 0 3rem; }
    .form-row { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .accessories-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.625rem; }
    .stats-bar .container { gap: 0; }
    .stat-item { padding: 0.5rem 1.25rem; }
    .stat-number { font-size: 1.1rem; }
    .vm-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
    .hero-actions .btn { width: 100%; max-width: 300px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 320px; }
    .contact-grid { grid-template-columns: 1fr; }
    .service-card-detailed .service-image { height: 220px; }
}

@media (max-width: 600px) {
    .fixed-quick-actions { bottom: 72px; right: 14px; }
    .floating-cta { width: 52px; height: 52px; font-size: 1.1rem; }
    #backToTop { right: 14px; bottom: 14px; width: 40px; height: 40px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .review-grid { grid-template-columns: 1fr; }
    .lightbox-modal { padding: 0.625rem; }
}

/* ============================================================
   30. OVERRIDES & ENHANCEMENTS v3.1
   ============================================================ */

/* Hero: larger + centered variant */
.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 640px;
}
.hero-centered .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero-centered .hero-subtitle { margin: 0 auto; }
.hero-centered .hero-actions  { justify-content: center; }
.hero-centered .hero-badge    { margin-left: auto; margin-right: auto; }

/* Page header: bigger */
.page-title    { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
.page-subtitle { font-size: clamp(0.975rem, 1.6vw, 1.125rem); line-height: var(--lh-body); }

/* Services homepage: 3 top + 2 centered below */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}
.services-grid .service-card:nth-child(1) { grid-column: 1 / 3; }
.services-grid .service-card:nth-child(2) { grid-column: 3 / 5; }
.services-grid .service-card:nth-child(3) { grid-column: 5 / 7; }
.services-grid .service-card:nth-child(4) { grid-column: 2 / 4; }
.services-grid .service-card:nth-child(5) { grid-column: 4 / 6; }

/* Service detail cards: compact */
.service-content { padding: 1.75rem 1.5rem; }

/* Button: shiny slide-through on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    z-index: var(--z-base);
}
.btn:hover::after { left: 140%; }

/* Cards: clean lift hover */
.service-card:hover,
.feature-card:hover,
.feature-item:hover,
.testimonial-card:hover,
.vm-card:hover,
.step-item:hover,
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Mission & Values: 2-col compact */
.vm-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.vm-card { padding: 1.5rem; }
.vm-icon { width: 40px; height: 40px; margin-bottom: 0.75rem; font-size: 1.1rem; }
.vm-card h3 { font-size: 0.975rem; margin-bottom: 0.5rem; }
.vm-card p, .vm-card li { font-size: 0.855rem; }

/* Why Choose Us (about): proper 2-col grid */
.why-choose-about .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}
.feature-item { padding: 1rem 1.125rem; gap: 0.875rem; }
.feature-item .feature-icon {
    width: 40px !important; height: 40px !important;
    font-size: 1rem; margin: 0 !important;
}
.feature-content h3 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.feature-content p  { font-size: 0.83rem; }

/* Gallery: Google-style review cards */
.gallery-reviews { background: var(--gray-50); }
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.125rem;
    margin-top: 2rem;
}
.review-item {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 1.375rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}
.review-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.reviewer-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    flex-shrink: 0;
    color: var(--white);
}
.reviewer-meta          { flex: 1; min-width: 0; }
.reviewer-meta strong   { display: block; font-size: 0.875rem; font-weight: 700; color: var(--gray-900); }
.reviewer-meta span     { font-size: 0.73rem; color: var(--gray-500); }
.google-badge           { color: #4285F4; font-size: 1.05rem; flex-shrink: 0; }
.review-stars           { color: #FBBC05; font-size: 0.8rem; margin-bottom: 0.625rem; letter-spacing: 0.06em; }
.review-text            { font-size: 0.875rem; color: var(--gray-700); line-height: var(--lh-body); margin: 0; font-style: italic; }

/* Gallery contact section (form left + map right) */
.gallery-contact-section { padding: var(--section-padding); }
.gallery-contact-layout  {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Contact page: form left + map right */
.contact-map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Shared: compact form card */
.compact-form-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--r-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.compact-form-card .form-head { margin-bottom: 1.25rem; }
.compact-form-card .form-head h3 { font-size: 1.1rem; color: var(--gray-900); margin-bottom: 0.2rem; }
.compact-form-card .form-head p  { font-size: 0.83rem; color: var(--gray-500); margin: 0; }

/* Shared: map + contact card stack */
.map-info-stack {}
.map-info-stack iframe {
    width: 100%; height: 260px; border: 0;
    border-radius: var(--r-lg); display: block;
    margin-bottom: 1rem;
}
.mini-contact-cards { display: flex; flex-direction: column; gap: 0.625rem; }
.mini-contact-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r);
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
    text-decoration: none;
}
.mini-contact-card:hover { border-color: rgba(139,69,19,0.25); box-shadow: var(--shadow-sm); transform: translateX(2px); }
.mini-contact-icon {
    width: 36px; height: 36px;
    background: var(--amber-50);
    border: 1px solid rgba(139,69,19,0.1);
    border-radius: var(--r);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 0.95rem;
    flex-shrink: 0;
}
.mini-contact-body strong  { display: block; font-size: 0.73rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.1rem; }
.mini-contact-body span    { font-size: 0.875rem; font-weight: 600; color: var(--accent); display: block; }
.mini-contact-body span.sub { font-size: 0.73rem; font-weight: 400; color: var(--gray-400); }

/* Hours table in right column */
.hours-compact { margin-top: 1rem; }
.hours-compact h4 { font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); margin-bottom: 0.625rem; }
.hour-row {
    display: flex; justify-content: space-between;
    font-size: 0.82rem; padding: 0.3rem 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.hour-row:last-child { border-bottom: none; }
.hour-row .day { font-weight: 600; color: var(--gray-800); }

/* Responsive overrides */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .services-grid .service-card { grid-column: auto !important; }
    .gallery-contact-layout,
    .contact-map-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-title { font-size: clamp(2.1rem, 7.5vw, 3rem) !important; }
    .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .services-grid .service-card { grid-column: auto !important; }
    .vm-grid { grid-template-columns: 1fr !important; }
    .why-choose-about .features-grid { grid-template-columns: 1fr !important; }
    .map-info-stack iframe { height: 220px; }
    .cr-map-wrap iframe { height: 180px; }
}
@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 400px) {
    .accessories-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .door-styles { grid-template-columns: 1fr 1fr; }
}

/* AJAX form results now render as the shared #site-toast (see script.js
   showToast()), styled by the .flash-message / .flash-{type} rules above. */

/* ============================================================
   CONTACT FORM ENHANCEMENTS
   ============================================================ */

/* Form card header */
.cf-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--gray-200);
}
.cf-header-icon {
    width: 44px; height: 44px;
    background: var(--amber-50);
    border: 1px solid rgba(139,69,19,0.15);
    border-radius: var(--r-lg);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1rem;
    flex-shrink: 0;
}
.cf-header h3 { font-size: 1.05rem; color: var(--gray-900); margin-bottom: 0.15rem; }
.cf-header p  { font-size: 0.82rem; color: var(--gray-500); margin: 0; }

/* Input with prefix icon */
.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon-wrap > i {
    position: absolute;
    left: 0.875rem;
    color: var(--gray-400);
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 1;
    transition: color var(--dur) var(--ease);
}
.input-icon-wrap input,
.input-icon-wrap select {
    padding-left: 2.25rem;
}
.input-icon-wrap:focus-within > i { color: var(--accent); }

/* Optional label tag */
.cf-optional {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--gray-400);
    margin-left: 0.3rem;
    letter-spacing: 0;
}

/* Submit area */
.cf-submit-area {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}
.cf-submit-btn { width: 100%; }

/* Contact form card padding tweak */
.contact-form-card { padding: 2rem; }

/* ============================================================
   CONTACT RIGHT SIDEBAR (cr-*)
   ============================================================ */
.cr-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}

/* Map */
.cr-map-wrap {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    line-height: 0;
}
.cr-map-wrap iframe {
    width: 100%;
    height: 210px;
    border: 0;
    display: block;
}
.cr-map-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(243,240,234,0.94);
    color: #3A4450;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0;
    padding: 6px 10px;
    border-radius: 0;
    border: 1px solid #E4DFD6;
}
.cr-map-badge i { display: none; }

/* Shared card shell */
.cr-info-card,
.cr-hours-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--r-lg);
    padding: 1.375rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* Section label (replaces h4 to avoid heading weight) */
.cr-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.cr-section-label i { color: var(--accent); font-size: 0.65rem; }

/* Contact list */
.cr-contact-list { display: flex; flex-direction: column; }

.cr-contact-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    text-decoration: none;
    transition: padding-left var(--dur) var(--ease);
}
.cr-contact-item:first-child { padding-top: 0; }
.cr-contact-item:last-child  { border-bottom: none; padding-bottom: 0; }

a.cr-contact-item:hover { padding-left: 4px; }
a.cr-contact-item:hover .cr-contact-value { color: var(--accent); }
a.cr-contact-item:hover .cr-contact-arrow { opacity: 1; color: var(--accent); transform: translateX(2px); }

.cr-contact-icon {
    width: 36px; height: 36px;
    background: var(--amber-50);
    border: 1px solid rgba(139,69,19,0.12);
    border-radius: var(--r);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 0.82rem;
    flex-shrink: 0;
}

.cr-contact-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}
.cr-contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.cr-contact-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: color var(--dur) var(--ease);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cr-contact-sub {
    font-size: 0.72rem;
    color: var(--gray-400);
    line-height: var(--lh-ui);
}

.cr-contact-arrow {
    color: var(--gray-300);
    font-size: 0.65rem;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

/* Hours */
.cr-hours-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.cr-hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.85rem;
}
.cr-hour-row:last-child { border-bottom: none; }
.cr-hour-row span:first-child { font-weight: 600; color: var(--gray-800); }
.cr-hour-row span:last-child  { color: var(--gray-500); font-size: 0.82rem; }
.cr-hour-muted span:first-child { color: var(--gray-400); font-weight: 500; }
.cr-hour-muted span:last-child  { color: var(--gray-400); }

.cr-emergency-badge {
    display: block;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0.75rem 0 0;
    margin-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--navy-800);
    letter-spacing: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cr-emergency-badge:hover { color: var(--accent); }

/* ============================================================
   MISSION & VALUES — about page (no cards, clean split layout)
   ============================================================ */
.mv-layout {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 3.5rem;
    align-items: start;
    margin-top: 3rem;
    padding-top: 0.5rem;
}

.mv-divider {
    background: var(--gray-200);
    align-self: stretch;
    min-height: 200px;
}

.mv-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.mv-label i { font-size: 0.68rem; }

.mv-statement {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--gray-900);
    font-weight: 600;
    line-height: 1.6;
    font-style: italic;
    border: none;
    margin: 0 0 1.25rem;
    padding: 0;
    position: relative;
}
.mv-statement::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--amber-100);
    font-style: normal;
    font-weight: 900;
    line-height: 0;
    position: absolute;
    top: 0.6rem;
    left: -1.5rem;
    pointer-events: none;
}

.mv-tagline {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
    line-height: var(--lh-body);
    font-style: normal;
}

.mv-values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin: 0;
}
.mv-values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
    line-height: var(--lh-ui);
}
.mv-values-list i {
    color: var(--accent);
    font-size: 0.7rem;
    flex-shrink: 0;
    background: var(--amber-50);
    border: 1px solid rgba(139,69,19,0.15);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

@media (max-width: 768px) {
    .mv-layout {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
    .mv-divider { display: none; }
    .mv-statement { font-size: 1.05rem; }
    .mv-statement::before { display: none; }
}

/* ============================================================
   WHY US — split photo + ledger list (homepage)
   ============================================================ */
.why-us-board {
    padding: 0;
    background: #F3F0EA;
}
.why-us-board-inner {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 0;
    max-width: var(--max-w);
    margin: 0 auto;
    align-items: stretch;
}
.why-us-photo {
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    height: auto;
    background: var(--navy-800);
}
.why-us-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}
.why-us-photo figcaption {
    position: absolute;
    left: 0.85rem;
    bottom: 0.75rem;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}
.why-us-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,26,38,0.08) 40%, rgba(12,26,38,0.5) 100%);
    pointer-events: none;
}
.why-us-copy {
    padding: 1.5rem 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F3F0EA;
}
.why-us-kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #6B6258;
    margin-bottom: 0.25rem;
}
.why-us-copy h2 {
    font-size: 1.35rem;
    color: var(--navy-800);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}
.why-us-lead {
    font-size: 0.88rem;
    color: #3A4450;
    line-height: 1.45;
    margin: 0 0 0.85rem;
    max-width: 36rem;
}
.why-us-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #D8D2C6;
}
.why-us-list li {
    display: grid;
    grid-template-columns: 1.85rem 1fr;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #D8D2C6;
    align-items: start;
}
.why-us-n {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--amber-600);
    padding-top: 0.18rem;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
}
.why-us-list h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-800);
    margin: 0 0 0.12rem;
    line-height: 1.25;
}
.why-us-list p {
    margin: 0;
    font-size: 0.8rem;
    color: #3A4450;
    line-height: 1.4;
}
.why-us-list a {
    color: var(--navy-800);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.why-us-list a:hover { color: var(--accent); }

.about-why-list {
    max-width: 40rem;
    margin: 1.5rem auto 0;
}

@media (max-width: 900px) {
    .why-us-board-inner { grid-template-columns: 1fr; }
    .why-us-photo { min-height: 140px; height: 140px; }
    .why-us-copy { padding: 1.15rem 1.25rem 1.35rem; }
}
@media (max-width: 480px) {
    .why-us-photo { height: 120px; min-height: 120px; }
    .why-us-list li { grid-template-columns: 1.7rem 1fr; }
}

/* ============================================================
   QUOTE FORM (sales-quote.php)
   ============================================================ */
.quote-form-section { background: var(--gray-50); }
.quote-form-section .form-container { box-shadow: var(--shadow-md); max-width: 860px; margin: 0 auto; }

/* ============================================================
   ACCESSORIES — E-commerce redesign (acc-*)
   ============================================================ */

/* Trust bar */
.acc-trust-bar {
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.9rem 0;
}
.acc-trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    flex-wrap: wrap;
}
.acc-trust-items span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.acc-trust-items i { color: var(--amber-400); font-size: 0.8rem; }

/* Featured Most Popular section */
.acc-featured-section { padding: var(--section-padding); }
.acc-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.acc-featured-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: transform var(--dur-s) var(--ease), box-shadow var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
}
.acc-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(139,69,19,0.2);
}
.acc-featured-img-wrap {
    position: relative;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.acc-featured-img-wrap img {
    max-height: 158px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s var(--ease);
}
.acc-featured-card:hover .acc-featured-img-wrap img { transform: scale(1.05); }
.acc-featured-body {
    padding: 1.375rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.acc-featured-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0.5rem 0 0.5rem;
    letter-spacing: -0.01em;
    line-height: var(--lh-ui);
}
.acc-featured-body > p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: var(--lh-body);
    margin-bottom: 1rem;
}
.acc-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    flex-wrap: wrap;
}

/* Filter bar */
.acc-filter-bar {
    padding: 0.7rem 0;
    background: #fff;
    border-bottom: 1px solid #E4DFD6;
    position: sticky;
    top: var(--nav-offset);
    z-index: var(--z-sticky);
}
.acc-filter-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem 1.1rem;
}
.acc-filter-bar .filter-btn {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6B6258;
    letter-spacing: 0;
}
.acc-filter-bar .filter-btn:hover {
    color: var(--navy-800);
    border-color: transparent;
    background: none;
}
.acc-filter-bar .filter-btn.active {
    background: none;
    border: none;
    color: var(--navy-800);
    font-weight: 600;
    box-shadow: 0 1px 0 currentColor;
}

.acc-grid-section { padding: 2.25rem 0 2.75rem; }
.acc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.acc-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #E4DFD6;
    box-shadow: none;
    transition: border-color var(--dur-s) var(--ease);
}
.acc-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #C9C2B4;
}
.acc-card.hidden { display: none; }

.acc-img-wrap {
    position: relative;
    background: #F7F5F0;
    border-bottom: 1px solid #E4DFD6;
    height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}
.acc-img-wrap img {
    max-height: 108px;
    max-width: 100%;
    object-fit: contain;
    transition: none;
}
.acc-card:hover .acc-img-wrap img { transform: none; }

.acc-body {
    padding: 0.85rem 0.9rem 0.95rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.acc-body h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy-800);
    margin: 0 0 0.45rem;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.acc-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    flex: 1;
}
.acc-specs li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.76rem;
    color: #3A4450;
    line-height: 1.35;
    padding-left: 0;
    position: static;
}
.acc-specs li::before { display: none; }
.acc-specs i {
    display: inline-block;
    color: var(--accent);
    font-size: 0.62rem;
    margin-top: 0.22rem;
    flex-shrink: 0;
}

.acc-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}
.acc-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: -0.02em;
}
.acc-price-old {
    font-size: 0.75rem;
    font-weight: 400;
    color: #9CA3AF;
    text-decoration: line-through;
}
.acc-save { display: none; }
.acc-save-now {
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
    letter-spacing: 0;
}

.acc-cues {
    font-size: 0.7rem;
    color: #5c564e;
    margin: 0 0 0.55rem;
    line-height: 1.4;
    font-weight: 500;
}
.acc-cues i {
    color: var(--accent);
    font-size: 0.58rem;
    margin-right: 0.15rem;
}
.acc-cues i + i { margin-left: 0.55rem; }

.acc-footer { margin-top: auto; }
.acc-order-btn { width: 100%; font-size: 0.82rem; padding: 0.5rem 0.75rem; }

/* Bottom trust section */
.acc-bottom-trust {
    padding: 2.5rem 0;
    background: #F3F0EA;
    border-top: 1px solid #E4DFD6;
}
.acc-facts-copy {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}
.acc-facts-copy p {
    font-size: 0.95rem;
    color: #3A4450;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.acc-facts-copy a { color: var(--navy-800); font-weight: 600; }
.acc-bottom-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.acc-trust-block i {
    font-size: 1.625rem;
    color: var(--amber-400);
    margin-bottom: 0.75rem;
    display: block;
}
.acc-trust-block h4 {
    font-size: 0.925rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}
.acc-trust-block p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    line-height: var(--lh-body);
    margin: 0;
}

/* Modal — override legacy styles */
.modal {
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow-y: auto;
}
.modal-content {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 2rem;
    max-width: 520px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.28);
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}
.modal-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gray-100);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
    font-family: var(--font);
}
.modal-content .close:hover { background: var(--gray-200); color: var(--gray-900); }
.modal-content .cf-header h3 { font-size: 1rem; }
.modal-content .quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--r);
    overflow: hidden;
    width: fit-content;
    min-height: 44px;
}
.modal-content .quantity-control input[type="number"] {
    width: 56px;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--gray-300);
    border-right: 1.5px solid var(--gray-300);
    border-radius: 0;
    font-size: 0.95rem;
    font-weight: 700;
    min-height: 42px;
    padding: 0;
    box-shadow: none;
}
.modal-content .quantity-control input:focus { outline: none; box-shadow: none; }
.modal-content .qty-btn {
    background: var(--gray-50);
    border: none;
    width: 40px;
    min-height: 42px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-700);
    cursor: pointer;
    transition: background 0.15s;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content .qty-btn:hover { background: var(--amber-50); color: var(--accent); }

/* Responsive — accessories */
@media (max-width: 1200px) {
    .acc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .acc-featured-grid { grid-template-columns: 1fr 1fr; }
    .acc-bottom-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
    .acc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .acc-featured-grid { grid-template-columns: 1fr; }
    .acc-grid { grid-template-columns: repeat(2, 1fr); }
    .acc-trust-items { gap: 1rem; }
    .acc-bottom-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (max-width: 480px) {
    .acc-grid { grid-template-columns: 1fr; }
    .acc-bottom-trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   30. MOBILE-FIRST PRODUCTION OVERRIDES
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }

body.nav-open {
    overflow: hidden;
}
body.nav-open .mobile-dock {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
}
body.nav-open #backToTop { opacity: 0; visibility: hidden; }

.mobile-dock {
    display: none;
}

@media (max-width: 960px) {
    :root {
        --dock-height: calc(56px + var(--safe-bottom));
        --section-padding: 3rem 0;
    }

    body { padding-bottom: var(--dock-height); }

    .mobile-dock {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: var(--z-toast);
        background: #0a1520;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 0.4rem 0.65rem calc(0.4rem + var(--safe-bottom));
        gap: 0.5rem;
        box-shadow: 0 -8px 28px rgba(0,0,0,0.28);
    }
    .mobile-dock-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 44px;
        border-radius: var(--r);
        font-size: 0.9rem;
        font-weight: 700;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-dock-call {
        color: var(--white);
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.14);
    }
    .mobile-dock-quote {
        color: var(--white);
        background: var(--gradient-accent);
        border: 1px solid var(--amber-500);
    }

    .fixed-quick-actions { display: none !important; }

    #backToTop {
        right: 14px;
        bottom: calc(var(--dock-height) + 12px);
    }

    .footer { padding-bottom: 1.25rem; }

    .nav-container { padding: 0 0.85rem; padding-left: max(0.85rem, env(safe-area-inset-left)); padding-right: max(0.85rem, env(safe-area-inset-right)); }
}

@media (max-width: 768px) {
    :root { --header-height: 64px; --section-padding: 2.75rem 0; }

    .hero {
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        padding: 2.15rem 0 2.5rem;
        align-items: flex-end;
    }
    .hero-title { font-size: clamp(1.7rem, 8vw, 2.35rem) !important; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { margin-top: 1.35rem; }
    .hero-actions .btn { max-width: none; width: 100%; min-height: 48px; }

    .page-header { padding: 2.75rem 0 2.15rem; }
    .page-title { font-size: clamp(1.55rem, 7vw, 2.15rem); }
    .page-subtitle { font-size: 0.9rem; }

    .sq-hero { padding: 2.75rem 0 2.15rem !important; min-height: 0 !important; }
    .sq-hero-title { font-size: clamp(1.55rem, 7vw, 2.15rem); }
    .sq-form-card { padding: 1.25rem !important; }
    .sq-layout { grid-template-columns: 1fr !important; }
    .sq-sidebar { flex-direction: column !important; }
    .sq-sidebar-card { min-width: 0 !important; }

    .services-grid { grid-template-columns: 1fr !important; }
    .services-grid .service-card { grid-column: auto !important; }
    .accessories-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .compact-form-card { padding: 1.25rem; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        min-height: 48px;
    }

    .btn { min-height: 44px; white-space: normal; }

    .facts-line {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .facts-line > span,
    .facts-line > a {
        width: 100%;
        text-align: center;
        padding: 0.4rem 0.25rem;
        font-size: 0.82rem;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .facts-line-on-dark > span,
    .facts-line-on-hero > span,
    .facts-line-on-dark > a,
    .facts-line-on-hero > a {
        border-bottom-color: rgba(255,255,255,0.1);
    }
    .facts-line > span:last-child,
    .facts-line > a:last-child { border-bottom: none; }
    .facts-line > span:not(:last-child)::after,
    .facts-line > a:not(:last-child)::after { content: none; }

    .svc-jump-bar { padding: 0.5rem 0; }
    .svc-jump-bar .facts-line {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.45rem;
        scrollbar-width: none;
        padding-bottom: 0.15rem;
    }
    .svc-jump-bar .facts-line::-webkit-scrollbar { display: none; }
    .svc-jump-bar .facts-line > a {
        width: auto;
        flex-shrink: 0;
        min-height: 40px;
        padding: 0.45rem 0.9rem;
        border: 1px solid #E4DFD6;
        border-radius: 999px;
        background: #fff;
        text-decoration: none;
        font-weight: 600;
        color: var(--navy-800);
    }
    .svc-jump-bar .facts-line > a::after { content: none; }

    .gallery-filter .filter-buttons,
    .acc-filter-bar .filter-buttons,
    .acc-filter-links {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.35rem 1rem;
        scrollbar-width: none;
        padding-bottom: 0.2rem;
    }
    .gallery-filter .filter-buttons::-webkit-scrollbar,
    .acc-filter-bar .filter-buttons::-webkit-scrollbar,
    .acc-filter-links::-webkit-scrollbar { display: none; }
    .gallery-filter .filter-btn,
    .acc-filter-bar .filter-btn {
        flex-shrink: 0;
        min-height: 40px;
        padding: 0.45rem 0.15rem;
    }

    .footer-links a,
    .footer-contact-list a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .service-card-detailed .service-image { height: 200px; }
    .map-info-stack iframe { height: 200px; }
    .why-us-photo { height: 160px; min-height: 160px; }

    .flash-message { padding: 0.75rem 0; }
    .flash-close { width: 44px; height: 44px; }
}

@media (max-width: 600px) {
    .container {
        padding-left: max(1rem, env(safe-area-inset-left, 0px));
        padding-right: max(1rem, env(safe-area-inset-right, 0px));
    }
    .acc-grid { grid-template-columns: 1fr !important; }
    .accessories-grid { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .door-styles { grid-template-columns: 1fr 1fr; }
    .lightbox-prev, .lightbox-next { width: 44px; height: 44px; }
}

@media (max-width: 400px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .door-styles { grid-template-columns: 1fr; }
    .acc-bottom-trust-grid { grid-template-columns: 1fr; }
    .logo-text { max-width: 7.5rem; }
}

@media (hover: none) {
    .service-card:hover,
    .gallery-item:hover,
    .mini-contact-card:hover,
    .floating-cta:hover,
    .navbar .nav-menu .nav-cta:hover {
        transform: none;
    }
}

@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;
    }
    .nav-menu { transition: none; }
    .nav-backdrop { transition: none; }
    .nav-menu.active .nav-item,
    .nav-menu.active .nav-drawer-label {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media print {
    .mobile-dock,
    .hamburger,
    .fixed-quick-actions,
    #backToTop { display: none !important; }
    body { padding-bottom: 0; }
}
