/* 
   Premier Exterior - Design System & Main Styles
   Theme: Light, Architectural, Premium
   Colors: Navy (#1C2541) & Teal (#5BC0BE)
   Version: 2.0 - Premium Enhanced
*/

:root {
    /* --- COLOR PALETTE --- */
    /* Primary */
    --clr-navy: #1C2541;
    --clr-navy-light: #2C3A5B;
    --clr-navy-dark: #0F172A;

    /* Accent */
    --clr-teal: #5BC0BE;
    --clr-teal-dark: #3A9D9B;
    --clr-teal-light: #7DD3D1;

    /* Premium Gradient Combos */
    --gradient-primary: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--clr-teal) 0%, #4ECDC4 100%);
    --gradient-hero: linear-gradient(135deg, rgba(28, 37, 65, 0.95) 0%, rgba(44, 58, 91, 0.7) 50%, rgba(28, 37, 65, 0.85) 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F4E4BC 50%, #D4AF37 100%);

    /* Neutrals */
    --clr-white: #FFFFFF;
    --clr-off-white: #F8FAFC;
    --clr-cream: #FEFCF3;
    --clr-text-body: #334155;
    --clr-text-muted: #64748B;
    --clr-border: #E2E8F0;
    --clr-border-strong: #CBD5E1;

    /* Status */
    --clr-success: #10B981;
    --clr-error: #EF4444;

    /* --- TYPOGRAPHY --- */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* --- SPACING SCALE (4px Baseline) --- */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;

    /* --- ARCHITECTURAL ELEMENTS --- */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -5px rgba(28, 37, 65, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(28, 37, 65, 0.25);
    --shadow-glow: 0 0 40px rgba(91, 192, 190, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    --container-width: 1280px;
    --gutter: var(--space-lg);

    --transition-fast: all 0.15s ease;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--clr-navy);
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-body);
    background-color: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--clr-navy);
    line-height: 1.2;
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-md);
}

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

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

ul {
    list-style: none;
}

/* --- UTILITIES & LAYOUT --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-bg {
    background-color: var(--clr-off-white);
}

/* Architectural Divider Line (The "Blueprint" Motif) */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--clr-border) 20%, var(--clr-border) 80%, transparent 100%);
    width: 100%;
    margin: var(--space-2xl) 0;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-stack {
    position: fixed;
    right: var(--space-md);
    bottom: calc(var(--space-md) + env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - (var(--space-md) * 2)));
    z-index: 10020;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.94);
    color: var(--clr-white);
    box-shadow: 0 20px 38px -24px rgba(15, 23, 42, 0.9);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.is-success {
    border-color: rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, rgba(8, 61, 47, 0.95), rgba(9, 37, 30, 0.95));
}

.toast.is-error {
    border-color: rgba(239, 68, 68, 0.5);
    background: linear-gradient(135deg, rgba(82, 17, 17, 0.95), rgba(48, 11, 11, 0.95));
}

.toast.is-info {
    border-color: rgba(91, 192, 190, 0.45);
}

.toast-message {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.4;
    flex: 1;
}

.toast-close {
    border: 0;
    background: transparent;
    color: inherit;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
}

.toast-close:hover,
.toast-close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
    .toast-stack {
        right: 50%;
        transform: translateX(50%);
        bottom: calc(86px + env(safe-area-inset-bottom));
    }
}

/* --- SCROLL ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for grid items */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* --- PREMIUM BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-weight: var(--fw-semibold);
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(28, 37, 65, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(28, 37, 65, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--clr-navy);
    border: 2px solid var(--clr-navy);
}

.btn-secondary:hover {
    background: var(--clr-navy);
    color: var(--clr-white);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(91, 192, 190, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), 0 8px 25px rgba(91, 192, 190, 0.5);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.05rem;
}

/* --- TYPOGRAPHY UTILITIES --- */
.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-navy {
    color: var(--clr-navy);
}

.text-teal {
    color: var(--clr-teal);
}

.text-muted {
    color: var(--clr-text-muted);
}

.site-header-solid-bg {
    background-color: var(--clr-navy);
}

.page-header-support {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.page-header-support-wide {
    max-width: 680px;
    margin: 0 auto;
    opacity: 0.9;
}

.cta-copy {
    margin-bottom: 24px;
    opacity: 0.95;
    font-size: 1.1rem;
}

.cta-copy-compact {
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-brand-link {
    margin-bottom: 20px;
    display: inline-block;
}

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

.gallery-top-spacing {
    margin-top: 40px;
}

.trust-icon-teal {
    color: #5BC0BE;
}

.trust-icon-gold {
    color: #FBBF24;
}

.hero-trust-label {
    font-weight: 500;
    font-size: 0.95rem;
}

.section-subtitle-light {
    color: var(--clr-teal-light);
}

.section-title-on-dark {
    color: var(--clr-white);
    background: none;
    -webkit-text-fill-color: var(--clr-white);
}

.section-description-on-dark {
    color: rgba(255, 255, 255, 0.85);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-navy), var(--clr-navy-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--clr-teal);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.section-description {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- HEADER & NAVIGATION --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: calc(4px + env(safe-area-inset-top, 0px)) 0 4px;
    transition: var(--transition-base);
    background-color: transparent;
    /* Transparent initially */
}

.site-header.scrolled {
    background-color: #FFFFFF;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: calc(2px + env(safe-area-inset-top, 0px)) 0 2px;
}

/* Logo and nav colors change when scrolled on white background */
.site-header.scrolled .brand-logo {
    color: var(--clr-navy) !important;
}

.site-header.scrolled .nav-link {
    color: var(--clr-text-body);
    text-shadow: none;
}

.site-header.scrolled .nav-link:hover {
    color: var(--clr-navy);
}

.site-header.scrolled .mobile-toggle {
    color: var(--clr-navy);
}

.site-header.scrolled .hamburger-icon,
.site-header.scrolled .hamburger-icon::before,
.site-header.scrolled .hamburger-icon::after {
    background-color: var(--clr-navy) !important;
}

/* Keep non-home solid headers in white-on-navy mode while scrolling */
.site-header.site-header-solid.scrolled .mobile-toggle {
    color: var(--clr-white);
}

.site-header.site-header-solid .nav-link,
.site-header.site-header-solid.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: none;
}

.site-header.site-header-solid .nav-link:hover,
.site-header.site-header-solid.scrolled .nav-link:hover {
    color: var(--clr-white);
}

.site-header.site-header-solid .mobile-toggle {
    color: var(--clr-white);
}

.site-header.site-header-solid .hamburger-icon,
.site-header.site-header-solid .hamburger-icon::before,
.site-header.site-header-solid .hamburger-icon::after {
    background-color: var(--clr-white) !important;
}

.site-header.site-header-solid.scrolled .hamburger-icon,
.site-header.site-header-solid.scrolled .hamburger-icon::before,
.site-header.site-header-solid.scrolled .hamburger-icon::after {
    background-color: var(--clr-white) !important;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--clr-navy);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.brand-logo img {
    display: block;
}

.site-header .brand-logo img {
    height: 180px !important;
    width: auto !important;
    max-width: none;
}

.site-footer .brand-logo img {
    height: 78px !important;
    width: auto !important;
    max-width: none;
}

.brand-logo span {
    color: var(--clr-teal);
}

/* Desktop Nav */
.nav-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-link {
    font-weight: var(--fw-medium);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-teal);
    transition: width 0.3s ease;
}

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

.nav-link[aria-current="page"] {
    color: var(--clr-white);
    font-weight: var(--fw-semibold);
}

.site-header.scrolled .nav-link[aria-current="page"] {
    color: var(--clr-navy);
}

.site-header.site-header-solid.scrolled .nav-link[aria-current="page"] {
    color: var(--clr-white);
}

.nav-link[aria-current="page"]::after {
    width: 100%;
    background-color: var(--clr-teal);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--clr-navy);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

/* Decorative geometric accent lines */
.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(91, 192, 190, 0.2);
    transform: rotate(45deg) translateY(-50%);
    pointer-events: none;
    animation: floatShape 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 8%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(91, 192, 190, 0.15);
    border-radius: 50%;
    pointer-events: none;
    animation: floatShape 6s ease-in-out infinite reverse;
}

@keyframes floatShape {

    0%,
    100% {
        transform: rotate(45deg) translateY(-50%);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translateY(-55%);
        opacity: 1;
    }
}

.hero-content {
    color: var(--clr-white);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--clr-white);
    margin-bottom: var(--space-lg);
    line-height: 1.05;
    font-weight: 700;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust {
    margin-top: var(--space-3xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --glass-x: 50%;
    --glass-y: 50%;
}

.hero-trust::before,
.hero-trust::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1.5px solid transparent;
    pointer-events: none;
}

.hero-trust::before {
    background:
        linear-gradient(transparent, transparent) padding-box,
        linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.82) 48%, rgba(125, 211, 209, 0.28) 54%, transparent 70%) border-box;
    transform: translateX(-145%);
    opacity: 0;
}

.hero-trust.is-scroll-sheen::before {
    animation: trustBorderSweep 1.35s cubic-bezier(0.2, 0.8, 0.2, 1) 0s 1 both;
}

.hero-trust::after {
    background:
        linear-gradient(transparent, transparent) padding-box,
        radial-gradient(190px circle at var(--glass-x) var(--glass-y),
            rgba(255, 255, 255, 0.62) 0%,
            rgba(125, 211, 209, 0.32) 34%,
            rgba(255, 255, 255, 0) 72%) border-box;
    opacity: 0;
    transition: opacity 180ms ease-out;
}

.hero-trust.is-glass-active::after {
    opacity: 1;
}

@keyframes trustBorderSweep {
    0% {
        transform: translateX(-145%);
        opacity: 0;
    }

    16% {
        opacity: 0.9;
    }

    82% {
        opacity: 0.8;
    }

    100% {
        transform: translateX(145%);
        opacity: 0;
    }
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.hero-trust-icon {
    color: var(--clr-teal);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    line-height: 1;
}

.hero-trust-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    .hero-trust::before {
        animation: none;
        opacity: 0;
    }

    .hero-trust::after {
        transition: none;
    }
}

/* --- FOOTER --- */
.site-footer {
    position: relative;
    background:
        radial-gradient(circle at 18% -24%, rgba(91, 192, 190, 0.24), transparent 44%),
        linear-gradient(180deg, #18233f 0%, #0f172a 68%, #0d1425 100%);
    color: var(--clr-white);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(91, 192, 190, 0), rgba(91, 192, 190, 0.92), rgba(91, 192, 190, 0));
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-col h4 {
    color: var(--clr-white);
    margin-bottom: var(--space-md);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.62);
}

/* --- SERVICES SECTION --- */
.services-section {
    position: relative;
    background: linear-gradient(180deg, var(--clr-white) 0%, var(--clr-off-white) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    align-items: stretch;
}

.service-card {
    background: var(--clr-white);
    padding: var(--space-2xl);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-off-white) 0%, var(--clr-white) 100%);
    border-radius: var(--radius-md);
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-inner);
}

.service-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.4rem;
    transition: var(--transition-fast);
}

.service-card:hover h3 {
    color: var(--clr-teal-dark);
}

.service-card p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.service-link {
    color: var(--clr-teal);
    font-weight: var(--fw-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
    margin-top: auto;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--clr-teal-dark);
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* --- VIDEO SHOWCASE --- */
.video-showcase {
    position: relative;
    color: var(--clr-white);
    min-height: clamp(440px, 62vw, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.video-showcase::before,
.video-showcase::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.video-showcase::before {
    background: linear-gradient(180deg, rgba(6, 10, 23, 0.88) 0%, rgba(6, 10, 23, 0.24) 22%, rgba(6, 10, 23, 0.15) 100%);
}

.video-showcase::after {
    background: linear-gradient(180deg, rgba(6, 10, 23, 0) 0%, rgba(6, 10, 23, 0.56) 72%, rgba(6, 10, 23, 0.82) 100%);
}

.video-showcase-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: clamp(44px, 7vw, 92px);
    padding-bottom: clamp(44px, 7vw, 92px);
}

.video-showcase .section-title-on-dark {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    color: #f8fbff !important;
    -webkit-text-fill-color: #f8fbff !important;
    text-shadow: 0 6px 24px rgba(4, 10, 24, 0.65);
}

.video-showcase .section-description-on-dark {
    color: rgba(248, 252, 255, 0.96) !important;
    text-shadow: 0 3px 16px rgba(4, 10, 24, 0.58);
}

.video-showcase-actions {
    margin-top: var(--space-lg);
    display: flex;
    justify-content: center;
}

.video-showcase-btn {
    min-width: 170px;
    text-align: center;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(15, 23, 42, 0.26);
    backdrop-filter: blur(3px);
}

.video-showcase-btn,
.video-showcase-btn:visited {
    color: #fff !important;
}

.video-showcase-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.92) !important;
    color: #fff !important;
}

.video-showcase-btn:focus-visible {
    color: #fff !important;
}

.video-showcase-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0a1428;
    pointer-events: none;
    overflow: hidden;
}

.video-showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    filter: saturate(1.06) contrast(1.04);
    transform: scale(1.02);
    animation: showcase-drift 28s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Hide native inline controls/start button chrome on mobile Safari/Chrome. */
.video-showcase-video::-webkit-media-controls,
.video-showcase-video::-webkit-media-controls-enclosure,
.video-showcase-video::-webkit-media-controls-panel,
.video-showcase-video::-webkit-media-controls-play-button,
.video-showcase-video::-webkit-media-controls-start-playback-button,
.video-showcase-video::-webkit-media-controls-overlay-play-button,
.video-showcase-video::-webkit-media-controls-current-time-display,
.video-showcase-video::-webkit-media-controls-time-remaining-display,
.video-showcase-video::-webkit-media-controls-timeline,
.video-showcase-video::-webkit-media-controls-seek-forward-button,
.video-showcase-video::-webkit-media-controls-seek-back-button,
.video-showcase-video::-webkit-media-controls-fullscreen-button,
.video-showcase-video::-webkit-media-controls-toggle-closed-captions-button,
.video-showcase-video::-internal-media-controls-overlay-cast-button {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

video::-webkit-media-controls {
    display: none !important;
}

.video-showcase-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(91, 192, 190, 0.26), rgba(91, 192, 190, 0) 52%),
        linear-gradient(115deg, rgba(6, 10, 23, 0.78) 0%, rgba(10, 20, 42, 0.6) 48%, rgba(7, 15, 33, 0.82) 100%);
    z-index: 2;
    pointer-events: none;
}

.video-showcase.is-static .video-showcase-video {
    animation: none;
    transform: none;
}

@keyframes showcase-drift {
    0% {
        transform: scale(1.02) translateY(0);
    }

    100% {
        transform: scale(1.06) translateY(-1.5%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .video-showcase-video {
        animation: none;
        transform: none;
    }
}

/* --- TESTIMONIALS --- */
.testimonials-section {
    position: relative;
    background: linear-gradient(180deg, var(--clr-off-white) 0%, var(--clr-white) 100%);
    overflow: hidden;
}

/* Decorative background element */
.testimonials-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 5%;
    font-size: 400px;
    font-family: Georgia, serif;
    color: var(--clr-border);
    opacity: 0.5;
    pointer-events: none;
    line-height: 1;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
    align-items: stretch;
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: opacity, transform;
    min-height: 320px;
}

.testimonial-grid.reviews-transition-out {
    opacity: 0;
    pointer-events: none;
}

.testimonial-grid.reviews-transition-out.reviews-direction-next {
    transform: translateX(-8px);
}

.testimonial-grid.reviews-transition-out.reviews-direction-prev {
    transform: translateX(8px);
}

.testimonial-grid.reviews-transition-in.reviews-direction-next {
    animation: review-enter-next 0.35s ease both;
}

.testimonial-grid.reviews-transition-in.reviews-direction-prev {
    animation: review-enter-prev 0.35s ease both;
}

@keyframes review-enter-next {
    from {
        opacity: 0;
        transform: translateX(8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes review-enter-prev {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-card {
    background: var(--clr-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-teal-light);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--clr-teal);
    opacity: 0.2;
    line-height: 1;
}

.stars {
    color: #FBBF24;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.quote-text {
    font-style: italic;
    margin-bottom: var(--space-lg);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-text-body);
}

.client-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: auto;
}

.proof-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.proof-card p {
    margin-top: auto;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--fw-bold);
    font-size: 1.2rem;
}

.client-name {
    font-weight: var(--fw-bold);
    color: var(--clr-navy);
    margin-bottom: 2px;
}

.client-location {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonial-nav-btn {
    border: 1px solid var(--clr-border);
    background: var(--clr-white);
    color: var(--clr-navy);
    border-radius: var(--radius-full);
    padding: 10px 16px;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-nav-btn:hover {
    border-color: var(--clr-teal);
    color: var(--clr-teal);
    transform: translateY(-1px);
}

.testimonial-nav-btn:focus-visible {
    outline: 2px solid var(--clr-teal);
    outline-offset: 2px;
}

.testimonial-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.testimonial-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(15, 23, 42, 0.2);
    cursor: pointer;
    transition: var(--transition-base);
}

.testimonial-dot:hover {
    background: rgba(91, 192, 190, 0.55);
}

.testimonial-dot.is-active,
.testimonial-dot[aria-current="true"] {
    background: var(--clr-teal);
    transform: scale(1.15);
}

.testimonial-dot:focus-visible {
    outline: 2px solid var(--clr-teal);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-grid {
        transition: none;
        animation: none;
    }

    .testimonial-grid.reviews-transition-in.reviews-direction-next,
    .testimonial-grid.reviews-transition-in.reviews-direction-prev {
        animation: none;
    }

    .cta-bar::before {
        animation: none;
    }
}

/* --- CALL TO ACTION BAR --- */
.cta-bar {
    background: var(--gradient-accent);
    color: var(--clr-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    animation-play-state: paused;
}

.cta-bar.is-shimmer-active::before {
    animation-play-state: running;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* --- HERO SECTION WITH VIDEO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--clr-white);
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.hero-cta-group {
    margin-top: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: white;
    color: var(--clr-navy);
}

.cta-bar h2 {
    color: var(--clr-white);
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-bar p {
    position: relative;
}

.cta-bar .btn {
    position: relative;
    background: var(--clr-white);
    color: var(--clr-teal-dark);
    border: 2px solid rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-lg);
}

.cta-bar .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-bar .cta-actions {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.cta-bar .cta-actions .btn {
    min-width: 220px;
}

.cta-bar .cta-btn-primary {
    background: var(--clr-white);
    color: var(--clr-teal-dark);
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 28px -20px rgba(15, 23, 42, 0.68);
}

.cta-bar .cta-btn-secondary {
    background: rgba(9, 19, 38, 0.24);
    color: var(--clr-white);
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 26px -20px rgba(2, 6, 23, 0.78);
    backdrop-filter: blur(2px);
}

.cta-bar .cta-btn-secondary:hover {
    background: rgba(9, 19, 38, 0.42);
    color: var(--clr-white);
}

.cta-bar .cta-btn-primary:focus-visible,
.cta-bar .cta-btn-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.38), 0 14px 26px -20px rgba(2, 6, 23, 0.78);
}

.page-header {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 120px 0 60px;
    /* Top padding for fixed nav */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-navy) 0%, var(--clr-teal) 50%, var(--clr-navy) 100%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.page-breadcrumb {
    color: var(--clr-teal);
    font-weight: var(--fw-medium);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FORMS --- */
.contact-form-container {
    background-color: var(--clr-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--clr-border);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: var(--fw-medium);
    color: var(--clr-navy);
}

.form-control {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--clr-text-body);
    background-color: var(--clr-white);
    transition: var(--transition-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--clr-teal);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.2);
}

.form-control.is-invalid {
    border-color: rgba(239, 68, 68, 0.9);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* --- MAP --- */
.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background-color: var(--clr-off-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

/* Contact page layout helpers */
.section-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.schedule-other-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.assessment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* --- CONTACT QUOTE OVERHAUL --- */
.quote-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(91, 192, 190, 0.14), transparent 36%),
        radial-gradient(circle at 12% 92%, rgba(28, 37, 65, 0.08), transparent 42%),
        linear-gradient(180deg, #f9fbff 0%, #f4f8ff 100%);
}

.quote-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.55), transparent 40%),
        linear-gradient(315deg, rgba(255, 255, 255, 0.55), transparent 45%);
    pointer-events: none;
}

.quote-layout {
    position: relative;
    z-index: 1;
    align-items: start;
    gap: clamp(24px, 3.8vw, 44px);
}

.quote-form-shell {
    padding: clamp(var(--space-xl), 3.2vw, var(--space-2xl));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 26px 52px -34px rgba(15, 23, 42, 0.45);
    position: relative;
}

.quote-form-shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--clr-teal) 0%, rgba(91, 192, 190, 0.25) 100%);
}

.quote-form-head {
    margin-bottom: var(--space-xl);
}

.quote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: var(--space-sm);
    color: var(--clr-teal-dark);
    background: rgba(91, 192, 190, 0.12);
    border: 1px solid rgba(91, 192, 190, 0.28);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
}

.quote-title {
    margin-bottom: var(--space-sm);
    font-size: clamp(1.6rem, 2.6vw, 2.05rem);
}

.quote-support {
    color: var(--clr-text-muted);
    max-width: 56ch;
    font-size: 0.98rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.quote-group {
    border-top: 1px solid rgba(203, 213, 225, 0.5);
    padding-top: var(--space-lg);
}

.quote-group-static {
    border-top: none;
    padding-top: 0;
}

.quote-group-title {
    margin-bottom: var(--space-md);
    font-size: 1.06rem;
    color: var(--clr-navy);
}

.quote-form-shell .form-label {
    margin-bottom: 7px;
    font-weight: var(--fw-semibold);
    color: var(--clr-navy);
}

.quote-form-shell .form-control {
    padding: 13px 14px;
    border-radius: 10px;
    border-color: rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.92);
    color: var(--clr-text-body);
    color-scheme: light;
}

.quote-form-shell input[type="date"].form-control {
    color: var(--clr-text-body);
    color-scheme: light;
}

.quote-form-shell input[type="date"].form-control::-webkit-datetime-edit,
.quote-form-shell input[type="date"].form-control::-webkit-date-and-time-value {
    color: var(--clr-text-body);
}

.quote-form-shell input[type="date"].form-control::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.8;
}

.quote-form-shell .form-control:focus {
    border-color: var(--clr-teal);
    box-shadow: 0 0 0 4px rgba(91, 192, 190, 0.16);
}

.quote-form-shell .form-control.is-disabled,
.quote-form-shell .form-control:disabled {
    opacity: 0.7;
    background: var(--clr-off-white);
    cursor: not-allowed;
}

.quote-choice-grid {
    gap: 12px;
}

.quote-choice-stack {
    display: grid;
    gap: 10px;
}

.quote-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    padding: 10px 12px;
    min-height: 44px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quote-choice input {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--clr-teal-dark);
    flex-shrink: 0;
}

.quote-choice input:focus-visible {
    outline: 2px solid var(--clr-teal-dark);
    outline-offset: 2px;
}

.quote-choice span {
    color: var(--clr-text-body);
    font-size: 0.94rem;
    line-height: 1.3;
}

.quote-choice:hover {
    transform: scale(1.02);
    border-color: rgba(91, 192, 190, 0.5);
    background: rgba(91, 192, 190, 0.08);
}

.quote-choice:focus-within {
    border-color: var(--clr-teal);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.15);
}

.quote-choice:has(input:checked) {
    border-color: rgba(58, 157, 155, 0.9);
    background: rgba(91, 192, 190, 0.14);
}

.quote-choice.is-invalid {
    border-color: rgba(239, 68, 68, 0.82);
    background: rgba(239, 68, 68, 0.08);
}

.quote-reveal-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(203, 213, 225, 0.85);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.94));
    color: var(--clr-navy);
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: var(--fw-semibold);
    padding: 14px 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quote-reveal-toggle:hover {
    border-color: rgba(91, 192, 190, 0.55);
    background: rgba(91, 192, 190, 0.08);
}

.quote-reveal-toggle:focus-visible {
    outline: none;
    border-color: var(--clr-teal);
    box-shadow: 0 0 0 4px rgba(91, 192, 190, 0.16);
}

.quote-reveal-toggle.is-open {
    border-color: rgba(91, 192, 190, 0.62);
    background: rgba(91, 192, 190, 0.09);
}

.quote-reveal-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 192, 190, 0.16);
    color: var(--clr-navy);
    transition: transform 260ms ease;
}

.quote-reveal-icon::before {
    content: '▾';
    font-size: 0.86rem;
    line-height: 1;
}

.quote-reveal-toggle.is-open .quote-reveal-icon {
    transform: rotate(180deg);
}

.quote-reveal-panel {
    display: grid;
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: var(--space-md);
    transition: grid-template-rows 280ms ease, opacity 220ms ease, margin-top 220ms ease;
}

.quote-reveal-panel.is-collapsed {
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
}

.quote-reveal-inner {
    overflow: hidden;
    min-height: 0;
}

.quote-schedule-other {
    margin-top: var(--space-sm);
    align-items: stretch;
}

.quote-schedule-other .quote-choice {
    min-width: 150px;
}

.quote-submit {
    width: 100%;
    margin-top: 2px;
}

.quote-info-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-self: start;
}

.quote-info-card {
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.96));
    box-shadow: 0 22px 46px -36px rgba(15, 23, 42, 0.5);
    padding: clamp(var(--space-lg), 2.4vw, var(--space-xl));
}

.quote-info-card h3 {
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.quote-info-card p {
    color: var(--clr-text-muted);
    margin-bottom: var(--space-md);
}

.quote-map-card {
    display: flex;
    flex-direction: column;
}

.quote-map-card p {
    margin-bottom: var(--space-sm);
}

.quote-contact-list {
    display: grid;
    gap: var(--space-sm);
}

.quote-contact-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.9);
}

.quote-contact-list span {
    color: var(--clr-text-muted);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: var(--fw-medium);
}

.quote-contact-list a,
.quote-contact-list strong {
    color: var(--clr-navy);
    font-weight: var(--fw-semibold);
}

.quote-contact-list a:hover {
    color: var(--clr-teal-dark);
}

.quote-map-container {
    height: clamp(260px, 30vw, 380px);
    min-height: 0;
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    box-shadow: var(--shadow-inner);
    overflow: hidden;
    flex: 0 0 auto;
    background: #dbeafe;
}

.quote-map-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: inherit;
}

.quote-map-action {
    margin-top: var(--space-sm);
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--clr-teal-dark);
    font-weight: var(--fw-semibold);
    font-size: 0.9rem;
}

.quote-map-action::after {
    content: '->';
    font-size: 0.85rem;
    line-height: 1;
}

.quote-map-action:hover {
    color: var(--clr-navy);
}

.quote-map-action:focus-visible {
    outline: none;
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .quote-reveal-panel,
    .quote-reveal-icon {
        transition: none;
    }
}

/* --- ABOUT PAGE --- */
.about-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 14%, rgba(91, 192, 190, 0.24), transparent 38%),
        radial-gradient(circle at 10% 82%, rgba(28, 37, 65, 0.11), transparent 44%),
        repeating-linear-gradient(120deg, rgba(148, 163, 184, 0.06) 0 12px, rgba(148, 163, 184, 0) 12px 24px),
        linear-gradient(180deg, #fcfdff 0%, #f3f8ff 52%, #edf4ff 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(138deg, rgba(255, 255, 255, 0.58), transparent 42%),
        linear-gradient(320deg, rgba(255, 255, 255, 0.52), transparent 46%);
    pointer-events: none;
}

.about-feature {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(20px, 3.2vw, 42px);
    align-items: stretch;
}

.about-photo-frame {
    position: relative;
    background: linear-gradient(148deg, rgba(28, 37, 65, 0.98) 0%, rgba(13, 22, 41, 0.96) 100%);
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 30px 54px -34px rgba(15, 23, 42, 0.66), 0 0 0 1px rgba(125, 211, 209, 0.12);
    padding: clamp(7px, 1vw, 10px);
}

.about-photo-frame::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 28px;
    background: radial-gradient(circle at 20% 10%, rgba(125, 211, 209, 0.22), rgba(125, 211, 209, 0));
    pointer-events: none;
    z-index: -1;
}

.about-photo-frame::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    pointer-events: none;
}

.about-photo-window {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(circle at 22% 18%, rgba(125, 211, 209, 0.25) 0%, rgba(125, 211, 209, 0) 44%),
        repeating-linear-gradient(135deg, rgba(148, 163, 184, 0.08) 0 12px, rgba(148, 163, 184, 0) 12px 24px),
        linear-gradient(160deg, #0f1f3f 0%, #0b1833 52%, #091126 100%);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 42%;
    border-radius: 0;
    background: transparent;
    transition: transform 420ms ease;
}

.about-photo-frame:hover .about-photo {
    transform: scale(1.015);
}

.about-story-card {
    border: 1px solid rgba(191, 203, 221, 0.92);
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(243, 249, 255, 0.98));
    box-shadow: 0 28px 54px -36px rgba(15, 23, 42, 0.56), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    padding: clamp(var(--space-lg), 3.2vw, var(--space-2xl));
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-md);
}

.about-eyebrow {
    display: inline-flex;
    width: fit-content;
    color: var(--clr-teal-dark);
    background: rgba(91, 192, 190, 0.12);
    border: 1px solid rgba(91, 192, 190, 0.3);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.72rem;
    font-weight: var(--fw-semibold);
}

.about-title {
    margin-bottom: 0;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    line-height: 1.2;
    color: #162449;
    letter-spacing: -0.015em;
}

.about-intro {
    color: #5d6f8d;
    font-size: 1rem;
    line-height: 1.78;
    margin-bottom: 2px;
}

.about-highlight-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

.about-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: var(--radius-full);
    padding: 7px 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.94));
    border: 1px solid rgba(91, 192, 190, 0.34);
    color: var(--clr-navy);
    font-size: 0.74rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px -16px rgba(15, 23, 42, 0.58);
}

.about-chip::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--clr-teal);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.2);
}

.about-story-panel,
.about-placeholder {
    margin-top: var(--space-sm);
    border: 1px solid rgba(148, 163, 184, 0.42);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
    padding: clamp(var(--space-md), 2vw, var(--space-lg));
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-story-panel {
    position: relative;
    overflow: hidden;
    border-color: rgba(125, 160, 196, 0.46);
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.9), rgba(242, 248, 255, 0.92));
    box-shadow: 0 18px 34px -26px rgba(15, 23, 42, 0.44);
    gap: 14px;
}

.about-story-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-teal) 0%, rgba(91, 192, 190, 0.25) 100%);
}

.about-story-panel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(91, 192, 190, 0.42), rgba(91, 192, 190, 0));
}

.about-story-panel h3,
.about-placeholder h3 {
    margin-bottom: 0;
    font-size: 1rem;
}

.about-story-panel p,
.about-placeholder p {
    color: var(--clr-text-muted);
    margin: 0;
    line-height: 1.7;
}

.about-story-panel strong {
    color: var(--clr-navy);
    font-weight: 700;
}

.about-story-lede {
    font-size: clamp(1.05rem, 1.5vw, 1.14rem);
    line-height: 1.72;
    color: #536785;
    letter-spacing: -0.01em;
}

.about-story-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-proof-badge {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-full);
    padding: 6px 12px;
    border: 1px solid rgba(91, 192, 190, 0.36);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 247, 255, 0.95));
    color: var(--clr-navy);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    line-height: 1.3;
    white-space: normal;
    box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.5);
}

.about-highlight-token {
    display: inline;
    color: #1f4b5f;
    font-weight: 600;
    line-height: 1.55;
    padding: 0.06em 0.45em;
    border-radius: 0.4em;
    background: rgba(91, 192, 190, 0.2);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.about-story-services,
.about-story-mission {
    line-height: 1.72 !important;
}

.about-story-values {
    border-left: 3px solid rgba(91, 192, 190, 0.62);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(91, 192, 190, 0.14), rgba(91, 192, 190, 0));
    color: #4f607b;
    padding: 10px 12px;
}

.about-story-signoff {
    margin-top: 2px !important;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--clr-navy) !important;
    font-weight: 600;
    font-size: clamp(1.03rem, 1.85vw, 1.18rem);
    line-height: 1.55 !important;
    letter-spacing: -0.01em;
}

/* --- GALLERY SECTION --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--clr-border);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: var(--fw-medium);
    transition: var(--transition-base);
    color: var(--clr-text-body);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--clr-border);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(28, 37, 65, 0.9) 0%, rgba(28, 37, 65, 0) 100%);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-title {
    color: var(--clr-white);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

/* --- PAGE HEADER (Premium Banner) --- */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-dark) 50%, #0a1628 100%);
    padding: calc(80px + var(--space-3xl)) 0 var(--space-4xl);
    text-align: center;
    color: var(--clr-white);
    overflow: hidden;
}

/* Geometric pattern overlay */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(91, 192, 190, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(91, 192, 190, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
    pointer-events: none;
}

/* Subtle animated glow */
.page-header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 192, 190, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--clr-teal);
    margin-bottom: var(--space-lg);
    font-weight: 500;
}

.page-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--clr-white) 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    line-height: 1.2;
}

.page-header p:not(.page-breadcrumb) {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Decorative bottom edge */
.page-header+.section,
.page-header+section {
    position: relative;
}

.page-header+.section::before,
.page-header+section::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--clr-white));
    pointer-events: none;
}

@media (max-width: 768px) {
    .page-header {
        padding: calc(70px + var(--space-2xl)) 0 var(--space-3xl);
    }

    .page-header::after {
        width: 300px;
        height: 300px;
    }
}

/* --- GALLERY SECTION --- */
/* ... (Gallery filters and grid styles from previous step) ... */

/* --- MOBILE STICKY BAR --- */
.mobile-bottom-bar {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    background-color: var(--clr-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: var(--space-sm) var(--space-md);
    justify-content: space-between;
    gap: var(--space-sm);
    transition: transform 220ms ease, opacity 220ms ease;
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

.mobile-bottom-bar .btn {
    flex: 1;
    padding: var(--space-sm);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        bottom: 0;
        padding-bottom: calc(var(--space-sm) + env(safe-area-max-inset-bottom, 0px));
    }

    .mobile-bottom-bar.is-hidden-on-load {
        transform: translate3d(0, 120%, 0);
        opacity: 0;
        pointer-events: none;
    }

    .mobile-bottom-bar.is-visible-on-scroll {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    body.has-mobile-bar .site-footer {
        padding-bottom: 80px;
        /* Space for the bar */
    }
}

/* =========================================
   MOBILE OPTIMIZATION & NAVIGATION
   ========================================= */

/* --- Mobile Menu Styles --- */
.mobile-nav-utility {
    display: none;
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(248, 250, 252, 0.28);
    border-radius: 14px;
    cursor: pointer;
    z-index: 1002;
    padding: 0;
    transition: background-color 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.mobile-toggle:hover {
    background: rgba(15, 23, 42, 0.36);
    border-color: rgba(91, 192, 190, 0.62);
}

.mobile-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(91, 192, 190, 0.28);
}

.hamburger-icon {
    display: inline-block;
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background-color: #f8fafc;
    position: relative;
    transition: background-color 250ms ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background-color: #f8fafc;
    left: 0;
    transition: transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), top 320ms cubic-bezier(0.22, 0.61, 0.36, 1), background-color 220ms ease;
}

.hamburger-icon::before {
    top: -9px;
}

.hamburger-icon::after {
    top: 9px;
}

.mobile-toggle.active .hamburger-icon {
    background-color: transparent !important;
}

.mobile-toggle.active .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-toggle.active .hamburger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-toggle.active .hamburger-icon::before,
.mobile-toggle.active .hamburger-icon::after {
    background-color: #f8fafc !important;
}

@media (max-width: 1120px) {
    .mobile-toggle {
        display: inline-flex;
        position: relative;
        z-index: 1003;
    }

    .mobile-toggle.active {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.7);
        transform: rotate(90deg);
    }

    .nav-links {
        position: fixed;
        inset: 0;
        width: 100% !important;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: clamp(14px, 2.4vh, 20px);
        padding: clamp(108px, 14vw, 142px) clamp(24px, 8vw, 72px) clamp(34px, 8vw, 64px);
        background:
            radial-gradient(circle at 88% 16%, rgba(91, 192, 190, 0.2) 0%, rgba(91, 192, 190, 0) 38%),
            radial-gradient(circle at 18% 82%, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0) 52%),
            linear-gradient(145deg, rgba(8, 18, 42, 0.98) 0%, rgba(12, 24, 52, 0.97) 45%, rgba(11, 19, 41, 0.98) 100%);
        backdrop-filter: blur(14px) saturate(130%);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(16px) scale(0.985);
        transition: opacity 320ms ease, transform 380ms cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 380ms;
        overflow-y: auto;
        box-shadow: 0 35px 65px -42px rgba(2, 6, 23, 0.9);
    }

    .nav-links::before {
        content: '';
        position: absolute;
        inset: 18px 18px auto 18px;
        height: 1px;
        background: linear-gradient(90deg, rgba(91, 192, 190, 0), rgba(91, 192, 190, 0.62), rgba(91, 192, 190, 0));
        pointer-events: none;
    }

    .nav-links::after {
        content: '';
        position: absolute;
        inset: auto 18px 18px 18px;
        height: 1px;
        background: linear-gradient(90deg, rgba(91, 192, 190, 0), rgba(91, 192, 190, 0.4), rgba(91, 192, 190, 0));
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        transition-delay: 0s;
    }

    .nav-links .nav-link {
        color: #f8fbff !important;
        text-shadow: none !important;
        font-size: clamp(2.15rem, 5.9vw, 3rem);
        font-weight: 700;
        letter-spacing: 0.012em;
        min-height: 64px;
        line-height: 1.02;
        display: inline-flex;
        align-items: center;
        width: min(100%, 560px);
        position: relative;
        padding: 10px 16px 11px 14px;
        border-radius: 16px;
        border: 1px solid rgba(148, 163, 184, 0.22);
        background: linear-gradient(120deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.18));
        box-shadow: 0 18px 35px -30px rgba(2, 6, 23, 0.85);
        overflow: hidden;
        opacity: 0;
        transform: translateY(14px);
        transition: color 220ms ease, border-color 220ms ease, background-color 220ms ease, transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 320ms ease;
    }

    .nav-links .nav-link::after {
        bottom: 7px;
        left: 14px;
        right: 16px;
        width: auto;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(91, 192, 190, 0.25), rgba(91, 192, 190, 0.95));
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform 220ms ease;
    }

    .nav-links .nav-link:hover::after,
    .nav-links .nav-link:focus-visible::after,
    .nav-links .nav-link[aria-current="page"]::after {
        transform: scaleX(1);
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.active .nav-link:nth-child(1) {
        transition-delay: 45ms;
    }

    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 90ms;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 135ms;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 180ms;
    }

    .nav-links .nav-link:hover,
    .nav-links .nav-link:focus-visible {
        color: #7de0de !important;
        border-color: rgba(125, 224, 222, 0.48);
        background: linear-gradient(120deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.25));
    }

    .nav-links .nav-link:focus-visible {
        outline: none;
        border-radius: 10px;
        box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.3);
    }

    .nav-links>.btn.btn-accent {
        display: none;
    }

    .mobile-nav-utility {
        display: block;
        margin-top: auto;
        padding: clamp(12px, 2.2vh, 24px) clamp(12px, 2vw, 16px) 0;
        max-width: 560px;
        border-top: 1px solid rgba(148, 163, 184, 0.35);
        background: linear-gradient(150deg, rgba(15, 23, 42, 0.4), rgba(8, 15, 34, 0.22));
        border-radius: 18px 18px 0 0;
    }

    .mobile-nav-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mobile-nav-quote,
    .mobile-nav-call {
        min-height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        font-weight: 700;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
    }

    .mobile-nav-quote {
        color: var(--clr-white);
        background: linear-gradient(135deg, #5bc0be, #43b6b4);
        border: 1px solid rgba(91, 192, 190, 0.8);
        box-shadow: 0 14px 32px -20px rgba(91, 192, 190, 0.75);
    }

    .mobile-nav-call {
        color: #f8fbff;
        border: 1px solid rgba(148, 163, 184, 0.5);
        background: rgba(15, 23, 42, 0.45);
    }

    .mobile-nav-quote:hover,
    .mobile-nav-call:hover {
        transform: translateY(-1px);
    }

    .mobile-nav-quote:focus-visible,
    .mobile-nav-call:focus-visible {
        outline: none;
        box-shadow: 0 0 0 4px rgba(91, 192, 190, 0.28);
    }

    .mobile-nav-meta {
        margin-top: 12px;
        font-size: 0.82rem;
        color: rgba(226, 232, 240, 0.85);
        letter-spacing: 0.03em;
    }

    body.no-scroll {
        overflow: hidden;
        touch-action: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .toast,
    .quote-choice {
        transition: none !important;
    }

    .quote-choice:hover {
        transform: none;
    }

    .mobile-toggle,
    .hamburger-icon,
    .hamburger-icon::before,
    .hamburger-icon::after,
    .nav-links,
    .nav-links .nav-link,
    .mobile-nav-quote,
    .mobile-nav-call {
        transition: none !important;
    }
}

/* --- MEDIUM & MOBILE LAYOUT REFINEMENTS --- */
@media (max-width: 1280px) {
    .site-header .brand-logo img {
        height: 150px !important;
        width: auto !important;
        max-width: none !important;
    }

    .nav-wrapper {
        min-height: 112px;
    }

    .nav-links {
        gap: var(--space-lg);
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 1120px) {
    .site-header .brand-logo img {
        height: 122px !important;
        width: auto !important;
        max-width: none !important;
    }

    .nav-wrapper {
        min-height: 96px;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .services-grid,
    .testimonial-grid,
    .gallery-grid,
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card,
    .testimonial-card,
    .proof-card {
        padding: var(--space-xl);
    }

    .testimonial-grid>.testimonial-card:last-child:nth-child(odd),
    .services-grid>.service-card:last-child:nth-child(odd),
    .proof-grid>.proof-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: min(640px, 100%);
        width: 100%;
    }

    .quote-layout {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .quote-map-container {
        height: clamp(250px, 42vw, 340px);
    }

    .video-showcase {
        min-height: clamp(400px, 72vw, 620px);
    }

    .about-story-panel {
        gap: 13px;
    }

    .about-story-lede {
        font-size: 1.02rem;
    }

    .about-story-signoff {
        font-size: 1.08rem;
    }
}

@media (max-width: 900px) {
    .about-feature {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .about-photo-window {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 16px;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .page-header {
        padding: calc(72px + var(--space-xl)) 0 var(--space-2xl) !important;
    }

    .page-breadcrumb {
        margin-bottom: var(--space-md);
    }

    .page-title {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .page-header p:not(.page-breadcrumb) {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-top: 110px !important;
    }

    .hero-text-wrapper .section-subtitle {
        font-size: 0.72rem !important;
        padding: 5px 12px !important;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.6rem) !important;
        margin-bottom: var(--space-md);
    }

    .hero-subtitle {
        font-size: 0.98rem !important;
        line-height: 1.6 !important;
        margin-bottom: var(--space-lg) !important;
        padding: 0 !important;
    }

    .hero-cta-group {
        gap: var(--space-sm);
        padding: 0 !important;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-outline-white {
        padding: 14px 18px !important;
        font-size: 0.9rem !important;
    }

    .cta-bar .cta-actions {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: stretch;
    }

    .cta-bar .cta-actions .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-trust {
        margin-top: var(--space-xl) !important;
        padding: var(--space-md) !important;
        gap: var(--space-sm) !important;
    }

    .hero-trust-item {
        justify-content: flex-start;
        font-size: 0.85rem !important;
    }

    .site-footer .brand-logo img {
        height: 70px !important;
        width: auto !important;
        max-width: none !important;
    }

    .services-grid,
    .testimonial-grid,
    .gallery-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-grid>.testimonial-card:last-child:nth-child(odd),
    .services-grid>.service-card:last-child:nth-child(odd),
    .proof-grid>.proof-card:last-child:nth-child(odd) {
        grid-column: auto;
        justify-self: stretch;
        max-width: none;
    }

    .testimonial-card {
        padding: var(--space-lg);
    }

    .video-showcase {
        min-height: clamp(360px, 96vw, 520px);
    }

    .video-showcase-content {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .video-showcase-btn {
        width: 100%;
        max-width: 260px;
    }

    .video-showcase-video {
        object-position: center 32%;
    }

    .quote-text {
        font-size: 1rem;
        line-height: 1.65;
    }

    .testimonial-controls {
        gap: var(--space-sm);
        margin-top: var(--space-lg);
    }

    .testimonial-nav-btn {
        padding: 8px 13px;
        font-size: 0.9rem;
    }

    .testimonial-dot {
        width: 9px;
        height: 9px;
    }

    .gallery-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: var(--space-sm);
        padding-left: 0;
        padding-right: var(--space-md);
        padding-bottom: var(--space-sm);
        scroll-padding-right: var(--space-md);
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 34px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 34px), transparent 100%);
    }

    .gallery-filters::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        margin-right: var(--space-sm);
        font-size: 0.82rem;
        padding: 8px 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer-col {
        align-items: center;
    }

    .form-group {
        margin-bottom: var(--space-md);
    }

    .form-control {
        font-size: 16px;
    }

    .contact-form-container {
        padding: var(--space-lg);
    }

    .section-layout,
    .contact-two-col,
    .contact-services-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md) !important;
    }

    .contact-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .schedule-other-row {
        flex-direction: column;
        align-items: stretch;
    }

    .assessment-options {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .map-container {
        height: 320px !important;
        min-height: 320px;
    }

    .map-container iframe {
        height: 100% !important;
    }

    .quote-section {
        padding-top: var(--space-2xl);
    }

    .quote-form-shell,
    .quote-info-card {
        padding: var(--space-lg);
        border-radius: var(--radius-md);
    }

    .quote-form-head {
        margin-bottom: var(--space-lg);
    }

    .quote-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .quote-support {
        font-size: 0.92rem;
    }

    .quote-group {
        padding-top: var(--space-md);
    }

    .quote-choice-grid,
    .quote-choice-stack {
        gap: var(--space-sm);
    }

    .quote-choice {
        padding: 10px 11px;
    }

    .quote-reveal-toggle {
        font-size: 0.95rem;
        padding: 13px 14px;
    }

    .quote-schedule-other {
        gap: var(--space-sm);
    }

    .quote-map-container {
        height: clamp(230px, 60vw, 300px);
    }

    .about-story-card {
        padding: var(--space-lg);
        gap: var(--space-sm);
    }

    .about-photo-window {
        aspect-ratio: 4 / 5;
    }

    .about-title {
        font-size: clamp(1.45rem, 6.2vw, 1.95rem);
        line-height: 1.18;
    }

    .about-intro {
        line-height: 1.72;
    }

    .about-highlight-chips {
        gap: 8px;
    }

    .about-chip {
        font-size: 0.7rem;
        padding: 6px 10px;
        letter-spacing: 0.06em;
    }

    .about-story-panel {
        padding: var(--space-md);
    }

    .about-story-proof {
        gap: 8px;
    }

    .about-proof-badge {
        font-size: 0.69rem;
        letter-spacing: 0.06em;
        padding: 6px 10px;
    }

    .about-highlight-token {
        padding: 0.04em 0.34em;
    }

    .about-story-values {
        padding: 9px 10px;
    }

    .about-story-signoff {
        padding-top: 7px;
        font-size: 1.02rem;
    }

    .about-placeholder {
        min-height: 180px;
    }
}

@media (max-width: 520px) {
    .site-header .brand-logo img {
        height: 96px !important;
        width: auto !important;
        max-width: none !important;
    }

    .site-footer .brand-logo img {
        height: 62px !important;
        width: auto !important;
        max-width: none !important;
    }

    .nav-wrapper {
        min-height: 82px;
    }

    .mobile-toggle {
        padding: 8px;
    }

    .about-photo-frame {
        border-radius: 18px;
        padding: 6px;
    }

    .about-photo-window {
        border-radius: 12px;
    }

    .about-story-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .about-proof-badge {
        max-width: 100%;
    }

    .about-highlight-token {
        padding: 0.03em 0.28em;
    }

    .about-story-values {
        padding: 8px 9px;
    }

    .about-story-signoff {
        font-size: 0.98rem;
    }

    .section-title {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .service-card,
    .testimonial-card,
    .proof-card {
        padding: var(--space-lg);
    }

    .quote-contact-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .video-showcase-video {
        object-position: center 30%;
    }

    .client-avatar {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .contact-services-grid {
        grid-template-columns: 1fr !important;
    }
}
