/* =========================================================================
   Naija AI — style.css
   Profile: animation-led (light ivory / deep kente green / aso-oke weave)
   ========================================================================= */

/* ---- 0. Self-hosted display font ----------------------------------------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/display-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/display-800.woff2') format('woff2');
}

/* ---- 1. Tokens ---------------------------------------------------------- */
:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-2: #F0F1EA;
  --border: #DFE2D4;
  --text: #1C241C;
  --muted: #59645A;
  --accent: #0B7A3E;
  --accent-hover: #096332;
  --accent-tint: #E1EFE4;
  --accent-deep: #0F3D24;
  --gold: #B98A2F;
  --gold-tint: #F3EAD6;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(28,36,28,.07);
  --shadow-md: 0 1px 2px rgba(28,36,28,.06), 0 10px 26px rgba(28,36,28,.09);
  --shadow-lg: 0 2px 4px rgba(28,36,28,.07), 0 18px 44px rgba(28,36,28,.13);

  --font-display: 'Plus Jakarta Sans', 'Segoe UI', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --header-h: 72px;
  --ease: cubic-bezier(.2, .6, .2, 1);

  --weave: repeating-linear-gradient(90deg,
    rgba(11,122,62,.10) 0 3px, transparent 3px 9px,
    rgba(185,138,47,.12) 9px 11px, transparent 11px 18px);
}

/* ---- 2. Reset & base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

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

img, svg, iframe, video, canvas { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.14rem; font-weight: 600; }
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: .45em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid rgba(11,122,62,.55); outline-offset: 2px; border-radius: 4px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 17px; height: 17px; }
.icon--md { width: 26px; height: 26px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

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

main { display: block; }

/* ---- 3. Sections & rhythm ----------------------------------------------- */
.section { padding: clamp(44px, 7vw, 84px) 0; position: relative; }
.section--tint { background: var(--surface-2); }
.section--deep { background: var(--accent-deep); color: #F2F6EF; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep p { color: #CDE0D3; }

.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 42px); }
.section-head p { color: var(--muted); font-size: 1.04em; margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 8px; background: var(--weave); border-radius: 2px; }

/* Woven-stripe divider band between sections */
.weave-band { height: 10px; background: var(--weave); opacity: .8; }

/* Decorative section background: tint + motif, never a bare gradient */
.section--pattern {
  background:
    radial-gradient(circle at 12% 18%, rgba(11,122,62,.06), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(185,138,47,.07), transparent 46%),
    var(--surface-2);
}
.section--pattern::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(28,36,28,.05) 1.1px, transparent 1.3px);
  background-size: 26px 26px;
  mask-image: linear-gradient(115deg, transparent 55%, #000 100%);
  -webkit-mask-image: linear-gradient(115deg, transparent 55%, #000 100%);
}

/* ---- 4. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  line-height: 1.2; padding: 13px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: transform .16s var(--ease), box-shadow .16s var(--ease),
    background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--accent-tint); color: var(--accent-hover); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--accent-deep); }
.btn--light:hover { background: var(--accent-tint); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: .9rem; }

/* ---- 5. Header, nav, dropdowns, mobile menu ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,245,.92); backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .22s var(--ease), background-color .22s var(--ease);
}
.site-header.is-scrolled { background: #FAF9F5; box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.logo-mark { width: 42px; height: 42px; color: var(--accent); flex: none; }
.logo-word { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; color: var(--text); }
.logo-word b { color: var(--accent); font-weight: 800; }
.logo:hover .logo-mark { color: var(--accent-hover); }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px; border: 0; background: none;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--text);
  padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--accent); background: var(--accent-tint); }
.nav-caret { transition: transform .18s var(--ease); }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 264px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; transform: translateY(4px); visibility: hidden;
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.dropdown::before {
  content: ""; position: absolute; top: -5px; left: 26px; width: 12px; height: 12px;
  background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: rotate(45deg);
}
.dropdown.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.dropdown--right { left: auto; right: 0; }
.dropdown--right::before { left: auto; right: 26px; }
.dropdown-list { list-style: none; margin: 0; padding: 0; }
.dropdown-link {
  display: block; padding: 10px 12px; border-radius: 9px; color: var(--text);
  font-size: .93rem; transition: background-color .14s var(--ease), color .14s var(--ease);
}
.dropdown-link:hover, .dropdown-link:focus-visible { background: var(--accent-tint); color: var(--accent-hover); }

.header-cta { margin-left: auto; padding: 11px 22px; }

.nav-toggle {
  display: none; border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--r-sm); padding: 9px; cursor: pointer; color: var(--text);
  transition: background-color .15s var(--ease);
}
.nav-toggle:hover { background: var(--accent-tint); }
.nav-ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-ico-close { display: block; }

.mobile-menu { background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
.mm-nav { padding: 14px clamp(16px,4vw,40px) 22px; }
.mm-group + .mm-group { border-top: 1px solid var(--border); }
.mm-trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; padding: 14px 2px; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text);
}
.mm-trigger .nav-caret { transition: transform .18s var(--ease); }
.mm-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.mm-list { list-style: none; margin: 0; padding: 2px 0 12px; }
.mm-list a { display: block; padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: .95rem; }
.mm-list a:hover { background: var(--accent-tint); color: var(--accent-hover); }
.mm-cta { width: 100%; margin-top: 14px; }

/* Ticker row (auto-injected after header) */
.beacon-ticker { background: var(--accent-deep); color: #E7F0E9; font-size: .84rem; }
.beacon-ticker__inner { display: flex; gap: 26px; overflow-x: auto; padding: 9px clamp(16px,4vw,40px); }
.beacon-ticker__sym { white-space: nowrap; opacity: .95; }
.beacon-ticker__price { font-weight: 700; color: #fff; }

/* ---- 6. Breadcrumbs ------------------------------------------------------ */
.breadcrumbs { background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .88rem; }
.breadcrumbs .container { display: flex; align-items: center; gap: 9px; padding-block: 11px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---- 7. Form block (formFactory wrapper) --------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
  padding: clamp(22px, 3.4vw, 34px); position: relative; overflow: hidden;
}
.form-block::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 7px;
  background: var(--weave);
}
.form-block__heading { font-size: 1.22rem; margin-bottom: 6px; }
.form-block__intro { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.form-block__card { margin-top: 14px; }
.form-legal { font-size: .8rem; color: var(--muted); margin: 12px 0 4px; }
.form-legal a { text-decoration: underline; }
.form-manager {
  display: flex; align-items: center; gap: 8px; font-size: .87rem; font-weight: 600;
  color: var(--accent); background: var(--accent-tint); border-radius: 999px;
  padding: 8px 15px; margin: 10px 0 0; width: fit-content;
}

/* beacon formFactory fields */
.beacon-form__row { margin-bottom: 13px; }
.beacon-form__label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .85rem; margin-bottom: 6px; color: var(--text);
}
.beacon-form__input {
  width: 100%; padding: 12px 15px; font: inherit; font-size: .97rem;
  color: var(--text); background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 12px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.beacon-form__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11,122,62,.16); }
.beacon-form__submit {
  width: 100%; margin-top: 6px; padding: 14px 22px; font: inherit;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: #fff; background: var(--accent); border: 0; border-radius: 999px;
  cursor: pointer; box-shadow: var(--shadow-sm); white-space: nowrap;
  transition: background-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.beacon-form__submit:hover, .beacon-form__submit:focus-visible { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- 8. Hero (home) ------------------------------------------------------ */
.hero-home {
  position: relative; overflow: hidden;
  padding: clamp(46px, 6.5vw, 86px) 0 clamp(50px, 7vw, 96px);
  background:
    radial-gradient(1050px 460px at 88% 6%, rgba(11,122,62,.10), transparent 62%),
    radial-gradient(700px 380px at 4% 92%, rgba(185,138,47,.09), transparent 58%),
    linear-gradient(180deg, #FAF9F5 0%, #F4F4EC 100%);
}
.hero-home::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 12px;
  background: var(--weave); opacity: .75; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "copy side" "meta side"; gap: clamp(28px, 4.5vw, 64px); align-items: start; }
.hero-copy { grid-area: copy; }
.hero-side { grid-area: side; }
.hero-meta { grid-area: meta; }
.hero-copy > h1 { margin-bottom: .45em; }
.hero-copy .hero-sub { color: var(--muted); font-size: 1.07rem; max-width: 56ch; margin-bottom: 20px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.hero-badges li { margin: 0; }

.flags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 22px; }
.flags__label { font-weight: 600; font-size: .93rem; color: var(--text); }
.flag-chip { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .87rem; color: var(--muted); }
.flag-chip svg { width: 26px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(28,36,28,.08); display: block; }

.iconlinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; max-width: 460px; }
.iconlink {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .93rem;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.iconlink:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); }
.iconlink .icon-badge { width: 40px; height: 40px; }

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

/* Hero visual: Lagos skyline + woven data ribbons + chart (GSAP target) */
.hero-visual { position: relative; margin-top: 8px; }
.hero-visual svg { width: 100%; height: auto; display: block; }
.hero-visual .hv-parallax { will-change: transform; }
.hv-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(165deg, #F3F5EC 0%, #E7EFE3 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.hv-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(28,36,28,.06) 1.2px, transparent 1.4px);
  background-size: 30px 30px; mask-image: linear-gradient(200deg, #000 20%, transparent 72%);
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 72%);
}
.hv-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow-md); padding: 8px 14px; font-family: var(--font-display);
  font-weight: 600; font-size: .8rem; color: var(--text);
}
.hv-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hv-chip--gold .dot { background: var(--gold); }
.hv-chip--a { top: 14px; left: 14px; }
.hv-chip--b { bottom: 14px; right: 14px; }

/* ---- 9. Icon badges & cards ---------------------------------------------- */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 50px; height: 50px; border-radius: 14px; background: var(--accent-tint);
  color: var(--accent);
}
.icon-badge--gold { background: var(--gold-tint); color: var(--gold); }
.icon-badge--deep { background: var(--accent-deep); color: #fff; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 24px;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(11,122,62,.4); }
.card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

.card-grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr)); }
/* Asymmetric hero-adjacent grid: first card spans wide */
.grid-stagger { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-stagger .card--wide { grid-column: 1 / -1; }

/* ---- 10. Steps ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; margin-bottom: 12px;
}
.step h3 { font-size: 1.03rem; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---- 11. Comparison table -------------------------------------------------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
.compare thead th { background: var(--accent-deep); color: #fff; font-family: var(--font-display); font-weight: 600; }
.compare thead th:first-child { background: var(--surface-2); color: var(--text); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: var(--surface-2); }
.compare td.yes { color: var(--accent); font-weight: 700; }
.compare td.no { color: #B4442F; font-weight: 700; }
.tick { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; }
.tick--yes { background: var(--accent-tint); color: var(--accent); }
.tick--no { background: #F7E4DF; color: #B4442F; }

/* ---- 12. Tables (generic) -------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); margin: 0 0 22px; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: 13px 17px; text-align: left; font-size: .94rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: rgba(240,241,234,.55); }
.table-wrap .ok { color: var(--accent); font-weight: 700; }

/* ---- 13. Exchanges row ------------------------------------------------------ */
.exchanges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; }
.ex-chip {
  display: inline-flex; align-items: center; padding: 11px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--font-display); font-weight: 800; letter-spacing: .02em;
  font-size: 1.02rem; color: var(--text); box-shadow: var(--shadow-sm);
  opacity: .88; transition: opacity .16s var(--ease), transform .16s var(--ease), border-color .16s var(--ease);
}
.ex-chip:hover { opacity: 1; transform: translateY(-2px); border-color: var(--accent); }
.ex-note { text-align: center; color: var(--muted); font-size: .87rem; margin: 18px 0 0; }

/* ---- 14. Reviews ------------------------------------------------------------ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.review-card { display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px; transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-head { display: flex; align-items: center; gap: 13px; }
.review-name { font-family: var(--font-display); font-weight: 700; font-size: .99rem; }
.review-role { color: var(--muted); font-size: .84rem; }
.review-body { color: var(--text); font-size: .95rem; margin: 0; flex: 1; }
.review-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.review-stat { background: var(--surface-2); border-radius: 999px; padding: 6px 13px; font-size: .8rem; color: var(--muted); }
.review-stat b { color: var(--text); font-weight: 700; }
.reviews-note { text-align: center; color: var(--muted); font-size: .84rem; margin: 20px 0 0; }

.avatar { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border); }
.avatar .icon { width: 26px; height: 26px; }
.avatar--1 { background: var(--accent-tint); color: var(--accent); }
.avatar--2 { background: var(--gold-tint); color: var(--gold); }
.avatar--3 { background: var(--surface-2); color: var(--accent-deep); }
.avatar--4 { background: var(--accent-tint); color: var(--accent-hover); }
.avatar--5 { background: var(--gold-tint); color: #8A651F; }
.avatar--6 { background: #E8F0E4; color: var(--accent); }

/* ---- 15. Company block -------------------------------------------------------- */
.company-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,4vw,52px); align-items: start; }
.fact-list { list-style: none; margin: 0 0 20px; padding: 0; }
.fact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; color: var(--muted); font-size: .95rem; }
.fact-list .icon { color: var(--accent); margin-top: 2px; }
.fact-list b { color: var(--text); }
.company-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.company-link {
  display: flex; align-items: center; gap: 12px; padding: 15px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.company-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); color: var(--text); }

/* ---- 16. FAQ accordion ----------------------------------------------------------- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 17px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq-q .nav-caret { transition: transform .18s var(--ease); color: var(--accent); }
.faq-q[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.faq-a { padding: 0 20px; color: var(--muted); font-size: .96rem; }
.faq-a[hidden] { display: none; }
.faq-a p { margin: 0; padding-bottom: 18px; }

/* ---- 17. Inner page hero (split with form) ---------------------------------------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 5.5vw, 72px) 0; background: radial-gradient(900px 380px at 92% 0%, rgba(11,122,62,.09), transparent 60%), radial-gradient(560px 300px at 0% 100%, rgba(185,138,47,.08), transparent 55%), linear-gradient(180deg, #FAF9F5, #F3F3EA); }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 9px; background: var(--weave); opacity: .7; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.page-hero h1 { margin-bottom: .4em; }
.page-hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 58ch; }

/* ---- 18. Prose (article/legal bodies) ----------------------------------------------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); font-size: 1rem; }
.prose .lead { color: var(--muted); font-size: 1.05rem; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; margin: 26px 0; }
.callout { background: var(--accent-tint); border-left: 4px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 18px 20px; margin: 22px 0; }
.callout p { margin: 0; color: var(--text); font-size: .96rem; }
.callout--warn { background: var(--gold-tint); border-left-color: var(--gold); }

/* ---- 19. About timeline ---------------------------------------------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 2.5px; background: linear-gradient(var(--accent), var(--gold)); border-radius: 2px; }
.timeline li { position: relative; padding: 0 0 26px 74px; }
.timeline li::before { content: ""; position: absolute; left: 18px; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--surface); border: 3.5px solid var(--accent); }
.timeline b { display: block; font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---- 20. Contact / map -------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; margin-bottom: 26px; }
.map-embed { width: 100%; border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-md); overflow: hidden; max-width: 900px; aspect-ratio: 16 / 9; min-height: 320px; margin-left: auto; margin-right: auto; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- 21. Careers vacancies ------------------------------------------------------------------ */
.vacancy { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 18px; align-items: center; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.vacancy:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.vacancy h3 { margin: 0 0 4px; }
.vacancy .vacancy-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 8px 0 10px; }
.vacancy .vacancy-meta span { background: var(--surface-2); border-radius: 999px; padding: 4px 11px; font-size: .78rem; color: var(--muted); }
.vacancy p { margin: 0; color: var(--muted); font-size: .94rem; }
.vacancy .btn { justify-self: end; }

/* ---- 22. Calculator section ------------------------------------------------------------------- */
.calc-section { position: relative; background: var(--surface-2); overflow: hidden; }
.calc-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(28,36,28,.07) 1.3px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: radial-gradient(720px 420px at 50% 40%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(720px 420px at 50% 40%, #000 30%, transparent 78%);
}
.calc-section .container { position: relative; z-index: 2; }
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(22px, 4vw, 44px); align-items: start; }
.calc-donut { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 20px; }
.calc-donut canvas { width: 100%; height: auto; display: block; }
.calc-donut figcaption { text-align: center; color: var(--muted); font-size: .78rem; margin-top: 10px; }

/* ---- 23. Special offer ------------------------------------------------------------------------- */
.urgency-strip { background: var(--accent-deep); color: #fff; font-size: .86rem; }
.urgency-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding-block: 10px; }
.urgency-strip b { color: #F2D28C; }
.so-hero { position: relative; overflow: hidden; background: radial-gradient(800px 380px at 85% 0%, rgba(185,138,47,.14), transparent 60%), linear-gradient(180deg, #FAF9F5, #F1EFE3); padding: clamp(40px, 6vw, 76px) 0; }
.so-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 9px; background: var(--weave); }
.so-countdown { display: inline-flex; align-items: center; gap: 7px; margin: 18px 0 8px; }
.so-countdown__pair { background: var(--accent-deep); color: #fff; border-radius: 9px; padding: 8px 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; min-width: 54px; text-align: center; box-shadow: var(--shadow-md); font-variant-numeric: tabular-nums; }
.so-countdown__sep { color: var(--gold); font-weight: 800; font-size: 1.2rem; }
.so-countdown__label { width: 100%; text-align: center; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.so-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.so-cta-band { background: var(--accent); color: #fff; text-align: center; padding: clamp(36px, 5vw, 58px) 0; }
.so-cta-band h2 { color: #fff; }
.so-cta-band p { color: #DDEEE2; max-width: 56ch; margin-inline: auto; }

.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(15,29,19,.62); backdrop-filter: blur(2px); }
.so-modal__card {
  position: relative; z-index: 2; width: min(460px, 100%); background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 30px 28px 26px; text-align: center;
  animation: so-pop .22s var(--ease);
}
@keyframes so-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.so-modal__close { position: absolute; top: 12px; right: 12px; border: 0; background: var(--surface-2); color: var(--text); width: 36px; height: 36px; border-radius: 50%; font-size: 1.15rem; cursor: pointer; transition: background-color .15s var(--ease); }
.so-modal__close:hover { background: var(--accent-tint); }
.so-modal__art { margin: 4px auto 12px; }

/* ---- 24. Footer ------------------------------------------------------------------------------------ */
.site-footer { background: #14231A; color: #C8D5C9; margin-top: 0; padding-top: clamp(44px, 6vw, 72px); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(4, minmax(0, .8fr)); gap: clamp(22px, 3.4vw, 40px); padding-bottom: 34px; }
.logo--footer { color: #fff; margin-bottom: 14px; display: inline-flex; }
.logo--footer .logo-word { color: #fff; }
.logo--footer .logo-mark { color: #7FCB9B; }
.footer-brand__line { font-size: .9rem; color: #9FB3A2; max-width: 34ch; }
.footer-facts { list-style: none; margin: 14px 0 0; padding: 0; font-size: .86rem; }
.footer-facts li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; color: #9FB3A2; }
.footer-facts .icon { color: #7FCB9B; margin-top: 2px; }
.footer-facts a { color: #C8D5C9; text-decoration: underline; text-underline-offset: 3px; }
.footer-col__title { font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 14px; }
.footer-col__list { list-style: none; margin: 0; padding: 0; font-size: .89rem; }
.footer-col__list a { color: #9FB3A2; }
.footer-col__list a:hover { color: #fff; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); padding: 26px 0 8px; }
.footer-disclaimer__title { font-size: .95rem; color: #fff; }
.footer-disclaimer p { color: #8CA28F; font-size: .82rem; line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 16px 0 30px; font-size: .83rem; color: #8CA28F; }
.footer-bottom a { color: #C8D5C9; }
.footer-skyline { display: block; width: 100%; height: 70px; color: rgba(127,203,155,.2); margin-top: -22px; }

/* ---- 25. Scroll reveal --------------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(9px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---- 26. 404 ---------------------------------------------------------------------------------------------- */
.err-404 { text-align: center; padding: clamp(60px, 10vw, 120px) 0; }
.err-404 .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); color: var(--accent); line-height: 1; }
.err-404 p { color: var(--muted); max-width: 52ch; margin: 12px auto 26px; }

/* ---- 27. Utility ------------------------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.split-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }

/* ---- 28. Responsive ------------------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .calc-layout { grid-template-columns: 1fr; }
  .calc-donut { max-width: 420px; margin-inline: auto; }
}
@media (min-width: 1081px) {
  .mobile-menu { display: none !important; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero-grid, .page-hero-grid, .company-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "side" "meta"; }
  .hero-visual { margin-top: 6px; }
  .iconlinks { max-width: none; }
  .vacancy { grid-template-columns: 1fr; }
  .vacancy .btn { justify-self: start; }
  .footer-bottom { flex-direction: column; }
  .footer-skyline { height: 46px; }
  .hv-chip--b { bottom: 10px; right: 10px; }
}
@media (max-width: 480px) {
  .flags { gap: 8px; }
  .flag-chip { font-size: .8rem; padding: 5px 11px 5px 7px; }
  .so-countdown__pair { min-width: 46px; font-size: 1.12rem; padding: 7px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; }
}

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