/*
Theme Name: Marivanta
Theme URI: https://marivanta.com
Author: Marivanta
Author URI: https://marivanta.com
Description: A refined WordPress theme for Marivanta, a UAE-based shipping liner connecting regional trade corridors across Asia, the Middle East and Africa. Elegant maritime design guided by trust, movement, and reliability.
Version: 1.8.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marivanta
*/

/* ============================================================
   MARIVANTA — Design System
   Brand palette + typography (Bodoni Moda / Hanken Grotesk)
   ============================================================ */

:root {
    /* Brand colors */
    --white:        #FFFFFF;
    --deep-ocean:   #00171F; /* Rich Black / Deep Ocean */
    --prussian:     #003459; /* Prussian Blue */
    --navy:         #17314A; /* Logo navy */
    --ice:          #ADEBFF; /* Ice Blue */
    --seafoam:      #D6F2FF; /* Seafoam Blue */

    /* Semantic tokens */
    --bg:           var(--white);
    --bg-tint:      #F4FAFE;
    --ink:          var(--deep-ocean);
    --ink-soft:     #3A4A55;
    --line:         #E1EAF1;
    --accent:       var(--prussian);
    --accent-glow:  var(--ice);

    /* Typography */
    --font-display: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
    /* Single source of truth for body copy size — keeps all paragraphs uniform */
    --text-body:    clamp(1rem, 0.96rem + 0.2vw, 1.125rem);

    /* Rhythm */
    --container:    1200px;
    --gutter:       clamp(1.25rem, 4vw, 3rem);
    --section-y:    clamp(4.5rem, 9vw, 8.5rem);
    --radius:       18px;
    --radius-lg:    26px;
    --radius-pill:  999px;

    --shadow-sm:    0 2px 10px rgba(0, 52, 89, 0.06);
    --shadow-md:    0 18px 45px rgba(0, 23, 31, 0.10);
    --shadow-lg:    0 30px 70px rgba(0, 23, 31, 0.16);

    --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: 1.7;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600; /* Hanken Grotesk SemiBold */
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); }
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
h4 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.45rem); }

p { margin: 0 0 1.1rem; }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--bg-tint); }
.section--dark {
    background: radial-gradient(120% 140% at 80% -10%, #063a5f 0%, var(--deep-ocean) 55%);
    color: rgba(255, 255, 255, 0.82);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.1rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}
.section--dark .eyebrow { color: var(--ice); }

.lede { font-size: var(--text-body); color: var(--ink-soft); }
.section--dark .lede { color: rgba(255, 255, 255, 0.78); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--prussian);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 0.95rem 1.7rem;
    border-radius: var(--radius-pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1.5px solid var(--btn-bg);
    cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
    will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--prussian); color: var(--prussian); }

.btn--light {
    --btn-bg: var(--white);
    --btn-fg: var(--deep-ocean);
    border-color: var(--white);
}
.btn--on-dark-ghost {
    --btn-bg: transparent;
    --btn-fg: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.btn--on-dark-ghost:hover { border-color: var(--ice); color: var(--ice); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
    padding-block: 1.4rem;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 52, 89, 0.08);
    padding-block: 0.85rem;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.brand .logo-white { display: block; }
.brand .logo-navy { display: none; }
.site-header.is-scrolled .brand .logo-white { display: none; }
.site-header.is-scrolled .brand .logo-navy { display: block; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-block: 0.3rem;
    transition: color 0.25s;
}
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1.5px;
    background: var(--ice);
    transition: width 0.3s var(--ease);
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: #fff; }
.site-header.is-scrolled .nav-menu a { color: var(--navy); }
.site-header.is-scrolled .nav-menu a::after { background: var(--prussian); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.site-header.is-scrolled .nav-cta .btn--on-dark-ghost {
    --btn-fg: var(--navy);
    border-color: var(--line);
}
.site-header.is-scrolled .nav-cta .btn--on-dark-ghost:hover { color: var(--prussian); border-color: var(--prussian); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: #fff;
    transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(140% 120% at 78% -10%, #0a4a76 0%, rgba(6, 42, 68, 0) 45%),
        linear-gradient(160deg, #002135 0%, var(--deep-ocean) 70%);
    overflow: hidden;
    padding-block: 9rem 5rem;
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 23, 31, 0.95) 0%, rgba(0, 23, 31, 0.78) 32%, rgba(0, 23, 31, 0.32) 62%, rgba(0, 23, 31, 0) 88%),
        linear-gradient(180deg, rgba(0, 23, 31, 0.05) 0%, rgba(0, 23, 31, 0.3) 100%);
}
.hero__glow {
    position: absolute;
    z-index: 2;
    width: 60vw; height: 60vw;
    right: -12vw; top: -18vw;
    background: radial-gradient(circle, rgba(173, 235, 255, 0.18) 0%, transparent 62%);
    filter: blur(10px);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero__lede {
    font-size: var(--text-body);
    color: rgba(255, 255, 255, 0.82);
    max-width: 620px;
    margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Trust strip under hero actions */
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem;
    margin-top: 3.2rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 640px;
}
.hero__meta div span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: #fff;
    line-height: 1;
}
.hero__meta div small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}
.about__visual {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--prussian), var(--deep-ocean));
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.about__visual svg.compass { width: 62%; opacity: 0.9; }
.about__visual .grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(173,235,255,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173,235,255,0.10) 1px, transparent 1px);
    background-size: 42px 42px;
}
.about__visual .badge {
    position: absolute;
    z-index: 2;
    left: 1.6rem; bottom: 1.6rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.about__body p { color: var(--ink-soft); }
.about__body .lede { margin-bottom: 1.6rem; }
.about__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.about__stats div span {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--prussian);
    line-height: 1;
}
.about__stats div small {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: end;
    margin-bottom: 3.5rem;
}
.services__intro .lede { margin: 0; }

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.8rem, 3vw, 2.6rem);
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card__icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--seafoam), var(--ice));
    color: var(--prussian);
    margin-bottom: 1.6rem;
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 0.7rem; }
.service-card p { color: var(--ink-soft); }
.service-card__list {
    margin-top: 1.4rem;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--line);
    display: grid;
    gap: 0.75rem;
}
.service-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: var(--text-body);
    color: var(--ink);
}
.service-card__list li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; color: var(--prussian); }

/* ============================================================
   TRADE COVERAGE
   ============================================================ */
.coverage { position: relative; overflow: hidden; }
.coverage__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.coverage__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 23, 31, 0.92) 0%, rgba(0, 23, 31, 0.6) 40%, rgba(0, 23, 31, 0.2) 70%, rgba(0, 23, 31, 0) 100%);
}
.coverage .container { position: relative; z-index: 2; }
.coverage__body { max-width: 640px; }
.coverage__routes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 2rem;
}
.route-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.05rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(173, 235, 255, 0.25);
    color: #fff;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.3s var(--ease);
}
.route-pill::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ice);
    box-shadow: 0 0 0 4px rgba(173, 235, 255, 0.2);
}
.route-pill:hover { background: rgba(173, 235, 255, 0.16); transform: translateY(-2px); }

.coverage__body .lede { margin-bottom: 1.6rem; }
.coverage__points { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.coverage__points li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.coverage__points li svg { flex: 0 0 auto; width: 22px; height: 22px; color: #fff; margin-top: 2px; }
.coverage__points li strong { color: #fff; display: block; }

/* ============================================================
   WHY MARIVANTA
   ============================================================ */
.why__layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

/* Left column — sticky heading + intro + visual */
.why__intro { position: sticky; top: 108px; }
.why__intro .lede { color: var(--ink-soft); margin-bottom: 2rem; }
.why__visual {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--prussian), var(--deep-ocean));
    aspect-ratio: 16 / 11;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.why__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.why__visual .compass { width: 46%; opacity: 0.92; }
.why__visual .grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(173,235,255,0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173,235,255,0.10) 1px, transparent 1px);
    background-size: 42px 42px;
}
.why__visual .badge {
    position: absolute;
    left: 1.4rem; bottom: 1.4rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Right column — expandable stack */
.why__stack { display: flex; flex-direction: column; gap: 1rem; }
.why-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.4s var(--ease), border-color 0.4s;
}
.why-item.is-open {
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.why-item__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    padding: clamp(1.25rem, 2.4vw, 1.8rem) clamp(1.35rem, 2.6vw, 2rem);
}
.why-item__index {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--prussian);
}
.why-item__title {
    flex: 1;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
    color: var(--ink);
    line-height: 1.2;
}
.why-item__toggle {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-tint);
    color: var(--prussian);
    transition: transform 0.45s var(--ease), background 0.3s, color 0.3s;
}
.why-item__toggle svg { width: 18px; height: 18px; }
.why-item.is-open .why-item__toggle {
    transform: rotate(135deg);
    background: var(--prussian);
    color: #fff;
}
.why-item__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}
.why-item__inner {
    padding: 0 clamp(1.35rem, 2.6vw, 2rem) clamp(1.5rem, 2.8vw, 2rem);
}
.why-item__inner p { color: var(--ink-soft); margin: 0 0 1.3rem; }
.why-item__media {
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(150deg, var(--seafoam), var(--ice));
    margin-bottom: 1.4rem;
}
.why-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { text-align: center; }
.cta-banner__box {
    position: relative;
    background: radial-gradient(120% 160% at 50% -20%, #0a4a76, var(--prussian) 60%);
    border-radius: var(--radius-lg);
    padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-banner__box .dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1.4px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 70%);
    mask-image: radial-gradient(80% 120% at 50% 0%, #000, transparent 70%);
}
.cta-banner__box > * { position: relative; z-index: 2; }
.cta-banner__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cta-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 23, 31, 0.74) 0%, rgba(0, 52, 89, 0.7) 100%);
}
.cta-banner h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-banner p { color: rgba(255, 255, 255, 0.82); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner .btn--light:hover { color: var(--prussian); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--deep-ocean);
    color: rgba(255, 255, 255, 0.66);
    padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img { height: 30px; margin-bottom: 1.4rem; }
.footer__brand p { max-width: 340px; color: rgba(255, 255, 255, 0.6); }
.footer__col h5 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ice);
    margin: 0 0 1.2rem;
}
.footer__col ul { display: grid; gap: 0.8rem; }
.footer__col a { color: rgba(255, 255, 255, 0.72); transition: color 0.25s, padding-left 0.25s; }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer__bottom .keywords { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__bottom .keywords span { letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.footer__legal { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__legal a { color: rgba(255, 255, 255, 0.62); font-size: 0.85rem; transition: color 0.25s; }
.footer__legal a:hover { color: #fff; }

/* ============================================================
   LEGAL PAGES (Privacy Policy / Terms & Conditions)
   ============================================================ */
.legal-hero {
    background: radial-gradient(120% 140% at 80% -10%, #063a5f 0%, var(--deep-ocean) 55%);
    color: #fff;
    padding: clamp(8rem, 12vw, 11rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.legal-hero h1 { color: #fff; margin-bottom: 0.9rem; }
.legal-hero .legal-meta {
    color: var(--ice);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.legal-body { padding-block: clamp(3rem, 6vw, 5rem); }
.legal-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.legal-toc { position: sticky; top: 108px; }
.legal-toc h2 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--prussian);
    margin-bottom: 1rem;
}
.legal-toc ol { list-style: none; display: grid; gap: 0.6rem; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a {
    display: flex;
    gap: 0.5rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    transition: color 0.25s;
}
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--prussian); font-weight: 600; }
.legal-toc a:hover { color: var(--prussian); }

.legal-content h2 {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    margin: 2.8rem 0 0.9rem;
    scroll-margin-top: 100px;
}
.legal-content > h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.2rem; margin: 1.8rem 0 0.6rem; }
.legal-content p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.legal-content ul {
    list-style: disc;
    padding-left: 1.3rem;
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.45rem;
}
.legal-content ul ul { margin-top: 0.45rem; }
.legal-content li { color: var(--ink-soft); }
.legal-content a { color: var(--prussian); text-decoration: underline; }
.legal-content .legal-lede { font-size: var(--text-body); color: var(--ink); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .hero__video,
    .coverage__video,
    .why__video,
    .about__video,
    .cta-banner__video { display: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
    .about__grid,
    .why__layout { grid-template-columns: 1fr; }
    .about__visual { max-width: 460px; }
    .services__intro { grid-template-columns: 1fr; }
    .why__intro { position: static; }
    .why__visual { max-width: 520px; }
    .legal-wrap { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
}

@media (max-width: 760px) {
    .nav-menu, .nav-cta .btn--on-dark-ghost { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(80vw, 320px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.8rem;
        padding: 2rem 2.4rem;
        background: var(--deep-ocean);
        transform: translateX(100%);
        transition: transform 0.45s var(--ease);
        font-size: 1.2rem;
    }
    .nav-menu a { color: #fff; }
    body.nav-open .nav-menu { display: flex; transform: none; }
    body.nav-open { overflow: hidden; }

    .services__grid { grid-template-columns: 1fr; }
    .hero__meta { gap: 1.6rem; }
    .hero__meta div span { font-size: 1.5rem; }
    .footer__top { grid-template-columns: 1fr; }
    .about__stats { flex-wrap: wrap; gap: 1.6rem; }
}
