/* ============================================================================
   Fuerza Colombia Digital — main stylesheet
   Dark navy fintech identity, muted flag-gold accent (geo-adapted profile).
   ==========================================================================*/

/* --- Fonts (local woff2, no CDN) ------------------------------------------*/
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-500-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/space-grotesk-500-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-700-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-700-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens ---------------------------------------------------------------*/
:root {
  --bg: #0c1424;
  --surface: #111c31;
  --surface-2: #16233c;
  --border: #24365a;
  --text: #e8edf7;
  --muted: #9fb0cc;
  --accent: #d9a13b;
  --accent-hover: #e6b455;
  --accent-tint: rgba(217, 161, 59, 0.13);
  --accent-soft: #e6cf9a;
  --danger: #e06375;
  --ok: #7fce8f;
  --font-display: 'Space Grotesk', 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, Helvetica, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(5, 10, 22, 0.5), 0 2px 8px rgba(5, 10, 22, 0.35);
  --shadow-md: 0 2px 4px rgba(5, 10, 22, 0.45), 0 10px 28px rgba(5, 10, 22, 0.45);
  --shadow-lg: 0 4px 8px rgba(5, 10, 22, 0.5), 0 18px 48px rgba(5, 10, 22, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe, video, canvas { max-width: 100%; }

/* Horizontal-scroll guard: fractional (sub-pixel) layouts must never create
   page-level sideways scrolling. `clip` (not `hidden`) keeps sticky headers
   working and inner `.table-wrap` scroll containers untouched. */
html, body { overflow-x: clip; }

/* Long raw URLs (fraud-warning, contact) wrap instead of stretching blocks. */
.callout, .prose { overflow-wrap: anywhere; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; }
a { color: var(--accent-hover); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Links inside muted text blocks must be distinguishable (a11y). */
.prose a, .callout a, .table-note a, .reviews-note a, .hero-sub a, .card p a { text-decoration: underline; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-xs { width: 16px; height: 16px; }

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

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

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

.section { padding: clamp(48px, 7vw, 88px) 0; position: relative; }
.section--tint { background: var(--surface); }
.section--deep { background: #0a1120; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* --- Buttons --------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
  text-decoration: none;
  max-width: 100%; /* label must not wrap (design.md §2): shrink instead of overflow */
  min-width: 0;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: #141005;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: transparent;
  color: var(--accent-hover);
  border-color: var(--accent);
}
.btn-secondary:hover { background: var(--accent-tint); }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* --- Header ---------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 20, 36, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(10, 17, 32, 0.96); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-footer .brand-logo { height: 46px; }

.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-trigger:hover { background: var(--accent-tint); }
.nav-caret { transition: transform 0.18s ease; }
.nav-item { position: relative; }
.nav-item.is-open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 110;
}
.nav-item.is-open .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22px;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown li { margin: 0; }
.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.94rem;
}
.dropdown-link:hover, .dropdown-link:focus-visible { background: var(--accent-tint); text-decoration: none; }
.dropdown-link.is-active { color: var(--accent-hover); font-weight: 600; }
.nav-item.align-right .dropdown { left: auto; right: 0; }
.nav-item.align-right .dropdown::before { left: auto; right: 22px; }

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

.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 9px;
  cursor: pointer;
}
.icon-burger-close { display: none; }
.nav-burger[aria-expanded="true"] .icon-burger-open { display: none; }
.nav-burger[aria-expanded="true"] .icon-burger-close { display: block; }

.mobile-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 0 20px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-weight: 600;
  font-family: var(--font-display);
}
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group[open] summary .icon { transform: rotate(180deg); }
.mobile-group ul { list-style: none; margin: 0; padding: 0 0 10px; }
.mobile-group a { display: block; padding: 9px 12px; color: var(--muted); border-radius: var(--radius-sm); }
.mobile-group a:hover { background: var(--accent-tint); color: var(--text); text-decoration: none; }
.mobile-nav .btn { margin-top: 16px; }

/* --- Breadcrumbs -----------------------------------------------------------*/
.breadcrumbs { background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  padding: 12px 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb-list li + li::before { content: "/"; margin-right: 10px; color: var(--border); }
.breadcrumb-list a { color: var(--muted); }
.breadcrumb-list a:hover { color: var(--accent-hover); }
.breadcrumb-list [aria-current] { color: var(--accent-soft); }

/* --- Hero (home + inner) ---------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero--home { min-height: 640px; display: flex; align-items: stretch; }
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-visual-svg { width: 100%; height: 100%; display: block; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 16, 30, 0.9) 0%, rgba(10, 16, 30, 0.55) 46%, rgba(10, 16, 30, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 16, 30, 0.6) 0%, rgba(10, 16, 30, 0) 38%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-template-areas:
    "heading form"
    "sub form"
    "aside form";
  gap: 18px clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.hero-heading { grid-area: heading; }
.hero-sub-wrap { grid-area: sub; }
.hero-aside { grid-area: aside; }
.hero-form-wrap { grid-area: form; }
.hero-heading h1 { margin-bottom: 0; }
.hero-sub-wrap .hero-sub { margin: 0; }
.hero-copy .hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 34em; }
.hero-copy .hero-note { font-size: 0.92rem; color: var(--muted); }

.hero-flags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 6px;
  font-size: 0.92rem;
  color: var(--muted);
}
.flag {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-trust-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(17, 28, 49, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.hero-trust-link:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--accent); }
.hero-trust-link .icon { color: var(--accent); }

.hero-form-wrap {
  background: rgba(17, 28, 49, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 2.4vw, 28px);
  position: relative;
}
.hero-form-title {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--accent-soft);
  margin: 0 0 12px;
}

/* Inner-page hero (licenses/contact/careers/products...) */
.hero--inner { padding: clamp(40px, 6vw, 72px) 0; background: var(--surface); }
.hero--inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 300px at 12% 0%, rgba(217, 161, 59, 0.09), transparent 70%),
    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='%239fb0cc' stroke-opacity='0.10'%3E%3Cpath d='M0 30h120M0 60h120M0 90h120M30 0v120M60 0v120M90 0v120'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero--inner > .container { position: relative; z-index: 1; }
.hero--inner .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero--inner h1 { margin-bottom: 0.4em; }
.hero--inner .hero-sub { color: var(--muted); max-width: 36em; font-size: 1.05rem; }

/* --- Form block (formFactory wrapper) --------------------------------------*/
.form-block {
  background: rgba(17, 28, 49, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.form-block__intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.form-legal { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.form-legal a { color: var(--accent-hover); text-decoration: underline; }
.form-legal a:hover { text-decoration: none; }

/* The beacon phone widget's dial-code chip sits on the form's light input
   background; give it a readable dark text color (AA). */
.iti__selected-dial-code, .iti__country, .iti__dial-code { color: #1f2937; }

/* The calculator modal's form submit is built with white text on the gold
   accent; dark text keeps it readable (AA on #d9a13b). */
.calc-modal input[type="submit"] { color: #141005 !important; }

/* --- Cards ------------------------------------------------------------------*/
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 2.4vw, 28px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #31466f; }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--muted); margin-bottom: 0; }
.card p + p { margin-top: 0.7em; }

.card-row { display: grid; gap: 20px; }
.card-row--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-row--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card-row--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex: none;
}
.icon-badge .icon { width: 26px; height: 26px; }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.card-head .icon-badge { margin-bottom: 0; }
.card-head h3 { margin: 0; }

/* --- Steps -------------------------------------------------------------------*/
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: paso; }
.step-card { counter-increment: paso; position: relative; padding-top: 6px; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #141005;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.12rem; }
.step-card p { color: var(--muted); margin: 0; }

/* --- Tables -------------------------------------------------------------------*/
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
th, td { padding: 13px 16px; text-align: left; vertical-align: top; }
thead th {
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(22, 35, 60, 0.35); }
td { color: var(--muted); }
td strong { color: var(--text); }

.table-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

.compare-col { text-align: center !important; }
.mark-yes { color: var(--ok); font-weight: 700; }
.mark-no { color: var(--danger); font-weight: 700; }
.compare-own th { background: var(--accent-tint); color: var(--accent-soft); }

/* --- Reviews --------------------------------------------------------------------*/
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.review-name { font-weight: 600; margin: 0; }
.review-role { font-size: 0.85rem; color: var(--muted); margin: 0; }
.review-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  padding: 8px 0;
}
.review-stats strong { color: var(--accent-soft); font-weight: 600; }
.review-quote { margin: 0; font-size: 0.97rem; }
.reviews-note { font-size: 0.82rem; color: var(--muted); margin-top: 16px; }

/* --- Exchange logos block -----------------------------------------------------------*/
.exchanges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.4vw, 44px);
  padding: 18px 0 6px;
}
.exchanges img {
  height: 30px;
  width: auto;
  opacity: 0.82;
  filter: saturate(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.exchanges img:hover { opacity: 1; transform: translateY(-2px); }
.exchanges-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

/* --- Company block --------------------------------------------------------------------*/
.company-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.company-facts { list-style: none; padding: 0; margin: 18px 0 0; }
.company-facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.company-facts .icon { color: var(--accent); margin-top: 2px; }
.company-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.company-cards a { display: block; color: var(--text); }
.company-cards a:hover { text-decoration: none; }
.company-cards .card { height: 100%; }

/* --- Calculator section -----------------------------------------------------------------*/
.calc-section {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(217, 161, 59, 0.07), transparent 65%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Map ------------------------------------------------------------------------------*/
.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 860px;
  margin-inline: auto;
}
.map-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border: 0;
}

/* --- FAQ ---------------------------------------------------------------------------------*/
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--accent); transition: transform 0.18s ease; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 20px 18px; color: var(--muted); }

/* --- Prose (legal / docs) ------------------------------------------------------------------*/
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose .lead { font-size: 1.06rem; color: var(--text); }
.callout {
  background: var(--accent-tint);
  border: 1px solid rgba(217, 161, 59, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text);
  margin: 18px 0;
}
.callout--danger { background: rgba(224, 99, 117, 0.1); border-color: rgba(224, 99, 117, 0.4); }
.callout .icon { color: var(--accent); vertical-align: -4px; margin-right: 8px; }
.callout--danger .icon { color: var(--danger); }

/* --- Footer ----------------------------------------------------------------------------------*/
.site-footer {
  background: #0a1120;
  border-top: 1px solid var(--border);
  padding: clamp(40px, 6vw, 72px) 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px 24px;
  margin-bottom: 36px;
}
.footer-brand-note { color: var(--muted); font-size: 0.92rem; margin: 16px 0 14px; }
.footer-contact { display: grid; gap: 8px; }
.footer-line { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }
.footer-line .icon { color: var(--accent); }
.footer-col h3 { font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { color: var(--muted); font-size: 0.92rem; display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: var(--accent-hover); }
.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-bottom: 20px;
}
.footer-disclaimer h3 { font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft); }
.footer-disclaimer p { color: var(--muted); font-size: 0.84rem; margin: 0; }
.footer-copy { color: var(--muted); font-size: 0.82rem; text-align: center; margin: 18px 0 0; }

/* --- Special offer ---------------------------------------------------------------------------*/
.urgency-strip {
  background: linear-gradient(90deg, rgba(217, 161, 59, 0.16), rgba(200, 56, 74, 0.16));
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.urgency-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.urgency-strip li { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--accent-soft); font-weight: 500; }
.urgency-strip .icon { color: var(--accent); width: 15px; height: 15px; }

.countdown { display: inline-flex; gap: 8px; }
.countdown-seg {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-width: 62px;
  text-align: center;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}
.countdown-seg b { display: block; font-size: 1.7rem; color: var(--accent-soft); line-height: 1.1; }
.countdown-seg span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.cta-band {
  background:
    radial-gradient(720px 320px at 50% 0%, rgba(217, 161, 59, 0.16), transparent 70%),
    var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band p { max-width: 46em; margin-inline: auto; }

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-modal.is-open { display: flex; }
.exit-modal__overlay { position: absolute; inset: 0; background: rgba(5, 10, 22, 0.72); }
.exit-modal__card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  padding: 28px;
  text-align: center;
}
.exit-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.exit-modal__close:hover { background: var(--accent-tint); }
.exit-modal__card img { width: 220px; height: auto; margin: 8px auto 4px; display: block; }

/* --- 404 --------------------------------------------------------------------------------------*/
.error-page { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

/* --- Scroll reveal ------------------------------------------------------------------------------*/
.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }

/* --- Responsive ---------------------------------------------------------------------------------*/
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .nav-burger { display: inline-flex; }
}

@media (max-width: 900px) {
  .hero--home { min-height: 0; }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    /* checklist block 1: heading first, then IMMEDIATELY the form, then the
       description paragraph, then flags/trust links */
    grid-template-areas: "heading" "form" "sub" "aside";
    padding-top: 40px;
  }
  .hero--inner .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .company-grid { grid-template-columns: minmax(0, 1fr); }
  .map-frame { min-width: 0; max-width: 100%; }
  .map-frame iframe { width: 100%; }
}

@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 600px) {
  .brand-logo { height: 36px; }
  .exchanges img { height: 24px; }
  table { font-size: 0.88rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Narrow phones: inline-content buttons go full width so a long, non-wrapping
   label can never exceed its container (design.md §2 + layout discipline). */
@media (max-width: 480px) {
  .btn { width: 100%; }
}

/* Long unbreakable strings (the support email) must wrap inside the footer. */
.site-footer { overflow-wrap: anywhere; }
.footer-grid { min-width: 0; }

/* Beacon ticker row: the addon's host bleeds 40px wider than its parent by
   design; cap it to the viewport so it never creates page-level scroll. */
.tv-ticker-host { max-width: 100vw !important; }

/* --- Reduced motion ------------------------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .card:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Shared ticker, phone country selector, and homepage review layout. */
.tv-ticker-wrapper { padding-top: 0px !important; height: 58px !important; }
.iti__selected-country, .iti__selected-dial-code { color: rgb(24, 33, 47) !important; }
.review-photo, .review__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
@media (min-width: 1024px) {
  .reviews-grid, .reviews, .review-grid, .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
.hero-heading h1 .accent { color: var(--accent); }

@media (min-width: 1024px) {
  .hero--home .hero-heading h1 { font-size: clamp(2rem, 3.1vw, 2.6rem); }
  .hero--home .hero-sub { font-size: 1rem; }
}
