/* =========================================================================
   Mynqus — mynqus.org (Ecuador) · dark fintech theme, Ecuador-yellow accent
   geo-adapted profile: Quito skyline motif, flag-derived yellow + navy
   ========================================================================= */

:root {
  --bg: #0A1426;
  --surface: #101E36;
  --surface-2: #16294B;
  --border: #233A63;
  --border-soft: #1B2E52;
  --text: #EDF2FB;
  --text-muted: #A3B4D4;
  --accent: #F5C518;
  --accent-hover: #FFD633;
  --accent-tint: rgba(245, 197, 24, 0.12);
  --accent-line: rgba(245, 197, 24, 0.38);
  --accent-ink: #14202F;
  --danger: #E5484D;
  --ok: #46C88B;

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

  --shadow-sm: 0 1px 2px rgba(4, 10, 24, 0.5), 0 2px 6px rgba(4, 10, 24, 0.35);
  --shadow-md: 0 1px 2px rgba(4, 10, 24, 0.45), 0 10px 28px rgba(4, 10, 24, 0.5);
  --shadow-lg: 0 2px 4px rgba(4, 10, 24, 0.4), 0 24px 56px rgba(4, 10, 24, 0.6);

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: "Segoe UI", ui-sans-serif, system-ui, sans-serif;

  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -8%, rgba(31, 58, 110, 0.55), transparent 62%),
    radial-gradient(900px 480px at -10% 12%, rgba(22, 41, 75, 0.7), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
strong { color: var(--text); font-weight: 700; }

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

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

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

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; min-height: 48px;
  border-radius: var(--radius); border: 1px solid transparent;
  font: 600 1rem var(--font); line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); 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-line); }
.btn--ghost:hover { background: var(--accent-tint); border-color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: 0.93rem; }
.btn--block { width: 100%; }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(10, 20, 38, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { background: rgba(9, 17, 32, 0.97); box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__word { font-size: 1.28rem; font-weight: 800; letter-spacing: 0.01em; }
.brand__word::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 3px; border-radius: 50%; background: var(--accent); }

.main-nav { display: none; }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__item { position: relative; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: var(--radius-sm); border: 0; background: none;
  color: var(--text-muted); font: 600 0.93rem var(--font); cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}
.main-nav__link:hover, .main-nav__link:focus-visible { color: var(--text); background: rgba(34, 55, 99, 0.45); }
.main-nav__link.is-active { color: var(--accent); }
.main-nav__caret { transition: transform 0.16s ease; }
.has-dropdown.open .main-nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 130;
  min-width: 250px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 22px; width: 10px; height: 10px;
  background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.has-dropdown.align-right > .dropdown { left: auto; right: 0; }
.has-dropdown.align-right > .dropdown::before { left: auto; right: 22px; }
.dropdown__list { list-style: none; margin: 0; padding: 0; max-height: 70vh; overflow-y: auto; }
.dropdown__link {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--text); font-size: 0.93rem;
  transition: background 0.14s ease, color 0.14s ease;
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); color: var(--accent); }
.dropdown__link.is-active { color: var(--accent); }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-header__actions .btn { display: none; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.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 { border-top: 1px solid var(--border-soft); background: var(--bg); }
.mobile-menu__list { list-style: none; margin: 0; padding: 12px clamp(16px, 4vw, 40px) 24px; }
.mobile-menu__list > li + li { margin-top: 4px; }
.mobile-menu__list a { display: block; padding: 11px 6px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border-soft); }
.mobile-menu__group-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 13px 6px; background: none; border: 0; border-bottom: 1px solid var(--border-soft);
  color: var(--text); font: 700 1rem var(--font); cursor: pointer;
}
.mobile-menu__sublist { list-style: none; margin: 0; padding: 4px 0 8px 10px; }
.mobile-menu__sublist a { font-weight: 500; color: var(--text-muted); border-bottom: 0; padding: 8px 6px; }
.mobile-menu__cta { margin-top: 16px; }

/* -------------------------------------------------------------- breadcrumbs */
.breadcrumbs { padding: 14px 0 2px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.breadcrumbs__list li + li::before { content: "/"; margin-right: 6px; color: var(--text-muted); }
.breadcrumbs__list a { color: var(--text-muted); }
.breadcrumbs__list a:hover { color: var(--accent); }
.breadcrumbs__list [aria-current] { color: var(--accent); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.hero__bg { position: absolute; inset: -60px -20px 0; z-index: 0; pointer-events: none; will-change: transform; }
.hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__static { position: absolute; inset: 0; z-index: 0; pointer-events: none; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__grid {
  position: relative; z-index: 1;
  display: grid; gap: 20px 44px; padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 80px);
  align-items: center;
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-areas: "intro form" "rest form";
}
.hero__intro { grid-area: intro; }
.hero__rest { grid-area: rest; }
.hero__form-col { grid-area: form; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 14px; margin-bottom: 18px;
  border: 1px solid var(--accent-line); border-radius: 999px;
  background: var(--accent-tint); color: var(--accent);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.hero__title { margin-bottom: 0.45em; }
.hero__lead { font-size: 1.08rem; color: var(--text-muted); max-width: 56ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 18px 0 6px; font-size: 0.92rem; color: var(--text-muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }

.hero__flags { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 18px 0 4px; }
.hero__flags-label { font-size: 0.92rem; color: var(--text-muted); }
.hero__flag {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.85rem; color: var(--text); box-shadow: var(--shadow-sm);
}
.hero__flag img { width: 26px; height: 18px; border-radius: 3px; display: block; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.trust-chip:hover { transform: translateY(-2px); border-color: var(--accent-line); color: var(--text); }
.trust-chip .icon { color: var(--accent); flex: none; }

/* ------------------------------------------------------------------ forms */
.form-block {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, rgba(22, 41, 75, 0.92), rgba(16, 30, 54, 0.96));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-lg);
}
.form-block__heading { font-size: 1.15rem; margin-bottom: 0.5em; }
.form-block__intro { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1em; }
.form-block__manager { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; background: var(--accent-tint); border-radius: var(--radius-sm); color: var(--text); font-size: 0.88rem; }
.form-block__manager .icon { color: var(--accent); flex: none; margin-top: 2px; }
.form-legal { margin: 12px 0 0; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.form-legal a { text-decoration: underline; }

/* --------------------------------------------------------------- sections */
.section { padding: clamp(44px, 6vw, 84px) 0; position: relative; }
.section--tint {
  background:
    linear-gradient(180deg, rgba(22, 41, 75, 0.35), rgba(16, 30, 54, 0.55)),
    var(--surface);
  border-block: 1px solid var(--border-soft);
}
.section--grid-bg {
  background-image:
    linear-gradient(rgba(35, 58, 99, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 58, 99, 0.22) 1px, transparent 1px);
  background-size: 44px 44px;
}
.section__head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.section__head p { color: var(--text-muted); font-size: 1.03rem; }
.section__head--split { max-width: none; display: grid; gap: 20px; }

/* ------------------------------------------------------------------ cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card-grid--duo { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
  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: var(--accent-line); }
.card h3 { display: flex; align-items: center; gap: 11px; margin-bottom: 0.5em; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }
.icon-badge {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent);
  border: 1px solid var(--accent-line);
}
.icon-badge--bare { border: 0; background: none; width: auto; height: auto; }

/* ------------------------------------------------------------------ steps */
.steps { counter-reset: paso; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 12px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 0.95rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.step p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ----------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
thead th {
  text-align: left; padding: 13px 16px; background: var(--surface-2);
  color: var(--text); font-weight: 700; white-space: nowrap;
}
tbody td { padding: 12px 16px; border-top: 1px solid var(--border-soft); color: var(--text-muted); vertical-align: top; }
tbody tr:nth-child(even) td { background: rgba(22, 41, 75, 0.3); }
tbody td:first-child { color: var(--text); font-weight: 600; }
.table-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }

.tick { color: var(--ok); font-weight: 800; }
.cross { color: var(--danger); font-weight: 800; }
.compare-col { color: var(--accent); font-weight: 700; }

/* --------------------------------------------------------- exchange chips */
.exchange-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchange-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 158px; height: 56px; padding: 8px;
  background: #ffffff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.exchange-chip--dark { background: #0f172a; }
.exchange-chip img { height: 28px; width: auto; max-width: 100%; display: block; }

/* ---------------------------------------------------------------- reviews */
.reviews-note {
  margin: 18px 0 0; padding: 12px 16px; border-left: 3px solid var(--accent);
  background: var(--accent-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text); font-size: 0.88rem;
}
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review__avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--accent-line); color: var(--accent);
}
.review__name { font-weight: 700; }
.review__role { color: var(--text-muted); font-size: 0.84rem; }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0; font-size: 0.86rem; color: var(--text-muted); }
.review__stats b { color: var(--accent); font-weight: 700; }
.review p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ------------------------------------------------------------- FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item__q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; background: none; border: 0; cursor: pointer;
  color: var(--text); font: 600 1rem var(--font); text-align: left;
}
.faq-item__q .icon { flex: none; color: var(--accent); transition: transform 0.18s ease; }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { display: none; padding: 0 18px 16px; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.is-open .faq-item__a { display: block; }

/* ------------------------------------------------------------ calculator */
.calc-section .calc-widget { margin-inline: auto; }

/* ------------------------------------------------------------------ misc */
.inline-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.note-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.note-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); }
.note-list .icon { color: var(--accent); flex: none; margin-top: 3px; }

.two-col { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
.company-facts { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.company-facts > div { display: grid; grid-template-columns: minmax(150px, 240px) 1fr; gap: 14px; padding: 14px 18px; background: var(--surface); border-top: 1px solid var(--border-soft); }
.company-facts > div:first-child { border-top: 0; }
.company-facts dt, .company-facts .k { color: var(--text-muted); font-size: 0.88rem; padding-top: 2px; }
.company-facts dd, .company-facts .v { margin: 0; font-weight: 600; }

.map-embed {
  position: relative; width: 100%; max-width: 860px; margin-inline: auto;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; min-height: 320px; background: var(--surface);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.article-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.article-card:hover { border-color: var(--accent-line); }
.article-card .article-meta { display: flex; gap: 10px; align-items: center; color: var(--text-muted); font-size: 0.84rem; margin-bottom: 8px; }
.article-card .article-meta .icon { color: var(--accent); }

.vacancy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 16px; transition: border-color 0.16s ease; }
.vacancy:hover { border-color: var(--accent-line); }
.vacancy__head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: baseline; justify-content: space-between; }
.vacancy__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.vacancy__tag { padding: 4px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.78rem; font-weight: 600; }

.divider { border: 0; border-top: 1px solid var(--border-soft); margin: clamp(30px, 5vw, 54px) 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--border-soft); background: #081120; padding: clamp(40px, 6vw, 72px) 0 28px; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px 22px; }
.site-footer__logo { margin-bottom: 12px; }
.site-footer__tagline { color: var(--text-muted); font-size: 0.9rem; }
.site-footer__support { color: var(--text-muted); font-size: 0.88rem; }
.site-footer__col h3 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col a { display: inline-block; padding: 6px 0; color: var(--text-muted); font-size: 0.9rem; min-height: 24px; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__disclaimer { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.site-footer__disclaimer h3 { font-size: 0.95rem; }
.site-footer__disclaimer p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.7; margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 22px; color: var(--text-muted); font-size: 0.78rem; }

/* -------------------------------------------------- page-hero (inner pages) */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border-soft); }
.page-hero .hero__static { opacity: 1; }
.page-hero__grid { position: relative; z-index: 1; display: grid; gap: 34px; align-items: center; padding: clamp(30px, 5vw, 64px) 0; }
.page-hero p.lead { color: var(--text-muted); font-size: 1.04rem; max-width: 58ch; }

.doc-content { padding: clamp(10px, 2vw, 24px) 0 clamp(44px, 6vw, 80px); }
.doc-content h2 { margin-top: 1.8em; }
.doc-content h2:first-child { margin-top: 0; }
.doc-content p { color: var(--text-muted); max-width: 78ch; }
.doc-content li { color: var(--text-muted); margin-bottom: 0.4em; }

/* --------------------------------------------------------- special offer */
.urgency-strip { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.85rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-block: 9px; justify-content: center; }
.urgency-strip span { display: inline-flex; align-items: center; gap: 7px; }

.offer-hero { background:
  radial-gradient(900px 420px at 80% -10%, rgba(245, 197, 24, 0.14), transparent 60%),
  linear-gradient(180deg, rgba(22, 41, 75, 0.5), rgba(10, 20, 38, 0)), var(--bg); }
.offer-reinforce { margin: 14px 0 0; font-size: 0.95rem; color: var(--text); }

.countdown { display: inline-flex; gap: 8px; margin: 16px 0; }
.countdown__cell {
  min-width: 74px; padding: 10px 8px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--accent-line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.countdown__num { display: block; font: 800 1.9rem/1.1 var(--font-num); color: var(--accent); font-variant-numeric: tabular-nums; }
.countdown__label { display: block; font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted); }

.offer-modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.offer-modal.is-open { display: flex; }
.offer-modal__overlay { position: absolute; inset: 0; background: rgba(4, 9, 18, 0.78); backdrop-filter: blur(3px); }
.offer-modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--accent-line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px 26px 26px; text-align: center;
}
.offer-modal__close {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 50%;
  color: var(--text); font-size: 1.2rem; cursor: pointer;
}
.offer-modal__close:hover { border-color: var(--accent-line); color: var(--accent); }
.offer-modal__title { font-size: 1.5rem; margin-bottom: 0.4em; }
.offer-modal__text { color: var(--text-muted); font-size: 0.95rem; }
.offer-modal .countdown { justify-content: center; }
.offer-modal__art { margin: 0 auto 6px; width: 150px; }

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

/* ------------------------------------------------------------- decorative */
.tv-ticker-wrapper { overflow: hidden; max-width: 100vw; } /* tape scrolls inside its own row */
.two-col > *, .card-grid > *, .steps > *, .review-grid > * { min-width: 0; }
.calc-section .calc-widget { max-width: 100%; }
.motif-band { position: relative; }
.motif-band__svg { position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none; }
.motif-band > .container { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- 404 */
.error-hero { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.error-hero .code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--accent); line-height: 1; }

/* ------------------------------------------------------------ responsive */
@media (min-width: 900px) {
  .main-nav { display: block; }
  .site-header__actions .btn { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .page-hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--form { grid-template-columns: 1.15fr 0.85fr; }
}
@media (max-width: 899px) {
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__grid { grid-template-areas: "intro" "form" "rest"; gap: 26px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .countdown__cell { min-width: 64px; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .exchange-chip { width: 132px; height: 50px; }
  .exchange-chip img { height: 24px; }
  .two-col { grid-template-columns: 1fr; }
  table { font-size: 0.86rem; }
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .card:hover, .step:hover, .review:hover, .btn--primary:hover, .btn--ghost:hover, .trust-chip:hover { transform: none; }
}

.tv-ticker-wrapper {
  padding-top: 0px !important;
  height: 58px !important;
}

.iti__selected-country, .iti__selected-dial-code {
  color: rgb(24, 33, 47) !important;
}

.iti__country-name {
  color: #000 !important;
}

.hero--market {
  background: linear-gradient(90deg, rgba(11, 19, 40, 0.90), rgba(11, 19, 40, 0.40) 62%, rgba(11, 19, 40, 0.18)),
    linear-gradient(0deg, rgba(11, 19, 40, 0.80), transparent 52%),
    url("../images/hero-market.webp") 63% center / cover no-repeat, rgb(11, 19, 40);
}

.hero__static, .hero__bg { opacity: 0.22; }

.review-grid { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 720px) {
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

img.review__avatar { object-fit: cover; }

/* Homepage hero */
.hero-title__accent { color: var(--accent); }

@media (max-width: 899px) {
  .hero .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    reading-flow: flex-visual;
  }
  .hero .hero__grid > .hero__intro { display: contents; }
  .hero .hero__grid > .hero__intro > h1 { order: -2; }
  .hero .hero__grid > .hero__form-col { order: -1; min-width: 0; }
}

/* Header account action */
a.header-account-cta {
  gap: 10px;
  min-height: 44px;
  padding: 5px 7px 5px 15px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: linear-gradient(105deg, #ffe067, #f5c518);
  color: #14202f;
  font-weight: 750;
  box-shadow: 0 4px 14px #f5c51842;
}
a.header-account-cta:hover, a.header-account-cta:focus-visible {
  background: linear-gradient(105deg, #ffe067, #f5c518);
  color: #14202f;
  box-shadow: 0 5px 18px #f5c51842;
  filter: brightness(1.08);
  text-decoration: none;
}
a.header-account-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.header-account-cta__icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #14202f1c;
}
