/* Shared DoveNest contact strip, CTA, and footer refinements */
#navbar {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: 106px;
}

.site-contact-strip {
    width: 100%;
    min-height: 38px;
    background: #041829;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-contact-inner {
    max-width: 1220px;
    min-height: 38px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-contact-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
}

.site-contact-chip,
.site-quote-link {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 28px;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
}

.site-contact-chip svg,
.site-quote-link svg {
    width: 15px;
    height: 15px;
    color: #52B44B;
    flex: 0 0 auto;
}

.site-contact-chip:hover,
.site-quote-link:hover {
    color: #fff;
}

.site-quote-link {
    min-height: 30px;
    padding: 0 1rem;
    border-radius: 999px;
    color: #06321a;
    background: linear-gradient(180deg, #74d36b 0%, #54b94c 48%, #43a23c 100%);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.6),
        inset 0 -1px 0 rgba(0,0,0,0.08),
        0 6px 18px rgba(82,180,75,0.4);
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s;
}

.site-quote-link svg {
    color: #06321a;
}

.site-quote-link:hover {
    color: #06321a;
    background: linear-gradient(180deg, #82dd78 0%, #5fc457 48%, #4caf45 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.7),
        0 8px 24px rgba(82,180,75,0.5);
    transform: translateY(-1px);
}

#navbar .nav-links.open {
    top: 106px !important;
}

.general-cta {
    padding: 0 2rem 4rem;
    background: #f7f9fc;
}

.general-cta-inner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(8,55,95,0.97), rgba(6,27,49,0.97)),
        url("images/dove_image1.png") center / cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 24px 70px rgba(8,55,95,0.18);
}

.general-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #52B44B;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.general-cta h2 {
    margin-top: 0.55rem;
    max-width: 740px;
    font-size: clamp(1.7rem, 3.5vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.general-cta p {
    max-width: 720px;
    margin-top: 0.75rem;
    color: rgba(255,255,255,0.74);
    line-height: 1.75;
}

.general-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.2rem;
    border-radius: 6px;
    color: #07172a;
    background: #52B44B;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.general-cta-link:hover {
    background: #6ec966;
}

#site-footer {
    background: #061b31;
    color: rgba(255,255,255,0.72);
    padding: 0 !important;
}

#site-footer .footer-inner.site-footer-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(240px,1.2fr) repeat(4,minmax(150px,0.55fr));
    gap: 2rem;
    padding: 3.5rem 2rem 2.5rem;
}

#site-footer .footer-brand img {
    height: 96px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    margin-left: -0.5rem;
}

#site-footer .footer-brand p {
    max-width: 410px;
    font-size: 0.94rem;
    line-height: 1.8;
}

#site-footer .footer-col h4 {
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 1rem;
}

#site-footer .footer-col ul {
    list-style: none;
    display: grid;
    gap: 0.62rem;
}

#site-footer .footer-col a,
#site-footer .footer-bottom a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.9rem;
}

#site-footer .footer-col a:hover,
#site-footer .footer-bottom a:hover {
    color: #52B44B;
}

#site-footer .footer-bottom {
    max-width: 1220px;
    margin: 0 auto;
    padding: 1.15rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.84rem;
}

@media (max-width: 1020px) {
    .site-contact-inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 0.45rem;
        padding-bottom: 0.55rem;
    }

    #navbar .nav-links.open {
        top: 130px !important;
    }

    #site-footer .footer-inner.site-footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 720px) {
    .site-contact-inner {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .site-contact-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .site-quote-link {
        width: 100%;
        justify-content: center;
    }

    #navbar .nav-links.open {
        top: 176px !important;
    }

    .general-cta {
        padding: 0 1rem 3rem;
    }

    .general-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.35rem;
    }

    .general-cta-link {
        width: 100%;
    }

    #site-footer .footer-inner.site-footer-grid {
        grid-template-columns: 1fr;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    #site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

/* ═══════════════════════════════════════════════════════
   LOGO 2 — White Header (Option A)
   Overrides per-page navbar styles globally
═══════════════════════════════════════════════════════ */

/* Nav-inner padding — match footer grid (2rem) for alignment */

/* Global hero title size — overrides all per-page values */
.hero-title {
    font-size: clamp(1.5rem, 3.2vw, 2.6rem);
}

/* Logo — left-aligned, flush with footer grid (1220px + 2rem padding) */
.nav-inner {
    width: 100% !important;          /* fill width (capped at max-width) instead of shrink-wrapping */
    max-width: 1220px !important;
    margin: 0 auto !important;       /* centre the 1220 box so its left edge is the content gutter */
    padding: 0 2rem !important;
    justify-content: flex-start !important;
    gap: 2rem !important;
}
.nav-logo {
    display: block;
    line-height: 0;
    overflow: visible;
    height: auto;
    margin-left: -2px !important;    /* flush logo edge with the content gutter */
    flex-shrink: 0;
}
.nav-logo img {
    height: 66px !important;
    width: auto;
    display: block;
    object-fit: initial;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
.nav-links {
    margin-left: auto;
}

/* White navbar */
#navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(8, 55, 95, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
#navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(8, 55, 95, 0.12);
}

/* Nav links — dark text on white */
.nav-links a,
.nav-menu-btn {
    color: #1a3a5c;
}
.nav-links a:hover,
.nav-menu-btn:hover {
    color: #08375f;
    background: rgba(8, 55, 95, 0.06);
}
.nav-links a.active,
.nav-menu-btn.active {
    color: #52B44B;
}

/* Hamburger — dark lines for white header */
#nav-toggle span {
    background: #08375f;
}

/* Mobile open nav — white panel */
@media (max-width: 820px) {
    .nav-links.open {
        background: #ffffff;
        border-top: 1px solid rgba(8, 55, 95, 0.1);
    }
    .nav-links.open a,
    .nav-links.open .nav-menu-btn {
        color: #1a3a5c;
    }
    .nav-links.open .nav-dropdown {
        background: rgba(8, 55, 95, 0.05);
    }
    .nav-links.open .nav-dropdown a {
        color: #1a3a5c;
    }
    .nav-links.open .nav-dropdown a.active {
        color: #52B44B;
        background: rgba(82, 180, 75, 0.10);
    }
}

/* ═══════════════════════════════════════════════════════
   INQUIRY SIDEBAR FORM — used on insurance product pages
═══════════════════════════════════════════════════════ */
.inquiry-aside {
    position: sticky;
    top: 120px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(8,55,95,0.10);
    box-shadow: 0 20px 56px rgba(8,55,95,0.10);
    max-height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
}
.inquiry-header {
    background: linear-gradient(135deg, #08375f, #061b31);
    padding: 1.25rem 1.35rem;
    color: #fff;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}
.inquiry-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}
.inquiry-header p {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}
.inquiry-body {
    padding: 1.35rem;
    display: grid;
    gap: 0.9rem;
    flex: 1 1 auto;
    overflow-y: auto;
    border-radius: 0 0 12px 12px;
}
.inquiry-field {
    display: grid;
    gap: 0.3rem;
}
.inquiry-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #08375f;
    letter-spacing: 0.01em;
}
.inquiry-field input,
.inquiry-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 0.85rem;
    border: 1px solid rgba(8,55,95,0.14);
    border-radius: 8px;
    background: #f8fafc;
    color: #0A2A4A;
    font: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-field input:focus,
.inquiry-field select:focus {
    border-color: #52B44B;
    box-shadow: 0 0 0 3px rgba(82,180,75,0.12);
    background: #fff;
}
.inquiry-field input::placeholder {
    color: rgba(82,103,124,0.55);
}
.inquiry-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: #52677c;
    line-height: 1.55;
}
.inquiry-consent input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #52B44B;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.inquiry-consent a {
    color: #08375f;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(8,55,95,0.2);
}
.inquiry-consent a:hover {
    border-color: #08375f;
}
.inquiry-submit {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 8px;
    background: #52B44B;
    color: #07172a;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.inquiry-submit:hover {
    background: #d4911a;
    transform: translateY(-1px);
}
.inquiry-note {
    text-align: center;
    font-size: 0.72rem;
    color: rgba(82,103,124,0.6);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS — shared across all pages
═══════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal="left"] {
    transform: translateX(-40px) translateY(0);
}
[data-reveal="right"] {
    transform: translateX(40px) translateY(0);
}
[data-reveal="scale"] {
    transform: scale(0.92);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}
/* Stagger children */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
                transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
[data-reveal-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 100ms; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 200ms; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 300ms; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 400ms; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 500ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Footer logo overrides (transparent PNG — no container needed) */

/* ═══════════════════════════════════════════════════════
   VISUAL ENHANCEMENTS — Quick wins for modern feel
═══════════════════════════════════════════════════════ */

/* ── 1. Scroll progress bar ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #52B44B, #6ec966);
    z-index: 10001;
    transition: none;
    pointer-events: none;
}

/* ── 2. Subtle dot pattern for white/light sections ── */
.dot-bg {
    background-image: radial-gradient(circle, rgba(8,55,95,0.045) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ── 3. Noise/grain texture overlay (applied via ::after) ── */
.grain-overlay { position: relative; }
.grain-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.028;
    pointer-events: none;
    z-index: 0;
    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");
    background-repeat: repeat;
    background-size: 200px 200px;
}
.grain-overlay > * { position: relative; z-index: 1; }

/* ── 4. SVG section dividers ── */
.section-divider {
    display: block;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: auto;
}
.section-divider.flip { transform: scaleY(-1); }

/* ── 5. Alternating tinted backgrounds ── */
.bg-white      { background-color: #ffffff; }
.bg-frost      { background-color: #f0f7fa; }
.bg-warm       { background-color: #f8f6f3; }
.bg-light      { background-color: #f6f8fb; }
.bg-dark       { background-color: #04111f; color: #fff; }
.bg-teal       { background-color: #08375f; color: #fff; }

/* ── 6. Enhanced card hover (universal) ── */
.card-lift {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.35s cubic-bezier(0.16,1,0.3,1);
    will-change: transform;
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(8,55,95,0.13);
}

/* ── 7. Magnetic button base class ── */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
    will-change: transform;
}

/* ── 8. Animated gradient border (for featured cards) ── */
@property --grad-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}
.gradient-border {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: conic-gradient(from var(--grad-angle), #52B44B, #08375f, #52B44B);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: grad-spin 4s linear infinite;
    pointer-events: none;
}
@keyframes grad-spin { to { --grad-angle: 360deg; } }

/* ── 9. Hero text stagger animation ── */
.hero-stagger .hero-eyebrow {
    opacity: 0; transform: translateY(20px);
    animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.hero-stagger .hero-title {
    opacity: 0; transform: translateY(24px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
.hero-stagger .hero-sub {
    opacity: 0; transform: translateY(20px);
    animation: heroFadeUp 0.7s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}
.hero-stagger .hero-actions {
    opacity: 0; transform: translateY(18px);
    animation: heroFadeUp 0.6s cubic-bezier(0.16,1,0.3,1) 0.85s forwards;
}
@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ── 10. Animated gradient on dark hero sections ── */
@property --hero-hue {
    syntax: "<angle>";
    initial-value: 135deg;
    inherits: false;
}
.hero-gradient-anim {
    animation: heroGradShift 8s ease-in-out infinite alternate;
}
@keyframes heroGradShift {
    0%   { --hero-hue: 135deg; }
    100% { --hero-hue: 200deg; }
}

/* ── 11. Glassmorphism utility (see LIQUID GLASS SYSTEM below for tokens) ── */
.glass {
    background: var(--lg-tint, rgba(255,255,255,0.62));
    -webkit-backdrop-filter: var(--lg-blur, saturate(180%) blur(24px));
    backdrop-filter: var(--lg-blur, saturate(180%) blur(24px));
    border: var(--lg-border, 1px solid rgba(255,255,255,0.55));
    border-radius: var(--lg-radius, 22px);
    box-shadow:
        var(--lg-highlight, inset 0 1px 0 rgba(255,255,255,0.85)),
        var(--lg-shadow, 0 10px 40px rgba(8,32,56,0.14));
}

/* ── 12. Scroll progress indicator in sections ── */
.section-fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
                transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 13. Animated underline for section titles ── */
.title-underline {
    position: relative;
    display: inline-block;
}
.title-underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: #52B44B;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.16,1,0.3,1);
}
.title-underline.revealed::after,
.revealed .title-underline::after {
    width: 60px;
}

/* ── 14. Smooth image treatment ── */
.img-polished {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(8,55,95,0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.img-polished:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(8,55,95,0.18);
}

/* ── Performance: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .scroll-progress,
    .gradient-border::before { animation: none !important; }
    .hero-stagger .hero-eyebrow,
    .hero-stagger .hero-title,
    .hero-stagger .hero-sub,
    .hero-stagger .hero-actions {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .card-lift:hover { transform: none !important; }
    .hero-gradient-anim { animation: none !important; }
    .section-fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
    .title-underline::after { width: 60px !important; transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   LIQUID GLASS SYSTEM  —  iOS 26 / Control-Center style
   Bright, airy, layered. Surfaces are near-white translucent
   panels with a lit top edge (specular highlight) over a heavy
   blur + saturation, finished with a soft, diffuse shadow.
   Tokens live in :root; reuse anywhere with class="glass".
   ═══════════════════════════════════════════════════════════ */
:root {
    --lg-tint:        rgba(255, 255, 255, 0.62);
    --lg-tint-nav:    rgba(255, 255, 255, 0.72);
    --lg-tint-strong: rgba(255, 255, 255, 0.86);
    --lg-blur:        saturate(180%) blur(24px);
    --lg-blur-nav:    saturate(180%) blur(22px);
    --lg-border:      1px solid rgba(255, 255, 255, 0.55);
    --lg-highlight:   inset 0 1px 0 rgba(255, 255, 255, 0.85);
    --lg-shadow:      0 10px 40px rgba(8, 32, 56, 0.14);
    --lg-radius:      22px;
    --lg-ink:         #0c2438;            /* primary text on glass */
    --lg-ink-soft:    rgba(12, 36, 56, 0.66);
    --lg-brand:       #08375f;
    --lg-green:       #2f9e3a;            /* readable green on light */
}

/* ── Sticky nav — one continuous bright frosted bar ── */
#navbar {
    background: var(--lg-tint-nav) !important;
    -webkit-backdrop-filter: var(--lg-blur-nav) !important;
    backdrop-filter: var(--lg-blur-nav) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow:
        var(--lg-highlight),
        0 1px 24px rgba(8, 32, 56, 0.07) !important;
}
#navbar.scrolled {
    background: var(--lg-tint-strong) !important;
    box-shadow:
        var(--lg-highlight),
        0 6px 28px rgba(8, 32, 56, 0.13) !important;
}
/* Dark, crisp nav text on the light glass */
#navbar .nav-links a,
#navbar .nav-menu-btn {
    color: var(--lg-ink) !important;
    text-shadow: none !important;
    font-weight: 500;
}
#navbar .nav-links a:hover,
#navbar .nav-menu-btn:hover {
    color: var(--lg-brand) !important;
    background: rgba(8, 55, 95, 0.07) !important;
}
#navbar .nav-links a.active,
#navbar .nav-menu-btn.active {
    color: var(--lg-green) !important;
}

/* Nav items: no always-on highlight — only on hover */
#navbar .nav-links > li > a:hover,
#navbar .nav-menu-btn:hover {
    background: rgba(8, 55, 95, 0.12) !important;
    border-radius: 9px !important;
}

/* Dropdown — floating frosted glass card */
#navbar .nav-dropdown {
    background: var(--lg-tint-strong) !important;
    -webkit-backdrop-filter: var(--lg-blur) !important;
    backdrop-filter: var(--lg-blur) !important;
    border: var(--lg-border) !important;
    box-shadow:
        var(--lg-highlight),
        0 20px 48px rgba(8, 32, 56, 0.18) !important;
    z-index: 1100;
    border-radius: 16px !important;
}
#navbar .nav-dropdown a {
    color: var(--lg-ink) !important;
    text-shadow: none !important;
    font-weight: 500;
    border-radius: 9px;
}
#navbar .nav-dropdown a:hover,
#navbar .nav-dropdown a.active {
    color: var(--lg-brand) !important;
    background: rgba(8, 55, 95, 0.07) !important;
}

/* Contact micro-strip — a faint tinted band inside the glass bar */
.site-contact-strip {
    background: rgba(8, 55, 95, 0.045) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(8, 32, 56, 0.07) !important;
}
.site-contact-chip {
    background: transparent !important;
    color: var(--lg-ink-soft) !important;
    border: none !important;
}
.site-contact-chip:hover { color: var(--lg-brand) !important; }
/* (green "Get a Quote" pill keeps its brand fill — left untouched) */

/* Hamburger toggle — dark bars on the light bar */
#nav-toggle {
    background: rgba(8, 55, 95, 0.06) !important;
    border-color: rgba(8, 32, 56, 0.18) !important;
}
#nav-toggle:hover,
#nav-toggle:focus-visible {
    background: rgba(8, 55, 95, 0.12) !important;
    border-color: rgba(8, 32, 56, 0.3) !important;
}
#nav-toggle span { background: var(--lg-ink) !important; }

/* Eyebrow chips — frosted pill that reads on BOTH light and dark/photo
   sections. The fill is kept fairly opaque so the pill backs its own text
   when it sits over a dark hero/video, and the text colour is forced to a
   deep, readable green that overrides the per-page light-green (#52B44B). */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    color: #1a7d31 !important;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        var(--lg-highlight),
        0 4px 18px rgba(8, 32, 56, 0.1);
}
.section-label svg { color: #1a7d31 !important; }

/* Inquiry sidebar — frosted glass card */
.inquiry-aside {
    background: var(--lg-tint) !important;
    -webkit-backdrop-filter: var(--lg-blur) !important;
    backdrop-filter: var(--lg-blur) !important;
    border: var(--lg-border) !important;
    box-shadow:
        var(--lg-highlight),
        0 20px 48px rgba(8, 32, 56, 0.14) !important;
    border-radius: var(--lg-radius) !important;
}
.inquiry-header {
    background: linear-gradient(135deg, #08375f, #061b31) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* WhatsApp strips — kept as solid brand fills (not every surface is glass) */
.tq-wa-strip,
.fd-wa-strip,
.qf-wa-strip {
    background: #08375f !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border: none;
    box-shadow: 0 8px 32px rgba(8, 55, 95, 0.15);
}

/* Modal backdrops — frosted sheet behind dialogs */
.rv-modal-backdrop,
.modal-backdrop {
    background: rgba(8, 20, 32, 0.42) !important;
    -webkit-backdrop-filter: blur(16px) saturate(140%) !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
}

/* Success cards — frosted glass */
#tq-success.visible,
#fd-success.visible,
.quote-success-card {
    background: var(--lg-tint-strong);
    -webkit-backdrop-filter: var(--lg-blur);
    backdrop-filter: var(--lg-blur);
    border: var(--lg-border);
    box-shadow:
        var(--lg-highlight),
        0 20px 48px rgba(8, 32, 56, 0.14);
    border-radius: var(--lg-radius);
}

/* ── Mobile: open menu becomes a bright frosted sheet ── */
@media (max-width: 820px) {
    #navbar .nav-links.open {
        background: var(--lg-tint-strong) !important;
        -webkit-backdrop-filter: var(--lg-blur-nav) !important;
        backdrop-filter: var(--lg-blur-nav) !important;
        border-top: 1px solid rgba(8, 32, 56, 0.08) !important;
        box-shadow: 0 20px 44px rgba(8, 32, 56, 0.16) !important;
    }
    #navbar .nav-links.open a,
    #navbar .nav-links.open .nav-menu-btn { color: var(--lg-ink) !important; }
    #navbar .nav-links.open .nav-menu-btn.active,
    #navbar .nav-dropdown a.active { color: var(--lg-green) !important; }
    #navbar .nav-dropdown {
        background: rgba(8, 55, 95, 0.05) !important;
        box-shadow: none !important;
    }
    #navbar .nav-dropdown a { color: var(--lg-ink-soft) !important; }
}

/* Graceful fallback where backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #navbar             { background: rgba(255, 255, 255, 0.96) !important; }
    #navbar .nav-dropdown,
    .inquiry-aside,
    #tq-success.visible,
    #fd-success.visible,
    .quote-success-card { background: #fff !important; }
}

/* Respect reduce-transparency (macOS/iOS accessibility setting) */
@media (prefers-reduced-transparency: reduce) {
    #navbar {
        background: rgba(255, 255, 255, 0.97) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    #navbar .nav-dropdown,
    .inquiry-aside,
    .quote-success-card {
        background: #fff !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
}

/* ════════════════════════════════════════════════════════════════════════
   MOBILE NAVIGATION FIX  (≤ 820px)
   The stacked contact strip ballooned the fixed header to ~176px tall, so
   page content was hidden beneath it. On mobile we collapse the header to a
   single compact bar (logo + hamburger) and pin the hamburger to the right.
   Phone/email remain in the menu + footer.
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 820px) {
    /* Hide the top contact strip on phones — it was the source of the overlap */
    .site-contact-strip { display: none !important; }

    /* A short, predictable header so nothing hides underneath it */
    #navbar { min-height: 0 !important; }
    #navbar .nav-inner {
        height: 60px !important;
        padding: 0 1.1rem !important;
        gap: 0.6rem !important;
        justify-content: space-between !important;
    }
    .nav-logo img { height: 44px !important; }

    /* Pin the hamburger hard-right, vertically centred */
    #nav-toggle {
        display: flex !important;
        margin-left: auto !important;
        align-self: center !important;
    }
    .nav-links { margin-left: 0 !important; }

    /* The dropdown sheet opens directly under the compact header */
    #navbar .nav-links.open { top: 60px !important; }
}

/* Anchor links / in-page jumps shouldn't land under the fixed header */
html { scroll-padding-top: 116px; }
@media (max-width: 820px) { html { scroll-padding-top: 70px; } }
