@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    /* Color Palette */
    --clr-bg: #09111b;
    --clr-surface: #121c2a;
    --clr-primary: #d4af37;
    /* Refined Gold */
    --clr-secondary: #00a8e8;
    /* Sleek Blue */
    --clr-text: #ffffff;
    --clr-text-muted: #abb8c3;
    --clr-accent: #f78da7;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Effects */
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* ── Light Mode ── */
[data-theme="light"] {
    --clr-bg: #f5f6fa;
    --clr-surface: #ffffff;
    --clr-primary: #b08d27;
    --clr-text: #1b1f2e;
    --clr-text-muted: #5a6170;
    --clr-accent: #c95d7e;
    --shadow-premium: 0 12px 40px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, #8a6e1a, #2c2f3e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Light: Header & Nav ── */
[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .top-bar {
    background: #f0f1f5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .top-bar a {
    color: #5a6170;
}

[data-theme="light"] .top-bar a:hover {
    color: var(--clr-primary);
}

[data-theme="light"] nav ul li a {
    color: #2c2f3e;
    opacity: 0.85;
}

[data-theme="light"] nav ul li a:hover {
    color: var(--clr-primary);
    opacity: 1;
}

[data-theme="light"] .glass {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .dropdown-menu {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mega-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mega-col:first-child {
    border-right-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .dropdown-menu a {
    color: #3a3f50;
}

[data-theme="light"] .dropdown-menu a:hover {
    color: var(--clr-primary);
}

/* ── Light: Buttons ── */
[data-theme="light"] .btn {
    color: #fff;
    box-shadow: 0 2px 8px rgba(176, 141, 39, 0.2);
}

[data-theme="light"] .btn:hover {
    box-shadow: 0 6px 20px rgba(176, 141, 39, 0.3);
}

[data-theme="light"] .btn-outline {
    color: var(--clr-primary);
    background: transparent;
    border-color: var(--clr-primary);
    box-shadow: none;
}

[data-theme="light"] .btn-outline:hover {
    color: #fff;
    background: var(--clr-primary);
}

/* ── Light: Hero ── */
[data-theme="light"] .hero-sticky::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(245, 246, 250, 0.15) 0%,
        rgba(245, 246, 250, 0.05) 40%,
        rgba(245, 246, 250, 0.5) 100%
    );
    z-index: 1;
    pointer-events: none;
}

[data-theme="light"] .hero h1 .text-gradient {
    background: linear-gradient(135deg, #b08d27, #d4af37, #e8c84a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

/* ── Light: Sections ── */
[data-theme="light"] .section-title h2 {
    color: #1b1f2e;
}

[data-theme="light"] .section-title p {
    color: #5a6170;
}

/* ── Light: Interactive Services (Hotspots) ── */
[data-theme="light"] .services-interactive {
    background: transparent;
}

[data-theme="light"] .plane-visual {
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.15));
}

[data-theme="light"] .hotspot-label {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    color: #1b1f2e;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hotspot-left {
    border-right: 3px solid var(--clr-primary);
}

[data-theme="light"] .hotspot-right {
    border-left: 3px solid var(--clr-primary);
}

[data-theme="light"] .hotspot-label::before {
    background: var(--clr-primary);
    opacity: 0.8;
}

[data-theme="light"] .hotspot-label:hover {
    background: #ffffff;
    border-color: var(--clr-primary);
    color: var(--clr-primary);
    box-shadow: 0 8px 28px rgba(176, 141, 39, 0.18);
}

[data-theme="light"] .hotspot-label:hover::before {
    background: var(--clr-primary);
    opacity: 1;
}

/* ── Light: Hotspot wrapper background ── */
[data-theme="light"] .hotspot-wrapper {
    background: transparent;
}

/* ── Light: Packages section background ── */
[data-theme="light"] #packages {
    background: #eef0f5 !important;
}

/* Package cards keep their dark image style in both modes —
   only the section wrapper gets a light background. */
[data-theme="light"] .package-card h3,
[data-theme="light"] .package-card p,
[data-theme="light"] .package-card ul,
[data-theme="light"] .package-card ul li {
    color: #ffffff;
}

[data-theme="light"] #packages .package-card p {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* ── Light: Service Cards ── */
[data-theme="light"] .service-card::before {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.3));
}

[data-theme="light"] .service-card h3 {
    color: #1b1f2e;
}

[data-theme="light"] .service-card p {
    color: #5a6170;
}

/* ── Light: Targeted Support ── */
[data-theme="light"] #targeted-support {
    background: var(--clr-bg) !important;
}

[data-theme="light"] .targeted-support-text h2 {
    color: #1b1f2e;
}

[data-theme="light"] .targeted-support-list li {
    color: #2c2f3e;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .targeted-support-list li a {
    color: #2c2f3e;
    text-decoration: none;
}

[data-theme="light"] .targeted-support-list li a:hover {
    color: var(--clr-primary);
}

[data-theme="light"] .targeted-support-image img {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ── Light: Footer ── */
[data-theme="light"] footer {
    background: #1b1f2e;
    color: #ffffff;
}

[data-theme="light"] footer .text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), #e8d48b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] footer h2,
[data-theme="light"] footer h3 {
    color: #ffffff;
}

[data-theme="light"] footer p {
    color: #abb8c3;
}

[data-theme="light"] footer .contact-form input,
[data-theme="light"] footer .contact-form select,
[data-theme="light"] footer .contact-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

[data-theme="light"] footer .footer-copyright {
    color: #abb8c3;
}

[data-theme="light"] .footer-video-bg {
    opacity: 0.2;
}

[data-theme="light"] footer::before {
    background: rgba(27, 31, 46, 0.75);
}

[data-theme="light"] footer .social-links a {
    color: #ffffff;
}

/* ── Light: Back to Top ── */
[data-theme="light"] #back-to-top {
    color: #fff;
    box-shadow: 0 4px 16px rgba(176, 141, 39, 0.3);
}

/* ── Light: Mobile Nav ── */
@media (max-width: 768px) {
    [data-theme="light"] #main-nav {
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.06);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    [data-theme="light"] #main-nav > li {
        border-bottom-color: rgba(0, 0, 0, 0.04);
    }

    [data-theme="light"] #main-nav > li > a:hover {
        background: rgba(0, 0, 0, 0.02);
    }

    [data-theme="light"] .glass {
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ── Theme Toggle ── */
.theme-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    padding: 0 3px;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--clr-primary);
}

.theme-toggle-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--clr-primary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle-thumb i {
    font-size: 9px;
    color: #09111b;
    transition: transform 0.35s ease;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(19px);
}

[data-theme="light"] .theme-toggle-thumb i {
    transform: rotate(360deg);
}

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

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

body.nav-open {
    overflow: hidden !important;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    will-change: backdrop-filter;
    /* Hint for browser */
}

/* Optimize glass effect for mobile - remove blur to save battery/performance */
@media (max-width: 768px) {
    .glass {
        background: rgba(18, 28, 42, 0.95);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-text));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--clr-primary);
    color: var(--clr-bg);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-bg);
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-bg);
}

.btn-primary:hover {
    background: #e6c041;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.top-bar {
    background: rgba(9, 17, 27, 0.95);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.45rem 0;
    font-size: 0.78rem;
    backdrop-filter: blur(10px);
}

.top-bar-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

.top-bar a {
    color: var(--clr-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.top-bar a:hover {
    color: var(--clr-primary);
}

/* Footer */
footer {
    padding: 80px 0 8px;
    background: var(--clr-bg);
    text-align: center;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Footer video background */
.footer-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    z-index: 0;
    pointer-events: none;
}

footer>.container,
footer>.footer-video-bg~* {
    position: relative;
    z-index: 1;
}

/* Dark overlay on top of the video */
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 0;
    pointer-events: none;
}

footer>.container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 8px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 80px;
}

.veteran-badge {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
    color: var(--clr-text-muted);
    margin: 0;
}

.footer-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

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

header.scrolled {
    background: rgba(9, 17, 27, 0.9);
}

header.scrolled .nav-wrapper {
    padding: 0.5rem 0;
}

.logo img {
    height: 70px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

nav ul li {
    position: relative;
    padding: var(--space-sm) 0;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

nav ul li a:hover {
    opacity: 1;
    color: var(--clr-primary);
}

/* Dropdown & Mega Menu */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--clr-surface);
    min-width: 250px;
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.mega-menu {
    width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1.5rem 0;
}

.mega-col {
    padding: 0 1.5rem;
}

.mega-col:first-child {
    border-right: 1px solid var(--glass-border);
}

nav ul li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-title {
    color: var(--clr-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-title i {
    font-size: 0.8rem;
    opacity: 0.8;
}

.dropdown-menu ul {
    flex-direction: column;
    gap: 0;
    list-style: none;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: var(--clr-text-muted);
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    color: var(--clr-primary);
    padding-left: 6px;
}

/* Hero Section */
.hero {
    height: 500vh;
    position: relative;
    overflow: visible;
}

.hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-line,
#hero-btns-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-line {
    display: block;
}

#hero-btns-container {
    display: inline-block;
}

.hero-line.revealed,
#hero-btns-container.revealed {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.hero h1 {
    font-size: clamp(2.8rem, 7.5vw, 5.8rem);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    font-weight: 800;
    max-width: 100%;
    white-space: normal;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    color: var(--clr-text-muted);
}

/* Services */
.section-padding {
    padding: var(--space-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.service-card {
    padding: var(--space-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    will-change: transform, opacity;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 17, 27, 0.9), transparent);
    z-index: 1;
}

.service-card *:not(img) {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: scale(1.02);
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.package-card {
    padding: var(--space-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.package-card:hover {
    border-color: var(--clr-primary);
    transform: translateY(-10px);
}

.package-card.featured {
    background: var(--clr-surface);
    border: 2px solid var(--clr-primary);
    position: relative;
    transform: scale(1.05);
}

.package-card.featured::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--clr-primary);
    color: var(--clr-bg);
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
    font-weight: 800;
}

.package-card h3 {
    margin-bottom: var(--space-sm);
}

.package-card .price {
    font-size: 3rem;
    font-weight: 800;
    margin: var(--space-md) 0;
}

.package-card ul {
    list-style: none;
    margin-bottom: var(--space-lg);
    text-align: left;
    color: var(--clr-text-muted);
}

.package-card ul li {
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-card ul li::before {
    content: '✓';
    color: var(--clr-primary);
}

/* Locations */
.locations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.location-item {
    padding: var(--space-md);
    border-left: 2px solid var(--clr-primary);
    background: rgba(255, 255, 255, 0.02);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

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

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--clr-surface);
    border: 1px solid var(--glass-border);
    color: var(--clr-text);
    border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* [CLEANED] Old nav hide rule removed - hamburger system handles this */

/* Added responsive CSS rules for mobile optimization */
@media (max-width: 768px) {
    .container {
        max-width: 100vw;
        padding: 0 1rem;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .top-bar {
        padding: 0.4rem 0;
    }

    /* Stabilize header padding on mobile even when scrolled */
    header.scrolled .nav-wrapper {
        padding: 1rem 0 !important;
    }

    .top-bar-content {
        justify-content: center;
        gap: 1.25rem;
        font-size: 0.72rem;
    }

    .top-bar a {
        gap: 0.3rem;
    }

    .hero-content {
        text-align: center;
        padding: 2rem 0;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .package-card {
        min-width: unset;
        max-width: 100vw;
        width: 100%;
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    .packages-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .info-card,
    .info-window {
        max-width: 98vw !important;
        width: 98vw !important;
        min-width: 220px !important;
        min-height: 120px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        padding: 1rem !important;
        font-size: 0.95rem !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
        z-index: 1002 !important;
        border: 2px solid var(--clr-primary) !important;
        border-radius: 12px !important;
    }

    .info-card .close-card-btn,
    .info-window .close-card-btn {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: var(--clr-primary);
        color: var(--clr-bg);
        border: none;
        border-radius: 50%;
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1003;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
        line-height: 1.1;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .service-card,
    .package-card {
        min-width: unset;
        max-width: 100vw;
        width: 100%;
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    .service-card img,
    .package-card img {
        max-width: 90vw;
        height: auto;
    }

    .footer-content,
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .footer-logo {
        max-width: 100px;
        margin-bottom: 1rem;
    }

    /* Footer bottom: social icons + veteran badge on one row, copyright below */
    .footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding: 12px 16px;
    }
    .footer-bottom-left {
        display: contents;
    }
    .footer-bottom-right {
        display: contents;
    }
    .footer-bottom .social-links {
        order: 1;
        flex: 0 0 auto;
        justify-content: center;
        gap: 0.5rem;
    }
    .footer-bottom .veteran-badge {
        order: 2;
        flex: 0 0 auto;
        width: 48px;
        height: auto;
    }
    .footer-divider {
        display: none;
    }
    .footer-bottom .footer-copyright {
        order: 3;
        flex: 0 0 100%;
        text-align: center;
        margin: 4px 0 0;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.5rem;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 0.2rem;
        align-items: center;
        font-size: 0.68rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 10vw, 2rem);
    }

    .service-card,
    .package-card,
    .info-card,
    .info-window {
        padding: 0.5rem !important;
        font-size: 0.9rem !important;
    }

    .service-card img,
    .package-card img {
        max-width: 98vw;
        height: auto;
    }

    .footer-logo {
        max-width: 70px;
    }

    .veteran-badge {
        width: 50px;
        height: auto;
    }

    .social-links {
        gap: 0.25rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .hotspot-label {
        font-size: 0.7rem;
        padding: 6px 6px;
        width: 95vw;
        min-width: 120px;
        max-width: 98vw;
    }

    .hotspot-wrapper {
        height: 200px;
        min-height: 120px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--clr-primary);
    color: var(--clr-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* [CLEANED] Old mobile-toggle/nav-ul hide rule removed - hamburger system handles this */

/* Hamburger styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--clr-primary);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.25s ease;
}

.hamburger span:nth-child(1) {
    top: 13px;
}

.hamburger span:nth-child(2) {
    top: 21px;
}

.hamburger span:nth-child(3) {
    top: 29px;
}

.hamburger.is-active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 768px) {


    /* Mobile dropdown toggle */
    .has-dropdown>.dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .has-dropdown>.dropdown-toggle .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .has-dropdown.open>.dropdown-toggle .dropdown-arrow {
        transform: rotate(180deg);
    }

    .has-dropdown.open>.dropdown-toggle {
        color: var(--clr-primary);
        background: rgba(212, 175, 55, 0.05);
    }



    .has-dropdown.open>.dropdown-menu {
        max-height: 800px !important;
        overflow: visible !important;
    }
}

/* Interactive Services (Hotspots) */
.services-interactive {
    position: relative;
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hotspot-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 700px;
    /* Base height for desktop */
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plane-visual {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 0.8));
}

.hotspot-label {
    position: absolute;
    background: rgba(15, 25, 35, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 4px;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--clr-text);
    text-decoration: none;
    z-index: 10;
    transition: var(--transition-smooth);
    cursor: pointer;
}

/* Pointers/Connector Lines */
.hotspot-label::before {
    content: '';
    position: absolute;
    height: 1px;
    background: var(--clr-primary);
    width: 50px;
    top: 50%;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

/* Left side labels */
.hotspot-left {
    right: 62%;
    border-right: 3px solid var(--clr-primary);
}

.hotspot-left::before {
    left: 100%;
}

/* Right side labels */
.hotspot-right {
    left: 62%;
    border-left: 3px solid var(--clr-primary);
}

.hotspot-right::before {
    right: 100%;
}

.hotspot-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hotspot-label:hover::before {
    width: 70px;
    background: white;
    opacity: 1;
}

/* Specific Positions for Exterior */
#ext-1 {
    top: 10%;
    right: 65%;
}

#ext-2 {
    top: 30%;
    right: 70%;
}

#ext-3 {
    top: 55%;
    right: 75%;
}

#ext-4 {
    top: 80%;
    right: 65%;
}

#ext-5 {
    top: 10%;
    left: 65%;
}

#ext-6 {
    top: 30%;
    left: 70%;
}

#ext-7 {
    top: 55%;
    left: 75%;
}

#ext-8 {
    top: 80%;
    left: 65%;
}

/* Specific Positions for Interior */
#int-1 {
    top: 10%;
    right: 65%;
}

#int-2 {
    top: 30%;
    right: 72%;
}

#int-3 {
    top: 55%;
    right: 75%;
}

#int-4 {
    top: 10%;
    left: 65%;
}

#int-5 {
    top: 30%;
    left: 70%;
}

#int-6 {
    top: 55%;
    left: 75%;
}

#int-7 {
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
}

.hotspot-bottom {
    border: 1px solid var(--glass-border);
    border-top: 3px solid var(--clr-primary);
}

.hotspot-bottom::before {
    width: 1px;
    height: 40px;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hotspot-wrapper {
        height: 500px;
    }

    .hotspot-label {
        width: 200px;
        font-size: 0.75rem;
        padding: 8px 16px;
    }

    .hotspot-left {
        right: 60%;
    }

    .hotspot-right {
        left: 60%;
    }
}

@media (max-width: 992px) {
    .hotspot-wrapper {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-top: 40px;
    }

    .plane-visual {
        grid-column: span 2;
        height: auto;
        max-width: 60%;
        margin: 0 auto 30px;
    }

    .hotspot-label {
        position: static;
        width: 100%;
        max-width: none;
    }

    .hotspot-label::before {
        display: none;
    }

    .hotspot-left,
    .hotspot-right {
        border-right: none;
        border-left: 3px solid var(--clr-primary);
        text-align: left;
    }
}

@media (max-width: 768px) {
    .services-interactive {
        flex-direction: column;
        align-items: stretch;
        background: none !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .hotspot-wrapper {
        position: static !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        min-height: unset !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        background: none !important;
        box-shadow: none !important;
    }

    .plane-visual {
        width: 100vw !important;
        height: auto !important;
        max-width: 100vw !important;
        min-width: 220px !important;
        margin: 0 auto 1rem auto !important;
        display: block !important;
        position: static !important;
        z-index: 2 !important;
    }

    .hotspot-label {
        position: static !important;
        margin: 0.5rem auto !important;
        width: 95vw !important;
        left: unset !important;
        right: unset !important;
        border-radius: 6px !important;
        background: var(--clr-surface) !important;
        border: 2px solid var(--clr-primary) !important;
        color: var(--clr-primary) !important;
        font-size: 1rem !important;
        text-align: left !important;
        padding: 1rem !important;
        z-index: 3 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
        cursor: pointer !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .hotspot-label::after {
        content: '\f078';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        transition: transform 0.3s ease;
    }

    .hotspot-label:has(+ .info-card[style*="block"])::after {
        transform: rotate(180deg);
    }

    .hotspot-label:hover {
        background: var(--clr-primary) !important;
        color: var(--clr-bg) !important;
    }

    .info-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 0 auto 1rem !important;
        z-index: 1002 !important;
        border: 2px solid var(--clr-primary) !important;
        border-radius: 12px !important;
        padding: 1.5rem !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
        max-height: none !important;
        overflow-y: visible !important;
        min-height: unset !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .info-window {
        top: 55% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1002 !important;
        border: 2px solid var(--clr-primary) !important;
        border-radius: 12px !important;
        padding-top: 2.5rem !important;
        background: var(--glass-bg) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .service-card,
    .package-card,
    .info-card,
    .info-window {
        padding: 0.5rem !important;
        font-size: 0.9rem !important;
    }

    .service-card img,
    .package-card img {
        max-width: 98vw;
        height: auto;
    }

    .footer-logo {
        max-width: 70px;
    }

    .veteran-badge {
        width: 50px;
        height: auto;
    }

    .social-links {
        gap: 0.25rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .hotspot-label {
        font-size: 0.7rem;
        padding: 6px 6px;
        width: 95vw;
        min-width: 120px;
        max-width: 98vw;
    }

    .hotspot-wrapper {
        height: 200px;
        min-height: 120px;
    }
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 1rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--clr-text);
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: var(--clr-bg);
}

/* Social Media Links - Updated for Font Awesome */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 1rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: var(--clr-text);
}

.social-links a:hover {
    background: var(--clr-accent);
    transform: translateY(-3px);
    color: var(--clr-bg);
}

.social-links i {
    font-size: 20px;
}

/* Social Section Headings */
.social-section {
    text-align: center;
}

.social-subtitle {
    color: var(--clr-accent);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.social-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--clr-text);
}

/* Package Card Icon */
.package-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Targeted Support Section */
.targeted-support-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.targeted-support-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.targeted-support-list {
    list-style: none;
    padding: 0;
}

.targeted-support-list li {
    font-size: 1.2rem;
    padding: 0;
    color: var(--clr-text);
    border-bottom: 1px solid var(--glass-border);
}

.targeted-support-list li:last-child {
    border-bottom: none;
}

.targeted-support-list li::before {
    content: none;
}

.gif-container {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000;
}

.targeted-support-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    image-rendering: -webkit-optimize-contrast;
    /* Sharpening for GIFs */
}

@media (max-width: 992px) {
    .targeted-support-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .targeted-support-text {
        order: 2;
    }

    .targeted-support-image {
        order: 1;
    }
}

/* Contact Form Select Styling */
.contact-form select {
    padding: 1rem;
    background: var(--clr-surface);
    border: 1px solid var(--glass-border);
    color: var(--clr-text);
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--clr-primary);
}

.contact-form select option {
    background: var(--clr-surface);
    color: var(--clr-text);
    padding: 0.5rem;
}

.contact-form select optgroup {
    background: var(--clr-bg);
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hotspot-wrapper {
        height: 350px;
        min-height: 220px;
        max-width: 100vw;
        overflow-x: auto;
    }

    .plane-visual {
        width: 100vw;
        height: auto;
        max-width: 100vw;
        min-width: 220px;
    }

    .hotspot-label {
        width: 90vw;
        min-width: 160px;
        max-width: 95vw;
        font-size: 0.85rem;
        padding: 8px 10px;
        left: 5vw !important;
        right: unset !important;
        border-left: 3px solid var(--clr-primary);
        border-right: none;
    }

    .hotspot-left,
    .hotspot-right {
        left: 5vw !important;
        right: unset !important;
    }

    .hotspot-label::before {
        display: none;
    }

    .info-card,
    .info-window {
        max-width: 98vw !important;
        width: 98vw !important;
        min-width: 220px !important;
        min-height: 120px !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        padding: 1rem !important;
        font-size: 0.95rem !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
        z-index: 1002 !important;
        border: 2px solid var(--clr-primary) !important;
        border-radius: 12px !important;
    }

    .info-card .close-card-btn,
    .info-window .close-card-btn {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        background: var(--clr-primary);
        color: var(--clr-bg);
        border: none;
        border-radius: 50%;
        width: 2.2rem;
        height: 2.2rem;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1003;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding-top: 150px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .service-card,
    .package-card {
        min-width: unset;
        max-width: 100vw;
        width: 100%;
        margin: 1rem 0;
        padding: 1rem;
        font-size: 0.95rem;
        box-sizing: border-box;
    }

    .service-card img,
    .package-card img {
        max-width: 90vw;
        height: auto;
    }

    .footer-content,
    .contact-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .footer-logo {
        max-width: 100px;
        margin-bottom: 1rem;
    }

    /* Footer bottom: social icons + veteran badge on one row, copyright below */
    .footer-bottom {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding: 12px 16px;
    }
    .footer-bottom-left {
        display: contents;
    }
    .footer-bottom-right {
        display: contents;
    }
    .footer-bottom .social-links {
        order: 1;
        flex: 0 0 auto;
        justify-content: center;
        gap: 0.5rem;
    }
    .footer-bottom .veteran-badge {
        order: 2;
        flex: 0 0 auto;
        width: 48px;
        height: auto;
    }
    .footer-divider {
        display: none;
    }
    .footer-bottom .footer-copyright {
        order: 3;
        flex: 0 0 100%;
        text-align: center;
        margin: 4px 0 0;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 0.5rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .service-card,
    .package-card,
    .info-card,
    .info-window {
        padding: 0.5rem !important;
        font-size: 0.9rem !important;
    }

    .service-card img,
    .package-card img {
        max-width: 98vw;
        height: auto;
    }

    .footer-logo {
        max-width: 70px;
    }

    .veteran-badge {
        width: 50px;
        height: auto;
    }

    .social-links {
        gap: 0.25rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .hotspot-label {
        font-size: 0.7rem;
        padding: 6px 6px;
        width: 95vw;
        min-width: 120px;
        max-width: 98vw;
    }

    .hotspot-wrapper {
        height: 200px;
        min-height: 120px;
    }
}

/* --- Exterior Scroll Animation Visibility --- */
.desktop-only { display: none; }
@media (min-width: 993px) {
    .mobile-only { display: none !important; }
    .desktop-only { display: block !important; }
    #exterior-scroll-root { width: 100%; }
}
@media (max-width: 992px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }
}


/* --- Animated Submit Button --- */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    position: relative;
    overflow: visible;
}
.submit-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.submit-btn__svg {
    overflow: visible;
}
.submit-btn__plane {
    transform-origin: center;
    transform: translate(0, 0) scale(1);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.submit-btn:hover .submit-btn__plane,
.submit-btn:focus-visible .submit-btn__plane {
    transform: translate(3px, -3px) scale(0.8);
}
.submit-btn__line {
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.submit-btn:hover .submit-btn__line--1,
.submit-btn:focus-visible .submit-btn__line--1 {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.1s;
}
.submit-btn:hover .submit-btn__line--2,
.submit-btn:focus-visible .submit-btn__line--2 {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.2s;
}
.submit-btn:hover .submit-btn__line--3,
.submit-btn:focus-visible .submit-btn__line--3 {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.3s;
}

/* --- Package Card Animated Plus Icon --- */
.pkg-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--clr-primary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.pkg-plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--clr-primary);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.25s ease;
}
.pkg-plus-icon svg {
    display: block;
    transform: rotate(0deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.package-card:hover .pkg-plus-icon {
    background: var(--clr-primary);
}
.package-card:hover .pkg-plus-icon svg {
    transform: rotate(180deg);
    stroke: #000;
}

/* --- Targeted Support Animated Arrow Links --- */
.ts-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 0;
    width: 100%;
    color: var(--clr-text);
    -webkit-text-fill-color: var(--clr-text);
    transition: opacity 0.25s ease;
}
.ts-link:hover,
.ts-link:focus-visible {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-text));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.ts-arrow {
    flex-shrink: 0;
    color: var(--clr-primary);
    transition: transform 0.15s ease;
}
.ts-link:hover .ts-arrow,
.ts-link:focus-visible .ts-arrow {
    animation: ts-arrow-nudge 0.4s ease forwards;
}
@keyframes ts-arrow-nudge {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* --- Why Choose Us Curtain Effect --- */
.wcu-curtain {
    position: relative;
    z-index: 10;
    margin-top: -100vh;
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
}

/* --- Exterior Services curtain layer --- */
.ext-curtain {
    position: relative;
    z-index: 9;
    margin-top: -100vh;
}

/* --- Interior Services curtain layer --- */
.int-curtain {
    position: relative;
    z-index: 8;
    margin-top: -100vh;
}

/* --- Disable curtain overlap on mobile --- */
@media (max-width: 992px) {
    .wcu-curtain,
    .ext-curtain,
    .int-curtain {
        margin-top: 0;
        z-index: auto;
        border-radius: 0;
        box-shadow: none;
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* ======================================================================
   LIQUID GOLD NAVIGATION DOCK -- Shared by index.css and service.css
   ====================================================================== */

/* Hidden SVG filter element */
.dock-goo-svg {
    position: absolute;
    height: 0;
    width: 0;
    visibility: hidden;
    pointer-events: none;
}

/* -- Header overrides ------------------------------------------------- */
#main-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
}
#main-header.scrolled {
    background: transparent !important;
}

/* -- Dock nav row ------------------------------------------------------ */
.dock-nav-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0.75rem 2rem 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Logo — absolute left on desktop */
.dock-logo {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    text-decoration: none;
}
.dock-logo img {
    height: 54px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #d4af37;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                opacity 0.3s ease;
}
.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---- Pill wrapper ---------------------------------------------------- */
.dock-pill-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(17, 17, 17, 0.55) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(255, 255, 255, 0.02);
    padding: 6px;
    transition: box-shadow 0.35s ease;
}
.dock-pill-wrap:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(212, 175, 55, 0.25),
                0 0 24px rgba(212, 175, 55, 0.12);
}

/* ── Sliding Golden Ring Indicator ───────────────────────────── */
.dock-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 62px;
    height: 62px;
    left: 6px;
    z-index: 1;
    pointer-events: none;
    transition: left 0.5s cubic-bezier(0.34, 1.2, 0.64, 1),
                opacity 0.3s ease;
}

/* Layer 1: Glow — blurred warm gold behind the ring */
.dock-ind-glow {
    position: absolute;
    inset: -6px;
    border-radius: 24px;
    background: #e8af48;
    opacity: 0.15;
    filter: blur(14px);
}

/* Layer 2: Clip container */
.dock-ind-clip {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
}

/* Layer 3: Rotating conic-gradient — gold-dominant, 2 white hotspots, subtle pink/blue iridescence */
.dock-ind-ring {
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        #533517 0%,
        #c49746 7%,
        #feeaa5 14%,
        #ffffff 21%, #ffffff 24%,
        #ffc0cb 25%, #ffc0cb 26.5%,
        #7eb8da 27%, #7eb8da 28.5%,
        #feeaa5 30%,
        #c49746 37%,
        #533517 44%,
        #ffffff 47%, #ffffff 50%,
        #533517 50%,
        #c49746 57%,
        #feeaa5 64%,
        #ffffff 71%, #ffffff 74%,
        #ffc0cb 75%, #ffc0cb 76.5%,
        #7eb8da 77%, #7eb8da 78.5%,
        #feeaa5 80%,
        #c49746 87%,
        #533517 94%,
        #ffffff 97%, #ffffff 100%
    );
    animation: dock-ring-spin 4.5s linear infinite;
}
@keyframes dock-ring-spin {
    to { transform: rotate(360deg); }
}

/* Layer 4: Inner plate — inset 2px, only 2px of ring visible */
.dock-ind-plate {
    position: absolute;
    inset: 2px;
    border-radius: 16px;
    background: rgba(17, 17, 17, 0.92);
}

/* ── Film grain noise overlay ──────────────────────────────── */
.dock-grain {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 3;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Radial ambient glow ───────────────────────────────────── */
.dock-ambient {
    position: absolute;
    inset: -24px;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
}

.dock-pill-items {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.dock-sep {
    display: list-item;
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    align-self: center;
    list-style: none;
    pointer-events: none;
}

.dock-item {
    position: relative;
    list-style: none;
    padding: 0;
}

.dock-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 70px;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0;
    opacity: 1;
    color: inherit;
    font-size: inherit;
    letter-spacing: normal;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    font-family: inherit;
}

/* -- Icons & labels ---------------------------------------------------- */
.dock-btn > i {
    position: relative;
    z-index: 30;
    font-size: 19px;
    color: #555555;
    line-height: 1;
    translate: var(--dock-mx, 0px) var(--dock-my, 0px);
    transition: color 0.3s ease,
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                translate 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.3s ease;
}
.dock-item.active .dock-btn > i {
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
    transform: scale(1.12) translateY(-1px);
}
.dock-item:not(.active) .dock-btn:hover > i {
    color: #d4af37;
    transform: scale(1.22) translateY(-3px);
}

.dock-label {
    position: relative;
    z-index: 30;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #4a4a4a;
    line-height: 1;
    margin-top: 4px;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.dock-label .dropdown-arrow {
    font-size: 5.5px;
    margin-left: 2px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}
.dock-item.active .dock-label {
    color: #ffffff;
}
.dock-item:not(.active) .dock-btn:hover .dock-label {
    color: #d4af37;
}

.dock-item.has-dropdown:hover .dropdown-arrow,
.dock-item.has-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dock-item .dropdown-menu {
    top: calc(100% + 10px);
}

/* Hover bridge — fills the gap between the dock button and the dropdown so
   moving the cursor downward never loses :hover and prematurely closes the menu */
.dock-item.has-dropdown {
    position: relative;
}
.dock-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -8px;
    right: -8px;
    height: 16px; /* matches top: calc(100% + 10px) gap + buffer */
}

/* CTA (Quote) special colours */
.dock-cta-item:not(.active) .dock-btn > i  { color: #9a7820; }
.dock-cta-item:not(.active) .dock-label    { color: #9a7820; }
.dock-cta-item:not(.active) .dock-btn:hover > i  { color: #d4af37; }
.dock-cta-item:not(.active) .dock-btn:hover .dock-label { color: #d4af37; }

/* -- Theme toggle item ------------------------------------------------- */
.dock-theme-item .theme-toggle {
    width: 72px !important;
    height: 70px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}

/* Crossfade icon container */
.theme-toggle-icons {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
}
.theme-icon-dark,
.theme-icon-light {
    position: absolute;
    font-size: 19px;
    line-height: 1;
    color: #555555;
    transition: opacity 0.35s ease,
                transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
                color 0.3s ease;
    translate: var(--dock-mx, 0px) var(--dock-my, 0px);
}

/* Dark mode default: moon visible, sun hidden */
.theme-icon-dark {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}
.theme-icon-light {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* Light mode: sun visible, moon hidden */
[data-theme="light"] .theme-icon-dark {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}
[data-theme="light"] .theme-icon-light {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.dock-theme-item .theme-toggle:hover .theme-icon-dark,
.dock-theme-item .theme-toggle:hover .theme-icon-light {
    color: #d4af37;
}

.dock-theme-item .dock-label { margin-top: 4px; }

/* -- Theme bounce animation ------------------------------------------- */
@keyframes dock-theme-bounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}
.theme-toggle.is-bouncing .theme-toggle-icons {
    animation: dock-theme-bounce 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* -- Light theme overrides -------------------------------------------- */
[data-theme="light"] .dock-pill-wrap {
    background: rgba(255,255,255,0.65) !important;
    border-color: rgba(0,0,0,0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
}
[data-theme="light"] .dock-ind-plate  { background: rgba(255,255,255,0.92); }
[data-theme="light"] .dock-btn > i     { color: #1b1f2e; }
[data-theme="light"] .dock-label       { color: #1b1f2e; }
[data-theme="light"] .dock-sep         { background: rgba(0,0,0,0.1); }
[data-theme="light"] .dock-item.active .dock-btn > i    { color: #1b1f2e; }
[data-theme="light"] .dock-item.active .dock-label       { color: #1b1f2e; }
[data-theme="light"] .dock-cta-item:not(.active) .dock-btn > i,
[data-theme="light"] .dock-cta-item:not(.active) .dock-label { color: #b8930a; }
[data-theme="light"] .theme-icon-dark,
[data-theme="light"] .theme-icon-light { color: #1a1a1a; }
[data-theme="light"] .dock-theme-item .theme-toggle:hover .theme-icon-dark,
[data-theme="light"] .dock-theme-item .theme-toggle:hover .theme-icon-light { color: #d4af37; }

/* -- Dropdown menus ---------------------------------------------------- */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1rem;
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s 0.25s;
    transform: translateX(-50%) translateY(-6px);
}
.dock-item:hover .dropdown-menu,
.dock-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(0);
}
.mega-menu {
    display: flex;
    gap: 0;
    min-width: 480px;
}
.mega-col {
    flex: 1;
    padding: 0.25rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.mega-title {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #d4af37;
    margin: 0 0 0.65rem 0;
}
.mega-title i { margin-right: 5px; opacity: 0.8; }
.mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.mega-col ul li a {
    display: block;
    padding: 0.3rem 0.5rem;
    font-size: 11.5px;
    color: #cccccc;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease;
}
.mega-col ul li a:hover {
    background: rgba(212,175,55,0.12);
    color: #d4af37;
}
[data-theme="light"] .dropdown-menu {
    background: rgba(255,255,255,0.98);
    border-color: rgba(212,175,55,0.25);
}
[data-theme="light"] .mega-col ul li a { color: #555555; }
[data-theme="light"] .mega-col ul li a:hover { background: rgba(212,175,55,0.1); color: #9a7820; }


/* ---- Mobile (max-width 768px) --------------------------------------- */
@media (max-width: 768px) {
    .dock-nav-row {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.7rem 1rem;
    }
    .dock-logo {
        position: relative;
        transform: none;
        order: 1;
        z-index: 1000;
    }
    .dock-logo img { height: 44px; }
    .hamburger {
        display: flex;
        order: 2;
        position: relative;
        z-index: 1000;
    }
    .dock-pill-wrap {
        display: none;
        order: 3;
        width: 100%;
        border-radius: 16px;
        padding: 0;
        background: #111111;
        transform: none !important;
    }
    .dock-pill-wrap:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02); }
    .dock-indicator { display: none; }
    .dock-grain { display: none; }
    .dock-ambient { display: none; }
    .dock-pill-items {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: stretch;
    }
    .dock-pill-wrap.nav-open  { display: block; position: fixed; top: 0; left: 0; right: 0; padding-top: 100px; max-height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; border-radius: 0 0 16px 16px; z-index: 999; }
    .dock-pill-items.nav-open { display: flex; }
    .dock-sep { display: none; }
    .dock-item {
        width: 100%;
    }
    .dock-btn {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0.9rem 1.5rem;
        gap: 0.75rem;
    }
    .dock-btn > i {
        font-size: 16px;
        translate: 0px 0px !important;
    }
    .dock-label {
        font-size: 0.88rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-transform: none;
        color: var(--clr-text, #fff);
        margin-top: 0;
    }
    .dock-item.active .dock-btn > i    { color: var(--clr-primary, #d4af37); filter: none; transform: none; }
    .dock-item.active .dock-label      { color: var(--clr-primary, #d4af37); }
    .dock-theme-item .theme-toggle {
        height: auto !important;
        width: 100% !important;
        padding: 0.9rem 1.5rem !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 0.75rem !important;
    }
    .dock-theme-item .theme-toggle-icons { width: auto; height: auto; }
    .theme-icon-dark, .theme-icon-light { font-size: 15px; position: relative; }
    .theme-icon-light { display: none; }
    [data-theme="light"] .theme-icon-dark { display: none; opacity: 1; transform: none; }
    [data-theme="light"] .theme-icon-light { display: block; opacity: 1; transform: none; }

    /* Mobile dropdown accordion */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        border: none;
        border-radius: 0;
        background: rgba(255,255,255,0.04);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s cubic-bezier(0.23,1,0.32,1), opacity 0.3s ease;
    }
    .dock-item.open .dropdown-menu {
        max-height: 1000px;
        transition: max-height 0.4s cubic-bezier(0.23,1,0.32,1);
    }
    /* Prevent touch :hover from applying desktop position/transform side-effects */
    .dock-item:hover .dropdown-menu,
    .dock-item.open .dropdown-menu {
        transform: none;
        position: static;
    }
    /* Hide hover bridge on mobile — not needed */
    .dock-item.has-dropdown::after {
        display: none;
    }
    .mega-menu {
        flex-direction: column;
        min-width: unset;
    }
    .mega-col {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 0.5rem 1.5rem;
    }
    .mega-col ul li a {
        padding: 0.45rem 0.5rem;
        font-size: 12.5px;
    }
}

/* Taller top-bar at 576px (stacks to 2 lines) needs more padding-top on the overlay panel */
@media (max-width: 576px) {
    .dock-pill-wrap.nav-open {
        padding-top: 126px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MERCURY DRAWER
   Slides in from the left on ≤ 768px. Desktop dock untouched.
═══════════════════════════════════════════════════════════════ */

/* Hidden SVG filter (gooey mercury effect) */
.mobile-goo-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    visibility: hidden;
}

/* ── Backdrop ──────────────────────────────────────────────── */
#mobile-drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    -webkit-tap-highlight-color: transparent;
}

#mobile-drawer-backdrop.mdr-backdrop-on {
    opacity: 1;
    pointer-events: auto;
}

/* ── Drawer shell ─────────────────────────────────────────── */
#mobile-drawer {
    display: none;               /* block on ≤768px via media query */
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 90vw);
    height: 100dvh;
    background: #05070a;
    z-index: 1200;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
    box-shadow: 6px 0 48px rgba(0, 0, 0, 0.7);
}

#mobile-drawer.mdr-open {
    transform: translateX(0);
}

/* ── Drawer header ────────────────────────────────────────── */
.mdr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: sticky;
    top: 0;
    z-index: 20;
    background: #05070a;
}

.mdr-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 0.65rem;
}

.mdr-brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.92;
}

.mdr-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    gap: 1px;
}

.mdr-brand-name {
    color: #3b82f6;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mdr-brand-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.32em;
    opacity: 0.42;
    color: #fff;
    text-transform: uppercase;
}

.mdr-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    line-height: 1;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.mdr-close:hover { color: #fff; }

/* ── Nav wrapper ───────────────────────────────────────────── */
.mdr-nav {
    flex: 1 0 auto;
}

/* ── Gooey zone (pill + main buttons) ────────────────────── */
.mdr-goo-zone {
    position: relative;
    padding: 0.6rem 0.6rem 0.3rem;
}

/* Mercury pill */
.mdr-pill {
    position: absolute;
    left: 0.6rem;
    right: 0.6rem;
    height: 52px;
    top: 0.6rem;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
    z-index: 0;
    overflow: hidden;
    transition:
        top    0.48s cubic-bezier(0.34, 1.56, 0.64, 1),
        height 0.48s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
}

.mdr-pill-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.35), transparent);
    width: 50%;
    transform: skewX(-12deg);
    animation: mdr-shimmer 2.8s linear infinite;
}

@keyframes mdr-shimmer {
    from { left: -55%; }
    to   { left: 155%; }
}

.mdr-pill-edge {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #f59e0b;
    border-radius: 14px 0 0 14px;
}

/* Nav items */
.mdr-item {
    position: relative;
}

.mdr-submenu {
    display: none;
    padding: 0.4rem 1rem 0.5rem 2.75rem;
    position: relative;
    z-index: 10;
}

.mdr-submenu.mdr-sub-open {
    display: block;
}

.mdr-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: none;
    border: none;
    text-decoration: none;
    color: rgba(161, 161, 170, 1);    /* zinc-400 */
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    border-radius: 14px;
    transition: color 0.18s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 2;
    line-height: 1.2;
    background: transparent;
}

.mdr-btn > i:first-child {
    font-size: 1.05rem;
    width: 20px;
    flex-shrink: 0;
    color: rgba(113, 113, 122, 1);    /* zinc-500 */
    transition: color 0.18s;
}

.mdr-btn > span {
    flex: 1;
}

.mdr-chevron {
    font-size: 0.65rem;
    margin-left: auto;
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

/* Active: text turns dark over white pill */
.mdr-item.mdr-active > .mdr-btn,
.mdr-item.mdr-active > .mdr-btn > i:first-child {
    color: #111 !important;
}

/* Open dropdown: rotate chevron */
.mdr-item.mdr-sub-open > .mdr-btn .mdr-chevron {
    transform: rotate(180deg);
}

/* ── Sub-menu zone (outside the goo filter) ───────────────── */
.mdr-sub-zone {
    flex-shrink: 0;
}

.mdr-sub-title-gap {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mdr-sub-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mdr-sub-title i { font-size: 0.68rem; opacity: 0.85; }

.mdr-submenu > a {
    display: block;
    padding: 0.32rem 0;
    font-size: 0.81rem;
    color: rgba(113, 113, 122, 1);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s, padding-left 0.18s;
    -webkit-tap-highlight-color: transparent;
}

.mdr-submenu > a:hover,
.mdr-submenu > a:active { color: #d4af37; padding-left: 5px; }

/* ── Drawer footer ────────────────────────────────────────── */
.mdr-footer {
    padding: 0.85rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mdr-theme-btn {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: none;
    border: none;
    color: rgba(113, 113, 122, 1);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0.25rem;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s;
}

.mdr-theme-btn:hover { color: #fff; }

.mdr-theme-btn .theme-icon-dark,
.mdr-theme-btn .theme-icon-light { font-size: 1.05rem; }

/* ── Light-theme overrides ────────────────────────────────── */
[data-theme="light"] #mobile-drawer        { background: #f4f4f5; }
[data-theme="light"] .mdr-header           { background: #f4f4f5; border-bottom-color: rgba(0,0,0,0.08); }
[data-theme="light"] .mdr-brand-name       { color: #2563eb; }
[data-theme="light"] .mdr-brand-sub        { color: #333; }
[data-theme="light"] .mdr-close            { color: rgba(0,0,0,0.45); }
[data-theme="light"] .mdr-close:hover      { color: #000; }
[data-theme="light"] .mdr-btn              { color: rgba(63, 63, 70, 1); }
[data-theme="light"] .mdr-btn > i:first-child { color: rgba(113,113,122,1); }
[data-theme="light"] .mdr-pill             { background: #18181b; box-shadow: 0 0 24px rgba(0,0,0,0.2); }
[data-theme="light"] .mdr-item.mdr-active > .mdr-btn,
[data-theme="light"] .mdr-item.mdr-active > .mdr-btn > i:first-child { color: #fff !important; }
[data-theme="light"] .mdr-submenu > a        { color: rgba(100,100,100,1); }
[data-theme="light"] .mdr-footer           { border-top-color: rgba(0,0,0,0.08); }
[data-theme="light"] .mdr-theme-btn        { color: rgba(100,100,100,1); }
[data-theme="light"] .mdr-theme-btn:hover  { color: #000; }

/* ── Enable on mobile only ────────────────────────────────── */
@media (max-width: 768px) {
    #mobile-drawer          { display: block; }
    #mobile-drawer-backdrop { display: block; }
}
