/* ============================================================
   Hydra Power & Energy — Global stylesheet
   Shared across every page: tokens, nav, footer, buttons, grid.
   Page-specific look-and-feel lives in each page's own CSS file.
   ============================================================ */

:root {
    /* Brand palette sampled directly from the Hydra Renewable Solutions
       logo (assets/img/logo.png): the blue of "Hydra" and the Africa
       map's top half, the medium green of "Renewable" and the map's
       bottom half, and the dark green used for "Solutions". */
    --color-navy: #0B3C89;      /* Logo Blue — was a generic dark navy before */
    --color-navy-light: #1E56B0;
    --color-green: #1E7F2E;     /* Logo Green (medium) */
    --color-green-dark: #0B3C29; /* Logo Green (dark) — the exact "Solutions" wordmark color */
    --color-gold: #E4A62B;      /* Warm Gold — kept as the CTA accent; not in the logo itself */
    --color-off-white: #F7F6F2; /* Off-White — clarity */
    --color-white: #FFFFFF;
    --color-text: #1B1F27;
    --color-text-muted: #5B6472;
    --color-border: #E4E4E0;

    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --radius: 10px;
    --shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
    --container-width: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; overflow-y: visible; }

body {
    margin: 0;
    overflow-x: hidden; /* defensive guard: nothing on the page should be able to create a horizontal scrollbar */
    overflow-y: visible; /* must be set explicitly alongside overflow-x — leaving it unset makes browsers silently force it to "auto", which is what created the second/nested scrollbar */
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

/* Reusable emphasis for one word inside a heading — color only, same bold
   sans as the rest of the heading. (Previously an italic serif; that read
   as a lifestyle/creative-agency accent rather than a power company, so
   the emphasis is carried by color and weight instead of a second font.) */
.accent-word {
    color: var(--color-gold);
    font-weight: 800;
    font-style: normal; /* <em> is italic by default in browsers; this is a color/weight accent only */
}

p { margin: 0 0 1em; }

a { color: var(--color-green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11,31,58,0.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary {
    background: var(--color-green);
    color: var(--color-white);
}
.btn-primary:hover { background: var(--color-green-dark); text-decoration: none; }
.btn-outline {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}
.btn-outline:hover { background: var(--color-white); color: var(--color-navy); text-decoration: none; }
.btn-gold {
    background: var(--color-gold);
    color: var(--color-navy);
}
.btn-gold:hover { filter: brightness(0.95); text-decoration: none; }

/* ---- Header / Nav ---- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(11,31,58,0.08);
    border-bottom-color: var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}
.brand-logo { height: 40px; width: auto; transition: height 0.25s ease; }
.site-header.is-scrolled .brand-logo { height: 34px; }

/* ---- Desktop nav ---- */
.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}
.site-nav > ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-nav > ul > li { position: relative; }
.site-nav ul > li > a,
.nav-link-row > a {
    display: inline-block;
    position: relative;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 9px 10px;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}
.site-nav ul > li > a::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    height: 2px;
    background: var(--color-green);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}
.site-nav ul > li > a:hover,
.site-nav ul > li > a.active { color: var(--color-navy); text-decoration: none; background: rgba(30,127,46,0.07); }
.site-nav ul > li > a:hover::after,
.site-nav ul > li > a.active::after { transform: scaleX(1); }

.nav-link-row { display: flex; align-items: center; }
.dropdown-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--color-text-muted);
}
.dropdown-toggle svg { width: 15px; height: 15px; transition: transform 0.2s ease; }

.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: 0 16px 40px rgba(11,31,58,0.14);
    border-radius: 12px;
    padding: 10px;
    min-width: 240px;
    list-style: none;
    margin: 10px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--color-text);
}
.dropdown li a:hover { background: rgba(30,127,46,0.08); color: var(--color-green-dark); text-decoration: none; }

.nav-cta { flex-shrink: 0; }

/* ---- Mobile toggle button ---- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 2;
}
.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,0.45);
    backdrop-filter: blur(2px);
    z-index: 190;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.nav-backdrop.is-visible { display: block; opacity: 1; }

.site-nav-mobile-head { display: none; }
.nav-close { display: none; }

/* ---- Footer ---- */
.site-footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.85);
    padding: 56px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo-chip {
    display: inline-block;
    background: var(--color-white);
    padding: 10px 16px;
    border-radius: 8px;
}
.footer-logo-chip .brand-logo { height: 32px; }
.footer-brand p { margin-top: 12px; color: rgba(255,255,255,0.6); }
.footer-col h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--color-gold); }

.newsletter-form-mini { display: flex; gap: 8px; margin-top: 6px; }
.newsletter-form-mini input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
    color: var(--color-white);
    min-width: 0;
}
.newsletter-form-mini input::placeholder { color: rgba(255,255,255,0.5); }

.footer-bottom {
    padding: 20px 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
}
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom-row p { margin: 0; }
.footer-legal-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-legal-links a { color: rgba(255,255,255,0.55); }
.footer-legal-links a:hover { color: var(--color-gold); }

/* ---- Shared section utilities ---- */
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--color-off-white); }
.section-navy { background: var(--color-navy); color: rgba(255,255,255,0.9); }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--color-white); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px;
}

/* ---- Numbered index card: a large faint number instead of an icon —
   used wherever a page lists a handful of things (About's Vision &
   Mission, Solutions' area list) and wants the "spec sheet" feel
   rather than a template icon grid. Any page can add its own hover
   treatment on top of this base. ---- */
.index-card { position: relative; }
.index-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 10px;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.index-card h3, .index-card h4 { margin-bottom: 8px; }
.index-card p { color: var(--color-text-muted); margin: 0; }
.index-card-link {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.index-card-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(11,60,137,0.18);
    text-decoration: none;
}
.index-card-link:hover .index-num { opacity: 1; color: var(--color-gold); transform: translateY(-2px); }
.card-arrow { color: var(--color-green-dark); font-weight: 600; font-size: 0.86rem; margin-top: auto; padding-top: 8px; }

.tag {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(30,127,46, 0.1);
    color: var(--color-green-dark);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
/* A small recurring brand signature: every section eyebrow carries a
   faint pulsing gold underline, reading as a live current rather than a
   static label — fitting for a power company, used sparingly and quietly. */
.tag::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -5px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-gold);
    opacity: 0.35;
    animation: tag-current-pulse 2.6s ease-in-out infinite;
}
@keyframes tag-current-pulse {
    0%, 100% { opacity: 0.2; transform: scaleX(0.8); }
    50% { opacity: 0.8; transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
    .tag::after { animation: none; opacity: 0.4; }
}
.tag-pipeline { background: rgba(228, 166, 43, 0.15); color: #8a6110; }
.tag-construction { background: rgba(11, 60, 137, 0.08); color: var(--color-navy); }
.tag-operating { background: rgba(30, 127, 46, 0.14); color: var(--color-green-dark); }
.tag-operating::after { background: var(--color-green); }

/* ---- Elevated stat card: a white card that floats above whatever
   section it overlaps (a hero, a photo band) — used by any page that
   wants the "negative spacing" overlap bridge. ---- */
.stat-chip {
    background: var(--color-white);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(11,31,58,0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stat-chip:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(11,31,58,0.28); }
.stat-chip h3 { color: var(--color-green-dark); font-size: 1.9rem; margin-bottom: 4px; }
.stat-chip p { color: var(--color-text-muted); margin: 0; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.stat-chip .gov-stat-dash { color: var(--color-text-muted); }

/* One-time "power on" pulse the instant a stat card scrolls into view. */
.stat-chip.reveal.is-visible { animation: stat-energize 1s ease-out; }
@keyframes stat-energize {
    0% { box-shadow: 0 24px 60px rgba(11,31,58,0.22), 0 0 0 0 rgba(228,166,43,0.4); }
    70% { box-shadow: 0 24px 60px rgba(11,31,58,0.22), 0 0 0 14px rgba(228,166,43,0); }
    100% { box-shadow: 0 24px 60px rgba(11,31,58,0.22), 0 0 0 0 rgba(228,166,43,0); }
}
@media (prefers-reduced-motion: reduce) {
    .stat-chip.reveal.is-visible { animation: none; }
}

/* Extra top padding on the section right after a hero/band that has an
   overlapping stat strip, so the strip has room to breathe. */
.pt-overlap { padding-top: 168px; }

/* ---- Photo gallery mosaic (asymmetric grid, one large tile + several
   small ones) — used wherever a page wants a visual rhythm break. ---- */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 14px;
}
.gallery-tile {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
}
.gallery-tile-lg { grid-column: span 2; grid-row: span 2; }
.gallery-tile .media-placeholder { height: 100%; border-radius: 14px; }
.gallery-tile .media-fill,
.gallery-tile img,
.gallery-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-tile:hover .media-fill,
.gallery-tile:hover img,
.gallery-tile:hover video { transform: scale(1.07); }
.gallery-tile:hover { box-shadow: 0 0 0 3px rgba(228,166,43,0.4); }

/* ---- Scroll-reveal (used site-wide as we redesign each page) ---- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Media placeholder ----
   Drop-in target for photos/videos you'll add later. Once real media
   is ready, just replace the placeholder <div> with an <img>/<video>
   tag of the same class (e.g. media-fill) and this styling gets out
   of the way automatically. */
.media-placeholder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--color-off-white);
    background-image:
        linear-gradient(rgba(11,31,58,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,31,58,0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    border: 2px dashed rgba(11,31,58,0.2);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    text-align: center;
    padding: 28px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.media-placeholder svg { width: 30px; height: 30px; opacity: 0.55; stroke: var(--color-navy); }
.media-placeholder .ph-label { font-size: 0.82rem; font-weight: 700; color: var(--color-navy); max-width: 240px; }
.media-placeholder .ph-sub { font-size: 0.72rem; opacity: 0.75; max-width: 240px; }

.media-fill { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Flat monochrome grid texture (no color, no gradients) used
   behind solid-navy sections to add depth without any gradient fill ---- */
.cta-band-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ---- CTA floating card: a reusable navy card that overlaps the section
   above it (the same "negative spacing" bridge the home hero/stat-strip
   uses), rather than a flat full-width strip. Any page can drop this in:
   <section class="section cta-band-outer"><div class="container">
     <div class="cta-band-card reveal"><div class="cta-band-grid"></div>
       <div class="cta-inner">...</div></div></div></section> ---- */
/* ---- Section heading: the eyebrow tag + h2 + intro paragraph pattern
   used at the top of most content sections site-wide. ---- */
.section-heading { max-width: 620px; margin-bottom: 40px; }
.section-heading .tag { margin-bottom: 14px; display: inline-block; }
.section-intro { color: var(--color-text-muted); margin-top: 10px; }

.cta-band-outer { position: relative; }
.cta-band-card {
    position: relative;
    overflow: hidden;
    background: var(--color-navy);
    border-radius: 28px;
    margin-top: -180px; /* pulls up into this section's own top padding + the section above it — both need to be a plain .section (104px) for the numbers below to clear safely */
    box-shadow: 0 30px 70px rgba(11,31,58,0.25);
}
.cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; padding: 64px 48px;
}
.cta-inner h2 { max-width: 480px; margin-bottom: 8px; color: var(--color-white); }
.cta-inner p { color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 960px) {
    .cta-band-card { margin-top: -110px; }
}
@media (max-width: 720px) {
    .cta-band-card { margin-top: -84px; border-radius: 20px; }
    .cta-band-card .cta-inner { padding: 40px 24px; }
}

/* ---- Legal document layout (Privacy Policy, Terms & Conditions) —
   a sticky table-of-contents beside long-form prose. Shared in
   global.css since it's genuinely reusable for any future policy
   page, not specific to one. ---- */
.legal-hero { padding: 152px 0 40px; }
.legal-hero h1 { margin-bottom: 8px; }
.legal-meta { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; padding: 8px 0 96px; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc h4 { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); margin-bottom: 14px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.legal-toc a {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.87rem;
    padding: 6px 0 6px 12px;
    border-left: 2px solid var(--color-border);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-toc a:hover { color: var(--color-navy); text-decoration: none; }
.legal-toc a.active { color: var(--color-green-dark); border-left-color: var(--color-green); font-weight: 600; }

.legal-content { max-width: 720px; }
.legal-disclaimer {
    background: var(--color-off-white);
    border-left: 3px solid var(--color-gold);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 36px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}
.legal-content section { scroll-margin-top: 100px; }
.legal-content h2 { margin-top: 2.4em; padding-top: 18px; border-top: 1px solid var(--color-border); }
.legal-content section:first-of-type h2 { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { margin-top: 1.6em; margin-bottom: 0.6em; font-size: 1.05rem; }
.legal-content p, .legal-content li { color: var(--color-text-muted); line-height: 1.75; }
.legal-content ul, .legal-content ol { padding-left: 22px; margin: 0 0 1em; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--color-green-dark); }
.legal-content strong { color: var(--color-text); }

@media (max-width: 960px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; margin-bottom: 8px; }
    .legal-toc ul { flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .legal-toc a { border-left: none; border-bottom: 2px solid var(--color-border); padding: 4px 2px; }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    /* Sections keep their generous desktop whitespace, but 104px/64px top
       AND bottom on every single section adds up fast on a phone screen —
       this is the main reason the page felt cramped/broken on mobile. */
    .section { padding: 64px 0; }
    .section-tight { padding: 40px 0; }
    .container { padding: 0 18px; }
}

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
    .nav-toggle { display: flex; }

    /* Hamburger -> X */
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Slide-in panel */
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(86vw, 360px);
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 22px 28px;
        overflow-y: auto;
        box-shadow: -16px 0 40px rgba(11,31,58,0.18);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 195;
    }
    .site-nav.is-open { transform: translateX(0); }

    .site-nav-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0 18px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--color-border);
        font-weight: 700;
        color: var(--color-navy);
    }
    .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background: var(--color-off-white);
        color: var(--color-navy);
        cursor: pointer;
    }
    .nav-close svg { width: 16px; height: 16px; }

    .site-nav ul { flex-direction: column; gap: 2px; width: 100%; align-items: stretch; }
    .site-nav ul > li > a,
    .nav-link-row > a { display: block; padding: 13px 10px; font-size: 1rem; }
    .site-nav ul > li > a::after { display: none; }

    .nav-link-row { justify-content: space-between; }
    .dropdown-toggle { display: flex; }
    .dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--color-off-white);
        margin: 2px 0 8px;
        padding: 0 4px;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.28s ease, padding 0.28s ease;
    }
    .has-dropdown.is-open .dropdown { max-height: 320px; padding: 4px; }
    .dropdown li a { padding: 11px 14px; }

    .nav-cta { margin-top: 16px; text-align: center; }

    .footer-inner { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}