/* ==========================================================================
   EVISA INTERNATIONAL — DESIGN SYSTEM
   Pattern: Enterprise Gateway · Style: Trust & Authority
   Palette is locked to the brand mark: deep navy + safety gold + globe blue.
   ========================================================================== */

:root {
  /* ---- Brand ---- */
  --navy-900: #060b14;   /* logo plate */
  --navy-800: #0b1120;   /* footer / utility bar */
  --navy-700: #0f172a;   /* primary surface */
  --navy-600: #1b2739;   /* raised on navy */
  --navy-500: #334155;

  --gold-400: #fcd34d;
  --gold-500: #fbbf24;   /* primary accent / CTA */
  --gold-600: #f59e0b;

  --blue-500: #2563eb;   /* globe blue, used sparingly */
  --blue-100: #dbeafe;

  /* ---- Neutrals ---- */
  --surface:    #ffffff;
  --surface-2:  #f6f8fb;
  --surface-3:  #eef2f7;
  --line:       #e2e8f0;
  --line-strong:#cbd5e1;
  --text:       #0f172a;
  --text-muted: #475569;  /* never lighter than this on white */
  --text-invert:#ffffff;
  --text-invert-muted: #a3b1c6;

  --ok:   #15803d;
  --warn: #b45309;

  /* ---- Typography ---- */
  --font-heading: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.25rem);
  --fs-h4:   clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  --fs-h3:   clamp(1.25rem, 0.8vw + 1.05rem, 1.5rem);
  --fs-h2:   clamp(1.75rem, 2vw + 1.2rem, 2.6rem);
  --fs-h1:   clamp(2.25rem, 4.2vw + 1rem, 4rem);
  --fs-display: clamp(2.5rem, 5.5vw + 1rem, 4.75rem);

  /* ---- Space ---- */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 7vw, 7rem);

  /* ---- Shape ---- */
  --container: 1180px;
  --container-wide: 1360px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* ---- Elevation ---- */
  --sh-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --sh-2: 0 4px 12px rgba(15, 23, 42, 0.07), 0 2px 4px rgba(15, 23, 42, 0.05);
  --sh-3: 0 12px 32px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.05);
  --sh-4: 0 24px 60px rgba(6, 11, 20, 0.22);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 150ms var(--ease);
  --t-base: 220ms var(--ease);
  --t-slow: 320ms var(--ease);

  /* ---- Layers ---- */
  --z-raised: 10;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 50;
}

/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { text-wrap: pretty; }
p + p { margin-top: var(--sp-4); }

a { color: inherit; }

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

ul, ol { padding-left: 1.15rem; }
li::marker { color: var(--gold-600); }

strong { font-weight: 600; }

hr { border: 0; border-top: 1px solid var(--line); }

::selection { background: var(--gold-500); color: var(--navy-800); }

/* Visible focus everywhere — keyboard users must never lose their place. */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-navy :focus-visible { outline-color: var(--gold-400); }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: var(--z-modal);
  background: var(--gold-500);
  color: var(--navy-800);
  font-weight: 700;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top var(--t-base);
}
.skip-link:focus { top: var(--sp-4); }

.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;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container-wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.bg-light { background: var(--surface-2); }
.bg-navy { background: var(--navy-700); color: var(--text-invert); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--text-invert); }

.text-center { text-align: center; }
.text-gold { color: var(--gold-600); }
.on-navy .text-gold, .bg-navy .text-gold { color: var(--gold-500); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.stack-4 > * + * { margin-top: var(--sp-4); }
.stack-5 > * + * { margin-top: var(--sp-5); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 2px;
  background: var(--gold-500);
}
.on-navy .eyebrow, .bg-navy .eyebrow { color: var(--gold-500); }

.section-header { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-header.text-center { margin-inline: auto; }
.section-header p { color: var(--text-muted); font-size: var(--fs-lg); margin-top: var(--sp-4); }
.bg-navy .section-header p { color: var(--text-invert-muted); }

.lead { font-size: var(--fs-lg); color: var(--text-muted); }

/* Answer-first summary block — the paragraph AI engines lift. */
.tldr {
  border-left: 4px solid var(--gold-500);
  background: var(--surface-2);
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-lg);
  color: var(--text);
  margin-bottom: var(--sp-6);
}
.tldr strong { font-family: var(--font-heading); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;              /* >= 44px touch target */
  padding: 0.8rem 1.65rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color var(--t-base), color var(--t-base),
              border-color var(--t-base), box-shadow var(--t-base);
}
.btn i { font-size: 0.9em; }

.btn-primary { background: var(--gold-500); color: var(--navy-800); box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--gold-400); box-shadow: var(--sh-3); }

.btn-dark { background: var(--navy-700); color: var(--text-invert); }
.btn-dark:hover { background: var(--navy-600); }

.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--text-invert); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--navy-700); }

.btn-lg { min-height: 56px; padding: 1rem 2.25rem; font-size: var(--fs-base); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 2px;
  transition: color var(--t-fast), gap var(--t-fast);
}
.text-link:hover { color: var(--gold-600); gap: var(--sp-3); }
.on-navy .text-link, .bg-navy .text-link { color: var(--gold-500); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.utility-bar {
  background: var(--navy-900);
  color: var(--text-invert-muted);
  font-size: var(--fs-xs);
  padding-block: var(--sp-2);
}
.utility-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
}
.utility-offices { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.utility-offices span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.utility-offices i, .utility-contact i { color: var(--gold-500); }
.utility-offices a, .utility-contact a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
.utility-offices a:hover, .utility-contact a:hover { color: var(--gold-400); }
.utility-flag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  border: 1px solid rgba(251,191,36,0.4);
  border-radius: var(--r-pill);
  padding: 1px 8px;
}
.utility-contact { display: flex; gap: var(--sp-5); }

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base);
}
.site-header.is-stuck { box-shadow: var(--sh-2); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 76px;
}
/* Header lockup: the globe mark plus a typeset wordmark. The full stacked
   logo (mark over "Evisa CONSTRUCTION") is used in the footer, where it has
   the height to stay legible. */
.nav-logo { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 46px; width: 46px; object-fit: contain; }
.nav-logo__text { display: grid; line-height: 1.05; }
.nav-logo__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-700);
}
.nav-logo__sub {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--gold-600);
}

.nav-links { display: flex; align-items: center; gap: var(--sp-1); list-style: none; padding: 0; margin: 0; }
.nav-links a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-700);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: var(--surface-2); color: var(--gold-600); }
.nav-links a[aria-current="page"] { color: var(--gold-600); background: var(--surface-2); }
.nav-cta { margin-left: var(--sp-3); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--navy-700);
  color: #fff;
  border: 0;
  border-radius: var(--r-sm);
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color var(--t-fast);
}
.nav-toggle:hover { background: var(--navy-600); }

/* ---- Mobile drawer ---- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t-base), visibility var(--t-base);
}
.mobile-nav[data-open="true"] { visibility: visible; opacity: 1; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(6,11,20,0.7); backdrop-filter: blur(4px); }
.mobile-nav__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(360px, 88vw);
  background: var(--navy-800);
  color: #fff;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transform: translateX(100%);
  transition: transform var(--t-slow);
  overflow-y: auto;
}
.mobile-nav[data-open="true"] .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__close {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.08);
  border: 0; border-radius: var(--r-sm);
  color: #fff; font-size: 1.25rem; cursor: pointer;
  transition: background-color var(--t-fast);
}
.mobile-nav__close:hover { background: rgba(255,255,255,0.18); }
.mobile-nav__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.mobile-nav__links a {
  display: block;
  padding: var(--sp-4) var(--sp-2);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--t-fast);
}
.mobile-nav__links a:hover, .mobile-nav__links a[aria-current="page"] { color: var(--gold-500); }
.mobile-nav__foot { margin-top: auto; font-size: var(--fs-sm); color: var(--text-invert-muted); }
.mobile-nav__foot a { color: var(--gold-500); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--navy-800);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero__slide.is-active { opacity: 1; animation: heroDrift 18s ease-in-out infinite alternate; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,11,20,0.94) 0%, rgba(11,17,32,0.82) 45%, rgba(15,23,42,0.55) 100%),
    linear-gradient(to top, rgba(6,11,20,0.85), transparent 45%);
}
.hero__inner { position: relative; z-index: 2; padding-block: var(--sp-8); max-width: 44rem; }
.hero h1 { font-size: var(--fs-display); color: #fff; margin-block: var(--sp-4); }
.hero h1 .accent { color: var(--gold-500); display: block; }
.hero p { font-size: var(--fs-lg); color: #d7dfea; max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #e6ebf3;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-pill);
  padding: 0.4rem 0.9rem;
}
.badge i { color: var(--gold-500); }

@keyframes heroDrift { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---- Interior page hero ---- */
.page-hero {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7.5rem);
  background: var(--navy-800);
  background-size: cover;
  background-position: center;
  color: #fff;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(6,11,20,0.93), rgba(15,23,42,0.72));
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero p { color: #cfd8e5; font-size: var(--fs-lg); max-width: 58ch; }

/* ---- Breadcrumbs ---- */
.breadcrumb { margin-bottom: var(--sp-5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: 0; font-size: var(--fs-xs); }
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-2); color: #b8c3d4; }
.breadcrumb li + li::before { content: '/'; color: rgba(255,255,255,0.35); }
.breadcrumb a { color: #b8c3d4; text-decoration: none; transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--gold-500); }
.breadcrumb [aria-current="page"] { color: var(--gold-500); font-weight: 600; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  position: relative;
  z-index: var(--z-raised);
  background: var(--gold-500);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding-block: var(--sp-6);
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy-800);
  letter-spacing: -0.03em;
}
.stat__label {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11,17,32,0.78);
  margin-top: var(--sp-2);
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: var(--sp-5);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
  /* Border/shadow only — never a scale transform that nudges neighbours. */
  transition: box-shadow var(--t-base), border-color var(--t-base), background-color var(--t-base);
}
.card:hover { box-shadow: var(--sh-3); border-color: var(--line-strong); }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-muted); }

.card--link { cursor: pointer; }
.card--link:hover { border-color: var(--gold-500); }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--navy-700), var(--navy-600));
  color: var(--gold-500);
  font-size: 1.4rem;
  margin-bottom: var(--sp-5);
}

/* Availability chips — which country a division actually operates in. */
.card__where {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.card__where span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--surface-3);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.6rem;
}
.card__where span::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-600);
}

.card ul { list-style: none; padding: 0; margin-top: var(--sp-4); }
.card ul li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding-block: var(--sp-2);
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.card ul li i { color: var(--gold-600); margin-top: 0.35em; flex-shrink: 0; }

/* ---- Data / info card on navy ---- */
.card--navy {
  background: var(--navy-700);
  border-color: rgba(255,255,255,0.1);
  color: var(--text-invert);
}
.card--navy h3 { color: #fff; }
.card--navy p, .card--navy li { color: var(--text-invert-muted); }
.card--navy:hover { border-color: var(--gold-500); }

.data-list { list-style: none; padding: 0; }
.data-list li {
  display: flex; justify-content: space-between; gap: var(--sp-4);
  padding-block: var(--sp-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.data-list li:last-child { border-bottom: 0; }
.data-list dt, .data-list .k { color: var(--text-muted); }
.data-list .v { font-weight: 600; text-align: right; }
.card--navy .data-list li { border-color: rgba(255,255,255,0.1); }
.card--navy .data-list .k { color: var(--text-invert-muted); }
.card--navy .data-list .v { color: #fff; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-5);
}
.person {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.person:hover { box-shadow: var(--sh-3); border-color: var(--line-strong); }
.person__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  display: grid;
  place-items: center;
  overflow: hidden;
}
.person__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person__media .person__initials {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-500);
}
.person__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.person__name { font-size: 1.2rem; }
.person__role {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.person__bio { color: var(--text-muted); font-size: var(--fs-sm); margin-top: var(--sp-1); }

/* ==========================================================================
   TABLE
   ========================================================================== */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.table caption {
  caption-side: top;
  text-align: left;
  padding: var(--sp-5) var(--sp-5) 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}
.table th {
  background: var(--navy-700);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  white-space: nowrap;
}
.table td { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--line); vertical-align: top; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color var(--t-fast); }
.table tbody tr:hover { background: var(--surface-2); }
.table .cell-strong { font-weight: 600; color: var(--text); white-space: nowrap; }

.pill {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--done { background: #dcfce7; color: var(--ok); }
.pill--live { background: #fef3c7; color: var(--warn); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 78ch; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  margin-bottom: var(--sp-4);
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.faq__item[open] { border-color: var(--gold-500); box-shadow: var(--sh-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--text);
  transition: background-color var(--t-fast);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--surface-2); }
.faq__item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--gold-600);
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__answer { padding: 0 var(--sp-5) var(--sp-5); color: var(--text-muted); }
.faq__answer > *:first-child { margin-top: 0; }

/* ==========================================================================
   OFFICES / CONTACT
   ========================================================================== */
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--sp-5); }
.office {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
}
.office__flag {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-3);
}
.office__entity { font-family: var(--font-heading); font-weight: 600; color: var(--text); margin-bottom: var(--sp-4); }
.office address { font-style: normal; color: var(--text-muted); }
.office__rows { list-style: none; padding: 0; margin-top: var(--sp-4); display: grid; gap: var(--sp-3); }
.office__rows li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--text-muted); font-size: var(--fs-sm); }
.office__rows i { color: var(--gold-600); width: 1.1rem; text-align: center; margin-top: 0.3em; flex-shrink: 0; }
.office__rows a { color: var(--text-muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: color var(--t-fast), border-color var(--t-fast); }
.office__rows a:hover { color: var(--gold-600); border-color: var(--gold-500); }

/* ---- Forms ---- */
.form-panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.field { margin-bottom: var(--sp-5); }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text);
}
.field .hint { font-weight: 400; color: var(--text-muted); font-size: var(--fs-xs); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.28);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #dc2626; }

.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  display: none;
}
.form-status[data-state="ok"]   { display: block; background: #dcfce7; color: #14532d; }
.form-status[data-state="error"]{ display: block; background: #fee2e2; color: #7f1d1d; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  background:
    linear-gradient(115deg, rgba(6,11,20,0.95), rgba(15,23,42,0.85)),
    var(--navy-800);
  color: #fff;
  padding-block: var(--section-y);
  text-align: center;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #cbd5e1; font-size: var(--fs-lg); max-width: 55ch; margin: var(--sp-4) auto var(--sp-6); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-900); color: var(--text-invert-muted); padding-block: var(--sp-8) var(--sp-5); }
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.footer-brand img { height: 74px; width: auto; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: var(--fs-sm); max-width: 34ch; }
.footer-entities { margin-top: var(--sp-4); font-size: var(--fs-xs); line-height: 1.7; color: #8fa0b8; }
.footer-col h4 {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); font-size: var(--fs-sm); }
.footer-col a { color: var(--text-invert-muted); text-decoration: none; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--gold-500); }
.footer-col address { font-style: normal; font-size: var(--fs-sm); line-height: 1.7; }
.footer-office + .footer-office { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-office strong { display: block; color: #fff; font-family: var(--font-heading); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--sp-2); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
}
.footer-social { display: flex; gap: var(--sp-2); }
.footer-social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-sm);
  color: var(--text-invert-muted);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-800); border-color: var(--gold-500); }

/* ==========================================================================
   SCROLL-MORPH GALLERY
   ========================================================================== */
.morph-outer { position: relative; height: calc(100vh + 3000px); background: var(--navy-800); }
.morph-sticky {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800);
}
.morph-text-intro, .morph-text-arc {
  position: absolute; z-index: var(--z-raised);
  text-align: center; pointer-events: none; color: #fff;
  padding-inline: var(--sp-5);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.morph-text-intro { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.morph-text-intro h2 { font-size: clamp(1.6rem, 4vw, 3rem); color: #fff; margin-bottom: var(--sp-3); }
.morph-scroll-hint {
  font-family: var(--font-heading);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-500);
}
.morph-text-arc { top: 8%; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; width: 100%; max-width: 640px; }
.morph-text-arc h2 { font-size: clamp(1.6rem, 4vw, 3rem); color: #fff; margin-bottom: var(--sp-3); }
.morph-text-arc p { color: rgba(255,255,255,0.72); }
.morph-cards { position: absolute; inset: 0; }
.morph-card { will-change: transform, opacity; perspective: 900px; }
.morph-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
  border-radius: 10px;
}
.morph-card:hover .morph-card-inner, .morph-card:focus-visible .morph-card-inner { transform: rotateY(180deg); }
.morph-card-front, .morph-card-back {
  position: absolute; inset: 0;
  border-radius: 10px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.morph-card-front img { width: 100%; height: 100%; object-fit: cover; }
.morph-card-front-overlay { position: absolute; inset: 0; background: rgba(6,11,20,0.2); transition: background var(--t-fast); }
.morph-card:hover .morph-card-front-overlay { background: transparent; }
.morph-card-back {
  background: var(--gold-500);
  transform: rotateY(180deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.morph-back-label, .morph-back-sub {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-800);
  text-transform: uppercase;
}
.morph-back-label { font-size: 0.55rem; letter-spacing: 0.2em; }
.morph-back-sub { font-size: 0.75rem; }

/* Static fallback grid when the morph animation is suppressed. */
.morph-fallback { display: none; }
.morph-fallback .card-grid { gap: var(--sp-3); }
.morph-fallback img { border-radius: var(--r-sm); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .utility-contact { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: var(--sp-8); }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .utility-bar { font-size: 0.75rem; }
}

/* ==========================================================================
   MOTION / PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__slide.is-active { animation: none; }
  /* The scroll-morph gallery is pure motion — swap it for a plain grid. */
  .morph-outer { height: auto; }
  .morph-sticky { display: none; }
  .morph-fallback { display: block; }
}

@media print {
  .utility-bar, .site-header, .mobile-nav, .morph-outer, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}
