/* ============================================================
   Akmaneio Ακμανείο — design system
   PROFILE: animation-led · THEME: dark · ACCENT: #1fd3ab (Aegean teal)
   design.md §1: tokens, τύπος, ακτίνα, σκιές — ένα σύνολο παντού.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-greek.woff2') format('woff2');
  unicode-range: U+0370-03FF, U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

:root {
  --bg: #0b1220;
  --bg-deep: #080e19;
  --surface: #101a2d;
  --surface-2: #16233c;
  --border: #22304b;
  --border-soft: rgba(148, 163, 184, 0.16);
  --text: #e9eef8;
  --text-muted: #a8b5cd;
  --accent: #1fd3ab;
  --accent-hover: #17b894;
  --accent-tint: rgba(31, 211, 171, 0.12);
  --accent-line: rgba(31, 211, 171, 0.35);
  --accent-ink: #04241c;
  --danger: #ff6b6b;
  --danger-tint: rgba(255, 107, 107, 0.12);
  --ok: #4ade80;

  --font-sans: 'Inter', 'Segoe UI', 'Roboto', -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(2, 8, 20, 0.5), 0 2px 8px rgba(2, 8, 20, 0.35);
  --shadow-md: 0 1px 2px rgba(2, 8, 20, 0.5), 0 10px 28px rgba(2, 8, 20, 0.45);
  --shadow-lg: 0 2px 6px rgba(2, 8, 20, 0.55), 0 24px 60px rgba(2, 8, 20, 0.6);

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --container: 1200px;
}

/* --- Βάση ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  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 0.6em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }
strong { color: var(--text); font-weight: 600; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
  transition: top 0.16s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

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

.icon { flex: none; vertical-align: -0.18em; }

/* --- Κουμπιά (design.md §10) --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem/1 var(--font-sans);
  padding: 14px 26px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
              transform 0.16s var(--ease), box-shadow 0.16s var(--ease), border-color 0.16s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.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); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent-line); }
.btn-secondary:hover { background: var(--accent-tint); border-color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* --- Header + ticker ------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled { background: rgba(8, 14, 25, 0.96); box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1.05; font-weight: 800; font-size: 1.18rem; letter-spacing: 0.01em; }
.brand__word-sub { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.34em; color: var(--text-muted); }

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

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 110;
  min-width: 270px; max-width: min(360px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s var(--ease), transform 0.15s var(--ease), visibility 0.15s;
}
.dropdown::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);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.92rem;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--accent-tint); color: var(--accent); text-decoration: none; }
.site-nav__item { position: relative; }
.site-nav__item:last-child .dropdown { left: auto; right: 0; }
.site-nav__item:last-child .dropdown::before { left: auto; right: 22px; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 8px; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--accent-line); color: var(--accent); }

.mobile-menu { border-top: 1px solid var(--border-soft); padding: 12px clamp(16px, 4vw, 40px) 20px; }
.mobile-menu__group + .mobile-menu__group { margin-top: 4px; }
.mobile-menu__trigger {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  background: none; border: 0; color: var(--text); cursor: pointer;
  font: 600 0.95rem/1 var(--font-sans); padding: 12px 4px;
}
.mobile-menu__trigger .icon { transition: transform 0.16s var(--ease); }
.mobile-menu__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-menu__list { list-style: none; margin: 0 0 6px; padding: 0 0 0 8px; }
.mobile-menu__list a {
  display: block; padding: 9px 10px; color: var(--text-muted); border-radius: var(--radius-sm);
  font-size: 0.92rem;
}
.mobile-menu__list a:hover { background: var(--accent-tint); color: var(--accent); text-decoration: none; }
.mobile-menu .btn { margin-top: 10px; }

/* ticker (beacon inject) */
.bct-ticker-wrap, .ticker-wrap { background: var(--bg-deep); border-bottom: 1px solid var(--border-soft); }

/* --- Breadcrumbs ---------------------------------------------- */
.breadcrumbs { border-bottom: 1px solid var(--border-soft); background: var(--bg-deep); }
.breadcrumbs__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 0; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumbs__inner a { color: var(--text-muted); }
.breadcrumbs__inner a:hover { color: var(--accent); }
.breadcrumbs__inner .icon { transform: rotate(-90deg); opacity: 0.6; }

/* --- Sections -------------------------------------------------- */
.section { padding: clamp(48px, 7vw, 88px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-muted); font-size: 1.02rem; margin: 0; }
.section--tint { background: var(--surface); border-block: 1px solid var(--border-soft); }
.section--deep { background: var(--bg-deep); border-block: 1px solid var(--border-soft); }

.section--decor {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(31, 211, 171, 0.09), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(56, 130, 246, 0.06), transparent 65%),
    var(--bg);
}

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

/* --- Cards (design.md §4) -------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); }
.card h3 { margin-bottom: 0.45em; }
.card p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--accent-tint); color: var(--accent);
  border: 1px solid var(--accent-line); margin-bottom: 16px;
}
.card__badge-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card__badge-row h3 { margin: 0; }

/* Numbered steps (design.md §10: μικρός κύκλος, όχι γιγάνιος αριθμός) */
.step { display: flex; gap: 16px; }
.step__num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 0.9rem/1 var(--font-sans); box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.step p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

/* --- Tables (design.md §10) ------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.93rem; }
thead th {
  background: var(--surface-2); text-align: left; font-weight: 600; color: var(--text);
  padding: 13px 16px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid var(--border-soft); color: var(--text-muted); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
tbody td:first-child { color: var(--text); font-weight: 500; }
.tick-yes { color: var(--ok); font-weight: 700; }
.tick-no { color: var(--danger); font-weight: 700; }

/* --- Hero ------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(1100px 520px at 78% -12%, rgba(31, 211, 171, 0.13), transparent 62%),
    radial-gradient(760px 420px at 4% 112%, rgba(59, 96, 178, 0.14), transparent 65%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  border-bottom: 1px solid var(--border-soft);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.hero__title { margin-bottom: 0.5em; }
.hero__lead { color: var(--text-muted); font-size: 1.06rem; max-width: 56ch; }
.hero__aside { display: flex; flex-direction: column; gap: 14px; }

.hero-flags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.hero-flags__label { font-size: 0.88rem; color: var(--text-muted); margin-right: 4px; }
.flag { width: 34px; height: 24px; border-radius: 4px; overflow: hidden; display: block; box-shadow: 0 0 0 1px var(--border-soft); }
.flag svg { width: 100%; height: 100%; display: block; }

.hero__form-heading { font-size: 1.15rem; margin: 0 0 4px; color: var(--text); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); padding: 10px 14px; color: var(--text);
  font-size: 0.88rem; font-weight: 500;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.hero-badge:hover { border-color: var(--accent-line); transform: translateY(-2px); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); }
.hero-badge .icon { color: var(--accent); }

/* GSAP hero motif (design.md §13) */
.hero-motif { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-motif svg { position: absolute; right: -4%; top: -6%; width: min(62vw, 780px); height: auto; opacity: 0.9; }
.hero-motif--parallax { will-change: transform; }

/* --- Φόρμα (formFactory wrapper) -------------------------------- */
.form-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
.form-block__intro { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 12px; }
.form-legal { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 0; }
.form-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-legal a:hover { color: #fff; }
.prose a, .card a, .faq-item__a a, .step a, td a { text-decoration: underline; text-underline-offset: 2px; }

/* A11y: επικάλυψη χρωμάτων του προστατευμένου bundle της φόρμας πάνω στο dark wrapper
   (design.md §10: το wrapper στυλάρεται από εμάς, το bundle δεν πειράζεται). */
.form-block input::placeholder,
.form-block textarea::placeholder { color: #8ba0bf !important; opacity: 1 !important; font-size: 12px; }
.form-block input[type="text"],
.form-block input[type="email"],
.form-block input[type="tel"],
.form-block input[type="password"] {
  color: var(--text) !important;
  background-color: #0d1728;
}

.form-block .leads-input-loading input { color: transparent !important; } /* πρωτότυπο buffer loading */
.so-modal .form-block input::placeholder { color: #8ba0bf !important; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); margin: 14px 0 0; }
.form-note .icon { color: var(--accent); margin-top: 2px; }

/* --- Σύγκριση / οφέλη ------------------------------------------- */
.compare-col-brand { background: rgba(31, 211, 171, 0.06); }

/* --- Reviews ------------------------------------------------------ */
.review { display: flex; gap: 16px; }
.review__avatar {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent-tint); border: 1px solid var(--accent-line);
  color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
}
.review__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 0.84rem; color: var(--text-muted); margin: 8px 0 10px; }
.review__meta strong { color: var(--text); }
.review p { font-size: 0.94rem; }
.review__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 18px; font-size: 0.84rem; margin: 0 0 10px; color: var(--text-muted); }
.review__stats b { display: block; color: var(--accent); font-size: 0.98rem; }
.reviews-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 18px; }

/* --- Exchange chips (logos.md §3) --------------------------------- */
.exchange-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.chip {
  width: 168px; height: 60px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.chip img { height: 28px; width: auto; max-width: 82%; display: block; }
.chip--light { background: #ffffff; }
.chip--dark { background: #0f172a; }

/* --- Company block -------------------------------------------------- */
.company-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 60px); }
.company-facts { list-style: none; margin: 18px 0 0; padding: 0; font-size: 0.94rem; color: var(--text-muted); }
.company-facts li { display: flex; gap: 10px; align-items: flex-start; }
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; align-content: start; }
.company-cards .card { padding: 20px; }
.company-cards .icon-badge { width: 44px; height: 44px; margin-bottom: 10px; }

/* --- FAQ -------------------------------------------------------------- */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item__q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px;
  background: none; border: 0; color: var(--text); cursor: pointer; text-align: left;
  font: 600 1rem/1.4 var(--font-sans); padding: 17px 20px;
}
.faq-item__q:hover { color: var(--accent); }
.faq-item__q .icon { transition: transform 0.16s var(--ease); color: var(--text-muted); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); color: var(--accent); }
.faq-item__a { padding: 0 20px 18px; color: var(--text-muted); font-size: 0.95rem; }
.faq-item__a[hidden] { display: none; }

/* --- Χάρτης (brief §7) -------------------------------------------------- */
.map-embed {
  border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); max-width: 860px; aspect-ratio: 16 / 9; min-height: 320px;
  background: var(--surface);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- Decorative canvas + illustrations ------------------------------------ */
.deco-canvas-wrap { position: relative; }
.deco-canvas-wrap canvas { width: 100%; height: auto; display: block; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--bg-deep); }
.mesh-deco { position: absolute; z-index: 0; pointer-events: none; opacity: 0.5; }

/* --- Inner page hero ------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 5vw, 68px) 0;
  background:
    radial-gradient(800px 400px at 88% -20%, rgba(31, 211, 171, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  border-bottom: 1px solid var(--border-soft);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr); gap: clamp(26px, 4vw, 56px); align-items: center; }
.page-hero p { color: var(--text-muted); font-size: 1.02rem; }
.page-hero__motif { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }

.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); }
.prose p strong, .prose li strong { color: var(--text); }

.doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (min-width: 980px) {
  .doc-layout { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); }
  .doc-layout__toc { position: sticky; top: 92px; align-self: start; }
}
.doc-toc { list-style: none; margin: 0; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 0.87rem; box-shadow: var(--shadow-sm); }
.doc-toc a { color: var(--text-muted); display: block; padding: 5px 8px; border-radius: 6px; }
.doc-toc a:hover { background: var(--accent-tint); color: var(--accent); text-decoration: none; }

/* --- Careers vacancies --------------------------------------------------------- */
.vacancy { padding: 26px; }
.vacancy__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.84rem; color: var(--text-muted); margin: 6px 0 14px; }
.vacancy__meta span { display: inline-flex; align-items: center; gap: 6px; }
.vacancy__meta .icon { color: var(--accent); }

/* --- Special offer (special-offer.md) -------------------------------------------- */
.so-urgency { background: linear-gradient(90deg, #123529, #0e2b3a); border-bottom: 1px solid var(--accent-line); }
.so-urgency__inner { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 10px 0; font-size: 0.85rem; font-weight: 600; }
.so-urgency__inner span { display: inline-flex; align-items: center; gap: 7px; }
.so-urgency__inner .icon { color: var(--accent); }

.so-hero { background:
  radial-gradient(900px 460px at 80% -10%, rgba(31, 211, 171, 0.18), transparent 62%),
  linear-gradient(180deg, var(--bg-deep), var(--bg)); }

.countdown { display: inline-flex; gap: 8px; margin: 14px 0; }
.countdown__seg {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  min-width: 58px; padding: 9px 8px; text-align: center; font: 700 1.35rem/1.1 var(--font-sans);
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.countdown__seg small { display: block; font-size: 0.6rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

.so-cta-band {
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(31, 211, 171, 0.22), transparent 65%),
    linear-gradient(180deg, #10231e, #0c1a18);
  border-block: 1px solid var(--accent-line);
  text-align: center;
}

.so-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.so-modal.is-open { display: block; }
.so-modal__overlay { position: absolute; inset: 0; background: rgba(4, 8, 16, 0.78); backdrop-filter: blur(4px); }
.so-modal__content {
  position: relative; z-index: 1; max-width: 480px; margin: 9vh auto 0;
  background: var(--surface); border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px 28px 28px; text-align: center;
  max-height: 84vh; overflow-y: auto;
}
.so-modal__close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: 10px; font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.so-modal__close:hover { border-color: var(--accent-line); color: var(--accent); }

/* --- Footer ---------------------------------------------------------------------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-soft); padding: clamp(44px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(150px, 1fr)); gap: 30px 22px; }
.footer-col h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; display: inline-block; padding: 3px 0; }
.footer-col a:hover { color: var(--accent); }
.brand--footer .brand__word { color: var(--text); }
.footer-brand__text { color: var(--text-muted); font-size: 0.88rem; margin: 14px 0 0; }
.footer-disclaimer { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--border-soft); }
.footer-disclaimer h3 { font-size: 0.9rem; }
.footer-disclaimer p { color: var(--text-muted); font-size: 0.8rem; line-height: 1.65; margin: 0; }
.footer-copy { color: var(--text-muted); font-size: 0.78rem; margin: 22px 0 0; text-align: center; }

/* --- Scroll reveal (design.md §5) --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- 404 ---------------------------------------------------------------------------- */
.error-page { text-align: center; padding: clamp(70px, 12vw, 130px) 0; }
.error-page__code { font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; color: var(--accent); line-height: 1; }

/* --- Responsive ---------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .company-block { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__aside { order: 2; }
}
@media (max-width: 640px) {
  .header-actions .btn { display: none; }
  .hero-badges { flex-direction: column; align-items: stretch; }
  .exchange-row { gap: 10px; }
  .chip { width: 148px; height: 54px; }
  .review { flex-direction: column; }
  .review__stats { grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
  .so-modal__content { margin: 4vh 12px 0; }
}

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

.iti__selected-country {
  color: rgb(24, 33, 47) !important;
}

.iti__selected-dial-code {
  color: #fff !important;
}

.iti__country-name {
  color: #000 !important;
}

.hero--market {
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.90), rgba(11, 18, 32, 0.40) 62%, rgba(11, 18, 32, 0.18)),
    linear-gradient(0deg, rgba(11, 18, 32, 0.80), transparent 52%),
    url("../images/hero-market.webp") 63% center / cover no-repeat, rgb(11, 18, 32);
}

.hero-motif { opacity: 0.22; }

#reviews .grid-3 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 720px) {
  #reviews .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  #reviews .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

img.review__avatar { object-fit: cover; }

/* Homepage hero */
.hero-title__accent { color: var(--accent); }

@media (max-width: 899px) {
  .hero .hero__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    reading-flow: flex-visual;
  }
  .hero .hero__grid > .hero__body { display: contents; }
  .hero .hero__grid > .hero__body > h1 { order: -2; }
  .hero .hero__grid > .hero__aside { order: -1; min-width: 0; }
}

/* Header account action */
a.header-account-cta {
  gap: 10px;
  min-height: 44px;
  padding: 5px 7px 5px 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(120deg, #5ee9c6, #1bccab);
  color: #04241c;
  font-weight: 750;
  box-shadow: 0 4px 14px #1fd3ab4a;
}
a.header-account-cta:hover, a.header-account-cta:focus-visible {
  background: linear-gradient(120deg, #5ee9c6, #1bccab);
  color: #04241c;
  box-shadow: 0 5px 18px #1fd3ab4a;
  filter: brightness(1.08);
  text-decoration: none;
}
a.header-account-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.header-account-cta__icon {
  display: inline-grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #07423530;
}
