/* ==========================================================================
   Nitivalori — site stylesheet
   Profile: geo-adapted. Light theme, deep emerald accent (growth + Colombia's
   emerald identity), flag-inspired tints used sparingly in decorative layers.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #F7FAF8;
  --surface: #FFFFFF;
  --surface-2: #EDF4EF;
  --border: #DCE7DF;
  --border-strong: #C4D4C9;
  --text: #142820;
  --text-muted: #4A5D52;
  --accent: #0B6E4F;
  --accent-hover: #095A41;
  --accent-tint: #E1F0E8;
  --accent-ink: #083D2C;
  --gold: #C89A2B;          /* flag-inspired highlight, used sparingly */
  --gold-tint: #F8EFD8;
  --danger: #B3372B;
  --danger-tint: #F9E9E6;

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.1rem, 4.6vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 2.6vw, 2rem);
  --fs-h3: 1.15rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-tiny: 0.78rem;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(20, 40, 32, 0.06);
  --shadow-md: 0 1px 2px rgba(20, 40, 32, 0.06), 0 8px 24px rgba(20, 40, 32, 0.09);
  --shadow-lg: 0 2px 4px rgba(20, 40, 32, 0.08), 0 16px 48px rgba(20, 40, 32, 0.14);

  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.6em; font-weight: 750; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--caret { width: 14px; height: 14px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 160ms var(--ease), border-color 160ms var(--ease),
              box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--ghost:hover { background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; }
.btn--header { min-height: 42px; padding: 9px 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------- 4. Header & nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand__word b { color: var(--accent); font-weight: 800; }

.main-nav { margin-left: 8px; }
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-group { position: relative; }
.nav-group__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-group__link:hover { background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; }
.nav-group__link .icon--caret { transition: transform 160ms var(--ease); color: var(--text-muted); }
.nav-group.is-open .nav-group__link .icon--caret { transform: rotate(180deg); }

.nav-group__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 150ms var(--ease), transform 150ms var(--ease), visibility 0s 150ms;
  z-index: 110;
}
.nav-group__menu::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22px;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.nav-group.is-open .nav-group__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-group__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 550;
}
.nav-group__menu a:hover, .nav-group__menu a:focus-visible {
  background: var(--accent-tint);
  color: var(--accent-ink);
  text-decoration: none;
}
/* Keep the last dropdown inside the viewport: right-align it near the edge. */
.nav-group:nth-last-child(-n + 2) .nav-group__menu,
.nav-group--right .nav-group__menu {
  left: auto;
  right: 0;
}
.nav-group:nth-last-child(-n + 2) .nav-group__menu::before {
  left: auto;
  right: 22px;
}

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

.mobile-menu { display: none; border-top: 1px solid var(--border); padding: 12px clamp(16px, 4vw, 40px) 20px; background: var(--surface); }
.mobile-menu.is-open { display: block; }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group[open] summary .icon--caret { transform: rotate(180deg); }
.mobile-group ul { list-style: none; margin: 0; padding: 0 0 10px; }
.mobile-group a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: 0.95rem; }
.mobile-group a:hover { background: var(--accent-tint); text-decoration: none; }
.mobile-menu__cta { margin-top: 14px; }

/* ---------- 5. Ticker row spacing (injected after header) ---------- */
/* The beacon ticker widget sizes itself at 400px; keep it inside its own
   scroll wrapper so it never widens the page (design.md §3). */
.tv-ticker-wrapper {
  max-width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 0px !important;
  height: 58px !important;
}
.tv-ticker-wrapper .tv-ticker-host { min-width: 100%; }
.site-main, main { padding-top: 0; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(200, 154, 43, 0.14), transparent 60%),
    linear-gradient(180deg, #EAF3EE 0%, var(--bg) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 110, 79, 0.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(36px, 6vw, 76px);
}.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: var(--fs-tiny);
  font-weight: 650;
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.hero__eyebrow .icon { width: 15px; height: 15px; color: var(--accent); }
.hero h1 { margin-bottom: 16px; }
.hero__lead { font-size: 1.08rem; color: var(--text-muted); max-width: 56ch; margin-bottom: 22px; }
.hero__highlight { color: var(--accent); font-weight: 700; }

/* Flags row: caption + three flags (content checklist block 2) */
.hero__flags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.hero__flags .flag-set { display: inline-flex; align-items: center; gap: 8px; }
.flag {
  display: inline-block;
  width: 30px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid rgba(20, 40, 32, 0.18);
  box-shadow: var(--shadow-sm);
}
.flag-label { font-size: var(--fs-tiny); color: var(--text-muted); font-weight: 600; }

/* Two icon links in block 1: licenses + security */
.hero__pills { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 650;
  font-size: 0.92rem;
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.hero-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent-ink); text-decoration: none; }
.hero-pill .icon-badge { width: 36px; height: 36px; border-radius: 10px; }
.hero-pill .icon-badge .icon { width: 20px; height: 20px; }

/* Geo-adapted hero scene: layered SVG (skyline + market motif).
   On desktop it sits as a wide backdrop layer at the bottom of the hero,
   behind the copy and the form, so the motif is visible in the first
   seconds without competing with the text. */
.hero__visual {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: min(46%, 360px);
  pointer-events: none;
  opacity: 0.9;
}
.hero__inner > .hero__visual { max-width: 1200px; margin-inline: auto; }
.hero-scene { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center bottom; }
.hero-scene .js-chart-line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-fallback-note { display: none; }

/* Hero form column */
.hero__form-col {
  position: relative;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 30px);
}
.hero__form-col .form-heading {
  font-size: 1.28rem;
  font-weight: 750;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.hero__form-col .form-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; }

/* ---------- 7. formFactory wrapper ---------- */
.form-block { margin: 0; }
.form-block.id-anchor { scroll-margin-top: calc(var(--header-h) + 70px); }
.form-block__intro { font-weight: 650; margin-bottom: 10px; }
.form-legal { font-size: var(--fs-tiny); color: var(--text-muted); margin: 10px 0 0; }
.form-legal a { text-decoration: underline; }
.form-legal a:hover { text-decoration: none; }
.form-note { font-size: var(--fs-small); color: var(--accent-ink); font-weight: 650; margin: 10px 0 0; display: flex; gap: 8px; align-items: flex-start; }
.form-note .icon { width: 17px; height: 17px; margin-top: 2px; }
/* Style the injected formFactory markup like the rest of the site */
.form-block .ff-wrap, .form-block form, .form-block .registration-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"],
.form-block select, .form-block input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font: inherit;
  color: var(--text);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.form-block input:focus, .form-block select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.form-block label { font-size: var(--fs-small); font-weight: 650; color: var(--text); }
.form-block button[type="submit"], .form-block input[type="submit"], .form-block .submit-btn {
  width: 100%;
  min-height: 50px;
  background: var(--accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}
.form-block button[type="submit"]:hover, .form-block input[type="submit"]:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }

/* ---------- 8. Sections ---------- */
.section { padding-block: clamp(44px, 6vw, 76px); }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head p { color: var(--text-muted); font-size: 1.02rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-tiny);
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Decorative background layers (data-URI mesh, always behind content) */
.deco-mesh {
  position: relative;
}
.deco-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%230B6E4F' stroke-opacity='0.07'%3E%3Cpath d='M0 60h120M60 0v120'/%3E%3Ccircle cx='60' cy='60' r='18'/%3E%3Ccircle cx='0' cy='0' r='10'/%3E%3Ccircle cx='120' cy='120' r='10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}
.deco-mesh > .container { position: relative; }

/* ---------- 9. Cards, icon badges, grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 24px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 4px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.6em; }
.card--asym:first-child { grid-column: span 2; grid-row: span 1; }
@media (max-width: 720px) { .card--asym:first-child { grid-column: auto; } }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
  margin-bottom: 14px;
}
.icon-badge--gold { background: var(--gold-tint); color: var(--gold); }
.icon-badge .icon { width: 26px; height: 26px; }

.card__link { font-weight: 650; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link .icon { width: 16px; height: 16px; }

/* Numbered steps: small accent circle, never a giant numeral */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.step__num {
  counter-increment: step;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }

/* ---------- 10. Comparison table ---------- */
.compare-wrap, .table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  margin-bottom: 1.2em;
}
table.compare, table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.94rem;
}
.compare th, .compare td, .data-table th, .data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.compare thead th, .data-table thead th {
  background: var(--surface-2);
  font-weight: 750;
  font-size: 0.9rem;
}
.compare tbody tr:nth-child(even), .data-table tbody tr:nth-child(even) { background: rgba(237, 244, 239, 0.5); }
.compare .col-us { background: var(--accent-tint); font-weight: 600; }
.compare .yes { color: var(--accent); font-weight: 750; }
.compare .no { color: var(--danger); font-weight: 750; }

/* ---------- 11. Exchange logos ---------- */
.exchange-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.exchange-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.exchange-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 58px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms var(--ease), box-shadow 160ms var(--ease);
}
.exchange-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.exchange-chip--dark { background: #0f172a; border-color: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 100%; }

/* ---------- 12. Reviews (illustrative scenarios — override (e)) ---------- */
.reviews-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--gold-tint);
  border: 1px solid rgba(200, 154, 43, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: var(--fs-small);
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 26px;
}
.reviews-note .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold); flex: none; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card__person { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  flex: none;
}
.review-card__avatar .icon { width: 26px; height: 26px; }
.review-card__name { font-weight: 750; font-size: 0.98rem; }
.review-card__role { font-size: var(--fs-tiny); color: var(--text-muted); }
.review-card__text { font-size: 0.93rem; color: var(--text-muted); margin: 0; }
.review-card__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: auto;
}
.review-card__facts dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); font-weight: 700; }
.review-card__facts dd { margin: 2px 0 0; font-weight: 750; font-size: 0.88rem; }

/* ---------- 13. Security / benefits cards ---------- */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.mini-card h3 { font-size: 0.99rem; margin-bottom: 5px; }
.mini-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---------- 14. Company block ---------- */
.company-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.facts-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.facts-list .icon { color: var(--accent); margin-top: 3px; width: 20px; height: 20px; }
.facts-list b { display: block; font-size: 0.85rem; }
.facts-list span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 15. FAQ accordion ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 180ms var(--ease); color: var(--accent); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__body { padding: 0 20px 18px; color: var(--text-muted); font-size: 0.96rem; }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-cat { margin-top: 2.2em; }

/* ---------- 16. Content pages (prose) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 360px at 88% -20%, rgba(200, 154, 43, 0.12), transparent 60%),
    linear-gradient(180deg, #EAF3EE 0%, var(--bg) 100%);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  padding-block: clamp(32px, 5vw, 60px);
}
.page-hero__copy { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-hero__lead { color: var(--text-muted); font-size: 1.03rem; max-width: 58ch; }
.page-hero__form-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  z-index: 2;
}
.page-hero__scene { position: absolute; inset: auto 0 0 0; height: 130px; opacity: 0.5; pointer-events: none; }

.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose h2:first-child { margin-top: 0; }
.prose ul li, .prose ol li { color: var(--text-muted); }
.prose blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--accent-ink);
}
.callout {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px 18px;
  margin: 1.2em 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.callout .icon { color: var(--accent); flex: none; margin-top: 2px; }
.callout--warn { border-color: rgba(200, 154, 43, 0.4); background: var(--gold-tint); }
.callout--warn .icon { color: var(--gold); }
.callout b { color: var(--text); }

/* ---------- 17. Map ---------- */
.map-embed {
  max-width: 760px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 1em;
}
.map-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 0;
}

/* ---------- 18. Calculator section ---------- */
.calc-band { position: relative; overflow: hidden; }
.calc-canvas-wrap { position: relative; height: 150px; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: linear-gradient(180deg, #FFFFFF, #F1F7F3); }
.calc-canvas-wrap canvas { display: block; width: 100%; height: 100%; }

/* ---------- 19. Breadcrumbs ---------- */
.breadcrumbs { padding-block: 12px 0; }
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-tiny);
  color: var(--text-muted);
}
.breadcrumbs__list li { display: flex; align-items: center; gap: 6px; margin: 0; }
.breadcrumbs__list li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- 20. Footer ---------- */
.site-footer {
  background: #0E2019;
  color: #C9D8CF;
  margin-top: clamp(44px, 6vw, 80px);
  padding-block: clamp(36px, 5vw, 60px) 26px;
  font-size: 0.93rem;
}
.site-footer a { color: #E8F1EB; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(201, 216, 207, 0.16);
}
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand__word b { color: #7FC8A4; }
.footer-tagline { color: #A7BDB1; font-size: 0.88rem; }
.footer-contact a { font-weight: 650; }
.footer-col__title {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8FAF9D;
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.9rem; color: #C9D8CF; }
.footer-disclaimer { padding-block: 22px; border-bottom: 1px solid rgba(201, 216, 207, 0.16); }
.footer-disclaimer__title { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: #8FAF9D; }
.footer-disclaimer p { font-size: 0.82rem; color: #A7BDB1; margin: 0; max-width: 1100px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; }
.footer-legal-note { margin: 0; font-size: 0.82rem; color: #8FAF9D; }
.footer-minor-links { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-minor-links a { font-size: 0.82rem; color: #C9D8CF; }
.footer-offer-link { border: 1px solid rgba(201, 216, 207, 0.35); border-radius: 999px; padding: 4px 12px; }

/* ---------- 21. Special-offer page ---------- */
.offer-hero { padding-block: clamp(36px, 5vw, 60px) clamp(28px, 4vw, 44px); }
.offer-cta-band {
  background: linear-gradient(120deg, var(--accent-ink), var(--accent-hover));
  color: #fff;
  padding-block: clamp(36px, 5vw, 56px);
  text-align: center;
}
.offer-cta-band h2 { color: #fff; }
.offer-cta-band p { color: #CFE7DA; max-width: 640px; margin-inline: auto; }
.offer-cta-band .btn--primary { background: #fff; color: var(--accent-ink); }
.offer-cta-band .btn--primary:hover { background: #EAF3EE; }
.offer-exit-note {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 14px 18px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-align: center;
}
.offer-exit-note a { color: var(--text-muted); text-decoration: underline; }

/* ---------- 22. 404 ---------- */
.notfound { text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.notfound__code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; color: var(--accent); letter-spacing: -0.03em; line-height: 1; }

/* ---------- 23. Scroll reveal (vanilla; content visible without JS) ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.is-revealed { animation: reveal-rise 480ms var(--ease) both; }
@keyframes reveal-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 24. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__visual, .calc-canvas-wrap { /* static fallbacks remain visible */ }
}

/* ---------- 25. Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1025px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-block: 28px 40px; }
  /* Checklist block 1 (mobile): heading first, then the form, then the rest */
  .hero__copy { order: 0; }
  .hero__form-col { order: 1; }
  .hero__flags, .hero__pills, .hero__lead-extra { order: 2; }
  .hero__visual { display: none; }
  .page-hero__inner { grid-template-columns: 1fr; }
  .company-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .compare .col-us { background: var(--accent-tint); }
}
@media (max-width: 640px) {
  .review-card__facts { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .btn { padding-inline: 16px; font-size: 0.92rem; min-height: 44px; }
  .exchange-chip { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Hero canvas hidden unless JS activates it (no CLS, no blank box) */
.hero-canvas-slot { display: none; }
.hero-canvas-slot.is-active { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Homepage composition and desktop navigation */
.market-hero { background: linear-gradient(90deg, #261335f5, #261335bb 50%, #26133566), url("../images/market-hero.webp") center / cover no-repeat; color: #fff; isolation: isolate; padding-block: clamp(3rem, 7vw, 7rem); }
.market-hero > .hero__grid[aria-hidden] { visibility: hidden; }
.market-hero .hero__inner { display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: clamp(1.55rem, 4.4vw, 4.3rem); }
.market-hero .hero__copy { min-width: 0; }
.market-hero h1 { color: #fff; font-size: clamp(2.15rem, 4.1vw, 4.35rem); line-height: 1.07; margin: 0 0 1.15rem; text-wrap: balance; }
.market-hero .market-hero__accent { color: #e7b8ff; }
.market-hero .hero__copy :is(p, .flag-label, .hero__flags-label), .market-hero .hero-aux :is(p, .flag-label) { color: #f0edf4; }
.market-hero :is(.badge-link, .hero-trust a, .hero-pill, .hero-icon-link, .flag-chip, .hero-flags .flag) { background-color: #432957; color: #fff; border-color: #ffffff45; }
.market-hero :is(.badge-link, .hero-trust a, .hero-pill, .hero-icon-link) :is(span, small) { color: #fff; }
.market-hero .hero__form-col { background: #fff; color: #18212f; border-radius: 32px; padding: clamp(1rem, 2.6vw, 2rem); min-width: 0; width: 100%; box-sizing: border-box; box-shadow: 0 20px 58px #0005; box-shadow: 0 0 0 7px #c488ff45, 0 18px 60px #18062290; }
.market-hero .hero__form-col :is(h2, .form-heading, .form-block-heading, .form-block__title) { color: #18212f; }
.market-hero .hero__form-col :is(.form-sub, .form-block-sub, .hero-note, .hero-form-note) { color: #374151; }
.market-section { padding-block: clamp(3rem, 6vw, 6rem); }
.market-section--2, .market-section--5, .market-section--8 { background-color: #f4edfb; }
.market-scenarios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.65rem); }
.market-scenarios :is(.review-card, .review) { min-width: 0; height: 100%; border-top: 3px solid #e7b8ff; }
.market-scenarios :is(.review-avatar, .review-card__avatar) { display: block; flex: 0 0 52px; width: 52px; height: 52px; padding: 0; border-radius: 50%; overflow: hidden; }
.market-scenarios .market-scenarios__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.iti .iti__selected-country { background-color: #fff; color: #18212f !important; border-radius: 5px; }
.iti .iti__selected-dial-code { color: #18212f !important; }
.iti .iti__dropdown-content, .iti .iti__country-list { background: #fff; color: #18212f; }
.iti .iti__country-name { color: #0c1118 !important; }
.iti .iti__country.iti__highlight { background-color: #e5edf7; }
@media (min-width: 1025px) {
  .site-header :is(.main-nav, .site-nav) { margin-inline: auto; }
  .site-header :is(.main-nav__list, .nav-list, .nav-groups) { column-gap: clamp(.25rem, 1vw, .85rem); }
  .site-header :is(.main-nav__trigger, .nav-trigger, .nav-group__link) { padding: .67rem .8rem; border-radius: 8px; white-space: nowrap; }
  .site-header :is(.main-nav__trigger, .nav-trigger, .nav-group__link):is(:hover, :focus-visible, [aria-expanded="true"]) { background: #f4edfb; color: #261335; }
  .site-header .market-header-cta { min-height: 44px; padding-inline: 1.25rem; border-radius: 32px; background: #432957; color: #fff; border: 1px solid #432957; box-shadow: 0 5px 0 #e7b8ff; white-space: nowrap; }
  .site-header .market-header-cta:is(:hover, :focus-visible) { background: #261335; color: #fff; box-shadow: 0 2px 0 #e7b8ff; }
}
@media (max-width: 820px) {
  .market-hero { padding-block: 2.75rem; background-image: linear-gradient(#261335a8, #261335ef), url("../images/market-hero.webp"); }
  .market-hero .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .market-hero .hero__copy { display: contents; }
  .market-hero .hero__copy > h1 { order: -3; grid-column: 1; grid-row: auto; margin: 0; }
  .market-hero .hero__form-col { order: -2; grid-column: 1; grid-row: auto; }
  .market-hero .hero-aux { grid-column: 1; grid-row: auto; }
  .market-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 570px) { .market-scenarios { grid-template-columns: minmax(0, 1fr); } }

section.market-hero h1 { font-size: clamp(2rem, 3.7vw, 4rem); }
@media (max-width: 820px) {
  section.market-hero { padding-block: 2.25rem; min-height: 0; }
  section.market-hero .hero__inner {
    grid-template-areas: none;
    grid-template-rows: none;
    row-gap: 1.125rem;
    padding-block: 0;
  }
  section.market-hero .hero__inner h1 {
    grid-area: 1 / 1 !important;
    order: -3 !important;
    font-size: clamp(2rem, 8vw, 3rem);
    margin: 0;
  }
  section.market-hero .hero__inner .hero__form-col {
    grid-area: 2 / 1 !important;
    order: -2 !important;
  }
}

.market-hero .hero__copy .hero__eyebrow { background: #432957; border-color: #c098dc; color: #fff; } .market-hero :is(.hero__eyebrow .icon, .hero__highlight) { color: #e7b8ff; }
