/* ==========================================================================
   LaiLegalCompliance — main stylesheet
   Mobile-first. Breakpoints: 640px, 960px, 1200px.
   ========================================================================== */

/* ---------- Fonts (self-hosted Inter, SIL OFL — see fonts/LICENSE-Inter.txt) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Inter-Regular.ddba1daba6.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/Inter-Italic.cd9fe740e9.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/Inter-Medium.aff66339b6.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/Inter-SemiBold.25a431733b.woff2") format("woff2");
}

/* ---------- Design tokens */
:root {
  --navy: #0D1B2A;
  --slate: #1B263B;
  --gold: #C9A227;
  --gold-dark: #8A6D10;     /* gold text on white (WCAG AA) */
  --text: #2B2B2B;
  --text-muted: #5A5F66;
  --bg: #FFFFFF;
  --bg-alt: #F5F6F8;
  --border: #DDE1E6;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C3CAD4;
  --focus: #C9A227;

  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.06), 0 1px 3px rgba(13, 27, 42, 0.08);
  --shadow: 0 2px 4px rgba(13, 27, 42, 0.05), 0 8px 24px rgba(13, 27, 42, 0.08);

  --container: 1200px;
  --gutter: 1.25rem;
  --section-y: 3.5rem;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: 2.25rem;
}

@media (min-width: 640px) {
  :root { --gutter: 2rem; --section-y: 4.5rem; }
}
@media (min-width: 960px) {
  :root { --section-y: 5.5rem; --step-3: 2rem; --step-4: 2.875rem; }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p, ul, ol { margin: 0 0 1rem; }

a { color: var(--gold-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
main { flex: 1 0 auto; }
main:focus { outline: none; }

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

.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }

.prose { max-width: 46rem; }

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

/* ---------- Skip link */
.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Preview banner and placeholders */
.preview-banner {
  background: var(--gold);
  color: var(--navy);
  font-size: var(--step--1);
  font-weight: 600;
  text-align: center;
  padding: 0.25rem var(--gutter);
  letter-spacing: 0.02em;
}

mark.ph {
  background: #FFF3C4;
  color: var(--navy);
  outline: 1px dashed var(--gold-dark);
  padding: 0 0.15em;
  border-radius: 2px;
}

[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Header and navigation */
.site-header { background: var(--navy); color: var(--on-dark); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 1.5rem;
  min-height: 4.5rem;
}
.site-header__logo { display: inline-flex; padding-block: 1rem; }
.site-header__logo img { width: auto; height: 30px; }
@media (max-width: 359.98px) {
  .site-header__logo img { height: 25px; }
}
@media (min-width: 420px) {
  .site-header__logo img { height: 34px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--on-dark);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold); }
@media (max-width: 419.98px) {
  .site-header__inner { gap: 0 0.75rem; }
  .nav-toggle { padding: 0.5rem; }
  .nav-toggle__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
}
.nav-toggle__open, .nav-toggle__close { display: inline-flex; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open,
.nav-toggle[aria-expanded="false"] .nav-toggle__close { display: none; }

/* Mobile: without JS the menu is simply listed below the logo. */
.site-nav { flex-basis: 100%; padding-bottom: 1.25rem; }
.js .site-nav { display: none; }
.js .site-header.is-open .site-nav { display: block; }

.site-nav__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav__link {
  display: block;
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link:hover { color: var(--gold); }
.site-nav__link[aria-current="page"] { color: var(--gold); }
.site-nav__link--highlight { color: var(--gold); }
.site-nav__cta { width: 100%; justify-content: center; }

@media (min-width: 960px) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .site-nav,
  .js .site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-basis: auto;
    padding: 0;
  }
  .site-nav__list { display: flex; align-items: center; gap: 0.15rem; margin: 0; }
  .site-nav__link {
    padding: 0.45rem 0.6rem;
    border: 0;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    position: relative;
  }
  .site-nav__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.6rem; right: 0.6rem; bottom: 0.1rem;
    height: 2px;
    background: var(--gold);
  }
  .site-nav__link--highlight {
    margin-inline: 0.35rem;
    border: 1.5px solid var(--gold);
    border-radius: var(--radius);
    padding-inline: 0.8rem;
  }
  .site-nav__link--highlight:hover { background: var(--gold); color: var(--navy); }
  .site-nav__link--highlight[aria-current="page"] { background: var(--gold); color: var(--navy); }
  .site-nav__link--highlight[aria-current="page"]::after { display: none; }
  .site-nav__cta { display: none; width: auto; }
}
@media (min-width: 1200px) {
  .site-header__logo img { height: 38px; }
  .site-nav__cta { display: inline-flex; }
}

/* ---------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9375rem; }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: #DDB940; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--on-dark); }
.btn--on-dark { border-color: rgba(255, 255, 255, 0.7); color: var(--on-dark); background: transparent; }
.btn--on-dark:hover { border-color: var(--on-dark); background: var(--on-dark); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--on-dark); }
.btn--navy:hover { background: var(--slate); color: var(--on-dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: flex-start; }

/* ---------- Section headings */
.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.section-head { margin-bottom: 2.5rem; max-width: 46rem; }
.section-head__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 0.9rem;
  background: var(--gold);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__title::after { margin-inline: auto; }
.lead { font-size: var(--step-1); color: var(--text-muted); margin: 0; }

.section--dark { background: var(--navy); color: var(--on-dark-muted); }
.section--slate { background: var(--slate); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3,
.section--slate h2, .section--slate h3 { color: var(--on-dark); }
.section--dark .eyebrow, .section--slate .eyebrow { color: var(--gold); }
.section--dark .lead, .section--slate .lead { color: var(--on-dark-muted); }
.section--dark a:not(.btn), .section--slate a:not(.btn) { color: var(--gold); }

/* ---------- Grids and cards */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Five service cards: 3 + 2, second row centred */
@media (min-width: 960px) {
  .grid--services { grid-template-columns: repeat(6, 1fr); }
  .grid--services > * { grid-column: span 2; }
  .grid--services > :nth-child(4) { grid-column: 2 / span 2; }
  .grid--services > :nth-child(5) { grid-column: 4 / span 2; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); }
.card:has(.card__link):hover { transform: translateY(-2px); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #F7EFD3;
  color: var(--gold-dark);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__title { font-size: var(--step-1); margin-bottom: 0.5rem; }
.card__link { color: var(--navy); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__link:focus-visible { outline: none; }
.card__text { color: var(--text-muted); margin-bottom: 1.25rem; }
.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gold-dark);
}
.card__more .icon { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.card:hover .card__more .icon { transform: translateX(3px); }

/* ---------- Tags */
.tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #F7EFD3;
  color: #5E4A08;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.tag--ph { background: #FFF3C4; color: var(--navy); outline: 1px dashed var(--gold-dark); }

/* ---------- Accordion */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.25rem;
  cursor: pointer;
  list-style: none;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary::after {
  content: "";
  flex: none;
  width: 0.75rem; height: 0.75rem;
  border-right: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}
.accordion__item[open] > .accordion__summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.accordion__summary:hover .accordion__title { color: var(--gold-dark); }
.accordion__title { margin: 0; font-size: var(--step-1); font-weight: 600; }
.accordion__body { padding: 0 0.25rem 1.25rem; color: var(--text); max-width: 48rem; }
.accordion__body > :last-child { margin-bottom: 0; }

/* ---------- Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.5rem; }
.steps__item { counter-increment: step; position: relative; }
.steps__item::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: 1rem;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--navy);
  background: var(--bg);
}
.steps__title { font-size: var(--step-1); margin-bottom: 0.35rem; }
.steps__text { color: var(--text-muted); }
.steps__text > :last-child { margin-bottom: 0; }

@media (min-width: 640px) {
  .steps--row { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (min-width: 960px) {
  .steps--row { grid-template-columns: repeat(4, 1fr); }
  .steps--row .steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.375rem;
    left: 3.5rem;
    right: -1.25rem;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
  }
}

/* Large vertical steps (Guide page) */
.steps--large { gap: 0; }
.steps--large .steps__item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1.25rem;
  padding-bottom: 2rem;
}
.steps--large .steps__item::before {
  grid-row: span 2;
  width: 3.5rem; height: 3.5rem;
  margin: 0;
  font-size: var(--step-2);
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}
.steps--large .steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.75rem; top: 3.75rem; bottom: 0.25rem;
  width: 2px;
  background: var(--border);
}
.steps--large .steps__title { font-size: var(--step-2); margin: 0.6rem 0 0.4rem; }
.steps--large .steps__text { grid-column: 2; font-size: var(--step-1); }

/* ---------- Team */
.team-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.team-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slate);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo .tag--ph { position: absolute; top: 0.75rem; left: 0.75rem; }
.team-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.team-card__name { font-size: var(--step-1); margin-bottom: 0.15rem; }
.team-card__role { margin: 0 0 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--gold-dark); }
.team-card__bio { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- Offices */
.office-card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.office-card--hq { border-top: 3px solid var(--gold); }
.office-card__city { font-size: var(--step-2); display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.office-card__details { font-style: normal; }
.office-card__line { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.65rem; }
.office-card__line .icon { margin-top: 0.15rem; color: var(--gold-dark); }
.office-card__line a { color: var(--navy); overflow-wrap: anywhere; }
.office-card__line a:hover { color: var(--gold-dark); }

/* ---------- Disclaimer box */
.disclaimer-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-block: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9375rem;
  max-width: 48rem;
}
.disclaimer-box .icon { margin-top: 0.15rem; color: var(--gold-dark); }
.disclaimer-box p { margin: 0; }
.section--alt .disclaimer-box { background: var(--bg); }

/* ---------- Mailto + copy */
.mailto { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.mailto__alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.mailto__address { font-weight: 600; color: var(--navy); user-select: all; overflow-wrap: anywhere; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--navy);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.copy-btn .icon { width: 1rem; height: 1rem; }
.copy-btn:hover { border-color: var(--gold-dark); }
.copy-btn.is-copied { border-color: var(--gold); background: #F7EFD3; }
.mailto--on-dark .mailto__alt { color: var(--on-dark-muted); }
.mailto--on-dark .mailto__address { color: var(--on-dark); }
.mailto--on-dark .copy-btn { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.35); }
.mailto--on-dark .copy-btn.is-copied { color: var(--navy); background: var(--gold); }

/* ---------- Click-to-load map */
.map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.map__art { width: 100%; height: auto; }
.map__panel { padding: 1.25rem; background: var(--bg); }
.map__address { display: flex; gap: 0.6rem; font-weight: 600; color: var(--navy); }
.map__address .icon { color: var(--gold-dark); margin-top: 0.15rem; }
.map__note { margin: 0.75rem 0 0.25rem; font-size: 0.875rem; color: var(--text-muted); }
.map__fallback { margin: 0; font-size: 0.875rem; }
.js .map__fallback { display: none; }
.map.is-loaded { aspect-ratio: 4 / 3; }
.map__frame { display: block; width: 100%; height: 100%; border: 0; }

@media (min-width: 640px) {
  .map__panel {
    position: absolute;
    left: 1.25rem; bottom: 1.25rem;
    max-width: 22rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .map.is-loaded { aspect-ratio: 16 / 9; }
}

/* ---------- Vendors */
.vendors { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.vendors__item {
  padding: 0.9rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: var(--step-1);
  font-weight: 600;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.vendors-example { padding: 1.25rem; border: 2px dashed var(--gold-dark); border-radius: var(--radius); }
.vendors-example__label {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ---------- Prose (Markdown bodies) */
.prose h2 { margin-top: 2.25rem; font-size: var(--step-2); }
.prose h3 { margin-top: 1.75rem; font-size: var(--step-1); }
.prose li { margin-bottom: 0.4rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--gold);
  color: var(--text-muted);
}

/* ---------- Placeholder link marker (preview only) */
.ph-link { outline: 1px dashed var(--gold); outline-offset: 3px; }

/* ---------- Footer */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-top: 3.5rem;
  font-size: 0.9375rem;
}
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
  .site-footer__brand { grid-column: auto; }
}
.site-footer__logo { display: inline-flex; margin-bottom: 1rem; }
.site-footer__logo img { width: auto; height: 34px; }
.site-footer__brand p { max-width: 24rem; }
.site-footer__social { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer__heading {
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer__offices li { display: flex; flex-direction: column; margin-bottom: 0.85rem; }
.site-footer__city { color: var(--on-dark); font-weight: 500; }
.site-footer__bottom {
  margin-top: 2.75rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
}
.site-footer__bottom .disclaimer { color: var(--on-dark); margin-bottom: 0.5rem; }
.site-footer__legal { margin: 0; }

/* ==========================================================================
   Page sections
   ========================================================================== */

.section--tight { padding-block: 2.5rem; }
.nowrap { white-space: nowrap; }
.narrow > * { max-width: 54rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Two-column layouts */
.split { display: grid; gap: 2.5rem; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--media { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-head-row .section-head { margin-bottom: 0; }

/* ---------- Home hero */
.hero {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-block: 3rem 3.5rem;
  overflow: hidden;
}
.hero__inner { display: grid; gap: 2.5rem; align-items: center; }
.hero__title {
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--on-dark);
  margin-bottom: 1.25rem;
}
.hero__title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 1.5rem;
  background: var(--gold);
}
.hero__intro { font-size: var(--step-1); max-width: 36rem; margin-bottom: 2rem; }
.hero__copy { margin-top: 1.25rem; }
.hero__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@media (min-width: 960px) {
  .hero { padding-block: 5rem 5.5rem; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; }
  .hero__intro { font-size: 1.25rem; }
}
@media (min-width: 1200px) {
  .hero__inner { grid-template-columns: 1.35fr 1fr; gap: 3rem; }
  .hero .btn-row { column-gap: 0.75rem; }
}

/* ---------- Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}
@media (min-width: 640px) { .facts { gap: 1rem; } }
@media (min-width: 960px) {
  .facts { grid-template-columns: 1fr; margin-top: 3.5rem; }
}
.facts__item {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding: 0.9rem 0.75rem;
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.facts__value { margin: 0; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 600; color: var(--navy); line-height: 1.1; }
.facts__label { font-size: 0.8125rem; color: var(--text-muted); }
@media (min-width: 640px) { .facts__item { padding: 1.25rem; } .facts__label { font-size: 0.875rem; } }

/* ---------- Notice banner */
.banner { background: var(--slate); color: var(--on-dark-muted); padding-block: 2.5rem; }
.banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.banner__icon {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.banner__icon .icon { width: 1.6rem; height: 1.6rem; }
.banner__text { flex: 1 1 20rem; }
.banner__title { color: var(--on-dark); font-size: var(--step-2); margin-bottom: 0.25rem; }
.banner__text p { margin: 0; }
@media (min-width: 640px) { .banner__icon { display: inline-flex; } }

/* ---------- Generic page hero */
.page-hero {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-block: 3rem 3.25rem;
}
.page-hero .eyebrow { color: var(--gold); }
.page-hero__title { color: var(--on-dark); max-width: 40rem; }
.page-hero__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 1.1rem;
  background: var(--gold);
}
.page-hero__intro { font-size: var(--step-1); max-width: 42rem; margin: 0; }
.page-hero__inner { display: grid; gap: 2rem; align-items: center; }
.page-hero__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 960px) {
  .page-hero { padding-block: 4.5rem 4.75rem; }
  .page-hero--media .page-hero__inner { grid-template-columns: 1.2fr 1fr; gap: 4rem; }
}

/* Light variant: calmer header for the Guide */
.page-hero--light { background: var(--bg-alt); color: var(--text-muted); border-bottom: 1px solid var(--border); }
.page-hero--light .eyebrow { color: var(--gold-dark); }
.page-hero--light .page-hero__title { color: var(--navy); }

/* ---------- Services page */
.subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.subnav__list {
  display: flex;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.subnav__link {
  display: block;
  padding: 0.9rem 0.85rem;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.subnav__link:hover { border-bottom-color: var(--gold); color: var(--navy); }
.subnav__link:focus-visible { outline-offset: -3px; }

html { scroll-padding-top: 4rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.service__inner { display: grid; gap: 1.5rem; }
@media (min-width: 960px) {
  .service__inner { grid-template-columns: 1fr 1.7fr; gap: 4rem; }
}
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.service__icon .icon { width: 1.6rem; height: 1.6rem; }
.service__title { font-size: var(--step-3); }
.service__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 0.9rem;
  background: var(--gold);
}
.service__body .prose { font-size: var(--step-1); }

.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist .icon {
  margin-top: 0.15rem;
  padding: 0.2rem;
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: #F7EFD3;
  color: var(--gold-dark);
  stroke-width: 2.5;
}
.checklist--large li { font-size: var(--step-1); }

/* CTA band */
.cta-band { background: var(--navy); color: var(--on-dark-muted); padding-block: 3.5rem; }
.cta-band__inner { display: grid; gap: 2rem; align-items: center; }
.cta-band__title { color: var(--on-dark); font-size: var(--step-3); }
.cta-band__text { margin: 0; max-width: 36rem; }
@media (min-width: 960px) {
  .cta-band__inner { grid-template-columns: 1.3fr 1fr; }
}

/* ---------- About */
.mission {
  margin: 2rem 0 0;
  padding: 1.5rem 1.75rem;
  background: var(--navy);
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.mission__label {
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.mission__text { margin: 0; font-size: var(--step-2); line-height: 1.35; color: var(--on-dark); font-weight: 500; }

.split > .mission { margin-top: 0; }

.coverage { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.coverage__item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--border);
}
.coverage__country { font-weight: 600; color: var(--navy); }
.coverage__via { color: var(--text-muted); text-align: right; }

/* ---------- Guide */
.reassure {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.reassure__title { font-size: var(--step-2); }
.reassure__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 960px) {
  .reassure { padding: 2.25rem 2.5rem; }
  .reassure__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.reassure__item { display: flex; gap: 1rem; align-items: flex-start; }
.reassure__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: #F7EFD3;
  color: var(--gold-dark);
}
.reassure__icon .icon { width: 1.5rem; height: 1.5rem; }
.reassure__text { margin: 0; font-size: var(--step-1); line-height: 1.5; }
.reassure__text strong { color: var(--navy); }

.refcard {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.refcard__label {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.refcard__code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 1.25rem;
  font-size: clamp(1.2rem, 0.6rem + 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.refcard__part {
  padding: 0.15rem 0.45rem;
  border: 2px dashed var(--gold);
  border-radius: 6px;
  background: #FFFBEB;
}
.refcard__dash { color: var(--text-muted); }
.refcard__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; font-size: 0.9375rem; color: var(--text-muted); }
.refcard__legend code {
  display: inline-block;
  min-width: 3.4rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--navy);
}

.refcheck { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.refcheck__label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--navy); }
.refcheck__input {
  width: 100%;
  max-width: 18rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #8C96A5;
  border-radius: 6px;
  font: inherit;
  font-size: var(--step-1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.refcheck__input::placeholder { color: #8C96A5; text-transform: none; }
.refcheck__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.refcheck__result { min-height: 1.5em; margin: 0.6rem 0 0.25rem; font-weight: 500; }
.refcheck__result.is-valid { color: #1E6B3A; }
.refcheck__result.is-invalid { color: #8A2C0D; }

.contact-panel {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-panel__title { font-size: var(--step-2); }
.contact-panel .mailto { margin-block: 1.5rem; }
.contact-panel .btn { font-size: var(--step-1); padding: 1rem 1.6rem; }
.contact-panel__phone { margin: 0; font-size: 0.9375rem; color: var(--text-muted); }

.genuine {
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(0deg, var(--bg), var(--bg-alt));
}
@media (min-width: 640px) {
  .genuine { grid-template-columns: auto 1fr; gap: 1.75rem; padding: 2.25rem; }
}
.genuine__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.genuine__icon .icon { width: 1.75rem; height: 1.75rem; }
.genuine__title { font-size: var(--step-3); }
.genuine__verify { margin: 1.5rem 0 0; font-weight: 500; color: var(--navy); }

/* ---------- Contact */
.channel {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.channel--notice { border-top: 3px solid var(--gold); }
.channel__title { font-size: var(--step-2); margin-bottom: 0.5rem; }
.channel__text { color: var(--text-muted); }
.channel .mailto { margin-top: auto; }
.channel__more { margin: 0.75rem 0 0; font-size: 0.9375rem; }
.social-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 2rem 0 0; }
.social-line a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; }

/* ---------- Legal pages */
.legal { max-width: 52rem; }
.draft-box {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.1rem 1.35rem;
  border: 2px solid #B4441F;
  border-radius: var(--radius);
  background: #FDF1EC;
  color: #6E2510;
}
.draft-box p { margin: 0; }
.draft-box .icon { margin-top: 0.1rem; }
.legal__updated { font-size: 0.875rem; color: var(--text-muted); }

.prose table { width: 100%; margin: 1.25rem 0 1.75rem; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--navy); font-weight: 600; }
@media (max-width: 639.98px) {
  .prose table { display: block; overflow-x: auto; }
}

/* ---------- News */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.news-card__media img { width: 100%; }
.news-card__body { padding: 1.35rem 1.5rem 1.6rem; }
.news-card__meta { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.news-card__title { font-size: var(--step-1); margin-bottom: 0.5rem; }
.news-card__title .card__link::after { border-radius: var(--radius); }
.news-card__excerpt {
  margin: 0;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-link { margin: 2.5rem 0 0; font-size: 0.9375rem; }

.article__header { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding-block: 3rem 2.5rem; }
.article__head { max-width: calc(52rem + 2 * var(--gutter)); }
.article__head .eyebrow a { color: inherit; text-decoration: none; }
.article__head .eyebrow a:hover { text-decoration: underline; }
.article__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.75rem); line-height: 1.15; }
.article__meta { margin: 0; color: var(--text-muted); font-size: 0.9375rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.article__layout { max-width: calc(52rem + 2 * var(--gutter)); padding-block: 2.5rem 4rem; }
.article__figure { margin: 0 0 2.25rem; }
.article__figure img { width: 100%; border-radius: var(--radius); }
.article__body { max-width: none; font-size: 1.0625rem; line-height: 1.7; }
.article__body > p:first-child em { color: var(--text-muted); }
.article__back { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.link-arrow--back .icon { transform: rotate(180deg); }
.link-arrow--back:hover .icon { transform: rotate(180deg) translateX(3px); }

/* ---------- 404 */
.notfound__inner { max-width: 40rem; padding-block: 2rem; }
.notfound__code { margin: 0 0 0.5rem; font-size: 5rem; font-weight: 600; line-height: 1; color: var(--gold); letter-spacing: -0.03em; }
.notfound .lead { margin-bottom: 2rem; }
.notfound__help { margin: 2rem 0 0; color: var(--text-muted); }

/* ---------- Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
