/* ==========================================================================
   RendaMax Prime — main stylesheet
   Dark green-charcoal premium income brand · emerald accent
   Fraunces (display) + IBM Plex Sans (body), local woff2
   ========================================================================== */

/* ---- Fonts (local, no CDN) ---------------------------------------------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/plexsans-latin-var.woff2') format('woff2');
}

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --bg: #0c1512;
  --bg-deep: #0a110e;
  --surface: #121e19;
  --surface-2: #182822;
  --border: #243831;
  --border-strong: #31473e;
  --text: #e9f1ec;
  --text-muted: #9db3a8;
  --accent: #2eb58a;
  --accent-hover: #40cf9f;
  --accent-tint: rgba(46, 181, 138, 0.12);
  --accent-tint-2: rgba(46, 181, 138, 0.07);
  --accent-ink: #071009;
  --danger: #e06058;
  --shadow-sm: 0 1px 2px rgba(3, 14, 10, 0.4);
  --shadow-md: 0 2px 6px rgba(3, 14, 10, 0.35), 0 10px 28px rgba(3, 14, 10, 0.38);
  --shadow-lg: 0 4px 12px rgba(3, 14, 10, 0.42), 0 24px 48px rgba(3, 14, 10, 0.5);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', Arial, sans-serif;
  --header-h: 72px;
}

/* ---- Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.18; font-weight: 600; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.18rem; font-family: var(--font-body); }
h4 { font-size: 1.02rem; font-family: var(--font-body); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { color: var(--text); font-weight: 600; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 6px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon--sm { width: 18px; height: 18px; }

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

/* ---- Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(56px, 7vw, 84px); position: relative; }
/* Skip rendering below-the-fold sections until needed (perf floor) */
@supports (content-visibility: auto) {
  .page-content .section,
  main > .section:not(:first-of-type) {
    content-visibility: auto;
    contain-intrinsic-size: auto 640px;
  }
}
.section--surface { background: var(--surface); }
.section--surface::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(46, 181, 138, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.section--surface > .container { position: relative; }
.section--tint {
  background:
    radial-gradient(900px 420px at 85% 0%, var(--accent-tint-2), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0d1814 55%, var(--bg) 100%);
}
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.98rem/1 var(--font-body);
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; border-radius: 10px; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }

/* ---- Icon badge / cards --------------------------------------------------- */
.icon-badge {
  width: 50px; height: 50px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); border: 1px solid rgba(46, 181, 138, 0.25);
  border-radius: 13px; color: var(--accent);
}
.icon-badge .icon { width: 24px; height: 24px; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.6vw, 30px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card h3, .card h4 { margin-bottom: 0.5em; }
.card p { color: var(--text-muted); margin-bottom: 0; }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }

.grid-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-cards--wide { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-2 { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 21, 18, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); background: rgba(12, 21, 18, 0.97); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand__word { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand__name { color: var(--text); }
.brand__tag { color: var(--accent); font-weight: 500; }
.brand--footer .brand__word { font-size: 1.2rem; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--text); font: 500 0.95rem var(--font-body);
  padding: 10px 12px; border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav__trigger:hover, .main-nav__trigger:focus-visible { background: var(--accent-tint); color: var(--accent); }
.main-nav__trigger[aria-expanded="true"] { color: var(--accent); }
.main-nav__trigger .icon { transition: transform 0.16s ease; }
.main-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 270px; max-width: min(340px, calc(100vw - 32px));
  background: #101c17; border: 1px solid var(--border-strong);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 8px; z-index: 110;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.dropdown::before {
  content: ''; position: absolute; top: -5px; left: 22px;
  width: 10px; height: 10px; background: #101c17;
  border-left: 1px solid var(--border-strong); border-top: 1px solid var(--border-strong);
  transform: rotate(45deg);
}
.dropdown.align-right { left: auto; right: 0; }
.dropdown.align-right::before { left: auto; right: 22px; }
.has-dropdown.is-open > .dropdown,
.has-dropdown:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 480px); overflow: auto; }
.dropdown__link {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.93rem;
  transition: background 0.14s ease, color 0.14s ease;
}
.dropdown__link:hover, .dropdown__link:focus-visible { background: var(--accent-tint); color: var(--accent); }
.dropdown__link.is-active { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger {
  display: none; background: none; border: 1px solid var(--border-strong);
  border-radius: 10px; padding: 9px; cursor: pointer; color: var(--text);
}
.nav-burger__close { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__open { display: none; }
.nav-burger[aria-expanded="true"] .nav-burger__close { display: block; }

.mobile-menu { border-top: 1px solid var(--border); background: #0e1814; padding-block: 14px 22px; }
.mobile-menu__group { border-bottom: 1px solid var(--border); }
.mobile-menu__group summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 2px; cursor: pointer; font-weight: 600; color: var(--text);
  list-style: none;
}
.mobile-menu__group summary::-webkit-details-marker { display: none; }
.mobile-menu__group[open] summary { color: var(--accent); }
.mobile-menu__group[open] summary .icon { transform: rotate(180deg); }
.mobile-menu__group summary .icon { transition: transform 0.16s ease; }
.mobile-menu__group ul { list-style: none; margin: 0 0 8px; padding: 0; }
.mobile-menu__group a { display: block; padding: 9px 12px; color: var(--text-muted); border-radius: var(--radius-sm); font-size: 0.95rem; }
.mobile-menu__group a:hover { background: var(--accent-tint); color: var(--accent); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (min-width: 1061px) {
  .mobile-menu { display: none !important; }
}

/* ---- Ticker placeholder (addon injects its own row after header) --------- */
.ticker-row { display: none; }

/* ---- Breadcrumbs --------------------------------------------------------- */
.breadcrumbs { border-bottom: 1px solid var(--border); background: var(--bg-deep); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; font-size: 0.86rem; }
.breadcrumbs li { margin: 0; color: var(--text-muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }

/* ---- Hero (home) ---------------------------------------------------------- */
.hero {
  position: relative; overflow: clip;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(46, 181, 138, 0.13), transparent 62%),
    radial-gradient(760px 420px at -6% 108%, rgba(46, 181, 138, 0.07), transparent 60%),
    linear-gradient(180deg, #0d1915 0%, var(--bg) 88%);
}
.hero__bg { position: absolute; inset: -40px -20px 0; z-index: 0; will-change: transform; }
.hero__bg svg { width: 100%; height: 100%; display: block; }
.hero__canvas { position: absolute; inset: 0; z-index: 1; opacity: 0.85; }
.hero .container { position: relative; z-index: 2; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
  padding-block: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px);
}
.hero__lead { font-size: 1.13rem; color: var(--text-muted); max-width: 560px; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 8px; padding: 0; list-style: none; }
.hero__proof li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text); font-size: 0.93rem; font-weight: 500; }
.hero__proof .icon { width: 18px; height: 18px; color: var(--accent); }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 22px; }
.hero__flag-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.92rem; color: var(--text-muted); margin-bottom: 26px; }
.hero__flag { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px 5px 6px; color: var(--text); font-size: 0.86rem; }
.hero__flag svg { border-radius: 3px; }
.hero__icons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__icon-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 10px 16px; color: var(--text); font-size: 0.9rem; font-weight: 500;
  transition: border-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}
.hero__icon-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.hero__icon-link .icon { color: var(--accent); }
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__canvas { display: none; }
}

/* ---- Hero (inner pages, form beside heading) ------------------------------ */
.hero-page { position: relative; overflow: clip; background: linear-gradient(180deg, #0d1915 0%, var(--bg) 92%); }
.hero-page::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(700px 340px at 88% 0%, rgba(46, 181, 138, 0.1), transparent 62%),
    linear-gradient(rgba(46, 181, 138, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 181, 138, 0.045) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}
.hero-page .container { position: relative; }
.hero-page__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: clamp(26px, 4vw, 56px); align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
}
.hero-page h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.hero-page .section-lead { color: var(--text-muted); font-size: 1.05rem; max-width: 580px; }
@media (max-width: 980px) { .hero-page__inner { grid-template-columns: 1fr; } }

/* ---- Form block (formFactory) --------------------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(20px, 2.8vw, 30px);
}
.form-block__intro { margin: 0 0 14px; color: var(--text); font-weight: 500; }
.form-block form { margin: 0; }
.form-block form > div { margin-bottom: 12px; }
.form-block input[type='text'],
.form-block input[type='email'],
.form-block input[type='tel'],
.form-block input[type='password'] {
  width: 100%; box-sizing: border-box;
  background: var(--bg-deep); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 11px;
  padding: 13px 15px; font: 400 0.97rem var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-block input::placeholder { color: #78918a; }
.form-block input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.form-block input[type='submit'] {
  width: 100%; border: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font: 600 1rem var(--font-body);
  padding: 14px 18px; border-radius: 11px; box-shadow: var(--shadow-sm);
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.form-block input[type='submit']:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.form-block .field-error, .form-block .error { color: var(--danger); font-size: 0.85rem; }
.form-legal { margin: 12px 0 0; font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.form-legal a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.form-legal a:hover { color: var(--accent); }

/* ---- Steps ---------------------------------------------------------------- */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__num {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 0.92rem var(--font-body);
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* ---- Tables --------------------------------------------------------------- */
.table-wrap {
  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%; border-collapse: collapse; min-width: 560px; }
thead th {
  background: var(--surface-2); color: var(--text);
  text-align: left; font: 600 0.9rem var(--font-body);
  padding: 13px 16px; border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}
tbody td, tbody th {
  padding: 13px 16px; border-bottom: 1px solid var(--border);
  font-size: 0.94rem; vertical-align: top; text-align: left; color: var(--text-muted);
}
tbody th { color: var(--text); font-weight: 500; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.014); }
.mark-yes { color: var(--accent); font-weight: 700; }
.mark-no { color: var(--danger); font-weight: 700; }
.table-note { font-size: 0.86rem; color: var(--text-muted); margin-top: 12px; }

/* comparison table highlight column */
.compare col.current { background: var(--accent-tint-2); }
.compare thead th.current { color: var(--accent); }

/* ---- Exchange logos ------------------------------------------------------- */
.exchanges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.exchanges__item {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 132px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  color: var(--text-muted); opacity: 0.92;
  transition: transform 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
}
.exchanges__item:hover { transform: translateY(-2px); border-color: var(--border-strong); opacity: 1; }
.exchanges__item svg { height: 26px; width: auto; }

/* ---- Reviews -------------------------------------------------------------- */
.reviews { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.review__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); flex: none; }
.review__name { font-weight: 600; margin: 0; }
.review__meta { font-size: 0.84rem; color: var(--text-muted); margin: 0; }
.review__stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; padding: 0; list-style: none; }
.review__stats li {
  margin: 0; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 12px; font-size: 0.82rem; color: var(--text-muted);
}
.review__stats strong { color: var(--accent); font-weight: 600; }
.review__text { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 10px; }
.reviews-note { font-size: 0.84rem; color: var(--text-muted); margin-top: 18px; }

/* ---- Company block --------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
@media (max-width: 900px) { .company-grid { grid-template-columns: 1fr; } }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; }
.company-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.company-facts .icon { color: var(--accent); width: 19px; height: 19px; margin-top: 3px; }
.company-links { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.company-link {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 14px 16px; color: var(--text); font-size: 0.94rem; font-weight: 500;
  transition: border-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}
.company-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.company-link .icon { color: var(--accent); }

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

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

/* ---- Page body typography ---------------------------------------------------- */
.page-content h2 { margin-top: 1.6em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 1.4em; }
.lead { font-size: 1.08rem; color: var(--text-muted); }

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

/* ---- Footer -------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-deep); padding-top: clamp(44px, 5vw, 64px); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.3fr repeat(4, minmax(140px, 0.8fr)); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand__text { color: var(--text-muted); font-size: 0.92rem; margin-top: 14px; max-width: 300px; }
.footer-brand__mail { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.footer-brand__mail .icon { color: var(--accent); }
.footer-brand__badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; }
.footer-brand__badge .icon { color: var(--accent); }
.footer-col h3 { font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; color: var(--text-muted); font-size: 0.9rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-disclaimer { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 18px 22px; margin-top: 40px; }
.footer-disclaimer h3 { font-size: 0.92rem; margin-bottom: 8px; }
.footer-disclaimer p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-block: 22px; margin-top: 26px; border-top: 1px solid var(--border); font-size: 0.84rem; color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- CTA band -------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(46, 181, 138, 0.16), transparent 65%),
    linear-gradient(120deg, #10231c 0%, #0d1a15 100%);
  border-block: 1px solid var(--border-strong);
}
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(34px, 4vw, 52px); }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { margin: 0; color: var(--text-muted); }

/* ---- Scroll reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Misc ---------------------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.notes-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.notes-list li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.notes-list .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 5px 13px; font-size: 0.84rem; color: var(--text-muted); }
.pill .icon { width: 16px; height: 16px; color: var(--accent); }
.article-card { display: block; color: var(--text); }
.article-card:hover { color: var(--text); }
.article-card h3 { color: var(--accent); }
.vacancy + .vacancy { margin-top: 20px; }

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

/* special-offer urgency strip */
.urgency-strip { background: linear-gradient(90deg, #143527, #0f2a20); border-bottom: 1px solid var(--border-strong); }
.urgency-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-block: 10px; font-size: 0.87rem; font-weight: 500; }
.urgency-strip__inner span { display: inline-flex; align-items: center; gap: 8px; }
.urgency-strip__inner .icon { color: var(--accent); width: 17px; height: 17px; }
.countdown { display: inline-flex; gap: 8px; align-items: center; }
.countdown__seg { background: var(--bg-deep); border: 1px solid var(--border-strong); border-radius: 8px; padding: 6px 10px; font: 600 1.05rem ui-monospace, Consolas, monospace; color: var(--text); }
.countdown__seg small { display: block; font: 500 0.58rem var(--font-body); color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.so-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.so-modal.is-open { display: flex; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(5, 10, 8, 0.72); }
.so-modal__card {
  position: relative; width: min(480px, 100%); text-align: center;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 34px 28px 28px;
}
.so-modal__close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: var(--text-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 6px; }
.so-modal__close:hover { color: var(--text); }
.so-modal__title { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 8px; }

/* body lock when mobile modal was shown */
body.so-modal-was-open { overflow: auto; }

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

@media (min-width: 1024px) {
  main > .hero h1 { font-size: clamp(2rem, 3.1vw, 2.7rem); }
  main > .hero .hero__lead { font-size: 1rem; }
}
