/* ==========================================================================
   Renta Fandkore - one stylesheet, flag palette (blue / red / white), light theme.
   Tokens -> base -> layout -> header -> hero -> sections -> components -> pages
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f7fc;
  --surface: #fdfeff;
  --surface-2: #eaf0fa;
  --border: #d5dff0;
  --text: #0e1b33;
  --text-muted: #3d4a66;
  --accent: #1d4e9e;
  --accent-hover: #163f82;
  --accent-tint: #e3ecfa;
  --red: #c8283c;
  --red-hover: #a81f31;
  --red-tint: #fbe9ec;
  --teal: #0e8f8a;
  --ochre: #b7791f;
  --slate: #5b6b8c;
  --ok: #17784a;
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 40, 90, .08);
  --shadow-md: 0 1px 2px rgba(14, 40, 90, .06), 0 10px 28px rgba(14, 40, 90, .10);
  --shadow-lg: 0 2px 6px rgba(14, 40, 90, .08), 0 22px 56px rgba(14, 40, 90, .18);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --header-h: 68px;
  --mesh: 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='%231d4e9e' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M0 60h120M60 0v120'/%3E%3Ccircle cx='60' cy='60' r='34'/%3E%3C/g%3E%3Ccircle cx='60' cy='60' r='3' fill='%23c8283c' fill-opacity='.35'/%3E%3C/svg%3E");
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%231d4e9e' fill-opacity='.18'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(1.95rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.25vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.005em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: var(--radius-s); z-index: 200; transition: top .15s var(--ease); }
.skip-link:focus { top: 12px; color: #fff; }

/* ---- layout primitives -------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.narrow { max-width: 820px; }
.center { text-align: center; margin-inline: auto; }
.section { position: relative; padding: clamp(44px, 6vw, 84px) 0; }
.section--tint { background: var(--surface-2); }
.section--mesh { background-color: var(--bg); background-image: var(--mesh); }
.section--dots { background-color: var(--surface); background-image: var(--dots); }
.section--band { background: linear-gradient(180deg, var(--accent-tint), var(--bg)); }
.section__head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head.center { text-align: center; }
.lead { font-size: 1.08rem; color: var(--text-muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.muted { color: var(--text-muted); }
.small { font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--stagger > :nth-child(even) { transform: translateY(16px); }
.split { display: grid; gap: clamp(22px, 4vw, 56px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
@media (max-width: 860px) {
  .split, .split--wide-left, .split--wide-right { grid-template-columns: 1fr; }
  .grid--stagger > :nth-child(even) { transform: none; }
}

/* ---- buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.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); box-shadow: var(--shadow-sm); }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--red:hover { background: var(--red-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn--ghost:active { background: var(--border); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }

/* ---- icons --------------------------------------------------------------- */
.icon { width: 24px; height: 24px; flex: none; }
.icon .a { stroke: var(--red); }
.icon-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); flex: none; }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--red { background: var(--red-tint); color: var(--red); }
.icon-badge--red .icon .a { stroke: var(--accent); }
.icon-badge--dark { background: var(--text); color: #fff; }
.icon-badge--dark .icon .a { stroke: #ff8a99; }

/* ---- logo ---------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { flex: none; }
.logo-word { display: inline-flex; flex-direction: column; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.logo-word__a { font-size: 1.08rem; color: var(--accent); }
.logo-word__b { font-size: 1.08rem; color: var(--text); }
.logo-word__b::after { content: ""; display: block; height: 3px; width: 100%; margin-top: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) 50%, var(--red) 50%); }

/* ---- header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 254, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header.is-scrolled { background: rgba(253, 254, 255, .98); box-shadow: var(--shadow-lg); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.site-header__logo { text-decoration: none; display: inline-flex; }
.nav { display: flex; align-items: center; gap: 12px; }
.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: 4px; padding: 10px 12px; border-radius: 10px;
  background: none; border: 0; font: inherit; font-weight: 700; font-size: .95rem; color: var(--text); cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav__trigger:hover, .nav__trigger[aria-expanded="true"] { background: var(--accent-tint); color: var(--accent); }
.nav__caret { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.nav__trigger[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 110;
  min-width: 250px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
}
.submenu::before { content: ""; position: absolute; top: -6px; left: 22px; width: 12px; height: 12px; background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.submenu.is-right { left: auto; right: 0; }
.submenu.is-right::before { left: auto; right: 22px; }
.submenu--wide { min-width: 480px; }
.submenu--wide ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 6px; }
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .94rem; transition: background-color .12s var(--ease), color .12s var(--ease); }
.submenu a:hover, .submenu a:focus-visible { background: var(--accent-tint); color: var(--accent); }
.has-sub.is-open > .submenu, .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > .nav__trigger { background: var(--accent-tint); color: var(--accent); }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; padding: 0; }
.burger .icon { width: 24px; height: 24px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline-flex; }

@media (max-width: 980px) {
  .burger { display: inline-grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px clamp(16px, 4vw, 40px) 20px; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { display: flex; animation: navIn .16s var(--ease); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__trigger { width: 100%; justify-content: space-between; padding: 14px 12px; background: var(--bg); }
  .submenu, .submenu--wide { position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 6px; display: none; }
  .submenu::before { display: none; }
  .submenu--wide ul { grid-template-columns: 1fr; }
  .has-sub.is-open > .submenu { display: block; }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; }
  .has-sub:not(.is-open):hover > .submenu, .has-sub:not(.is-open):focus-within > .submenu { display: none; }
  .nav__cta { width: 100%; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ticker row: full-bleed background, content sits in the page rhythm */
.tv-ticker-wrapper { border-bottom: 1px solid var(--border); background: var(--surface) !important; }

/* ---- breadcrumbs --------------------------------------------------------- */
.crumbs { padding: 14px 0 0; font-size: .86rem; color: var(--text-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--text-muted); }
.crumbs [aria-current] { color: var(--text); font-weight: 700; }

/* ---- hero (home) --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero__bg { position: absolute; inset: -14% 0 0 0; z-index: -2; will-change: transform; }
.hero__bg svg { width: 100%; height: 100%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(244,247,252,.94) 0%, rgba(244,247,252,.80) 38%, rgba(244,247,252,.18) 72%, rgba(244,247,252,0) 100%); pointer-events: none; }
.hero__grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  grid-template-areas: "title form" "copy form";
  column-gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(32px, 4vw, 56px) clamp(90px, 9vw, 130px);
}
.hero__title { grid-area: title; }
.hero__form { grid-area: form; }
.hero__copy { grid-area: copy; }
.hero__title h1 { max-width: 17ch; margin-bottom: .45em; }
.hero__title h1 em { font-style: normal; color: var(--red); }
.hero__lead { font-size: 1.1rem; color: var(--text); max-width: 56ch; }
.hero__points { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; max-width: 56ch; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.hero__points .icon { color: var(--accent); margin-top: 2px; width: 22px; height: 22px; }
.hero__offices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 14px; font-weight: 700; font-size: .94rem; }
.hero__offices .flag-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); }
.flag { border-radius: 4px; box-shadow: 0 0 0 1px rgba(14,27,51,.12); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); font-weight: 700; font-size: .92rem; transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease); }
.hero__badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); }
.hero__badge .icon-badge { width: 40px; height: 40px; border-radius: 11px; }
.hero__badge .icon-badge .icon { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "title" "form" "copy"; padding-bottom: 80px; }
  .hero::after { background: linear-gradient(180deg, rgba(244,247,252,.9), rgba(244,247,252,.6)); }
  .hero__title h1 { max-width: none; }
}

/* ---- inner page hero (heading + form) ------------------------------------ */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--bg); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/images/hero-do.svg") center bottom / cover no-repeat; opacity: .55; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(244,247,252,.97), rgba(244,247,252,.82) 55%, rgba(244,247,252,.4)); }
.page-hero__grid { display: grid; gap: clamp(24px, 5vw, 64px); grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: start; padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); }
.page-hero__grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.page-hero h1 { max-width: 20ch; }
.page-hero--plain::before { opacity: .32; }
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero::after { background: linear-gradient(180deg, rgba(244,247,252,.94), rgba(244,247,252,.78)); }
}

/* ---- form block ----------------------------------------------------------- */
.form-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 30px); position: relative; }
.form-block::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--accent) 50%, var(--red) 50%); }
.form-block__title { font-size: 1.3rem; margin: 6px 0 6px; }
.form-block__intro { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.form-block form { margin: 14px 0 0; }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"], .form-block input[type="password"] {
  width: 100% !important; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--border) !important; border-radius: 12px !important;
  background: var(--bg) !important; color: var(--text) !important; font: inherit !important; font-size: 1rem !important;
  box-shadow: none !important; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background-color .15s var(--ease);
}
.form-block input:focus { outline: none; border-color: var(--accent) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(29, 78, 158, .18) !important; }
.form-block input[type="submit"] {
  width: 100% !important; min-height: 52px; border: 0 !important; border-radius: 12px !important; cursor: pointer;
  background: var(--red) !important; color: #fff !important; font: inherit !important; font-weight: 800 !important; font-size: 1.02rem !important;
  box-shadow: var(--shadow-sm); transition: background-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.form-block input[type="submit"]:hover { background: var(--red-hover) !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-block input[type="submit"]:active { transform: none; }
.form-block .iti { width: 100%; }
.form-block__note { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; font-size: .9rem; font-weight: 700; color: var(--text); }
.form-block__note .icon { color: var(--accent); width: 22px; height: 22px; }
.form-legal { margin: 10px 0 0; font-size: .8rem; color: var(--text-muted); }

/* ---- cards ---------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: clamp(18px, 2.4vw, 26px); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); height: 100%; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #b8c9e8; }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card__head h3 { margin: 0; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; }
.card--link .arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--accent); }
.card--link .arrow .icon { width: 18px; height: 18px; }
.card--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.card--accent h3, .card--accent p { color: #fff; }
.card--tint { background: var(--accent-tint); }

/* numbered steps: small accent circle, never a giant numeral */
.steps { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 22px; box-shadow: var(--shadow-md); counter-increment: step; }
.step__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .9rem; margin-bottom: 10px; }
.step__art { width: 100%; max-width: 200px; margin: 0 0 12px; border-radius: 14px; }
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--text-muted); font-size: .96rem; }
.steps--list { grid-template-columns: 1fr; }
.steps--list .step { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: start; }
.steps--list .step__num { margin: 2px 0 0; grid-row: span 2; }

/* ---- tables --------------------------------------------------------------- */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.table caption { text-align: left; padding: 14px 16px 0; font-weight: 800; }
.table th, .table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table thead th { background: var(--surface-2); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody tr:nth-child(even) { background: rgba(227, 236, 250, .35); }
.table tbody th { font-weight: 700; }
.table .yes { color: var(--ok); }
.table .no { color: var(--red); }
.table .yes .icon, .table .no .icon { width: 22px; height: 22px; }
.table .yes .icon, .table .no .icon { stroke-width: 2.2; }
.table .col-offer { background: rgba(29, 78, 158, .06); }
.table thead .col-offer { background: var(--accent); color: #fff; }

/* ---- exchanges row -------------------------------------------------------- */
.exchanges { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.exchange { display: flex; align-items: center; justify-content: center; min-height: 76px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.exchange:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.exchange img { height: 30px; width: auto; max-width: 100%; }

/* ---- charts --------------------------------------------------------------- */
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: clamp(16px, 2.4vw, 26px); }
.chart-card__head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.chart-card__head h3 { margin: 0; }
.chart-note { font-size: .82rem; color: var(--text-muted); margin: 12px 0 0; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .ax { fill: var(--text-muted); font: 600 11px var(--font); }
.chart .grid-l { stroke: var(--border); stroke-width: 1; }
.chart .series { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chart .lbl { font: 800 12px var(--font); }
.chart .hit { fill: transparent; }
.chart-tip { position: absolute; pointer-events: none; z-index: 5; min-width: 150px; padding: 10px 12px; background: var(--text); color: #fff; border-radius: 10px; font-size: .82rem; line-height: 1.45; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .12s var(--ease); }
.chart-tip.is-on { opacity: 1; }
.chart-tip b { display: inline-block; min-width: 40px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .86rem; font-weight: 700; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 4px; border-radius: 2px; background: var(--c, var(--accent)); }
.asset-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 18px; }
.asset { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.asset__top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.asset__sym { display: inline-flex; align-items: center; gap: 8px; }
.asset__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.asset__chg { font-size: .88rem; }
.asset__chg.up { color: var(--ok); }
.asset__chg.down { color: var(--red); }
.asset__name { font-size: .84rem; color: var(--text-muted); }
.spark svg { width: 100%; height: 38px; display: block; }

/* ---- calculator section --------------------------------------------------- */
.calc__wrap { display: grid; gap: clamp(18px, 3vw, 40px); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
.calc__art { width: 100%; max-width: 520px; border-radius: var(--radius-l); box-shadow: var(--shadow-md); }
.calc__box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: clamp(14px, 2vw, 24px); }
@media (max-width: 960px) { .calc__wrap { grid-template-columns: 1fr; } }

/* ---- reviews: equal-height cards ------------------------------------------ */
.reviews { display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.review { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 22px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.review:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.review__who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__who img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 2px var(--accent-tint), var(--shadow-sm); object-fit: cover; flex: none; }
.review__name { font-weight: 800; line-height: 1.2; }
.review__job { font-size: .88rem; color: var(--text-muted); }
.review__text { flex: 1 1 auto; margin: 0 0 16px; color: var(--text); }
.review__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px 12px; margin: 0; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.review__stats div { min-width: 0; }
.review__stats dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 700; }
.review__stats dd { margin: 2px 0 0; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.review__stats dd.gain { color: var(--ok); }
.reviews-note { margin-top: 18px; font-size: .86rem; color: var(--text-muted); }

/* ---- faq ------------------------------------------------------------------ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .16s var(--ease), border-color .16s var(--ease); }
.faq details[open] { border-color: #b8c9e8; box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .18s var(--ease); color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__a { padding: 0 18px 16px; color: var(--text-muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---- company / facts ------------------------------------------------------ */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 14px; align-items: flex-start; }
.facts strong { display: block; }
.link-cards { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.link-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); text-decoration: none; color: var(--text); font-weight: 800; transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease); }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); color: var(--accent); }
@media (max-width: 480px) { .link-cards { grid-template-columns: 1fr; } }
.def { margin: 0; display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.def dt, .def dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.def dt { background: var(--surface-2); font-weight: 800; }
.def dt:last-of-type, .def dd:last-of-type { border-bottom: 0; }
@media (max-width: 560px) { .def { grid-template-columns: 1fr; } .def dt { border-bottom: 0; padding-bottom: 4px; } }

.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 3px solid var(--accent-tint); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--red); }
.timeline strong { font-size: 1.1rem; color: var(--accent); }

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

.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--red-tint); border: 1px solid #f0c3ca; }
.callout--info { background: var(--accent-tint); border-color: #bfd0ee; }
.callout .icon { color: var(--red); margin-top: 2px; }
.callout--info .icon { color: var(--accent); }
.callout p:last-child { margin: 0; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; }
.toc a { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--text); }
.toc a:hover { border-color: var(--accent); color: var(--accent); }

.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-weight: 800; font-size: .8rem; }
.pill--red { background: var(--red-tint); color: var(--red); }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-l); padding: clamp(26px, 4vw, 48px); background: var(--text); color: #fff; display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 220px at 90% 0, rgba(200, 40, 60, .55), transparent 70%), radial-gradient(500px 260px at 0 100%, rgba(29, 78, 158, .85), transparent 70%); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--mesh); opacity: .5; }
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { margin-top: 8px; opacity: .92; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.tier { display: flex; flex-direction: column; }
.tier--hot { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.tier__price { font-size: 1.6rem; font-weight: 800; color: var(--accent); margin: 4px 0 8px; }
.tier ul { padding-left: 0; list-style: none; margin: 8px 0 18px; }
.tier li { display: flex; gap: 10px; margin-bottom: 8px; }
.tier li .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 3px; }
.tier .btn { margin-top: auto; }

.article-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; padding: 0; }
.article-card img { width: 100%; aspect-ratio: 500 / 290; object-fit: cover; }
.article-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.article-card__body .btn { margin-top: auto; align-self: flex-start; }

.big-404 { font-size: clamp(5rem, 20vw, 9rem); font-weight: 800; line-height: 1; margin: 0; background: linear-gradient(90deg, var(--accent) 50%, var(--red) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- footer --------------------------------------------------------------- */
.site-footer { background: var(--text); color: #d7e0f2; margin-top: clamp(40px, 6vw, 80px); padding: clamp(36px, 5vw, 64px) 0 24px; border-top: 5px solid; border-image: linear-gradient(90deg, var(--accent) 50%, var(--red) 50%) 1; }
.site-footer a { color: #d7e0f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo, .site-footer .logo-word__b { color: #fff; }
.site-footer .logo-word__a { color: #9db9ea; }
.site-footer__top { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
.site-footer__brand p { margin: 14px 0; font-size: .92rem; }
.site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { width: 20px; height: 20px; color: #9db9ea; margin-top: 2px; }
.site-footer__contact .icon .a { stroke: #ff8a99; }
.site-footer__col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #9db9ea; margin-bottom: 12px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.site-footer__disclaimer { margin: 32px 0 0; padding: 18px 20px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); font-size: .84rem; color: #c3cfe6; }
.site-footer__disclaimer strong { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 20px; font-size: .84rem; color: #aab8d4; }
@media (max-width: 1040px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---- special offer --------------------------------------------------------- */
.offer-strip { background: var(--text); color: #fff; font-size: .86rem; font-weight: 700; }
.offer-strip__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 9px; }
.offer-strip .icon { width: 18px; height: 18px; vertical-align: -4px; color: #ff8a99; margin-right: 4px; }
.offer-strip .icon .a { stroke: #9db9ea; }
@media (max-width: 760px) { .offer-strip__row { justify-content: flex-start; font-size: .8rem; } .offer-strip__row span:nth-child(3) { display: none; } }
.offer-hero h1 em { font-style: normal; color: var(--red); }
.offer-badge { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--red-tint); color: var(--red); font-weight: 800; font-size: .86rem; margin-bottom: 14px; }
.offer-badge .icon { width: 18px; height: 18px; }

.exit-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 16px; }
.exit-modal.is-open { display: flex; }
.exit-modal__overlay { position: absolute; inset: 0; background: rgba(14, 27, 51, .62); animation: fadeIn .2s var(--ease); }
.exit-modal__card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-lg); padding: clamp(20px, 4vw, 34px); text-align: center; animation: popIn .24s var(--ease); }
.exit-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .15s var(--ease); }
.exit-modal__close:hover { background: var(--accent-tint); }
.exit-modal__art { width: 100%; max-width: 330px; margin: 0 auto 14px; border-radius: 16px; }
.exit-modal h2 { font-size: 1.7rem; }
.exit-modal p { color: var(--text-muted); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 6px; margin: 16px 0 22px; font-variant-numeric: tabular-nums; }
.countdown__seg { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.countdown__digits { display: flex; gap: 4px; }
.countdown__digit { display: grid; place-items: center; width: 40px; height: 54px; border-radius: 10px; background: var(--text); color: #fff; font-size: 1.7rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.countdown__sep { font-size: 1.7rem; font-weight: 800; line-height: 54px; color: var(--red); }
.countdown__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }

/* ---- reveal (enhancement only: content stays visible without JS) ----------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---- small screens --------------------------------------------------------- */
@media (max-width: 480px) {
  .review__stats { grid-template-columns: 1fr 1fr 1fr; }
  .countdown__digit { width: 34px; height: 48px; font-size: 1.45rem; }
}

/* ---- photos, agent card, step badges ---------------------------------------- */
.calc__art, .exit-modal__art { object-fit: cover; aspect-ratio: 4 / 3; }
.calc__art { max-width: 100%; border-radius: var(--radius-l); box-shadow: var(--shadow-md); }
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step__badge { margin-bottom: 12px; }
.agent-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow-md); padding: 20px; }
.agent-card__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--accent-tint); }
.agent-card__role { margin: 0 0 8px; font-weight: 800; color: var(--accent); }
.agent-card__bubble { margin: 0 0 8px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--accent-tint); font-size: .94rem; color: var(--text); }
.agent-card__bubble--you { margin-left: auto; width: fit-content; max-width: 90%; border-radius: 14px 14px 4px 14px; background: var(--red-tint); }
@media (max-width: 480px) { .agent-card { grid-template-columns: 1fr; } }

/* ---- hero badges under the form: one row, also on mobile ---------------------- */
.hero__form .hero__badges { flex-wrap: nowrap; gap: 10px; margin-top: 14px; }
.hero__form .hero__badge { flex: 1 1 0; min-width: 0; justify-content: center; padding: 10px; font-size: .86rem; line-height: 1.2; }
@media (max-width: 480px) {
  .hero__form .hero__badges { gap: 8px; }
  .hero__form .hero__badge { flex-direction: column; gap: 6px; padding: 8px 6px; font-size: .74rem; text-align: center; }
  .hero__form .hero__badge .icon-badge { width: 34px; height: 34px; }
}

/* ---- calculator full width inside container ---------------------------------- */
.calc__box { width: 100%; }

/* ---- review cards: same height ----------------------------------------------- */
.reviews { grid-auto-rows: 1fr; }

/* ---- special-offer strip: three stats side by side on mobile ------------------ */
@media (max-width: 760px) {
  .offer-strip__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: .66rem; line-height: 1.25; text-align: center; padding-block: 7px; }
  .offer-strip__row span:nth-child(3) { display: block; }
  .offer-strip .icon { display: none; }
}
.site-footer__credits { margin: 14px 0 0; font-size: .76rem; color: #8fa0c4; }
.exchange--light { background: var(--surface); border-color: var(--border); }
