/* ==========================================================================
   Valtena Sorevia — animation-led dark navy data-forward design system
   Tokens per site spec: bg #0B1220, surface #121C2E, accent #6FB3E0 (celeste),
   gold #D8B45A for small data highlights, Sora display, 16px radius.
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/sora-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sora-700.woff2') format('woff2');
}

:root {
  --bg: #0B1220;
  --surface: #121C2E;
  --surface-2: #182740;
  --border: #24334D;
  --text: #E8EDF5;
  --muted: #9FB0C7;
  --accent: #6FB3E0;
  --accent-hover: #8FC6EC;
  --accent-tint: rgba(111, 179, 224, 0.14);
  --gold: #D8B45A;
  --on-accent: #0B1220;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 9px;

  --shadow-sm: 0 1px 2px rgba(3, 8, 18, 0.5), 0 2px 10px rgba(3, 8, 18, 0.32);
  --shadow-md: 0 2px 6px rgba(3, 8, 18, 0.55), 0 12px 30px rgba(3, 8, 18, 0.42);
  --shadow-lg: 0 4px 14px rgba(3, 8, 18, 0.6), 0 26px 52px rgba(3, 8, 18, 0.5);

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-data: ui-monospace, 'Cascadia Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace;

  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  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);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.6em;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.3rem); }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

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

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

.icon { width: 24px; height: 24px; flex: none; }
.icon--xs { width: 17px; height: 17px; }
.icon--sm { width: 20px; height: 20px; }

.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;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  white-space: nowrap;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  color: var(--on-accent);
  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--wide { width: 100%; }

/* ---------- skip above: header ---------- */

.urgency-strip {
  background: linear-gradient(90deg, rgba(216, 180, 90, 0.16), rgba(111, 179, 224, 0.16));
  border-bottom: 1px solid var(--border);
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.urgency-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-block: 9px;
}
.urgency-strip__inner span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.urgency-strip .icon { color: var(--gold); }

.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);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.97);
  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: 10px;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo__mark { width: 34px; height: 34px; color: var(--accent); }
.logo__node { color: var(--gold); }
.logo__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo--footer .logo__mark { width: 30px; height: 30px; }

/* ---------- main nav + dropdowns ---------- */

.main-nav { margin-left: auto; }

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: color 0.16s var(--ease), background 0.16s var(--ease);
}
.main-nav__trigger:hover { color: var(--text); background: var(--accent-tint); }
.nav-caret { transition: transform 0.18s var(--ease); }
.main-nav__group.is-open .nav-caret { transform: rotate(180deg); }

.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
  z-index: 110;
}
.nav-drop::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);
}
.main-nav__group { position: relative; }
.main-nav__group.is-open .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav__group.align-right .nav-drop { left: auto; right: 0; }
.main-nav__group.align-right .nav-drop::before { left: auto; right: 22px; }

.nav-drop__list { list-style: none; margin: 0; padding: 0; }
.nav-drop__link {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.93rem;
  transition: background 0.14s var(--ease), color 0.14s var(--ease);
}
.nav-drop__link:hover, .nav-drop__link:focus-visible {
  background: var(--accent-tint);
  color: var(--accent-hover);
}

.header-cta { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- ticker row (beacon addon) ---------- */

.beacon-ticker {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--muted);
}
.beacon-ticker__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 10px clamp(16px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  overflow-x: auto;
}
.beacon-ticker__sym b { color: var(--accent); font-weight: 700; }

/* ---------- breadcrumbs ---------- */

.breadcrumbs {
  border-bottom: 1px solid var(--border);
  background: rgba(18, 28, 46, 0.5);
}
.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- sections ---------- */

.section { padding-block: clamp(48px, 7vw, 84px); position: relative; }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
.section--alt {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(111, 179, 224, 0.07), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--border);
}

.section-head { max-width: 760px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head__lead { color: var(--muted); font-size: 1.04rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border: 1px solid rgba(111, 179, 224, 0.25);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 14px;
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(111, 179, 224, 0.13), transparent 62%),
    radial-gradient(700px 420px at 108% 30%, rgba(216, 180, 90, 0.06), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.hero__bg {
  position: absolute;
  inset: -40px 0 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero__bg svg { width: 100%; height: 100%; display: block; }
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(44px, 6vw, 78px);
}
.hero__title { max-width: 15ch; }
.hero__text { color: var(--muted); font-size: 1.06rem; max-width: 54ch; }

.hero__offices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 22px 0 6px;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero__offices-label { margin-right: 2px; }

.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 13px 5px 6px;
  font-size: 0.86rem;
  color: var(--text);
}
.flag-chip__svg { width: 26px; height: 18px; border-radius: 3px; overflow: hidden; display: block; flex: none; }

.hero__iconlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.icon-link:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 179, 224, 0.5);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.icon-link .icon { color: var(--accent); }

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(820px 400px at 8% -14%, rgba(111, 179, 224, 0.12), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.page-hero__motif {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: min(46vw, 520px);
  opacity: 0.5;
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(38px, 5.5vw, 66px);
}
.page-hero__text { color: var(--muted); font-size: 1.03rem; max-width: 58ch; }
.page-hero__inner--narrow {
  grid-template-columns: 1fr;
  max-width: 820px;
}
.page-hero .form-block { margin-top: 4px; }

/* ---------- form block (formFactory wrapper) ---------- */

.form-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 30px);
}
.form-block--extra { margin-top: 8px; }
.form-block__heading {
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.form-block__intro { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.form-block__card { margin-top: 10px; }

.beacon-form__form { display: grid; gap: 12px; }
.beacon-form__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
  font-family: var(--font-data);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.beacon-form__input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.beacon-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.beacon-form__submit {
  width: 100%;
  margin-top: 4px;
  background: var(--beacon-accent, var(--accent));
  color: var(--beacon-on-accent, var(--on-accent));
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), filter 0.16s var(--ease);
}
.beacon-form__submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.06); }

.form-legal {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.form-manager {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text);
  background: var(--accent-tint);
  border: 1px solid rgba(111, 179, 224, 0.22);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
  margin: 12px 0 0;
}
.form-manager .icon { color: var(--accent); margin-top: 1px; }

/* ---------- exchange pill chips ---------- */

.ex-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ex-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.ex-chip:hover { color: var(--text); border-color: rgba(111, 179, 224, 0.45); transform: translateY(-2px); }
.ex-chip__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
  flex: none;
}
.ex-note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 16px; }

/* ---------- calculator block ---------- */

.calc-section {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(111, 179, 224, 0.08), transparent 55%),
    var(--surface);
  border-block: 1px solid var(--border);
  overflow: hidden;
}
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.calc-aside {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.calc-aside h3 { font-size: 0.95rem; margin-bottom: 8px; }
.calc-aside p { font-size: 0.85rem; color: var(--muted); margin-bottom: 0; }
.calc-canvas-wrap { position: relative; min-height: 132px; }
.calc-canvas-wrap canvas { width: 100%; height: 132px; display: block; }
.calc-aside__tag {
  font-family: var(--font-data);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(111, 179, 224, 0.4);
}
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1.04rem; }
.step-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- comparison table ---------- */

.compare-col-head { font-family: var(--font-display); }
.compare-table th, .compare-table td { text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table .yes { color: var(--accent); }
.compare-table .no { color: #E08A8A; }
.compare-table .yes, .compare-table .no { font-size: 1.1rem; }
.compare-table thead th:nth-child(2) { color: var(--accent); }

/* ---------- tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 560px;
}
.table-wrap th {
  background: var(--surface-2);
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table-wrap td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(36, 51, 77, 0.6);
  vertical-align: top;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:nth-child(even) { background: rgba(24, 39, 64, 0.35); }

/* ---------- cards / icon badges ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  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), 0 0 0 1px rgba(111, 179, 224, 0.28);
  border-color: rgba(111, 179, 224, 0.4);
}
.card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
}
.icon-badge--gold { background: rgba(216, 180, 90, 0.13); color: var(--gold); }

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

/* security cards with wallet/ledger motif band */
.security-block { position: relative; }
.security-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(111, 179, 224, 0.05) 0 1px,
    transparent 1px 90px
  );
  pointer-events: none;
}

/* ---------- node network motif ---------- */

.netmotif { width: 100%; max-width: 460px; margin-inline: auto; display: block; }
.netmotif .nm-line { stroke: rgba(111, 179, 224, 0.32); stroke-width: 1.2; }
.netmotif .nm-node { fill: var(--accent); }
.netmotif .nm-node--gold { fill: var(--gold); }
.netmotif .nm-pulse { animation: nmPulse 3.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.netmotif .nm-pulse.d2 { animation-delay: 1.1s; }
.netmotif .nm-pulse.d3 { animation-delay: 2.2s; }
@keyframes nmPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

/* ---------- orbit motif ---------- */

.orbitmotif { position: relative; }
.orbitmotif svg { width: 100%; height: auto; display: block; }
.orbitmotif .om-path {
  fill: none;
  stroke: rgba(111, 179, 224, 0.3);
  stroke-dasharray: 4 7;
}
.orbitmotif .om-core { fill: var(--accent); }
.orbitmotif .om-sat { fill: var(--gold); }

/* ---------- steps answer / docs layout ---------- */

.doc-layout { max-width: 860px; }
.doc-layout h2 { margin-top: 1.9em; }
.doc-layout h2:first-child { margin-top: 0; }
.doc-layout p, .doc-layout li { color: var(--muted); }
.doc-layout strong { color: var(--text); }

.notes-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.notes-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}
.notes-list .icon { color: var(--accent); margin-top: 2px; }

.callout {
  background: var(--accent-tint);
  border: 1px solid rgba(111, 179, 224, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  color: var(--text);
  font-size: 0.95rem;
}
.callout--warn {
  background: rgba(216, 180, 90, 0.1);
  border-color: rgba(216, 180, 90, 0.3);
}
.callout p:last-child { margin-bottom: 0; }

/* ---------- reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card__head { display: flex; align-items: center; gap: 13px; }
.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid rgba(111, 179, 224, 0.35);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.review-avatar .icon { width: 26px; height: 26px; }
.review-card__name { font-weight: 700; font-family: var(--font-display); font-size: 0.98rem; }
.review-card__role { color: var(--muted); font-size: 0.84rem; }
.review-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}
.review-card__stats span {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--muted);
}
.review-card__stats b { color: var(--accent); font-weight: 700; }
.review-card p { font-size: 0.93rem; margin: 0; }
.reviews-note { color: var(--muted); font-size: 0.84rem; margin-top: 18px; }

/* ---------- company block ---------- */

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.company-facts {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.company-facts li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}
.company-facts .icon { color: var(--accent); margin-top: 3px; }
.company-facts strong { color: var(--text); }

.iconcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.iconcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.iconcard:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 179, 224, 0.45);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.iconcard span:last-child { color: var(--muted); font-weight: 400; font-size: 0.84rem; }

/* ---------- FAQ accordion ---------- */

.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 16px 18px;
  cursor: pointer;
}
.faq-item__q:hover { color: var(--accent-hover); }
.faq-item__q .icon { color: var(--accent); transition: transform 0.18s var(--ease); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s var(--ease);
}
.faq-item__a-inner { padding: 0 18px 16px; color: var(--muted); font-size: 0.95rem; }
.faq-item__a-inner p:last-child { margin-bottom: 0; }

/* ---------- article cards ---------- */

.article-card { display: flex; flex-direction: column; gap: 10px; }
.article-card h3 { font-size: 1.12rem; }
.article-card p { flex: 1; }
.article-card .icon-line { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 0.88rem; font-weight: 600; }

/* ---------- map ---------- */

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

/* ---------- vacancies ---------- */

.vacancy { display: flex; flex-direction: column; gap: 12px; }
.vacancy__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.vacancy__meta span {
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 11px;
}
.vacancy__cta { align-self: flex-start; }

/* ---------- special offer ---------- */

.so-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 380px at 90% -10%, rgba(216, 180, 90, 0.14), transparent 60%),
    radial-gradient(700px 420px at 0% 20%, rgba(111, 179, 224, 0.14), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.so-hero .page-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); }
.so-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(216, 180, 90, 0.12);
  border: 1px solid rgba(216, 180, 90, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.so-countdown {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}
.so-cd-box {
  font-family: var(--font-data);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  padding: 9px 12px;
  min-width: 62px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.so-cd-sep { color: var(--muted); font-weight: 700; }
.so-cd-label {
  font-family: var(--font-data);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.so-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.so-cta-band {
  background:
    linear-gradient(90deg, rgba(216, 180, 90, 0.14), rgba(111, 179, 224, 0.14)),
    var(--surface);
  border-block: 1px solid var(--border);
}
.so-cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(28px, 4vw, 44px);
}
.so-cta-band h2 { margin: 0; }
.so-cta-band p { margin: 4px 0 0; color: var(--muted); }

/* exit-intent modal */
.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(4, 9, 18, 0.78);
  backdrop-filter: blur(4px);
}
.so-modal__card {
  position: relative;
  width: min(440px, 100%);
  background: var(--surface);
  border: 1px solid rgba(111, 179, 224, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  text-align: center;
  animation: soModalIn 0.22s var(--ease);
}
@keyframes soModalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.so-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.so-modal__close:hover { color: var(--text); border-color: var(--accent); }
.so-modal__card h2 { font-size: 1.4rem; }
.so-modal__card p { color: var(--muted); font-size: 0.94rem; }
.so-modal .so-countdown { justify-content: center; }

/* ---------- 404 ---------- */

.error-hero { text-align: center; padding-block: clamp(60px, 9vw, 110px); }
.error-code {
  font-family: var(--font-data);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.error-hero p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(900px 300px at 15% 0%, rgba(111, 179, 224, 0.06), transparent 60%),
    var(--surface);
  padding-top: clamp(40px, 6vw, 64px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(150px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  padding-bottom: 36px;
}
.footer-brand__line { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.footer-col h3 {
  font-size: 0.8rem;
  font-family: var(--font-data);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.15s var(--ease);
}
.footer-col a:hover { color: var(--accent-hover); }

.footer-disclaimer {
  border-top: 1px solid var(--border);
  padding-block: 22px;
}
.footer-disclaimer h2 { font-size: 0.86rem; margin-bottom: 8px; }
.footer-disclaimer p {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- scroll reveal ---------- */

.reveal { opacity: 0; transform: translateY(8px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-aside { max-width: 560px; }
}

@media (max-width: 880px) {
  .hero__inner, .page-hero__inner, .so-hero .page-hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__title { max-width: none; }
  .hero .form-block, .page-hero .form-block { max-width: 560px; }
  .steps, .so-steps { grid-template-columns: repeat(2, 1fr); }
  .company-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    background: rgba(11, 18, 32, 0.98);
    padding: calc(var(--header-h) + 18px) clamp(18px, 5vw, 30px) 30px;
    overflow-y: auto;
    transform: translateY(-102%);
    transition: transform 0.24s var(--ease);
    z-index: 90;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav__cta {
    display: inline-flex;
    margin-bottom: 20px;
    width: 100%;
  }
  .main-nav__list { display: block; }
  .main-nav__group { border-bottom: 1px solid var(--border); }
  .main-nav__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 15px 2px;
    font-size: 1.02rem;
  }
  .nav-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: none;
    border-radius: 0;
    padding: 0 0 12px;
    display: none;
  }
  .nav-drop::before { display: none; }
  .main-nav__group.is-open .nav-drop { display: block; }
  .nav-drop__link { padding: 11px 2px; border-radius: 0; border-top: 1px solid rgba(36, 51, 77, 0.5); }

  .hero__canvas { display: none; }   /* static SVG fallback below 768px */

  .steps, .so-steps { grid-template-columns: 1fr; }
  .iconcards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps, .so-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .so-countdown { flex-wrap: wrap; }
  .btn { font-size: 0.94rem; }
  .ex-chip { padding: 9px 16px; font-size: 0.88rem; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
  .netmotif .nm-pulse { animation: none; opacity: 0.9; }
}

/* testimonial photos: fill the avatar badge edge to edge */
.review-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; display: block; }

/* Production form widget integration: the beacon formFactory randomizes its
   field class names and leaves input colors to the page. These structural
   rules theme every input inside our form containers, covering both the
   page forms and the calculator modal, with this site's palette. */
.form-block input[type="text"], .form-block input[type="email"], .form-block input[type="tel"],
.form-block input[type="password"], .form-block select,
.calc-modal__content input[type="text"], .calc-modal__content input[type="email"],
.calc-modal__content input[type="tel"], .calc-modal__content input[type="password"],
.calc-modal__content select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
}
.form-block input::placeholder, .calc-modal__content input::placeholder { color: #777777; }
.form-block input:focus, .calc-modal__content input:focus { outline: none; border-color: currentColor; }
.form-block .iti__country-list, .calc-modal__content .iti__country-list {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  margin-top: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.form-block .iti__country:hover, .calc-modal__content .iti__country:hover,
.form-block .iti__highlight, .calc-modal__content .iti__highlight { background: rgba(111, 179, 224, 0.14); }
.form-block .iti__selected-flag, .calc-modal__content .iti__selected-flag { background: transparent; }
.form-block .iti__selected-dial-code, .calc-modal__content .iti__selected-dial-code { color: #777777; }

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