/* =====================================================================
   NEXA LEGAL — HOMEPAGE + SHARED COMPONENTS
   Layered on top of design-system.css
   ===================================================================== */

/* ---------------------------------------------------------------------
   HEADER / NAVIGATION
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--border), 0 12px 30px -24px rgba(10,22,34,.4); }
/* Header-scoped: give the full desktop nav more room than the standard
   1240px page container so logo + 8 nav items + EN|ES + CTA all fit
   without clipping. Page content containers are unaffected. */
.site-header .container { max-width: 1400px; }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.75rem);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.85rem; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink);
  white-space: nowrap;
}
.brand__name b { font-weight: 600; }
.brand__tld { color: var(--gold); }
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* Primary nav.
   The menu sizes to its content and never compresses (flex-shrink:0), so
   items keep their own space and cannot overlap the actions block. The
   header switches to the hamburger at <=1180px, so at desktop widths the
   full row always has room. (A previous min-width:0 + shrinkable box let
   the menu collapse under its non-shrinking items, causing overlap.) */
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 1.6vw, 1.75rem);   /* ~20-28px rhythm */
  list-style: none;
  margin: 0; padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.nav__item { flex-shrink: 0; }
.nav__link {
  position: relative;
  font-size: 0.95rem;        /* ~15px, premium/compact */
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;       /* keep "North America" / "Mobility" on one line */
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
/* Dropdown triggers are <button> — strip browser-default chrome so they
   read as plain nav text. Scoped to button.nav__link so <a> links and the
   separate mobile accordion (.mobile-nav__link) are unaffected. */
button.nav__link {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  border-radius: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}
.nav__caret { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown,
.nav__dropdown.is-open {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: var(--step--1);
  border-radius: var(--radius);
  color: var(--ink);
  border-left: 2px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.nav__dropdown a:hover { background: var(--paper); border-left-color: var(--gold); }
.nav__dropdown a span { display: block; font-size: 0.72rem; color: var(--muted); letter-spacing: 0; margin-top: 2px; }

.nav__actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.nav__actions .btn { white-space: nowrap; flex-shrink: 0; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { position: relative; }
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 90;
  padding: var(--space-lg) clamp(1.25rem, 6vw, 2.5rem) var(--space-xl);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav a { color: var(--paper); }
.mobile-nav__link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.mobile-nav__sub { padding: 0.2rem 0 0.6rem 0; }
.mobile-nav__sub a {
  display: block;
  font-size: 0.95rem;
  color: var(--paper-70);
  padding: 0.45rem 0 0.45rem 1rem;
  border-left: 1px solid var(--hairline-dark);
}
.mobile-nav__cta { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: 0.85rem; }

/* ---------------------------------------------------------------------
   HERO — asymmetric editorial split
   --------------------------------------------------------------------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(78vh, 760px);
}

/* Left: editorial copy.
   The hero is full-bleed, so align the copy's LEFT edge to the site's
   primary content gutter (same as .container's padding-inline) instead of
   letting `margin-left:auto` push a 720px block to the right of a wider
   column (which left a large empty cream gap on the left). A larger right
   pad keeps refined whitespace before the dark panel. */
.hero__copy {
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(2.5rem, 5vw, 4.5rem);
  padding-left: clamp(1.25rem, 4vw, 3rem);   /* matches .container gutter */
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  margin-left: 0;
  width: 100%;
}
.hero__index {
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: var(--space-md);
}
.hero__index b { color: var(--gold); font-weight: 600; }
.hero__title {
  font-size: var(--step-4);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero__lead {
  font-size: var(--step-1);
  color: var(--ink-70);
  max-width: 46ch;
  margin-bottom: var(--space-lg);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.hero__meta {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
.hero__meta div { max-width: 24ch; }
.hero__meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.hero__meta dd { font-size: var(--step--1); color: var(--ink); font-weight: 500; }

/* Right: editorial "case file" panel — composed like a page from a legal brief */
.hero__panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(10,22,34,0) 0%, rgba(10,22,34,0.35) 100%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(2rem, 3.5vw, 3.25rem);
}
/* Thin inner file-frame to give the panel a "document" edge */
.hero__panel::after {
  content: "";
  position: absolute;
  inset: clamp(0.85rem, 1.4vw, 1.25rem);
  border: 1px solid var(--hairline-dark);
  pointer-events: none;
}

/* Scales motif — now a SUPPORTING corner detail, not the dominant element */
.hero__panel-watermark {
  position: absolute;
  right: -12%;
  bottom: -14%;
  width: 62%;
  max-width: 340px;
  color: rgba(201, 169, 106, 0.10); /* faint gold, sits behind content */
  pointer-events: none;
}

/* 1 · Metadata row */
.hero__panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.hero__meta-block { display: flex; flex-direction: column; gap: 0.4rem; }
.hero__filecode {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-70);
}
.hero__fileref {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* 2 · Visual identity — monogram + small scales on thin document rules */
.hero__identity {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(0.5rem, 1.5vw, 1.25rem);
  border-top: 1px solid var(--hairline-dark);
  border-bottom: 1px solid var(--hairline-dark);
}
.hero__crest {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  justify-content: center;
}
.hero__monogram {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.35rem);
  letter-spacing: 0.02em;
  color: var(--paper);
  line-height: 1;
}
.hero__crest-scales { width: clamp(38px, 3.4vw, 48px); height: auto; color: var(--gold-light); }
.hero__wordmark {
  margin-top: 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em; /* balance the tracking */
  text-transform: uppercase;
  color: var(--paper);
}
.hero__wordmark b { color: var(--gold-light); font-weight: 600; }
.hero__establishment {
  margin-top: 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-70);
}
/* subtle gold registration marks flanking the identity */
.hero__reg {
  position: absolute;
  top: 0.6rem;
  left: 0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.7;
}
.hero__reg--end { top: auto; bottom: 0.6rem; left: auto; right: 0; }
.hero__seal { width: 54px; height: 54px; color: var(--gold-light); flex: none; }

/* 3 · Practice statement + 4 · Advocate attribution */
.hero__panel-body { position: relative; z-index: 1; }
.hero__panel-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero__panel-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.hero__panel-quote span { color: var(--gold-light); font-style: italic; }
.hero__panel-attr {
  margin-top: var(--space-md);
  font-size: var(--step--1);
  color: var(--paper-70);
}
.hero__panel-attr b { color: var(--paper); font-weight: 600; letter-spacing: 0.02em; }

/* 5 · Practice-area footer — a ruled index, not tags/cards */
.hero__panel-foot {
  position: relative;
  z-index: 1;
  padding-top: var(--space-md);
  border-top: 1px solid var(--hairline-dark);
}
.hero__foot-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.hero__foot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 0;
}
.hero__tag {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-70);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__tag::before { content:""; width:5px; height:5px; background: var(--gold); transform: rotate(45deg); display:inline-block; }

/* ---------------------------------------------------------------------
   MARQUEE / TRUST STRIP
   --------------------------------------------------------------------- */
.trust {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--hairline-dark);
}
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding-block: 1.15rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.8rem + 0.6vw, 1.35rem);
  letter-spacing: 0.02em;
  text-align: center;
}
.trust__item { display: inline-flex; align-items: center; gap: 1rem; }
.trust__item::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
}

/* ---------------------------------------------------------------------
   SECTION HEADINGS
   --------------------------------------------------------------------- */
.section-head { max-width: 62ch; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: end;
  max-width: none;
}
.section-head__title {
  font-size: var(--step-3);
  margin-top: var(--space-sm);
  letter-spacing: -0.015em;
}
.section-head__title em { font-style: italic; color: var(--gold); }
.section-head__lead { margin-top: var(--space-sm); }

/* ---------------------------------------------------------------------
   POSITIONING / NRI intro (asymmetric two-column editorial)
   --------------------------------------------------------------------- */
.positioning__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.positioning__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.positioning__big {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.positioning__big em { font-style: italic; color: var(--gold); }
.positioning__body p { color: var(--ink-70); font-size: var(--step-1); }
.positioning__body p + p { margin-top: var(--space-md); }
.positioning__points {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.positioning__point { background: var(--surface); padding: var(--space-md); }
.positioning__point b {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.positioning__point span { font-size: var(--step--1); color: var(--muted); }

/* ---------------------------------------------------------------------
   SERVICES INDEX — editorial numbered list (not a card grid)
   --------------------------------------------------------------------- */
.services { background: var(--paper); border-block: 1px solid var(--border); }
.services__list {
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border);
}
.service {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.4rem, 3vw, 2.1rem) 0.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.service:hover { background: var(--surface); padding-left: 1.25rem; }
.service:hover::before { transform: scaleY(1); }
.service__no {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--gold);
  font-style: italic;
}
.service__icon { width: 30px; height: 30px; color: var(--navy); flex: none; }
.service__main { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 1.75rem); }
.service__title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.service__desc { font-size: var(--step--1); color: var(--muted); margin-top: 0.2rem; max-width: 52ch; }
.service__cta {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.service__cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service:hover .service__cta svg { transform: translateX(4px); }
.service__cta span { color: var(--gold); }

/* ---------------------------------------------------------------------
   NRI FOCUS — dark editorial band
   --------------------------------------------------------------------- */
.nri { background: var(--navy-deep); color: var(--paper); position: relative; overflow: hidden; }
.nri__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.nri__title { font-size: var(--step-3); color: var(--paper); }
.nri__title em { font-style: italic; color: var(--gold-light); }
.nri__lead { color: var(--paper-70); font-size: var(--step-1); margin-top: var(--space-md); max-width: 50ch; }
.nri__actions { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: var(--space-sm); }

.nri__panel {
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  background: rgba(246,242,233,0.03);
}
.nri__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--hairline-dark);
}
.nri__step:last-child { border-bottom: 0; }
.nri__step-no {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
}
.nri__step h3 { font-family: var(--font-sans); font-size: var(--step-0); font-weight: 600; letter-spacing: 0.01em; color: var(--paper); }
.nri__step p { font-size: var(--step--1); color: var(--paper-70); margin-top: 0.3rem; }

/* ---------------------------------------------------------------------
   ADVOCATE / ABOUT — asymmetric portrait-of-practice
   --------------------------------------------------------------------- */
.advocate__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.advocate__card {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.advocate__card-seal { position: absolute; right: -20px; bottom: -20px; width: 190px; height: 190px; color: var(--hairline-dark); }
.advocate__name {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  position: relative;
}
.advocate__role {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  position: relative;
}
.advocate__creds {
  margin-top: var(--space-lg);
  border-top: 1px solid var(--hairline-dark);
  position: relative;
}
.advocate__cred {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline-dark);
  font-size: var(--step--1);
}
.advocate__cred dt { color: var(--paper-70); letter-spacing: 0.06em; }
.advocate__cred dd { color: var(--paper); font-weight: 600; text-align: right; }

.advocate__body { display: flex; flex-direction: column; justify-content: center; }
.advocate__body h2 { font-size: var(--step-3); letter-spacing: -0.015em; }
.advocate__body h2 em { font-style: italic; color: var(--gold); }
.advocate__body p { color: var(--ink-70); font-size: var(--step-1); margin-top: var(--space-md); }
.advocate__values {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.advocate__value {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.advocate__note { margin-top: var(--space-lg); font-size: var(--step--1); color: var(--muted); border-left: 2px solid var(--gold); padding-left: 1rem; }

/* ---------------------------------------------------------------------
   CONSULTATION CTA — split, dark left / form-teaser right
   --------------------------------------------------------------------- */
.cta { background: var(--ink); color: var(--paper); }
.cta__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.cta__title { font-size: var(--step-3); color: var(--paper); }
.cta__title em { font-style: italic; color: var(--gold-light); }
.cta__lead { color: var(--paper-70); font-size: var(--step-1); margin-top: var(--space-md); max-width: 46ch; }
.cta__contacts {
  margin-top: var(--space-lg);
  display: grid;
  gap: 1px;
  background: var(--hairline-dark);
  border: 1px solid var(--hairline-dark);
}
.cta__contact {
  background: var(--ink);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cta__contact svg { width: 20px; height: 20px; color: var(--gold-light); flex: none; }
.cta__contact dt { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-70); }
.cta__contact dd { font-size: var(--step-0); font-weight: 600; }
.cta__contact dd a:hover { color: var(--gold-light); }

/* Form teaser */
.cta__form-wrap {
  background: var(--surface);
  color: var(--ink);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--radius);
}
.cta__form-wrap h3 { font-size: var(--step-2); letter-spacing: -0.01em; }
.cta__form-wrap p.small { font-size: var(--step--1); color: var(--muted); margin-top: 0.4rem; }
.form { margin-top: var(--space-md); display: grid; gap: var(--space-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font-size: var(--step-0);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,138,70,0.15);
}
.field textarea { resize: vertical; min-height: 92px; }
.form__note { font-size: 0.72rem; color: var(--muted); }
.form__status { font-size: var(--step--1); font-weight: 600; min-height: 1.2em; }
.form__status.is-error { color: #9a3b34; }
.form__status.is-ok { color: #2f6b46; }

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); border-top: 1px solid var(--hairline-dark); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__sub { color: var(--paper-70); }
.footer__blurb { color: var(--paper-70); font-size: var(--step--1); margin-top: var(--space-md); max-width: 34ch; }
.footer__col h4,
.footer__col h3 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.footer__col a { color: var(--paper-70); font-size: var(--step--1); }
.footer__col a:hover { color: var(--paper); }
.footer__contact li { color: var(--paper-70); font-size: var(--step--1); display: grid; gap: 2px; }
.footer__contact b { color: var(--paper); font-weight: 600; }
.footer__bottom {
  border-top: 1px solid var(--hairline-dark);
  padding-block: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: var(--paper-70);
}
.footer__disclaimer { max-width: 70ch; line-height: 1.6; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Desktop header (logo + 8 nav items + EN|ES) — the consultation CTA was
   removed from the header, so the row is narrower and fits comfortably at
   >=1080px; below that we hand off to the existing hamburger/mobile nav. */
@media (max-width: 1079.98px) {
  .nav__menu,
  .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy { max-width: none; padding-block: clamp(2.25rem, 6vw, 3.5rem); }
  .hero__panel { min-height: 0; gap: clamp(1.25rem, 4vw, 1.75rem); }

  .positioning__grid { grid-template-columns: 1fr; }
  .positioning__aside { position: static; }

  .nri__grid { grid-template-columns: 1fr; }
  .advocate__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }

  .section-head--split { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
  .positioning__points { grid-template-columns: 1fr; }
  .service { grid-template-columns: auto 1fr; row-gap: 0.5rem; }
  .service__no { grid-row: 1; }
  .service__cta { grid-column: 1 / -1; justify-self: start; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .trust__inner { flex-direction: column; gap: 0.5rem; }
  .trust__item::before { display: none; }

  /* Hero panel at small widths: keep identity legible, ease the tracking */
  .hero__wordmark { letter-spacing: 0.32em; text-indent: 0.32em; }
  .hero__reg { display: none; }
  .hero__panel::after { inset: 0.7rem; }
}

/* ---------------------------------------------------------------------
   LANGUAGE SWITCHER (multilingual foundation)
   Reuses existing nav tokens; no new colours introduced.
   --------------------------------------------------------------------- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding-right: var(--space-sm);
  margin-right: var(--space-2xs);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.lang-switcher__link {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);            /* inactive: dark/navy ink */
  padding: 0.2rem 0.3rem;
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease);
}
.lang-switcher__link:hover { color: var(--gold); }
.lang-switcher__link.is-current {
  color: var(--gold);           /* active: gold accent */
  font-weight: 600;
  pointer-events: none;         /* current page — not a live link */
}
/* Thin separator between languages: EN | ES */
.lang-switcher__sep {
  color: var(--border);
  font-weight: 300;
  user-select: none;
  line-height: 1;
}

/* Mobile language switcher — shown inside the mobile panel */
.mobile-lang {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--hairline-dark);
}
.mobile-lang__link {
  font-size: 0.95rem;
  color: var(--paper-70);       /* inactive (on dark panel) */
  padding: 0.35rem 0;
  transition: color var(--dur) var(--ease);
}
.mobile-lang__link:hover { color: var(--paper); }
.mobile-lang__link.is-current {
  color: var(--gold);           /* active: gold accent */
  font-weight: 600;
  pointer-events: none;
}

/* The desktop switcher collapses with the nav (mobile panel has its own). */
@media (max-width: 1079.98px) {
  .lang-switcher { display: none; }
}

/* =====================================================================
   NEXA WORLDWIDE HOMEPAGE — additive components
   Built on existing tokens/layout primitives. No framework, no reset
   changes. Reuses .container, .section, .btn, .service, .cta, .nri__*.
   ===================================================================== */

/* 2 · Value strip (replaces the old .trust row) */
.value-strip { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.value-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.value-prop { position: relative; padding-top: var(--space-md); border-top: 1px solid var(--hairline-dark); }
.value-prop__title {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  color: var(--gold-light);
  margin-bottom: var(--space-2xs);
}
.value-prop__desc { color: var(--paper-70); font-size: var(--step-0); line-height: 1.55; }

/* 5 · Destinations / regions grid */
.destinations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.destination {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.destination__no {
  font-family: var(--font-serif);
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-xs);
}
.destination__name {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2xs);
}
.destination__desc { color: var(--muted); font-size: var(--step-0); line-height: 1.6; }

/* 6 · Mexico feature (dark, emerald-accented) */
.mexico-feature {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    linear-gradient(180deg, rgba(15,90,70,0) 0%, rgba(15,90,70,0.28) 100%),
    var(--navy-deep);
}
.mexico__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.mexico__title {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  line-height: 1.08;
  color: var(--paper);
  margin-bottom: var(--space-md);
}
.mexico__title em { font-style: italic; color: var(--gold-light); }
.mexico__lead { color: var(--paper-70); font-size: var(--step-1); max-width: 46ch; margin-bottom: var(--space-lg); }
.mexico__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.mexico__panel {
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(15, 35, 56, 0.5);
}
.mexico__list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mexico__tag {
  font-size: var(--step--1);
  color: var(--paper);
  border: 1px solid var(--hairline-dark);
  border-left: 2px solid var(--emerald-light);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
}

/* 7 · Passport / global-mobility band */
.passport-band {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}
.passport-band__inner { max-width: 720px; margin-inline: auto; }
.passport-band__kicker {
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}
.passport-band__title {
  font-family: var(--font-serif);
  font-size: var(--step-4);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.passport-band__title em { font-style: italic; color: var(--gold-light); }
.passport-band__body { color: var(--paper-70); font-size: var(--step-1); margin-bottom: var(--space-lg); }

/* 8 · Process flow — reuses .nri__panel; allow a 2x2 grid of steps */
.nri__panel--flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
/* The base .nri__step styles are authored for a dark panel (paper/near-
   white text). This homepage process flow sits on the cream/paper
   background, where that text is unreadable. Restore readable ink/muted
   text here only — numerals (gold), typography, layout and the reveal
   animation are unchanged. Scoped to --flow so the dark .nri__step used
   elsewhere is unaffected. */
.nri__panel--flow .nri__step h3 { color: var(--ink); }
.nri__panel--flow .nri__step p { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .value-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .mexico__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .value-strip__grid,
  .destinations__grid,
  .nri__panel--flow { grid-template-columns: 1fr; }
}
