/* ==========================================================================
   Sereno Valimazgo — Río de la Plata riverside fintech (base profile)
   Light, cool, airy: pale river-blue field, petrol accent, pill buttons,
   hairline rules with dot accents, soft 12px radii, mono numerals in tables.
   ========================================================================== */

:root {
  --bg: #f4f7f9;
  --surface: #ffffff;
  --surface-2: #e8eff3;
  --border: #d5e0e6;
  --text: #17242b;
  --text-muted: #5c707a;
  --accent: #14608a;
  --accent-hover: #0f4f74;
  --accent-tint: rgba(20, 96, 138, 0.10);
  --accent-ink: #10486a;
  --shadow-sm: 0 1px 2px rgba(23, 36, 43, 0.05), 0 2px 7px rgba(23, 36, 43, 0.05);
  --shadow-md: 0 2px 5px rgba(23, 36, 43, 0.06), 0 12px 28px rgba(23, 36, 43, 0.09);
  --shadow-lg: 0 8px 16px rgba(23, 36, 43, 0.08), 0 30px 64px rgba(23, 36, 43, 0.15);
  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", ui-monospace, "SF Mono", monospace;
  --header-h: 72px;
}

/* ---------- base ---------- */

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

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

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

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

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.16; margin: 0 0 0.6em; font-weight: 650; letter-spacing: -0.022em; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.13rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li::marker { color: var(--accent); }
strong { color: var(--text); font-weight: 680; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }

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

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

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

.section { padding: clamp(56px, 7.5vw, 100px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head p.lead { color: var(--text-muted); font-size: 1.06rem; }

/* rule + dot accent above section headings */
.section-head::before {
  content: ""; display: block; width: 46px; height: 1px;
  background: var(--accent); opacity: 0.55; margin-bottom: 18px;
  box-shadow: 54px 0 0 -0.5px var(--border), 66px 0 0 0.5px var(--accent);
}

/* section bands: pale-blue plates */
.band-tint {
  background:
    radial-gradient(560px 240px at 8% 0%, rgba(20, 96, 138, 0.06), transparent 70%),
    linear-gradient(180deg, var(--surface-2), rgba(232, 239, 243, 0));
}
.band-grid {
  background-image:
    radial-gradient(rgba(20, 96, 138, 0.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.band-mesh {
  background:
    radial-gradient(760px 320px at 88% 8%, var(--accent-tint), transparent 62%),
    radial-gradient(520px 280px at 4% 92%, rgba(20, 96, 138, 0.07), transparent 68%);
}

/* ---------- buttons: pill ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 640; font-size: 0.97rem;
  min-height: 48px; padding: 11px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--accent-ink); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-tint); color: var(--accent-ink); }
.btn-sm { min-height: 38px; padding: 7px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- header: light hairline that turns accent on scroll ---------- */

.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(244, 247, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.97); border-bottom-color: var(--accent); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 34px; width: auto; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }

.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; color: var(--text);
  font: inherit; font-size: 0.94rem; font-weight: 600;
  padding: 9px 13px; border-radius: 999px;
  transition: background 0.16s ease, color 0.16s ease;
}
.nav-trigger:hover { color: var(--accent); background: var(--accent-tint); }
.nav-caret { width: 14px; height: 14px; transition: transform 0.16s ease; }
.nav-item.open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 0px); left: 0; z-index: 130;
  min-width: 270px; max-width: 340px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(5px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 24px;
  width: 10px; height: 10px; background: var(--surface);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 24px; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-list a {
  display: block; padding: 10px 13px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.93rem;
}
.dropdown-list a::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0; margin-right: 9px; vertical-align: 2px; transition: opacity 0.14s ease; }
.dropdown-list a:hover, .dropdown-list a:focus-visible { background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; }
.dropdown-list a:hover::before, .dropdown-list a:focus-visible::before { opacity: 1; }

.header-cta { display: flex; align-items: center; gap: 12px; }

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

.mobile-menu { border-top: 1px solid var(--border); background: var(--surface); padding: 14px 0 22px; }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group:last-of-type { border-bottom: 0; }
.mobile-group-trigger {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  background: none; border: 0; color: var(--text); font: inherit; font-weight: 650;
  padding: 13px 2px; cursor: pointer;
}
.mobile-group-trigger .icon { width: 16px; height: 16px; transition: transform 0.16s ease; }
.mobile-group-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-group-panel ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-group-panel a { display: block; padding: 9px 10px; color: var(--text-muted); border-radius: var(--radius-sm); font-size: 0.94rem; }
.mobile-group-panel a:hover { background: var(--accent-tint); color: var(--accent-ink); text-decoration: none; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- hero: riverside calm, split layout ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: clamp(54px, 7vw, 96px) 0 clamp(58px, 7vw, 104px);
  background:
    radial-gradient(900px 420px at 10% -4%, var(--accent-tint), transparent 60%),
    radial-gradient(720px 400px at 96% 88%, rgba(20, 96, 138, 0.07), transparent 66%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,247,249,0.28), rgba(244,247,249,0) 42%); }
.hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 4.5vw, 60px); align-items: center; }

.hero-copy h1 { max-width: 18ch; }
.hero-copy .hero-sub { color: var(--text-muted); font-size: 1.07rem; max-width: 50ch; margin-bottom: 1.35em; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.25em; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 16px; font-size: 0.86rem; font-weight: 600; color: var(--text);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.hero-badge:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
.hero-badge .icon { width: 16px; height: 16px; color: var(--accent); }

.hero-flags { margin-bottom: 1.25em; }
.flags-caption { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin: 0 0 9px; }
.flags-row { display: flex; align-items: center; gap: 10px; }
.flag { border-radius: 3px; box-shadow: var(--shadow-sm); height: auto; }
.flag-inline { display: inline-block; vertical-align: -2px; margin-left: 6px; border-radius: 2px; }

.hero-note { max-width: 46ch; }
.hero-note p { font-size: 0.89rem; color: var(--text-muted); border-left: 2px solid var(--accent); padding-left: 14px; margin: 0; }

.form-heading { font-family: var(--font-display); font-weight: 650; font-size: 1.06rem; color: var(--text); margin: 0 0 10px; }
.form-heading::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: 1px; }

.hero-form-wrap { position: relative; }

/* exchange chips */
.exchange-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.exchange-chip {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 10px 20px;
  font-family: var(--font-display); font-weight: 640; font-size: 0.92rem;
  color: var(--text-muted);
  transition: border-color 0.16s ease, color 0.16s ease;
}
.exchange-chip:hover { border-color: var(--accent); color: var(--text); }
.exchange-chip svg { width: 18px; height: 18px; color: var(--accent); }

/* trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.trust-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 13px 17px; color: var(--text); font-size: 0.92rem; font-weight: 550;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.trust-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
a.trust-item:hover { color: var(--text); }
.trust-item .icon { width: 20px; height: 20px; color: var(--accent); flex: none; }

/* ---------- cards: hairline + hover accent border + lift ---------- */

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

.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 26px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
a.card:hover { text-decoration: none; }
.card h3 { margin-bottom: 0.42em; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.96rem; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--accent-tint); color: var(--accent);
  margin-bottom: 15px; flex: none;
}
.icon-badge .icon { width: 23px; height: 23px; }
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.card-head .icon-badge { margin-bottom: 0; width: 42px; height: 42px; }
.card-head .icon-badge .icon { width: 20px; height: 20px; }

/* numbered steps */
.steps-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step-card { padding-top: 8px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-mono);
  font-weight: 700; font-size: 0.92rem;
  margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.step-num::after { content: ""; display: none; }
.step-card h3 { font-size: 1.04rem; }

/* step connector dot on wide screens */
.steps-grid .step-card + .step-card::before {
  content: ""; position: absolute; top: 24px; left: -14px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border);
}

/* ---------- tables: mono numerals ---------- */

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
thead th {
  background: var(--surface-2); text-align: left; font-family: var(--font-display);
  font-size: 0.85rem; letter-spacing: 0.04em; color: var(--text);
  padding: 13px 16px; border-bottom: 1px solid var(--border);
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border); color: var(--text-muted); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(232, 239, 243, 0.55); }
td.num, th.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
td .yes { color: #157f56; }
td .no { color: #b3453e; }
td .yes .icon, td .no .icon { width: 18px; height: 18px; vertical-align: -3px; }

/* ---------- reviews ---------- */

.review-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-head { display: flex; align-items: center; gap: 13px; }
.review-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border); flex: none; }
.review-avatar-fallback { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border); background: var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.review-avatar-fallback .icon { width: 26px; height: 26px; }
.review-name { font-weight: 680; color: var(--text); }
.review-meta { font-size: 0.85rem; color: var(--text-muted); }
.review-card blockquote { margin: 0; color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.review-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 18px; }

/* ---------- calculator ---------- */

.calc-section {
  background:
    radial-gradient(640px 280px at 92% 0%, rgba(20, 96, 138, 0.06), transparent 70%),
    var(--surface-2);
  border-block: 1px solid var(--border);
}
.calc-section .section-head { max-width: 640px; }

/* ---------- faq ---------- */

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color 0.16s ease; }
.faq-item.open { border-color: var(--accent); }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; color: var(--text); font: inherit; font-weight: 620;
  text-align: left; padding: 17px 20px; cursor: pointer;
}
.faq-q .icon { width: 18px; height: 18px; color: var(--accent); flex: none; transition: transform 0.18s ease; }
.faq-item.open .faq-q .icon { transform: rotate(180deg); }
.faq-a { padding: 0 20px; color: var(--text-muted); display: none; }
.faq-item.open .faq-a { display: block; padding-bottom: 18px; }

/* ---------- forms ---------- */

.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 32px);
}
.form-block__intro { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; }
.form-legal { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- inner page hero ---------- */

.page-hero { padding: clamp(44px, 6vw, 80px) 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.page-hero .hero-sub { color: var(--text-muted); font-size: 1.04rem; max-width: 54ch; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 11px 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-ink); }

/* ---------- prose ---------- */

.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; }
.prose h2::before { content: ""; display: block; width: 38px; height: 1px; background: var(--accent); opacity: 0.55; margin-bottom: 14px; }
.prose h3 { margin-top: 1.55em; font-size: 1.04rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul li::marker { color: var(--accent); }

.callout {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px 24px; margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}
.callout p { margin: 0; color: var(--text-muted); }
.callout p + p { margin-top: 0.7em; }

/* ---------- map ---------- */

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

/* ---------- footer: deep petrol ---------- */

.site-footer { background: #0e2634; color: #cfdfe8; padding: clamp(46px, 6vw, 76px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-logo { height: 30px; width: auto; margin-bottom: 14px; }
.footer-note { color: #9db8c6; font-size: 0.9rem; }
.footer-contact { font-size: 0.88rem; color: #9db8c6; line-height: 2; }
.footer-contact .icon { width: 15px; height: 15px; color: #6fb3d6; vertical-align: -2px; margin-right: 4px; }
.footer-col h3 { font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; color: #e4eff5; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: #9db8c6; font-size: 0.88rem; }
.footer-col a:hover { color: #fff; }
.footer-disclaimer { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); color: #9db8c6; font-size: 0.82rem; max-width: 900px; }
.footer-legal { color: #7fa0b2; font-size: 0.78rem; }

/* ---------- special offer ---------- */

.so-strip { background: var(--accent); color: #fff; font-size: 0.85rem; font-weight: 600; }
.so-strip .container { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding-block: 9px; }
.so-strip span { display: inline-flex; align-items: center; gap: 7px; }
.so-strip span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.85); }
.so-strip .icon { width: 15px; height: 15px; }

.so-hero { position: relative; overflow: hidden; padding: clamp(42px, 6vw, 70px) 0; }
.so-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 4vw, 52px); align-items: center; position: relative; z-index: 2; }
.so-timer-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.so-timer-label { font-size: 0.85rem; color: var(--text-muted); }
.so-timer { display: inline-flex; gap: 6px; font-family: var(--font-mono); }
.so-timer span {
  display: inline-flex; flex-direction: column; align-items: center; gap: 3px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 10px; color: var(--text); font-size: 1.35rem; font-weight: 700; min-width: 54px;
}
.so-timer small { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.so-modal .so-timer { margin: 16px 0 20px; }
.so-modal .so-timer b { font-size: 1.5rem; line-height: 1; font-weight: 700; color: var(--text); }
.so-eyebrow { margin-bottom: 14px; }

.so-cta-band {
  background: linear-gradient(120deg, var(--accent), #0d3c58);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 44px); text-align: center; color: #fff;
}
.so-cta-band p { color: #cfe4f0; font-size: 1.02rem; max-width: 60ch; margin-inline: auto; }
.so-cta-band .btn { background: #fff; color: var(--accent-ink); margin-top: 6px; }
.so-cta-band .btn:hover { background: #e8eff3; transform: translateY(-1px); }

.so-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(14, 38, 52, 0.55); }
.so-modal__card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-width: 460px; width: 100%; padding: 30px 28px; text-align: center;
}
.so-modal__close {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 50%; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.so-modal__close:hover { background: var(--accent); color: #fff; }
.so-modal__card h2 { font-size: 1.5rem; }
.so-modal__card img { width: 130px; height: auto; margin: 4px auto 10px; display: block; }
.so-modal__card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- utilities ---------- */

.text-center { text-align: center; }
.mt-2 { margin-top: 1.4em; }
.muted { color: var(--text-muted); }

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

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 14px; }
  .header-cta .btn { margin-left: auto; }
  .hero-inner, .page-hero .page-hero-grid, .so-hero-grid { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 560px; }
  .steps-grid .step-card + .step-card::before { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .card { padding: 20px 17px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .so-timer span { min-width: 48px; font-size: 1.15rem; padding: 6px 8px; }
  .section-head::before { box-shadow: 50px 0 0 -0.5px var(--border), 62px 0 0 0.5px var(--accent); }
}

/* ---------- reduced motion ---------- */

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

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