/* ==========================================================================
   Popular Trade - shared stylesheet (both language sections)
   Light theme, warm off-white, deep navy text, coral-red accent.
   ========================================================================== */

:root {
  --bg: #faf7f1;
  --surface: #fffdf9;
  --surface-2: #f4efe6;
  --border: #e6ddcd;
  --text: #17233f;
  --text-muted: #4d5872;
  --accent: #c94322;
  --accent-hover: #a83518;
  --accent-tint: #fdeeea;
  --gold: #f4b860;
  --gold-tint: #fdf3df;
  --navy: #17233f;
  --navy-2: #2c3d6b;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(23, 35, 63, .07), 0 2px 6px rgba(23, 35, 63, .05);
  --shadow-md: 0 1px 2px rgba(23, 35, 63, .06), 0 8px 24px rgba(23, 35, 63, .09);
  --shadow-lg: 0 2px 6px rgba(23, 35, 63, .08), 0 18px 48px rgba(23, 35, 63, .14);
  --font: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.008em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
.icon { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding: clamp(40px, 6vw, 72px) 0; position: relative; }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section__head { max-width: 760px; margin-bottom: clamp(20px, 3vw, 34px); }
.section__head p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }

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

/* --- decorative section backgrounds (gradient + motif, never gradient-only) -- */
.deco {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.deco::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(640px 320px at 88% 8%, rgba(201, 67, 34, .07), transparent 70%),
    radial-gradient(520px 300px at 6% 92%, rgba(244, 184, 96, .10), transparent 70%);
}
.deco::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%2317233f' stroke-opacity='.05'%3E%3Cpath d='M0 18h72M0 54h72M18 0v72M54 0v72'/%3E%3C/g%3E%3C/svg%3E");
}
.deco .deco__arc {
  position: absolute; width: 420px; height: 420px; right: -140px; top: -180px;
  border: 2px dashed rgba(201, 67, 34, .16); border-radius: 50%;
}
.deco .deco__tri {
  position: absolute; left: -60px; bottom: -70px; width: 220px; height: 190px;
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(244, 184, 96, .18) 49.8%, transparent 50.2%),
    linear-gradient(315deg, transparent 49.6%, rgba(201, 67, 34, .12) 49.8%, transparent 50.2%);
}
.section > .container { position: relative; z-index: 1; }

/* --- buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: .98rem; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  white-space: nowrap;
}
.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); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent-tint); color: var(--accent-hover); }
.btn--ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--sm { min-height: 38px; padding: 7px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* --- header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { background: rgba(250, 247, 241, .98); box-shadow: var(--shadow-md); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark { width: 38px; height: 38px; }
.logo__word { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.logo__word em { font-style: normal; color: var(--accent); }
.logo--footer .logo__word { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__group { position: relative; }
.nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; font: inherit; font-weight: 600; font-size: .95rem;
  color: var(--text); padding: 9px 12px; border-radius: var(--radius-sm); cursor: pointer;
}
.nav__trigger:hover, .nav__trigger[aria-expanded="true"] { background: var(--accent-tint); color: var(--accent-hover); }
.nav__caret { width: 14px; height: 14px; transition: transform .16s ease; }
.nav__trigger[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 260px; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__group.is-open .nav__menu, .nav__group:hover .nav__menu,
.nav__trigger:focus + .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__group.align-right .nav__menu { left: auto; right: 0; }
.nav__menu a {
  display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .93rem; font-weight: 500;
}
.nav__menu a:hover, .nav__menu a:focus-visible, .nav__menu a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-hover); }
.nav__menu::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);
}
.nav--trimmed { gap: 6px; }
.nav--trimmed > a { padding: 9px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; color: var(--text); }
.nav--trimmed > a:hover { background: var(--accent-tint); color: var(--accent-hover); }

.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang-switch a { padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.lang-switch a:hover { color: var(--accent-hover); background: var(--accent-tint); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 8px; color: var(--text); cursor: pointer; }
.nav-toggle .nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--surface); padding: 14px 0 20px; }
.mobile-nav.is-open { display: block; }
.mobile-nav__group { border-bottom: 1px solid var(--border); }
.mobile-nav__group summary {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  padding: 13px 4px; font-weight: 600; list-style: none;
}
.mobile-nav__group summary::-webkit-details-marker { display: none; }
.mobile-nav__group[open] summary .icon { transform: rotate(180deg); }
.mobile-nav__group ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav__group a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text); font-size: .95rem; }
.mobile-nav__group a:hover, .mobile-nav__group a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-hover); }
.mobile-nav__plain { list-style: none; padding: 0; margin: 0 0 10px; }
.mobile-nav__plain a { display: block; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--border); color: var(--text); }
.mobile-nav__lang { margin: 16px 0 14px; }

/* --- hero -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: clamp(40px, 6vw, 84px) 0; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 82% 12%, rgba(201, 67, 34, .08), transparent 68%),
    radial-gradient(560px 380px at 8% 96%, rgba(244, 184, 96, .12), transparent 70%),
    linear-gradient(180deg, rgba(244, 239, 230, .6), transparent 55%);
}
.hero > .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__content p.lead { font-size: 1.08rem; color: var(--text-muted); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  background: var(--gold-tint); color: #7a5311; border: 1px solid rgba(244, 184, 96, .55);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.hero__office {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px 6px 6px; box-shadow: var(--shadow-sm); font-size: .92rem; color: var(--text-muted);
}
.hero__office .flag-pr { width: 30px; height: 21px; border-radius: 4px; box-shadow: var(--shadow-sm); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__trust a {
  display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: .93rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px 14px; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease;
}
.hero__trust a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent-hover); }
.hero__trust .icon { color: var(--accent); }
.hero-art {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: min(48vw, 620px); height: auto; z-index: 0; pointer-events: none;
}
.hero__form { position: relative; z-index: 2; }
.hero--page { padding: clamp(36px, 5vw, 64px) 0; }
.hero--page .hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero--page .page-art { position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none; }
.hero--page .page-art .hero-art { right: -80px; top: 50%; width: min(40vw, 480px); }
.hero--page > .container { position: relative; z-index: 1; }

/* --- centered stage hero (home, design direction B) ------------------------ */
.hero--stage {
  padding: clamp(42px, 6vw, 84px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background: linear-gradient(116deg, #fbf8f1 0%, #fffaf3 54%, #f3e9dc 100%);
}
.hero--stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(540px 420px at 82% 45%, rgba(201, 67, 34, .13), transparent 70%),
    radial-gradient(440px 340px at 14% 10%, rgba(244, 184, 96, .16), transparent 74%),
    linear-gradient(135deg, transparent 48%, rgba(23, 35, 63, .025) 48%, rgba(23, 35, 63, .025) 49%, transparent 49%);
}
.stage-art {
  position: absolute; top: 50%; right: -8%; left: auto; transform: translateY(-50%);
  width: min(1040px, 78vw); height: auto; z-index: 0; opacity: .36; pointer-events: none;
}
.hero--stage .container {
  position: relative; z-index: 1; display: grid; max-width: 1240px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: "head form" "meta form";
  gap: 24px clamp(32px, 5vw, 72px); align-items: center;
}
.stage-head { grid-area: head; max-width: 640px; margin: 0; }
.stage-head h1 {
  font-size: clamp(2.2rem, 4.5vw, 4.1rem);
  letter-spacing: -.04em; line-height: 1.03; margin: 0 0 .38em;
}
.stage-head .u-mark {
  position: relative; white-space: nowrap; color: var(--accent-hover);
}
.stage-head .u-mark::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em;
  height: .16em; border-radius: 999px; background: var(--gold);
  opacity: .85; z-index: -1;
}
.stage-sub { font-size: clamp(1rem, 1.5vw, 1.13rem); color: var(--text-muted); max-width: 600px; margin: 0; }
.stage-form {
  grid-area: form; position: relative; width: 100%; max-width: 560px; margin: 0 0 0 auto;
  background: rgba(255, 253, 249, .94); border: 1px solid rgba(23, 35, 63, .12);
  border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgba(23, 35, 63, .14);
  padding: clamp(20px, 2.8vw, 32px);
  text-align: left;
}
.stage-form::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -14px; height: 12px;
  border-radius: 999px; background: rgba(23, 35, 63, .16);
  filter: blur(9px); z-index: -1;
}
.stage-form__head h2 {
  font-size: 1.06rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px;
}
.stage-form__head { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.stage-form__head h2::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.stage-form .form-block {
  background: none; border: 0; box-shadow: none; padding: 0;
}
.stage-form .form-block form { display: block; }
.stage-form .registration-form {
  display: grid; width: 100%; max-width: none; margin: 0;
  gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch;
}
.stage-form .registration-form input[type="text"],
.stage-form .registration-form input[type="email"],
.stage-form .registration-form input[type="tel"] {
  width: 100%; min-width: 0; min-height: 48px;
}
.stage-form .registration-form input[type="submit"] { width: 100%; min-height: 48px; white-space: nowrap; }
.stage-form .form-legal { margin-top: 10px; text-align: center; }
.stage-form__note { margin: 8px 0 0; }
.stage-meta {
  grid-area: meta; display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center;
  gap: 12px 18px; margin-top: 0;
}
.stage-meta .hero__office { margin-top: 0; }
.stage-meta .hero__trust { margin-top: 0; }

/* --- review photos ---------------------------------------------------------- */
.review__photo {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  border: 2px solid var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
  object-fit: cover; display: block;
}

/* --- mandatory kit rules ------------------------------------------------------ */
/* Ticker row height (kit contract, every page, both language sections) */
.tv-ticker-wrapper { padding-top: 0px !important; height: 58px !important; }

/* International telephone input: dropdown rows on light surfaces, selected
   dial code on the accent-selected background (white on coral = 4.9:1 AA) */
.iti__country-name,
.iti__dial-code { color: #000 !important; }
.iti__selected-dial-code { color: #fff !important; }
/* kit default puts the selected dial-code chip on rgba(0,0,0,.05) where the
   mandated #fff would be invisible; smallest fix: chip on the accent color,
   where #fff passes AA (4.9:1 on #c94322) */
.iti--show-selected-dial-code .iti__selected-country {
  background-color: var(--accent) !important;
  border-radius: 8px 0 0 8px;
}


/* --- form block (formFactory wrapper) ---------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(18px, 3vw, 28px); position: relative; z-index: 2;
}
.form-block__intro { font-size: .95rem; color: var(--text-muted); margin-bottom: 12px; }
.form-block form { display: grid; gap: 10px; }
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"], .form-block input[type="password"] {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.form-block input::placeholder { color: #97a0b5; }
.form-block input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.form-block button[type="submit"], .form-block .btn-submit {
  width: 100%; min-height: 48px; margin-top: 4px; border: 0; border-radius: var(--radius-md);
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.form-block button[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-legal { font-size: .8rem; color: var(--text-muted); margin: 10px 0 0; text-align: center; }
.form-note { font-size: .88rem; color: var(--text-muted); text-align: center; margin: -2px 0 10px; }

/* --- icon cards / grids ------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card-grid--two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 22px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card h3 { display: flex; align-items: center; gap: 11px; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: .96rem; }
.icon-badge {
  width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent); border-radius: 13px;
}
.icon-badge .icon { width: 22px; height: 22px; }
.icon-badge--gold { background: var(--gold-tint); color: #8a6217; }
.icon-badge--navy { background: #e8ecf5; color: var(--navy); }

/* --- numbered steps ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 22px;
}
.step__num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: .94rem; margin: 0; }

/* --- comparison table ---------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
thead th {
  background: var(--surface-2); text-align: left; padding: 14px 16px; font-size: .88rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--text); border-bottom: 1px solid var(--border);
}
tbody td, tbody th { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(244, 239, 230, .45); }
td.yes { color: #1e7a45; font-weight: 600; }
td.no { color: #b3261e; font-weight: 600; }
td.yes .icon, td.no .icon { width: 17px; height: 17px; vertical-align: -3px; margin-right: 7px; }
.compare-col { background: var(--accent-tint); }
.table-note { font-size: .85rem; color: var(--text-muted); margin-top: 10px; }

/* --- exchange marks ------------------------------------------------------- */
.exchange-marks {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0;
}
.exchange-mark {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 20px 9px 14px; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
}
.exchange-mark svg { width: 22px; height: 22px; color: var(--accent); }

/* --- reviews ---------------------------------------------------------------- */
.reviews { grid-template-columns: repeat(3, 1fr); }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.review {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 22px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.review:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.review__head { display: flex; align-items: center; gap: 13px; }
.review__avatar { width: 54px; height: 54px; flex: none; border-radius: 50%; border: 2px solid var(--border); background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); }
.review__avatar .icon { width: 26px; height: 26px; }
.review__name { font-weight: 700; }
.review__role { font-size: .85rem; color: var(--text-muted); }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px; }
.review__stat { background: var(--surface-2); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 600; color: var(--text); }
.review__stat strong { color: var(--accent-hover); }
.review p { font-size: .95rem; color: var(--text); margin: 0; flex: 1; }
.reviews-note { font-size: .82rem; color: var(--text-muted); margin-top: 14px; text-align: center; }

/* --- company block ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 48px); align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.fact-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.fact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--text-muted); }
.fact-list .icon { color: var(--accent); margin-top: 2px; }
.fact-list a { color: var(--text); font-weight: 600; }

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

/* --- faq categories --------------------------------------------------------- */
.faq-cat { padding: 26px 0; border-radius: var(--radius-lg); margin: 0 -8px; padding-inline: 8px; }
.faq-cat--tint { background: var(--surface-2); }
.faq-cat h2 { font-size: 1.35rem; margin-bottom: 14px; }

/* --- breadcrumbs ------------------------------------------------------------ */
.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 10px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent-hover); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* --- prose (documentation pages) ---------------------------------------------- */
.prose { max-width: 860px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p, .prose li { color: var(--text); }
.prose .lead { color: var(--text-muted); font-size: 1.05rem; }
.prose-note {
  background: var(--gold-tint); border: 1px solid rgba(244, 184, 96, .5); border-radius: var(--radius-md);
  padding: 14px 18px; font-size: .92rem; color: #6d4c12; margin: 18px 0;
}
.prose-note p:last-child { margin-bottom: 0; }

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

/* --- calculator block ------------------------------------------------------------ */
.calc-section { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.calc-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 85% 10%, rgba(201, 67, 34, .22), transparent 65%),
    radial-gradient(520px 320px at 8% 95%, rgba(244, 184, 96, .14), transparent 70%);
}
.calc-section::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05'%3E%3Cpath d='M0 18h72M0 54h72M18 0v72M54 0v72'/%3E%3C/g%3E%3C/svg%3E");
}
.calc-section .container { position: relative; z-index: 1; }
.calc-section h2 { color: #fff; }
.calc-section .section__head p { color: #c6cde0; }
.calc-canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 130px; z-index: 0; opacity: .5; pointer-events: none; }

/* --- urgency strip / special offer ------------------------------------------------ */
.urgency-strip { background: var(--accent); color: #fff; padding: 9px 0; font-size: .88rem; font-weight: 600; }
.urgency-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; }
.urgency-strip .icon { width: 15px; height: 15px; vertical-align: -2px; color: #ffe3c9; }
.so-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(36px, 5vw, 64px) 0; }
.so-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 400px at 84% 14%, rgba(201, 67, 34, .4), transparent 62%),
    radial-gradient(520px 340px at 6% 96%, rgba(244, 184, 96, .18), transparent 70%);
}
.so-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06'%3E%3Cpath d='M0 18h72M0 54h72M18 0v72M54 0v72'/%3E%3C/g%3E%3C/svg%3E");
}
.so-hero > .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.so-hero h1, .so-hero p { color: #fff; }
.so-hero p { color: #ccd4e8; }
.so-hero .hero__eyebrow { background: rgba(244, 184, 96, .18); color: #ffe3b3; border-color: rgba(244, 184, 96, .5); }
.so-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  background: rgba(201, 67, 34, .18); color: #ffcdbd; border: 1px solid rgba(201, 67, 34, .55);
  font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.so-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cta-band { background: var(--accent); color: #fff; padding: clamp(34px, 5vw, 56px) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 300px at 90% 10%, rgba(255, 255, 255, .14), transparent 60%);
}
.cta-band .container { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: #ffe3d6; margin: 0; }
.cta-band .btn { background: #fff; color: var(--accent-hover); }
.cta-band .btn:hover { background: var(--gold-tint); transform: translateY(-1px); }

/* countdown */
.countdown { display: inline-flex; gap: 8px; margin: 14px 0; }
.countdown__seg {
  background: rgba(23, 35, 63, .9); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px;
  min-width: 64px; padding: 8px 6px; text-align: center; box-shadow: var(--shadow-sm);
}
.countdown__seg b { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.countdown__seg span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #b9c2d8; }

/* exit-intent modal */
.exit-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.exit-modal.is-open { display: block; }
.exit-modal__overlay { position: absolute; inset: 0; background: rgba(15, 20, 34, .66); backdrop-filter: blur(3px); }
.exit-modal__card {
  position: relative; z-index: 1; max-width: 520px; margin: 8vh auto 0; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 28px 26px; text-align: center;
}
.exit-modal__close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 1.2rem;
  cursor: pointer; line-height: 1;
}
.exit-modal__close:hover { background: var(--accent-tint); color: var(--accent-hover); }
.exit-modal__card h2 { margin-top: 6px; }
.exit-modal__card p { color: var(--text-muted); }
.exit-modal__art { width: 150px; margin: 0 auto 6px; display: block; }

/* --- misc blocks ------------------------------------------------------------------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.two-col-list { columns: 2; column-gap: 34px; }
.two-col-list li { break-inside: avoid; margin-bottom: 8px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.article-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.article-card .icon-badge { margin-bottom: 14px; }
.article-card p { color: var(--text-muted); font-size: .95rem; }
.vacancy { border-left: 3px solid var(--accent); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-row .icon-badge { width: 44px; height: 44px; border-radius: 12px; }

/* security cards on home */
.sec-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* --- footer --------------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #c6cde0; padding: clamp(40px, 6vw, 64px) 0 26px; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(140px, 1fr)); gap: 30px 24px; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: #c6cde0; }
.site-footer a:hover { color: var(--gold); }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .9rem; }
.site-footer__tagline { color: #9aa5c1; font-size: .93rem; margin-top: 14px; }
.site-footer__facts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; font-size: .88rem; }
.site-footer__facts .icon { color: var(--gold); width: 17px; height: 17px; margin-top: 3px; }
.site-footer__facts li { display: flex; gap: 9px; align-items: flex-start; }
.lang-switch--footer { margin-top: 18px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.lang-switch--footer a { color: #c6cde0; }
.lang-switch--footer a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-switch--footer a[aria-current="true"] { background: var(--accent); color: #fff; }
.site-footer__disclaimer { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .8rem; color: #9aa5c1; }
.site-footer__disclaimer p { margin: 6px 0 0; }
.site-footer__bottom { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .82rem; color: #9aa5c1; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

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

/* --- responsive ------------------------------------------------------------------------------ */
@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__actions .lang-switch { display: none; }
  .hero > .container, .hero--page .hero__grid, .split, .split--reverse, .so-hero > .container { grid-template-columns: 1fr; }
  .hero-art { position: relative; right: auto; top: auto; transform: none; width: min(86vw, 460px); margin: 6px auto 0; opacity: .9; }
  .hero--page .page-art { display: none; }
  .stage-form .registration-form { grid-template-columns: 1fr 1fr; }
  .stage-form .registration-form input[type="submit"] { grid-column: 1 / -1; }
  .hero--stage .container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "form" "meta";
    text-align: center;
  }
  .stage-head { margin-inline: auto; }
  .stage-sub { margin-inline: auto; }
  .stage-form { margin-inline: auto; }
  .stage-meta { justify-content: center; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .hero-art { width: min(92vw, 420px); }
  .stage-art { width: 155vw; right: -50%; opacity: .24; }
  .stage-head h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .stage-head .u-mark { white-space: normal; }
  .two-col-list { columns: 1; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .site-header__actions .btn { display: none; }
  .stage-form .registration-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-meta .hero__office { max-width: 100%; }
  .reviews { grid-template-columns: 1fr; }
  .urgency-strip__inner { flex-direction: column; gap: 4px; text-align: center; }
  .exit-modal__card { margin: 4vh 12px 0; }
}

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