/* ==========================================================================
   Edvanto — goedvanto.com
   Single shared stylesheet. No frameworks, no build step.
   Upload to: public_html/css/site.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT
   Source Serif 4, latin subset, self-hosted. No network font requests.
   Upload to: public_html/fonts/
   --------------------------------------------------------------------------
   TO ADD THE 600 WEIGHT LATER:
   1. Upload source-serif-4-600.woff2 to public_html/fonts/
   2. Uncomment the second @font-face block below
   3. Change --serif-weight from 400 to 600
   4. Add the second preload <link> in every HTML file (marked with a comment)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* UNCOMMENT WHEN YOU UPLOAD THE 600 FILE
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*/

/* Metric-matched fallback: reduces layout shift while the webfont swaps in. */
@font-face {
  font-family: "Serif Fallback";
  src: local("Georgia"), local("Times New Roman"), local("Liberation Serif");
  size-adjust: 96%;
  ascent-override: 104%;
  descent-override: 34%;
  line-gap-override: 0%;
}

/* --------------------------------------------------------------------------
   2. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Colour */
  --bg: #F9F9FB;
  --surface: #FFFFFF;
  --ink: #1E2A38;
  --ink-2: #3A4A5E;
  --ink-3: #5B6B7F;
  --line: #E8EBEF;
  --accent: #D48331;
  --accent-dark: #A8641F;
  --success: #84A98C;
  --success-tint: #EDF3EE;
  --error: #B3261E;
  --on-dark: #F9F9FB;
  --on-dark-muted: #B8C0CA;

  /* Type */
  --serif: "Source Serif 4", "Serif Fallback", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif-weight: 400; /* change to 600 once the 600 file is uploaded */

  --fs-h1: clamp(1.75rem, 1.35rem + 2vw, 2.75rem);
  --fs-h2: clamp(1.375rem, 1.2rem + 0.9vw, 2rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-micro: 0.8125rem;
  --fs-label: 0.8125rem;

  /* Space */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-pad: clamp(48px, 8vw, 96px);

  --r-sm: 4px;
  --r-md: 8px;

  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   3. RESET
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: var(--serif-weight);
  color: var(--ink);
  margin: 0 0 var(--s4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }

p { margin: 0 0 var(--s4); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink);
  max-width: 62ch;
}

.eyebrow {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin: 0 0 var(--s3);
}

.micro {
  font-size: var(--fs-micro);
  line-height: 1.45;
  color: var(--ink-3);
}

.small { font-size: var(--fs-small); line-height: 1.5; }

a { color: var(--accent-dark); }

a:not(.btn):not(.card-link):not(.nav-link):not(.footer-link) {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s3) var(--s4);
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { left: var(--s4); top: var(--s2); }

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

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--section-pad); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }

.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--on-dark-muted); }
.section--dark p { color: var(--on-dark-muted); }

.section-head { margin-bottom: var(--s6); max-width: 60ch; }
.section-head p:last-child { margin-bottom: 0; }

.grid { display: grid; gap: var(--s4); }

@media (min-width: 768px) {
  .grid { gap: var(--s5); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s3) var(--s5);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Primary: amber fill, navy label — 4.91:1 */
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}
/* Hover darkens the fill and flips the label to near-white — 4.66:1 */
.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--on-dark);
}
.btn--primary:active { background: #96591A; border-color: #96591A; color: var(--on-dark); }

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--on-dark); }

.section--dark .btn--secondary { color: var(--on-dark); border-color: var(--on-dark-muted); }
.section--dark .btn--secondary:hover { background: var(--on-dark); color: var(--ink); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.btn-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s3);
  margin-top: var(--s5);
}

@media (min-width: 480px) {
  .btn-row { flex-direction: row; align-items: center; gap: var(--s5); }
}

/* WhatsApp inline text link */
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-weight: 600;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  min-height: 44px;
}
.wa-link:hover { color: var(--accent-dark); }
.section--dark .wa-link { color: var(--on-dark); }
.wa-link svg { width: 20px; height: 20px; flex: none; }

/* --------------------------------------------------------------------------
   7. HEADER + NAV
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 100;
}

@media (min-width: 1024px) {
  .site-header { position: sticky; top: 0; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.wordmark svg { width: 116px; height: auto; }
.wordmark:hover { color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: var(--s3); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.header-cta { display: none; }

/* Mobile panel */
.site-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s7) var(--gutter) var(--s8);
  overflow-y: auto;
  z-index: 150;
}
.site-nav[hidden] { display: none; }

.nav-close {
  position: absolute;
  top: var(--s4); right: var(--gutter);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(249,249,251,0.3);
  border-radius: var(--r-sm);
  color: var(--on-dark);
  cursor: pointer;
}
.nav-close svg { width: 22px; height: 22px; }

.nav-list { list-style: none; margin: var(--s6) 0 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid rgba(249,249,251,0.15); }

.nav-link {
  display: block;
  padding: var(--s4) 0;
  color: var(--on-dark);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover { color: var(--accent); }

.nav-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s4) 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--on-dark);
  cursor: pointer;
  list-style: none;
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: none;
  margin-right: 4px;
}
.nav-group[open] summary::after { transform: rotate(-135deg); }

.nav-sub { list-style: none; margin: 0 0 var(--s4); padding: 0 0 0 var(--s4); }
.nav-sub li { margin-bottom: var(--s1); }
.nav-sub a {
  display: block;
  padding: var(--s2) 0;
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 1rem;
}
.nav-sub a:hover { color: var(--accent); }

.nav-sub-label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  margin: var(--s4) 0 var(--s2);
}

.nav-foot { margin-top: var(--s7); }
.nav-foot .btn { width: 100%; }
.nav-foot p { color: var(--on-dark-muted); margin-top: var(--s4); }
.nav-foot a { color: var(--on-dark); }

/* Desktop nav */
@media (min-width: 1024px) {
  .nav-toggle, .nav-close { display: none; }
  .header-cta { display: inline-flex; }

  .site-nav {
    position: static;
    display: block !important;
    background: transparent;
    color: inherit;
    padding: 0;
    overflow: visible;
    flex: 1;
  }
  .site-nav[hidden] { display: block; }

  .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s5);
    margin: 0;
  }
  .nav-list > li { border-bottom: 0; position: relative; }

  .nav-link {
    padding: var(--s2) 0;
    font-size: 0.9375rem;
    color: var(--ink-2);
  }
  .nav-link:hover { color: var(--ink); }

  .nav-group summary {
    padding: var(--s2) 0;
    font-size: 0.9375rem;
    color: var(--ink-2);
    gap: var(--s2);
  }
  .nav-group summary:hover { color: var(--ink); }
  .nav-group summary::after { width: 7px; height: 7px; }

  .nav-sub {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: 0 8px 24px rgba(30,42,56,0.12);
    padding: var(--s3);
    margin: 0;
    z-index: 120;
  }
  .nav-sub a { color: var(--ink-2); padding: var(--s2) var(--s3); border-radius: var(--r-sm); }
  .nav-sub a:hover { background: var(--bg); color: var(--ink); }
  .nav-sub-label { color: var(--ink-3); margin: var(--s3) 0 var(--s1); padding-inline: var(--s3); }
  .nav-sub-label:first-child { margin-top: 0; }

  .nav-foot { display: none; }
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */

.hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(40px, 7vw, 88px);
}

.hero h1 { max-width: 20ch; }
.hero .lead { margin-top: var(--s5); }

.hero-grid { display: grid; gap: var(--s7); }

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: var(--s9);
    align-items: start;
  }
}

.hero-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s5);
}
@media (min-width: 768px) { .hero-panel { padding: var(--s6); } }

.hero-panel h2 {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: var(--s4);
}

.hero-panel ul { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.hero-panel li {
  display: flex;
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--ink);
}
.hero-panel li:last-of-type { border-bottom: 0; }
.hero-panel li svg { width: 18px; height: 18px; color: var(--accent-dark); flex: none; margin-top: 2px; }
.hero-panel .micro { margin: 0; }

.trust-strip {
  list-style: none;
  margin: var(--s7) 0 0;
  padding: var(--s5) 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s6);
}
.trust-strip li {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.trust-strip svg { width: 18px; height: 18px; color: var(--accent-dark); flex: none; }

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s5);
}
@media (min-width: 768px) { .card { padding: var(--s6); } }

.card h3 { margin-bottom: var(--s3); }
.card p { margin-bottom: 0; color: var(--ink); }

.card-icon {
  width: 28px; height: 28px;
  color: var(--accent-dark);
  margin-bottom: var(--s4);
}

.section--alt .card { background: var(--bg); }

/* Country card */
.country-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s5);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.country-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
}
.country-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-bottom: var(--s3);
}
.country-card h3 .arrow {
  width: 18px; height: 18px;
  color: var(--accent-dark);
  flex: none;
}
.country-card p {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: var(--s2);
  vertical-align: middle;
  white-space: nowrap;
}
.country-card h3 .tag { margin-left: auto; }

.country-card .region {
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: var(--s2);
}

/* --------------------------------------------------------------------------
   10. STEPS
   -------------------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  padding-bottom: var(--s6);
}
.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: 50%;
  font-size: var(--fs-small);
  font-weight: 600;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 17px; top: 44px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }

.steps h3 { margin-bottom: var(--s2); }
.steps p { margin-bottom: 0; font-size: var(--fs-small); color: var(--ink); }

.section--dark .steps li::before { background: var(--accent); color: var(--ink); }
.section--dark .steps li::after { background: rgba(249,249,251,0.2); }

/* --------------------------------------------------------------------------
   11. TRUST / ANTI-CLAIM BLOCK
   -------------------------------------------------------------------------- */

.facts {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--s5);
  border-left: 3px solid var(--ink);
}
.facts li {
  margin-bottom: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--line);
}
.facts li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.facts strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: var(--s1); }
.facts span { font-size: var(--fs-small); color: var(--ink); }

.section--dark .facts { border-left-color: var(--accent); }
.section--dark .facts li { border-bottom-color: rgba(249,249,251,0.15); }
.section--dark .facts strong { color: var(--on-dark); }
.section--dark .facts span { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   11b. COUNTRY PAGE COMPONENTS
   -------------------------------------------------------------------------- */

/* Spec list — compact label/value rows. Replaces prose wherever data will do. */
.specs { margin: 0; padding: 0; }
.specs > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s2) var(--s4);
  padding-block: var(--s3);
  border-top: 1px solid var(--line);
}
.specs > div:first-child { border-top: 0; padding-top: 0; }
.specs > div:last-child { padding-bottom: 0; }
.specs dt {
  flex: 0 0 96px;
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.specs dd {
  flex: 1 1 140px;
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.section--dark .specs > div { border-top-color: rgba(249,249,251,0.15); }
.section--dark .specs dt { color: var(--on-dark-muted); }
.section--dark .specs dd { color: var(--on-dark); }

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--fs-small);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.cmp thead th {
  text-align: left;
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  background: var(--bg);
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.cmp tbody th, .cmp td {
  padding: var(--s4);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody th {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.cmp tbody th a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.cmp tbody tr:hover { background: var(--bg); }

/* Callout — one short heads-up, never more than two lines */
.callout {
  border-left: 3px solid var(--accent-dark);
  background: #FFF8F1;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: var(--s4) var(--s5);
  margin-block: var(--s5);
}
.callout p { margin: 0; font-size: var(--fs-small); color: var(--ink); max-width: 72ch; }
.callout strong { display: block; margin-bottom: 2px; }

/* Breadcrumb */
.breadcrumb {
  padding-block: var(--s4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin: 0;
  padding: 0;
  font-size: var(--fs-micro);
  color: var(--ink-3);
}
.breadcrumb li + li::before { content: "/"; margin-right: var(--s2); color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* Cost box */
.cost-box {
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-md);
  padding: var(--s5);
}
@media (min-width: 768px) { .cost-box { padding: var(--s7); } }

.cost-box h2 {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  margin-bottom: var(--s5);
}

.cost-list { list-style: none; margin: 0; padding: 0; }
.cost-list li {
  padding-block: var(--s4);
  border-bottom: 1px solid rgba(249,249,251,0.15);
}
.cost-list li:first-child { padding-top: 0; }
.cost-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.cost-list .k {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}
.cost-list .v {
  display: block;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}
.cost-list .v em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: var(--fs-micro);
  letter-spacing: 0;
  text-transform: none;
  color: var(--on-dark-muted);
  margin-top: 2px;
}
.reviewed {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid rgba(249,249,251,0.15);
  font-size: var(--fs-micro);
  color: var(--on-dark-muted);
}

/* Needs-real-data marker — must be resolved before launch */
.needs-data {
  display: block;
  margin: var(--s3) 0;
  padding: var(--s3) var(--s4);
  border: 1px dashed var(--accent-dark);
  border-radius: var(--r-sm);
  background: #FFF8F1;
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
}
.section--dark .needs-data { background: rgba(212,131,49,0.12); color: var(--on-dark); }

/* University list */
.uni-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
@media (min-width: 768px) { .uni-list { grid-template-columns: repeat(2, 1fr); gap: var(--s4); } }
.uni-list li {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: var(--s4);
  font-size: var(--fs-small);
}
.uni-list strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.section--alt .uni-list li { background: var(--bg); }

/* Card variant for use inside dark sections */
.section--dark .card {
  background: rgba(249, 249, 251, 0.06);
  border-color: rgba(249, 249, 251, 0.2);
}
.section--dark .card h3 { color: var(--on-dark); }
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .card strong { color: var(--on-dark); }

/* Spacing utilities — used sparingly, only where a component needs separation */
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }

/* Definition blocks */
.def { margin: 0 0 var(--s5); }
.def:last-child { margin-bottom: 0; }
.def h3 { margin-bottom: var(--s2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s4);
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex: none;
  margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding-bottom: var(--s5); }
.faq .faq-body p { font-size: var(--fs-small); color: var(--ink); }

/* CTA band */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 24ch; }

/* --------------------------------------------------------------------------
   12. FORM
   -------------------------------------------------------------------------- */

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s5);
}
@media (min-width: 768px) { .form-wrap { padding: var(--s7); } }

.form-grid { display: grid; gap: var(--s4); }
@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; }

.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s2);
}
.field .hint {
  font-size: var(--fs-micro);
  color: var(--ink-3);
  margin-bottom: var(--s2);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem; /* 16px minimum — prevents iOS zoom on focus */
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-3);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B7F' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 1px;
  border-color: var(--accent-dark);
}

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: var(--error);
  border-width: 2px;
}

.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--error);
}
.field-error svg { width: 14px; height: 14px; flex: none; }
.field[data-invalid="true"] .field-error { display: flex; }

.honeypot {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-submit { margin-top: var(--s5); }
.form-submit .btn { width: 100%; }
@media (min-width: 600px) { .form-submit .btn { width: auto; min-width: 260px; } }

.form-alt {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--line);
}
.form-alt p { margin-bottom: var(--s2); font-size: var(--fs-small); color: var(--ink-3); }

.form-status[hidden] { display: none; }

.form-success {
  background: var(--success-tint);
  border: 1px solid var(--success);
  border-radius: var(--r-md);
  padding: var(--s5);
  color: var(--ink);
}
.form-success h3 { margin-bottom: var(--s3); }
.form-success p { color: var(--ink); }
.form-success .wa-link { margin-top: var(--s4); }

.form-fail {
  background: #FDF1F0;
  border: 1px solid var(--error);
  border-radius: var(--r-md);
  padding: var(--s5);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: var(--s8) var(--s6);
}

.footer-grid { display: grid; gap: var(--s7); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); } }

.site-footer .wordmark { color: var(--on-dark); }
.site-footer .wordmark svg { width: 128px; }

.footer-tagline { margin-top: var(--s4); font-size: var(--fs-small); color: var(--on-dark-muted); }

.footer-contact { list-style: none; margin: var(--s5) 0 0; padding: 0; font-size: var(--fs-small); }
.footer-contact li { margin-bottom: var(--s3); display: flex; gap: var(--s3); }
.footer-contact svg { width: 18px; height: 18px; color: var(--on-dark-muted); flex: none; margin-top: 2px; }
.footer-contact a { color: var(--on-dark); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

.footer-col h2 {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  margin-bottom: var(--s4);
}

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: var(--s3); }
.footer-link { color: var(--on-dark); text-decoration: none; font-size: var(--fs-small); }
.footer-link:hover { text-decoration: underline; }

.footer-bottom {
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid rgba(249,249,251,0.15);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  font-size: var(--fs-micro);
  color: var(--on-dark-muted);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-bottom a { color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   14. FLOATING WHATSAPP + MOBILE ACTION BAR
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: var(--s4);
  bottom: var(--s4);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(30,42,56,0.25);
  z-index: 90;
  transition: bottom 0.2s ease, background-color 0.15s ease;
}
.wa-float:hover { background: var(--accent-dark); color: var(--on-dark); }
.wa-float svg { width: 28px; height: 28px; }

.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  gap: var(--s2);
  padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(30,42,56,0.08);
  z-index: 95;
  transform: translateY(110%);
  transition: transform 0.22s ease;
}
.action-bar.is-visible { transform: translateY(0); }
.action-bar .btn { flex: 1; min-height: 46px; padding-inline: var(--s3); font-size: 0.9375rem; }

body.has-action-bar .wa-float { bottom: 84px; }

@media (min-width: 1024px) {
  .action-bar { display: none; }
  body.has-action-bar .wa-float { bottom: var(--s4); }
}

/* Reserve space so the bar never covers the end of the page */
@media (max-width: 1023px) {
  body.has-action-bar .site-footer { padding-bottom: 88px; }
}

/* --------------------------------------------------------------------------
   15. SCROLL LOCK
   -------------------------------------------------------------------------- */

body.nav-open { overflow: hidden; }
