/* ============================================================
   EDIH-DIGIMAT — Redesign design system
   Two switchable themes: [data-theme="momentum"] (bold/dark)
                          [data-theme="clarity"]  (light/airy)
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600;700;800&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Epilogue', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: 'Epilogue', system-ui, sans-serif; margin: 0; line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ============================================================
   THEME TOKENS
   ============================================================ */

/* Shared brand constants */
:root {
  --pink: #FF005C;
  --pink-bright: #FF4D85;
  --violet: #7C3AED;
  --violet-deep: #5B21B6;
  --plum-900: #0E0624;
  --plum-800: #18093A;
  --plum-700: #261052;
  --maxw: 1400px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(56px, 7vw, 104px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
}

/* ---- Theme A: MOMENTUM (bold / dark heroes) ---- */
[data-theme="momentum"] {
  --page-bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F1FB;
  --surface-3: #ECE5F8;
  --ink: #1A0B2E;
  --ink-soft: #5C4E72;
  --ink-faint: #8E83A3;
  --line: rgba(26,11,46,.10);
  --line-strong: rgba(26,11,46,.16);

  --accent: var(--pink);
  --accent-ink: #FFFFFF;
  --accent-2: var(--violet);

  --hero-bg: radial-gradient(120% 130% at 12% 0%, #3A1A6E 0%, #18093A 45%, #0E0624 100%);
  --hero-ink: #FFFFFF;
  --hero-ink-soft: rgba(255,255,255,.74);
  --hero-eyebrow: #FF4D85;
  --on-dark-card: rgba(255,255,255,.07);
  --on-dark-line: rgba(255,255,255,.14);

  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 2px rgba(26,11,46,.05), 0 18px 40px -24px rgba(49,22,99,.35);
  --card-shadow-hover: 0 2px 4px rgba(26,11,46,.06), 0 30px 60px -28px rgba(124,58,237,.45);
  --r-card: 18px;

  --net-node: rgba(255,255,255,.85);
  --net-line: rgba(178,140,255,.5);
  --net-accent: #FF4D85;

  --footer-bg: radial-gradient(130% 120% at 80% 0%, #241048 0%, #160A30 60%, #0E0624 100%);
  --footer-ink: rgba(255,255,255,.72);
  --footer-head: #FFFFFF;
}

/* ---- Theme B: CLARITY (light / airy) ---- */
[data-theme="clarity"] {
  --page-bg: #FBFAFE;
  --surface: #FFFFFF;
  --surface-2: #F4F0FB;
  --surface-3: #EDE7F8;
  --ink: #18093A;
  --ink-soft: #6A5E7E;
  --ink-faint: #9A90AB;
  --line: rgba(36,21,55,.09);
  --line-strong: rgba(36,21,55,.14);

  --accent: var(--pink);
  --accent-ink: #FFFFFF;
  --accent-2: var(--violet);

  --hero-bg: linear-gradient(160deg, #F3ECFC 0%, #FAF3FB 48%, #FDEFF6 100%);
  --hero-ink: #1F1136;
  --hero-ink-soft: #6A5E7E;
  --hero-eyebrow: var(--pink);
  --on-dark-card: rgba(124,58,237,.06);
  --on-dark-line: rgba(36,21,55,.12);

  --card-bg: #FFFFFF;
  --card-shadow: 0 1px 2px rgba(36,21,55,.04), 0 20px 44px -30px rgba(124,58,237,.30);
  --card-shadow-hover: 0 2px 6px rgba(36,21,55,.05), 0 34px 60px -32px rgba(124,58,237,.40);
  --r-card: 24px;

  --net-node: rgba(124,58,237,.55);
  --net-line: rgba(124,58,237,.22);
  --net-accent: var(--pink);

  --footer-bg: linear-gradient(165deg, #18093A 0%, #0E0624 100%);
  --footer-ink: rgba(255,255,255,.70);
  --footer-head: #FFFFFF;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }

/* ============================================================
   TYPE SCALE
   ============================================================ */
.display {
  font-size: clamp(2.4rem, 1.3rem + 3.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); }
.h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.85rem); }
.h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent), 0 0 12px 2px color-mix(in srgb, var(--accent) 65%, transparent);
}
.eyebrow--center { justify-content: center; }
.muted { color: var(--ink-soft); }
.accent-text { color: var(--accent); }

.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 16px; text-wrap: balance; }
.section-head .lead { margin-top: 18px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Epilogue', sans-serif;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 12px 28px -10px rgba(255,0,92,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(255,0,92,.65); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--on-dark {
  background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.22);
}
.btn--on-dark:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; color: var(--accent);
}
.link-arrow .ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid currentColor; transition: transform .25s var(--ease), background .2s, color .2s;
}
.link-arrow .ico svg { width: 15px; height: 15px; }
.link-arrow:hover .ico { background: var(--accent); color: #fff; transform: translateX(3px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 80px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; color: var(--nav-ink, var(--ink)); transition: color .3s; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { white-space: nowrap; }
.brand__logo { height: 22px; width: auto; display: block; }
@media (max-width: 420px){ .brand__logo { height: 18px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: 10px;
  font-weight: 500; font-size: 0.97rem; color: var(--nav-ink, var(--ink)); transition: color .2s, background .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after { transform: scaleX(1); }

.header-right { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 0.85rem; padding: 7px 12px;
  border: 1.5px solid var(--nav-line, var(--line-strong)); border-radius: var(--r-pill);
  color: var(--nav-ink, var(--ink)); transition: border-color .2s, color .2s;
}
.lang:hover { border-color: var(--accent); color: var(--accent); }
.lang__flag { width: 18px; height: 13px; border-radius: 2px; object-fit: cover; }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1.5px solid var(--line);
}
.theme-toggle button {
  border: none; background: transparent; border-radius: var(--r-pill);
  padding: 7px 14px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
  transition: background .2s, color .2s; white-space: nowrap;
}
.theme-toggle button.is-active {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent) 70%, transparent);
}

.nav-burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--nav-line, var(--line-strong)); border-radius: 12px; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { width: 20px; height: 2px; background: currentColor; color: var(--nav-ink, var(--ink)); border-radius: 2px; transition: .25s var(--ease); }

/* header variants: transparent over the hero — adapts to hero ink per theme */
.site-header[data-mode="over-dark"] {
  --nav-ink: var(--hero-ink);
  --nav-line: color-mix(in srgb, var(--hero-ink) 26%, transparent);
}
.site-header[data-mode="over-dark"] .theme-toggle { background: color-mix(in srgb, var(--hero-ink) 9%, transparent); border-color: color-mix(in srgb, var(--hero-ink) 16%, transparent); }
.site-header[data-mode="over-dark"] .theme-toggle button { color: color-mix(in srgb, var(--hero-ink) 65%, transparent); }
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--page-bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  --nav-ink: var(--ink); --nav-line: var(--line-strong);
}
.site-header.is-scrolled .theme-toggle { background: var(--surface-2); border-color: var(--line); }
.site-header.is-scrolled .theme-toggle button { color: var(--ink-soft); }

/* mobile nav drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 80; display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(10,4,22,.55); backdrop-filter: blur(4px); }
.mobile-nav__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82vw, 360px);
  background: var(--page-bg); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: -20px 0 60px -20px rgba(0,0,0,.4); transform: translateX(100%); transition: transform .35s var(--ease);
}
.mobile-nav.is-open .mobile-nav__panel { transform: translateX(0); }
.mobile-nav__panel a { padding: 13px 14px; border-radius: 12px; font-weight: 600; font-size: 1.05rem; }
.mobile-nav__panel a:hover, .mobile-nav__panel a.is-active { background: var(--surface-2); color: var(--accent); }
.mobile-nav__close { align-self: flex-end; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 1.3rem; margin-bottom: 8px; }

/* ============================================================
   HERO (page banners)
   ============================================================ */
.hero {
  position: relative; overflow: clip;
  background: var(--hero-bg); color: var(--hero-ink);
  margin-top: -80px; padding-top: 80px;
}
/* circuit-board floor — echoes the spiral render's PCB ground */
.hero::before, .cta-strip::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.13) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(120% 110% at 50% 0%, #000 0%, transparent 78%);
  mask: radial-gradient(120% 110% at 50% 0%, #000 0%, transparent 78%);
  opacity: .55;
}
.site-footer::before { -webkit-mask: radial-gradient(120% 120% at 80% 0%, #000 0%, transparent 75%); mask: radial-gradient(120% 120% at 80% 0%, #000 0%, transparent 75%); }
.hero__net { position: absolute; inset: 0; z-index: 0; }
.hero__inner { position: relative; z-index: 2; }

/* homepage hero */
.hero-home { padding-block: clamp(60px, 9vw, 120px); }
.hero-home__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-home .display { color: var(--hero-ink); text-wrap: balance; }
.hero-home .hero__eyebrow { color: var(--hero-eyebrow); }
.hero-home__lead { color: var(--hero-ink-soft); margin-top: 22px; max-width: 30ch; }
.hero-home__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-home__visual { position: relative; aspect-ratio: 1/1; width: 100%; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Epilogue', sans-serif; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__eyebrow::before { content:""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px 2px currentColor; }

/* inner page banner */
.page-banner { padding-block: clamp(48px, 7vw, 96px); }
.page-banner .h1 { color: var(--hero-ink); font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); }
.page-banner__rule { width: 64px; height: 3px; background: var(--hero-ink); opacity: .5; margin: 22px 0 16px; border-radius: 2px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--hero-ink-soft); white-space: nowrap; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--hero-ink); }
.breadcrumb .sep { opacity: .5; }

/* decorative hero orb (network sphere reinterpreted) */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }

/* ============================================================
   CARDS & COMPONENTS
   ============================================================ */
.card {
  background: var(--card-bg); border-radius: var(--r-card);
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* service / feature item */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, var(--violet) 0%, var(--plum-700) 100%);
  box-shadow: 0 14px 28px -14px rgba(124,58,237,.6);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature__icon--pink { background: linear-gradient(150deg, var(--pink-bright) 0%, var(--pink) 100%); box-shadow: 0 14px 28px -14px rgba(255,0,92,.6); }
.feature h3 { font-size: 1.18rem; }
.feature p { color: var(--ink-soft); margin-top: 7px; font-size: 0.98rem; }

/* numbered step */
.step { position: relative; text-align: center; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-family: 'Epilogue', sans-serif;
  font-weight: 700; font-size: 1.3rem; color: #fff;
  background: linear-gradient(150deg, var(--pink-bright), var(--pink));
  box-shadow: 0 12px 26px -12px rgba(255,0,92,.6);
}
.step__art { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 22px; background: var(--surface-2); display: grid; place-items: center; color: var(--violet); }
.step__art svg { width: 46px; height: 46px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--ink-soft); margin-top: 8px; font-size: 0.95rem; }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0 18px; }
.step__art { position: relative; }
.step__num--inline { position: absolute; top: -14px; right: -10px; width: 38px; height: 38px; margin: 0; font-size: 1.05rem; }
.step-connector { align-self: start; position: relative; height: 2px; min-width: 64px; margin-top: 47px; background: linear-gradient(90deg, transparent, var(--accent)); opacity: .85; }
.step-connector::after { content: ""; position: absolute; top: 50%; right: 0; width: 9px; height: 9px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 380px; margin-inline: auto; }
  .step-connector { display: none; }
}

/* stat */
.stat__num { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); line-height: 1; }
.stat__num .plus { color: var(--pink-bright); }
.stat__label { font-size: 0.9rem; color: var(--ink-soft); margin-top: 8px; }

/* pills / tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--accent-2);
}
.tag--pink { background: color-mix(in srgb, var(--pink) 12%, transparent); color: var(--pink); }

/* avatar */
.avatar { border-radius: 50%; overflow: hidden; aspect-ratio: 1/1; background: var(--surface-3); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* photo placeholder */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-card);
  background:
    radial-gradient(120% 120% at 20% 10%, color-mix(in srgb, var(--violet) 28%, transparent), transparent 60%),
    radial-gradient(120% 120% at 90% 90%, color-mix(in srgb, var(--pink) 26%, transparent), transparent 55%),
    var(--surface-3);
  display: grid; place-items: center; color: var(--ink-faint);
}
.ph__label { font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ph__label svg { width: 30px; height: 30px; opacity: .6; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  position: relative; overflow: hidden; color: #fff;
  background: var(--footer-bg);
  border-radius: var(--r-lg);
}
.cta-strip__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(34px, 5vw, 60px); flex-wrap: wrap; }
.cta-strip__net { position: absolute; inset: 0; z-index: 0; opacity: .9; }
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); }
.cta-strip p { color: rgba(255,255,255,.72); margin-top: 8px; }

/* newsletter band */
.newsletter {
  background: linear-gradient(100deg, var(--violet-deep), var(--pink)); color: #fff;
  border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.newsletter__form { display: flex; gap: 10px; flex: 1; min-width: 280px; max-width: 520px; }
.newsletter__form input {
  flex: 1; border: none; border-radius: var(--r-pill); padding: 15px 22px; font-size: 1rem;
  font-family: inherit; background: rgba(255,255,255,.95); color: var(--ink);
}
.newsletter__form input::placeholder { color: var(--ink-faint); }
.newsletter__form button { background: var(--plum-900); color: #fff; border: none; border-radius: var(--r-pill); padding: 0 28px; font-weight: 600; }
.newsletter__form button:hover { background: #000; }

/* ============================================================
   FORMS
   ============================================================ */
.form-card { background: var(--surface-2); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line-strong); border-radius: 14px;
  padding: 14px 18px; font-size: 1rem; font-family: inherit; background: var(--surface); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.field textarea { resize: vertical; min-height: 130px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; overflow: hidden; color: var(--footer-ink); background: var(--footer-bg); }
.site-footer__net { position: absolute; inset: 0; z-index: 0; opacity: .7; }
.site-footer__inner { position: relative; z-index: 2; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 70px); flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); }
.footer-cta p { color: rgba(255,255,255,.65); margin-top: 6px; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
.footer-main h4 { color: var(--footer-head); font-size: 1.05rem; margin-bottom: 20px; }
.footer-brand__logo { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; letter-spacing: -0.01em; margin-bottom: 14px; }
.footer-brand__logo img { display: block; max-height: 40px; width: auto; }
.footer-contact li, .footer-links li { margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .fc-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.footer-contact .fc-ico svg { width: 17px; height: 17px; }
.footer-links { columns: 2; column-gap: 24px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--footer-ink); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links svg { width: 13px; height: 13px; color: var(--pink-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 26px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; font-size: 0.85rem; }
.footer-bottom__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom__links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom__links a:hover { color: #fff; }
.eu-strip { display: flex; align-items: center; gap: 24px; padding-block: 30px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; justify-content: center; text-align: center; }
.eu-strip__logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.eu-strip__logos img { display: block; max-height: 60px; width: auto; max-width: 100%; }
.eu-strip__logos--light { background: #fff; border-radius: 10px; padding: 12px 18px; }
.eu-strip--image { flex-direction: column; }
.eu-strip__logos--image { width: 100%; justify-content: center; }
.eu-strip__logos--image img { max-height: none; width: 100%; max-width: 900px; height: auto; margin-inline: auto; }
.eu-strip__note { font-size: 0.72rem; color: rgba(255,255,255,.5); max-width: 780px; line-height: 1.5; }
.eu-flag { width: 50px; height: 34px; border-radius: 4px; flex: none; }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(255,0,92,.6);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* ============================================================
   PROSE (case study / text pages)
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 2.2em; margin-bottom: 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin-top: 1.8em; margin-bottom: .5em; }
.prose p { margin-bottom: 1.1em; color: var(--ink-soft); }
.prose ul.bullets { margin: 1.2em 0; display: flex; flex-direction: column; gap: 14px; }
.prose ul.bullets li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.prose ul.bullets li::before { content:""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }

.quote {
  border-left: 4px solid var(--accent); padding: 6px 0 6px 24px;
  font-style: italic; font-size: 1.12rem; color: var(--ink); line-height: 1.5;
}

/* utilities */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.flex { display: flex; } .gap-s { gap: 12px; } .gap-m { gap: 20px; }
.wrap-flex { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav, .header-right .lang { display: none; }
  .nav-burger { display: flex; }
  .hero-home__grid { grid-template-columns: 1fr; }
  .hero-home__visual { max-width: 420px; margin-inline: auto; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { columns: 1; }
  .cta-strip__inner, .footer-cta { flex-direction: column; align-items: flex-start; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form button { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
