/* =========================================================================
   EDGE Group — Option E "Clean & Minimal" design system
   ========================================================================= */

/* ---- Fonts (Maxeville brand font, ~34 KB each) -------------------------- */
@font-face {
  font-family: "Maxeville";
  src: url("../fonts/Maxeville-Tekst.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Maxeville";
  src: url("../fonts/Maxeville-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --navy: #07063d;
  --ink: #11163f;
  --white: #ffffff;
  --cloud: #f4f6fa;
  --muted: #687087;
  --mint: #35e3d0;
  --violet: #9272ff;
  --border: rgba(17, 22, 63, 0.12);
  --border-soft: rgba(17, 22, 63, 0.08);

  --font-sans: "Maxeville", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-card: 0 1px 2px rgba(17, 22, 63, 0.04);
  --shadow-lift: 0 14px 34px -14px rgba(17, 22, 63, 0.18);

  --container: 1160px;
  --header-h: 76px;

  --t-fast: 180ms;
  --t-med: 320ms;
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.015em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); }
ul { padding-left: 1.2em; }
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Utility ------------------------------------------------------------ */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46em; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--mint), var(--violet));
}

.section { padding-block: clamp(64px, 9vw, 116px); }
.section--cloud { background: var(--cloud); }
.section-head { max-width: 720px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px;
  font: inherit; font-weight: 700; font-size: 0.98rem;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background var(--t-fast) ease, color var(--t-fast) ease,
              border-color var(--t-fast) ease, transform var(--t-fast) ease,
              box-shadow var(--t-fast) ease;
}
.btn svg { flex: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-1px); }
.btn--mint { background: var(--mint); color: var(--navy); }
.btn--mint:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .arrow { transition: transform var(--t-fast) ease; }
.btn:hover .arrow { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color var(--t-fast) ease;
}
.text-link:hover { border-bottom-color: var(--mint); }
.text-link .arrow { transition: transform var(--t-fast) ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---- Skip link ---------------------------------------------------------- */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white);
  padding: 12px 20px; border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 700;
  transition: top var(--t-fast) ease;
}
.skip-link:focus { top: 0; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) ease, background var(--t-med) ease, box-shadow var(--t-med) ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 24px -18px rgba(17, 22, 63, 0.25);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 9px;
  font-size: 0.95rem; font-weight: 400; text-decoration: none; color: var(--ink);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
  background: none; border: 0; cursor: pointer; font-family: inherit; line-height: inherit;
}
.nav-link:hover { background: var(--cloud); }
.nav-link[aria-current="page"] { font-weight: 700; color: var(--navy); box-shadow: inset 0 -2px 0 var(--mint); border-radius: 9px 9px 0 0; }
.nav-caret { transition: transform var(--t-fast) ease; }
.nav-item--open .nav-caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-m); box-shadow: var(--shadow-lift);
  padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast) ease, transform var(--t-fast) ease, visibility var(--t-fast);
}
.nav-item--open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none;
  transition: background var(--t-fast) ease;
}
.dropdown a:hover { background: var(--cloud); }
.dropdown .dd-label { display: flex; align-items: center; gap: 7px; font-weight: 700; color: var(--navy); }
.dropdown .dd-note { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 1px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; color: var(--navy);
  transition: background var(--t-fast) ease, color var(--t-fast) ease;
}
.icon-link:hover { background: var(--cloud); color: var(--violet); }

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

/* Mobile nav */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: 0; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    margin: 0; background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 50px -30px rgba(17, 22, 63, 0.35);
    max-height: calc(100dvh - var(--header-h)); overflow: auto;
    display: none; padding: 14px clamp(20px, 4vw, 40px) 26px;
  }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 1.05rem; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--mint); border-radius: 9px; }
  .dropdown {
    position: static; min-width: 0; box-shadow: none; border: 0;
    padding: 0 0 4px 14px; opacity: 1; visibility: hidden; transform: none; display: none;
  }
  .nav-item--open .dropdown { display: block; visibility: visible; }
  .mobile-cta { display: block; margin-top: 16px; }
}
@media (min-width: 981px) { .mobile-cta { display: none; } }

/* ---- Hero (full-background animated scene) ------------------------------ */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(560px, 82vh, 840px);
  padding-block: clamp(70px, 9vw, 110px);
}
.hero-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-scene svg { width: 100%; height: 100%; display: block; }
/* left + top wash so the headline stays perfectly readable over the scene */
.hero-scene::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 26%,
                    rgba(255,255,255,0.4) 46%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 20%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 660px; }
.hero-copy .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Scene animations — all subtle, all disabled by prefers-reduced-motion */
@keyframes cloud-drift { from { transform: translateX(-24px); } to { transform: translateX(30px); } }
.cloud-a { animation: cloud-drift 28s ease-in-out infinite alternate; }
.cloud-b { animation: cloud-drift 38s ease-in-out infinite alternate-reverse; }
.cloud-c { animation: cloud-drift 46s ease-in-out infinite alternate; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
.orbit-slow { transform-origin: 1030px 330px; animation: orbit-turn 160s linear infinite; }
@keyframes beacon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.15; } }
.beacon-light { animation: beacon-pulse 2.6s ease-in-out infinite; }
@keyframes plane-fly { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.scene-plane { opacity: 0; }
@supports (offset-rotate: auto) {
  .scene-plane { opacity: 1; offset-rotate: auto; animation: plane-fly linear infinite; }
  .scene-plane--1 { offset-path: path("M-80 600 C 340 470 760 330 1540 400"); animation-duration: 48s; }
  .scene-plane--2 { offset-path: path("M1540 210 C 1060 150 560 280 -80 220"); animation-duration: 60s; animation-delay: -28s; }
}

/* Phone view: the scene disappears, hero becomes a clean text block */
@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hero-scene { display: none; }
}

/* Decorative orbit circles used on sub-page heroes */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  overflow: hidden;
}
.hero-bg svg { position: absolute; right: -8%; top: -18%; width: 66%; min-width: 620px; opacity: 0.55; }

/* Sub-page hero */
.page-hero { padding-block: clamp(52px, 7vw, 96px) clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero .lede { margin-bottom: 30px; }
.page-hero--tight { padding-bottom: clamp(24px, 4vw, 44px); }

/* ---- Cards -------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-l);
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) ease, box-shadow var(--t-med) ease, border-color var(--t-med) ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--border); }

.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .solutions-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.solution-card { position: relative; overflow: hidden; }
.solution-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--accent, var(--mint)), transparent 90%);
  opacity: 0; transition: opacity var(--t-med) ease;
}
.solution-card:hover::before, .solution-card:focus-within::before { opacity: 1; }
.solution-card .sol-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cloud); color: var(--accent, var(--mint));
  margin-bottom: 20px;
}
.solution-card .sol-logo { height: 30px; width: auto; margin-bottom: 24px; align-self: flex-start; }
.solution-card .sol-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.solution-card h3 { font-size: 1.3rem; }
.solution-card p { color: var(--muted); flex: 1; }
.solution-card .text-link { margin-top: 18px; }

.ext-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--violet); background: rgba(146, 114, 255, 0.1);
  border-radius: 999px; padding: 3px 10px;
}

/* ---- Why EDGE strengths ------------------------------------------------- */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .strengths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strengths { grid-template-columns: 1fr; } }
.strength {
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.strength .num {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: var(--violet);
  display: block; margin-bottom: 10px;
}
.strength h3 { font-size: 1.05rem; margin-bottom: 6px; }
.strength p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: clamp(22px, 3vw, 34px) 14px; }
.stat .stat-value {
  font-size: clamp(2.3rem, 4.5vw, 3.2rem); font-weight: 700; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat .stat-label { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }
.stat .stat-sub { font-size: 0.82rem; color: var(--muted); }

/* ---- Timeline ----------------------------------------------------------- */
.timeline { position: relative; margin-top: clamp(30px, 5vw, 54px); }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 19px; width: 2px;
  background: linear-gradient(180deg, var(--mint), var(--violet));
  border-radius: 2px;
  transform-origin: top;
  transform: scaleY(var(--draw, 1));
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-item { position: relative; padding: 0 0 34px 62px; }
.tl-item:last-child { padding-bottom: 6px; }
.tl-dot {
  position: absolute; left: 11px; top: 6px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--white);
  border: 3px solid var(--mint);
  transition: box-shadow var(--t-fast) ease, border-color var(--t-fast) ease;
}
.tl-item:nth-child(even) .tl-dot { border-color: var(--violet); }
.tl-item:hover .tl-dot, .tl-item:focus-within .tl-dot {
  box-shadow: 0 0 0 5px rgba(53, 227, 208, 0.25), 0 0 0 9px rgba(146, 114, 255, 0.15);
}
.tl-year { font-size: 1.35rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: 10px; }
.tl-year img { height: 16px; width: auto; border-radius: 2px; border: 1px solid var(--border-soft); }
.tl-year img.tl-logo { height: 22px; border: 0; border-radius: 0; }
.tl-text { color: var(--muted); margin: 4px 0 0; max-width: 46em; }

/* Desktop alternating layout */
@media (min-width: 900px) {
  .timeline--full::before { left: 50%; margin-left: -1px; }
  .timeline--full .tl-item { width: 50%; padding: 0 54px 44px 0; text-align: right; }
  .timeline--full .tl-item .tl-dot { left: auto; right: -9px; }
  .timeline--full .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 54px; text-align: left; }
  .timeline--full .tl-item:nth-child(even) .tl-dot { right: auto; left: -9px; }
  .timeline--full .tl-year { justify-content: flex-end; }
  .timeline--full .tl-item:nth-child(even) .tl-year { justify-content: flex-start; }
  .timeline--full .tl-text { margin-left: auto; }
  .timeline--full .tl-item:nth-child(even) .tl-text { margin-left: 0; }
}

/* Compact preview timeline (home) */
.tl-preview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: relative; margin: 40px 0 34px; }
.tl-preview::before {
  content: ""; position: absolute; left: 3%; right: 3%; top: 8px; height: 2px;
  background: linear-gradient(90deg, var(--mint), var(--violet)); border-radius: 2px;
}
.tlp-item { position: relative; padding-top: 30px; text-align: center; }
.tlp-item::before {
  content: ""; position: absolute; top: 1px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--mint);
}
.tlp-item:nth-child(even)::before { border-color: var(--violet); }
.tlp-item strong { display: block; font-size: 1.15rem; color: var(--navy); }
.tlp-item span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) {
  .tl-preview { grid-template-columns: 1fr; gap: 0; }
  .tl-preview::before { left: 8px; right: auto; top: 4px; bottom: 4px; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--mint), var(--violet)); }
  .tlp-item { text-align: left; padding: 0 0 18px 32px; }
  .tlp-item::before { left: 1px; top: 5px; transform: none; }
}

/* ---- Certificates ------------------------------------------------------- */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card { flex-direction: row; gap: 22px; align-items: flex-start; }
@media (max-width: 480px) { .cert-card { flex-direction: column; } }
.cert-icon {
  flex: none; width: 62px; height: 62px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cloud); color: var(--navy);
}
.cert-card h3 { margin-bottom: 2px; }
.cert-card .cert-sub { color: var(--violet); font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 10px; }
.cert-card p { color: var(--muted); margin: 0; }

/* ---- Downloads ---------------------------------------------------------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .dl-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.dl-card .dl-thumb {
  height: 128px; border-radius: var(--radius-m); margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(120% 140% at 85% 10%, rgba(53, 227, 208, 0.16), transparent 55%),
    radial-gradient(120% 140% at 10% 90%, rgba(146, 114, 255, 0.16), transparent 55%),
    var(--cloud);
  color: var(--navy);
}
.dl-card .dl-cat {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 6px; display: flex; gap: 8px; align-items: center;
}
.dl-card h3 { font-size: 1.12rem; }
.dl-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.dl-meta span { display: inline-flex; align-items: center; gap: 5px; }
.badge-new { background: rgba(53, 227, 208, 0.18); color: #0d7d71; font-size: 0.7rem; padding: 2px 9px; border-radius: 999px; }

.empty-state {
  text-align: center; padding: clamp(40px, 6vw, 70px);
  border: 1px dashed var(--border); border-radius: var(--radius-l); color: var(--muted);
}

/* ---- Process steps (FRMS / Consultation) -------------------------------- */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; border-top: 1px solid var(--border); padding-top: 20px; counter-increment: step; }
.step::before {
  content: "0" counter(step);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--mint);
  display: block; margin-bottom: 8px;
}
.step:nth-child(even)::before { color: var(--violet); }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---- Capability list ---------------------------------------------------- */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 720px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-grid li {
  display: flex; gap: 13px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-m); padding: 16px 18px;
}
.cap-grid .tick {
  flex: none; width: 24px; height: 24px; border-radius: 8px; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(53, 227, 208, 0.15); color: #0d7d71;
}
.cap-grid li:nth-child(even) .tick { background: rgba(146, 114, 255, 0.13); color: var(--violet); }

/* ---- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(34px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .c-icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cloud); color: var(--navy);
}
.contact-list a { text-decoration: none; font-weight: 700; color: var(--navy); }
.contact-list a:hover { color: var(--violet); }
.contact-list .c-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: block; }

.form-card { padding: clamp(26px, 3.4vw, 40px); }
.form-card:hover { transform: none; box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.field input, .field textarea {
  font: inherit; color: var(--ink);
  padding: 13px 15px; border-radius: 11px;
  border: 1px solid var(--border); background: var(--white);
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(146, 114, 255, 0.18);
}
.field .error-msg { color: #b3103c; font-size: 0.85rem; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #b3103c; }
.field.has-error .error-msg { display: block; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 11px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; background: rgba(53, 227, 208, 0.14); color: #0b6c61; }
.form-status.err { display: block; background: rgba(179, 16, 60, 0.08); color: #b3103c; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-l);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 42em; margin-inline: auto; }
.cta-band .btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn--ghost:hover { border-color: var(--white); }
.cta-band .cta-lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.5; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--cloud); border-top: 1px solid var(--border-soft); margin-top: clamp(60px, 8vw, 100px); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px;
  padding-block: clamp(44px, 6vw, 70px);
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { height: 36px; }
.footer-desc { color: var(--muted); font-size: 0.95rem; margin-top: 16px; max-width: 30em; }
.footer-col h3 { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--ink); font-size: 0.96rem; }
.footer-col a:hover { color: var(--violet); }
.footer-legal { color: var(--muted); font-size: 0.92rem; font-style: normal; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-block: 20px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 0.88rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--violet); }

/* ---- Reveal animations -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Orbit line drift (very slow, decorative) */
@keyframes dash-drift { to { stroke-dashoffset: -640; } }
.orbit-anim { animation: dash-drift 60s linear infinite; }

/* ---- 404 ---------------------------------------------------------------- */
.error-page { min-height: 55vh; display: flex; align-items: center; text-align: center; }
.error-code {
  font-size: clamp(5rem, 14vw, 9rem); font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, var(--mint), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Privacy page ------------------------------------------------------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.6em; }
.lang-jump {
  display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 10px;
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 5;
}
.lang-jump a {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; text-decoration: none; font-weight: 700; font-size: 0.9rem;
}
.lang-jump a:hover { border-color: var(--violet); color: var(--violet); }

/* ---- 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; }
  .timeline::before { transform: none; }
}

/* ---- Print -------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .skip-link, .cta-band, .nav-toggle { display: none !important; }
}
