/* ==========================================================================
   EarthG Infra — Static Site Stylesheet
   Palette: client logo (navy #001848 / blue #0090f0 / cyan #00c8f0) + neutrals
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #000821;
  --navy-900: #001030;
  --navy-700: #003060;
  --blue-600: #004070;
  --blue-500: #0b5aa0;
  --accent: #0b79a8;
  --brand-blue: #0e9fe8;
  --brand-cyan: #17c8f0;
  --cyan-ink: #0a7ea4;
  --accent-teal: #2f9a8e;
  --surface: #f0f0f0;
  --surface-2: #e4e8ee;
  --white: #ffffff;
  --ink: #1a2233;
  --ink-soft: #5a6478;
  --line: #d7dbe3;

  /* Client PDF brand gradient */
  --pdf-blue: #006cc9;
  --pdf-green: #3d6e1b;
  --grad-brand: linear-gradient(90deg, #006cc9 0%, #3d6e1b 100%);
  --grad-brand-diag: linear-gradient(135deg, #006cc9, #3d6e1b);
  --grad-brand-vert: linear-gradient(180deg, #006cc9, #3d6e1b);

  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", "Trebuchet MS", Verdana, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 16, 48, 0.10), 0 1px 2px rgba(0, 16, 48, 0.06);
  --shadow-md: 0 10px 24px -8px rgba(0, 16, 48, 0.22);
  --shadow-lg: 0 24px 48px -16px rgba(0, 16, 48, 0.35);
  --container: 1180px;
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); line-height: 1.2; color: var(--navy-900); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }

a { color: var(--pdf-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 2px; }

ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.section { padding-block: var(--section-pad); }
.section--surface { background: var(--surface); }
.section--navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-950) 70%); color: #e8eef8; }
.section--navy h2, .section--navy h3 { color: var(--white); }

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

/* ---------- Section headers ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--narrow { max-width: 820px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--pdf-blue);
  margin-bottom: 0.75rem;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--grad-brand); }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--grad-brand); }
.section--navy .eyebrow, .cta-band .eyebrow { color: #7fd8f5; }
.section--navy .eyebrow::before, .section--navy .eyebrow::after,
.cta-band .eyebrow::before, .cta-band .eyebrow::after { background: var(--brand-cyan); }
.lead { font-size: 1.08rem; color: var(--ink-soft); }
.section--navy .lead { color: #bcc9dc; }

.section-cta { text-align: center; margin-top: 2.4rem; }
.muted-note { margin-top: 1.2rem; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.85em 1.6em; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--brand-cyan); outline-offset: 3px; }
.btn-primary { background: var(--grad-brand-diag); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,108,201,.45); }
.btn-primary:hover { box-shadow: var(--shadow-lg); filter: brightness(1.08); }
.btn-outline { border-color: var(--pdf-blue); color: var(--pdf-blue); background: transparent; }
.btn-outline:hover { background: var(--grad-brand-diag); border-color: transparent; color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-md); }
.btn-light:hover { background: #e6eef7; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #c3d2e5; font-size: 0.9rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.55rem; flex-wrap: wrap; }
.topbar a { color: #e6f0fb; font-weight: 600; }
.topbar span { display: inline-flex; align-items: center; gap: 0.4em; }
.topbar .divider { opacity: .35; }

/* ---------- Header / Nav (dark — client logo is light-on-dark) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 8, 33, .94);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 24px -12px rgba(0, 8, 33, .55);
}
.site-header::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.55rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { height: clamp(52px, 7vw, 64px); width: auto; }
.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: #e8f1fb; font-weight: 600; text-decoration: none; padding: 0.4rem 0.2rem; position: relative; font-size: 1.02rem; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover { color: var(--brand-cyan); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brand-cyan); }
.nav-cta {
  display: inline-flex;
  gap: 0.5em;
  padding: 0.7em 1.35em !important;
  margin-left: 0.4rem;
  background: var(--grad-brand-diag);
  color: var(--white); font-weight: 700; box-shadow: 0 8px 20px -8px rgba(0,108,201,.55);
}
.nav a.nav-cta, .nav a.nav-cta:hover { color: var(--white); }
.nav a.nav-cta::after { display: none !important; }
.nav-cta svg { flex: 0 0 auto; position: relative; top: 1px; }
.nav-cta:hover { filter: brightness(1.1); }
.nav-brochure {
  display: inline-flex;
  gap: 0.5em;
  padding: 0.7em 1.35em !important;
  margin-left: 0.4rem;
  border-color: rgba(255,255,255,.55);
}
.nav a.nav-brochure, .nav a.nav-brochure:hover { color: var(--white); }
.nav a.nav-brochure::after { display: none !important; }
.nav-brochure svg { flex: 0 0 auto; position: relative; top: 1px; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 0.5rem 0.65rem; cursor: pointer; }
.nav-toggle line { stroke: #ffffff; transition: .2s; }
.nav-toggle[aria-expanded="true"] .bar-1 { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar-2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar-3 { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(23,200,240,.18), transparent 60%),
    linear-gradient(100deg, rgba(0,8,33,.94) 12%, rgba(0,16,48,.78) 48%, rgba(0,16,48,.25) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); max-width: 760px; }
.hero__tag { display: inline-flex; align-items: center; gap: 0.6em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 0.4em 1em; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe4f5; margin-bottom: 1.4rem; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero h1 .accent { color: var(--brand-cyan); }
.hero h1::after { content: ""; display: block; width: 88px; height: 5px; border-radius: 4px; background: var(--grad-brand); margin-top: 0.7rem; }
.hero__sub { font-size: 1.1rem; color: #d7e3f2; max-width: 60ch; margin-bottom: 1.6rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.hero__values { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45em; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 0.45em 0.95em; font-size: 0.92rem; font-weight: 600; color: #eaf3fc; transition: background .18s ease, border-color .18s ease; }
.chip:hover { background: rgba(23,200,240,.18); border-color: var(--brand-cyan); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.stat__card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.1rem; backdrop-filter: blur(4px); }
.stat__num { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--white); line-height: 1.1; }
.stat__num small { font-size: 0.55em; color: var(--brand-cyan); }
.stat__label { font-size: 0.88rem; color: #c3d2e5; margin-top: 0.35rem; }

.stats--light { margin-top: 0; }
.stats--light .stat__card { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.stats--light .stat__num { color: var(--navy-900); }
.stats--light .stat__label { color: var(--ink-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(50rem 30rem at 90% -20%, rgba(23,200,240,.16), transparent 60%),
    linear-gradient(120deg, var(--navy-950), var(--navy-700) 60%, var(--blue-600));
  color: var(--white); padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero--teal { background: radial-gradient(50rem 30rem at 90% -20%, rgba(23,200,240,.16), transparent 60%), linear-gradient(120deg, var(--navy-900), var(--navy-700) 45%, #14555f); }
.page-hero h1 { color: var(--white); margin-bottom: 0.5em; }
.page-hero h1::after { content: ""; display: block; width: 88px; height: 5px; border-radius: 4px; background: var(--grad-brand); margin-top: 0.7rem; }
.page-hero p { color: #cfe0f2; max-width: 65ch; margin-bottom: 0; }
.breadcrumb { font-size: 0.9rem; letter-spacing: .06em; text-transform: uppercase; color: #93b8d9; margin-bottom: 1rem; }
.breadcrumb a { color: #cfe0f2; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--brand-cyan); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--navy { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.card--navy h3 { color: var(--white); }
.card--navy p { color: #bcc9dc; }

.icon-card__icon, .card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 12px;
  background: rgba(0,108,201,.1); color: var(--pdf-blue);
  margin-bottom: 1rem;
}
.card--navy .icon-card__icon { background: rgba(23,200,240,.14); color: var(--brand-cyan); }
.icon-card h3 { font-size: 1.16rem; margin-bottom: .4em; }
.icon-card p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 0; }
.card--navy.icon-card p { color: #bcc9dc; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,16,48,.08); border-radius: var(--radius); pointer-events: none; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split--reverse .split__media { order: 2; }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.feature-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; }
.feature-list svg { flex: none; color: var(--pdf-blue); margin-top: 0.25em; }

/* ---------- Marquee (clients) ---------- */
.marquee { overflow: hidden; position: relative; background: var(--white); border-block: 1px solid var(--line); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 72px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 42s linear infinite; align-items: center; padding-block: 1.4rem; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 0.8rem; font-family: var(--font-display); font-weight: 700; color: var(--ink-soft); font-size: 1.15rem; white-space: nowrap; }
.marquee__item::before { content: attr(data-dot); color: var(--brand-blue); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-left: 1.2rem; padding-left: 2rem; display: grid; gap: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 0; top: 0.3rem; bottom: 0.3rem; width: 3px; border-radius: 3px; background: var(--grad-brand-vert); }
.timeline__dot { position: absolute; left: -2.48rem; top: 0.35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--grad-brand-diag); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--pdf-blue); }
.t-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-sm); position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.t-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: rgba(0,108,201,.4); }
.t-item h3 { font-size: 1.08rem; margin-bottom: .3em; color: var(--blue-600); }
.t-item p { margin: 0; font-size: .97rem; color: var(--ink-soft); }
.t-item .tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pdf-blue); margin-bottom: .45em; }

/* ---------- Gallery / filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  padding: 0.6em 1.15em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: .18s;
}
.filter-btn:hover { border-color: var(--pdf-blue); color: var(--pdf-blue); }
.filter-btn[aria-pressed="true"] { background: var(--grad-brand-diag); border-color: transparent; color: var(--white); }

.gallery { columns: 3; column-gap: 1.1rem; }
.g-item {
  position: relative; break-inside: avoid; margin: 0 0 1.1rem;
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); background: var(--surface-2);
  transition: box-shadow .25s ease, transform .25s ease;
}
.g-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.g-item img { width: 100%; height: auto; transition: transform .35s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item__cap {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(0,8,33,.88));
  color: var(--white); font-weight: 600; font-size: .95rem;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.g-item:hover .g-item__cap, .g-item:focus-visible .g-item__cap { opacity: 1; transform: none; }
.g-item[hidden] { display: none; }

.gallery-more { text-align: center; margin-top: 1.8rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(0,8,33,.92); padding: 2rem; }
.lightbox[open] { display: flex; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.4rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: var(--white); font-size: 1.6rem; line-height: 1; padding: .3rem .65rem; border-radius: 8px; cursor: pointer; transition: background .18s ease; }
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__cap { color: var(--white); text-align: center; margin-top: 1rem; font-weight: 600; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--navy-900); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 1rem; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pdf-blue); box-shadow: 0 0 0 3px rgba(0,108,201,.18); }
.field textarea { resize: vertical; min-height: 140px; }
.field .err { color: #b3261e; font-size: .86rem; display: none; margin-top: .3rem; }
.field.invalid input, .field.invalid textarea { border-color: #b3261e; }
.field.invalid .err { display: block; }
.form-note { font-size: .9rem; color: var(--ink-soft); }
.form-success { display: none; background: #e7f6ee; border: 1px solid #b7e3c7; color: #14653a; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-success.show { display: block; animation: fadeup .4s ease; }

.card--form { display: flex; flex-direction: column; }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card__icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,108,201,.1); color: var(--pdf-blue); }
.info-card h3 { margin-bottom: .3em; font-size: 1.1rem; }
.info-card p, .info-card a { color: var(--ink-soft); }
.info-card a { font-weight: 600; color: var(--blue-600); }

.contact-aside { min-height: 420px; display: flex; flex-direction: column; }
.contact-aside__map { flex: 1; min-height: 340px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.contact-aside__card { margin-top: 1.1rem; padding: 1.2rem 1.4rem; }
.contact-aside__card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.contact-aside__card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow-md); }

.clients-img { border-radius: var(--radius); box-shadow: var(--shadow-md); margin-inline: auto; border: 1px solid var(--line); }

/* ---------- Bands / misc ---------- */
.cta-band {
  background:
    radial-gradient(50rem 30rem at 15% 120%, rgba(23,200,240,.2), transparent 60%),
    linear-gradient(115deg, var(--navy-950), var(--navy-700) 55%, var(--blue-600));
  color: var(--white); text-align: center; padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band h2 { color: var(--white); }
.cta-band h2::after { content: ""; display: block; width: 88px; height: 5px; border-radius: 4px; background: var(--grad-brand); margin: 0.75rem auto 0; }
.cta-band p { color: #cfe0f2; max-width: 60ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1rem; }

.pill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; }
.pill-grid--center { justify-items: center; }
.pill { display: flex; align-items: center; gap: 0.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 0.75rem 1.1rem; font-weight: 600; box-shadow: var(--shadow-sm); transition: transform .18s ease, border-color .18s ease; }
.pill:hover { transform: translateY(-2px); border-color: rgba(0,108,201,.45); }
.pill svg { flex: none; color: var(--pdf-blue); }
.section--navy .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #dce7f5; }
.section--navy .pill svg { color: var(--brand-cyan); }
.pill-grid--center .pill { justify-content: center; }

.figure-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.figure-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.figure-card__media { overflow: hidden; }
.figure-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.figure-card:hover img { transform: scale(1.05); }
.figure-card__body { padding: 1.3rem 1.5rem; }
.figure-card h3 { margin-bottom: .25em; }
.figure-card small { color: var(--ink-soft); }

.quote { font-size: 1.2rem; font-style: italic; border-left: 4px solid var(--pdf-blue); border-image: linear-gradient(180deg, var(--pdf-blue), var(--pdf-green)) 1; padding-left: 1.4rem; margin-bottom: 1.4rem; }

.director-card { padding: 1.1rem 1.3rem; }
.director-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.director-card p { font-size: .92rem; margin: 0; color: var(--ink-soft); }

.pill-note { max-width: 820px; margin-inline: auto; text-align: left; }

.section-head h2, .quote, .stats--light .stat__num {
  background-image: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.section-head h2, .stat__num { display: inline-block; }
.section--navy .section-head h2 { color: var(--white); -webkit-text-fill-color: var(--white); background-image: none; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(40rem 24rem at 90% -10%, rgba(14,159,232,.14), transparent 60%),
    var(--navy-950);
  color: #9fb3cd; font-size: .95rem;
}
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-block: var(--section-pad) 2.5rem; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--brand-cyan); }
.footer-menu li > a { position: relative; }
.footer-menu li > a::before {
  content: "-"; position: absolute; left: -0.85em; top: 50%;
  transform: translateY(-50%);
  opacity: 0; transition: opacity .15s ease;
}
.footer-menu li > a:hover::before,
.footer-menu li > a:focus-visible::before { opacity: 1; }
.footer-brand p { margin-top: 1rem; }
.footer-logo { height: 86px; width: auto; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--brand-cyan); margin-top: .2em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, * { animation-duration: 0.001s !important; }
}

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

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100%; height: 100dvh;
    width: min(78vw, 340px);
    flex-direction: column; justify-content: flex-start; gap: 0;
    padding: 5.5rem 2rem 2rem; background: var(--navy-950);
    box-shadow: -20px 0 50px rgba(0,8,33,.5);
    transform: translateX(100%); transition: transform .25s ease;
    border-left: 1px solid rgba(255,255,255,.1);
    overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { display: block; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; color: #e8f1fb; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brand-cyan); }
  .nav .nav-brochure, .nav .nav-cta {
    display: inline-flex; width: 100%; justify-content: center;
    padding: 0.85em 1.35em !important; border-bottom: 0;
    margin-left: 0;
  }
  .nav .nav-brochure { margin-top: 1.2rem; }
  .nav .nav-cta { margin-top: 0.7rem; }
}

@media (max-width: 767px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero__values .chip { font-size: .85rem; }
  .gallery { columns: 1; }
  .topbar .container { justify-content: center; font-size: .84rem; }
}
