/* ==========================================================================
   MiGi Luxembourg — design tokens & layout
   ========================================================================== */
:root {
  --bg: #0B1420;
  --bg-2: #0E1A29;
  --surface: rgba(14, 28, 44, 0.55);
  --surface-strong: rgba(14, 28, 44, 0.82);
  --line: rgba(0, 224, 208, 0.18);
  --line-strong: rgba(0, 224, 208, 0.45);
  --primary: #00E0D0;
  --primary-hi: #6FF6EC;
  --on-primary: #04211F;
  --text: #F2F7FA;
  --text-muted: #A7B6C6;
  --danger: #FF7A7A;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --radius-pill: 999px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 180ms;
  --t-med: 420ms;

  --z-canvas: 0; --z-content: 10; --z-rail: 30; --z-header: 40; --z-boot: 100;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 800; margin: .4rem 0 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--primary); color: var(--on-primary); }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.grad { background: linear-gradient(100deg, var(--primary) 0%, var(--primary-hi) 60%, #fff 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hud-label { font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--primary); }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--text-muted); max-width: 58ch; }

/* ---------- Background layers ---------- */
.particles { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: var(--z-canvas); pointer-events: none; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 50%, transparent 50%, rgba(5, 10, 16, .75) 100%),
    linear-gradient(rgba(0, 224, 208, .025) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(0, 224, 208, .025) 1px, transparent 1px) 0 0 / 64px 100%;
}
main, .footer { position: relative; z-index: var(--z-content); }

/* ---------- Boot sequence ---------- */
.boot { position: fixed; inset: 0; z-index: var(--z-boot); display: grid; place-items: center; background: var(--bg); transition: opacity .8s var(--ease-out), visibility .8s; }
.boot.is-done { opacity: 0; visibility: hidden; }
.boot__inner { display: grid; gap: 14px; justify-items: center; width: min(320px, 80vw); }
.boot__bar { width: 100%; height: 2px; background: rgba(0, 224, 208, .15); overflow: hidden; }
.boot__bar span { display: block; height: 100%; width: 0; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.boot__pct { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: .7em 1.5em; border-radius: var(--radius-pill);
  font: 600 .95rem/1 var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), box-shadow var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  touch-action: manipulation; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 0 0 rgba(0, 224, 208, .5); }
.btn--primary:hover { background: var(--primary-hi); box-shadow: 0 0 28px rgba(0, 224, 208, .45); }
.btn--ghost { border-color: var(--line-strong); color: var(--primary); background: rgba(11, 20, 32, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--primary); background: rgba(0, 224, 208, .08); }
.btn--lg { min-height: 54px; padding: .9em 1.8em; font-size: 1rem; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med); border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(11, 20, 32, .72); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.header__row { display: flex; align-items: center; gap: 32px; height: 84px; }
.brand { --w: 128px; position: relative; display: block; width: var(--w); aspect-ratio: 975 / 600; overflow: hidden; flex: none; }
.brand img { position: absolute; width: calc(var(--w) * 2000 / 975); height: auto; max-width: none; left: calc(var(--w) * -515 / 975); top: calc(var(--w) * -248 / 975); mix-blend-mode: lighten; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text); font-weight: 500; font-size: .95rem; transition: color var(--t-fast); }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease-out); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header__cta { display: flex; gap: 12px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--primary); transition: transform var(--t-fast); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-nav { display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: rgba(11, 20, 32, .95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav > a:not(.btn) { padding: 12px 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- HUD rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: var(--z-rail); }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 30px; font: 500 .68rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.rail__t { opacity: 0; transform: translateX(6px); transition: opacity var(--t-fast), transform var(--t-fast); }
.rail__n { position: relative; padding-right: 22px; transition: color var(--t-fast); }
.rail__n::after { content: ''; position: absolute; right: 0; top: 50%; width: 12px; height: 1px; background: currentColor; transition: width var(--t-med) var(--ease-out), background var(--t-fast); }
.rail a:hover .rail__t, .rail a:focus-visible .rail__t { opacity: 1; transform: none; }
.rail a.is-active { color: var(--primary); }
.rail a.is-active .rail__n::after { width: 18px; background: var(--primary); box-shadow: 0 0 8px var(--primary); }

/* ---------- Sections ---------- */
.section { position: relative; min-height: 100vh; min-height: 100dvh; padding: clamp(96px, 14vh, 160px) 0; display: flex; align-items: center; }
.section > .container { width: 100%; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

.hero { padding-top: 120px; }
.hero__copy { max-width: 680px; }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 55% at 72% 42%, rgba(18, 110, 160, .16), transparent 70%), linear-gradient(90deg, rgba(11, 20, 32, .6) 0%, rgba(11, 20, 32, .15) 50%, transparent 75%); }
.hero > .container { position: relative; }
.hero__title { font-size: clamp(2.4rem, 4.5vw, 4.1rem); font-weight: 800; margin: 1rem 0 1.4rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(11, 20, 32, .5); font: 500 .74rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 rgba(0, 224, 208, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0, 224, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 224, 208, 0); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 2.4rem; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-muted); font-size: .88rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg, .card__icon svg { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust svg { width: 18px; height: 18px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; min-width: 44px; }
.scroll-cue__line { width: 1px; height: 46px; background: linear-gradient(var(--primary), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease-out) infinite; }
@keyframes drip { to { top: 110%; } }

/* Glass + HUD corner brackets */
.glass, .card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
}
.card::before, .card::after, .case::before, .case::after {
  content: ''; position: absolute; width: 14px; height: 14px; border: 1px solid var(--primary); opacity: .55; transition: opacity var(--t-fast), transform var(--t-med) var(--ease-out);
}
.card::before, .case::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius); }
.card::after, .case::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 28px 26px 24px; overflow: hidden; transition: border-color var(--t-med), transform var(--t-med) var(--ease-out), background var(--t-med); }
.card:hover { border-color: var(--line-strong); background: var(--surface-strong); transform: translateY(-4px); }
.card:hover::before { transform: translate(-4px, -4px); opacity: 1; } .card:hover::after { transform: translate(4px, 4px); opacity: 1; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 224, 208, .06); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: .95rem; }
.card ul, .ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.card li, .ticks li { position: relative; padding-left: 20px; font-size: .9rem; }
.card li::before, .ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--primary); box-shadow: 0 0 6px var(--primary); }
.card { --scan: -100%; }
.card .scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(0, 224, 208, .1) 48%, rgba(0, 224, 208, .25) 50%, transparent 52%); transform: translateY(var(--scan)); }
.card:hover .scan { animation: scan 1.2s var(--ease-out); }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Split layouts — content beside the particle sculpture */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__content { grid-column: 1; max-width: 560px; }
.split--right .split__content { grid-column: 2; justify-self: end; }

.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n { font: 500 .9rem/1 var(--font-mono); color: var(--primary); padding-top: 4px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }

.tabs__list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tabs__list [role="tab"] { min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: rgba(11, 20, 32, .5); color: var(--text-muted); font: 500 .92rem var(--font-body); cursor: pointer; transition: all var(--t-fast); }
.tabs__list [role="tab"]:hover { color: var(--text); border-color: var(--line-strong); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.tabs__panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: clamp(24px, 4vw, 44px); animation: fadeUp .5s var(--ease-out); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-size: 1.5rem; margin-bottom: 14px; }
.tabs__panel p { color: var(--text-muted); }
.ticks { align-content: center; }
.ticks li { font-size: 1rem; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); }
.ticks li::before { top: 1.45em; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2rem 0 2.5rem; }
.stat { border-left: 1px solid var(--line-strong); padding-left: 16px; }
.stat__v { display: block; font: 800 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-display); color: var(--primary); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.stat__l { font-size: .85rem; color: var(--text-muted); line-height: 1.4; display: block; }
.cases { display: grid; gap: 14px; }
.case { padding: 20px 22px; transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.case:hover { border-color: var(--line-strong); transform: translateX(6px); }
.case h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.case p { margin: 0; color: var(--text-muted); font-size: .92rem; }
.case b { color: var(--primary); }

.aids { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.8rem 0 2rem; }
.aid { padding: 22px; }
.aid h3 { margin-bottom: 8px; color: var(--primary); }
.aid p { margin: 0; color: var(--text-muted); font-size: .92rem; }

/* Form */
.form { padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; margin-top: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 500; color: var(--text); }
.field label span { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(167, 182, 198, .25);
  background: rgba(6, 12, 20, .6); color: var(--text); font: 400 1rem var(--font-body); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--bg-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 224, 208, .2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { margin: 0; min-height: 0; color: var(--danger); font-size: .82rem; }
.field__err:empty { display: none; }
.form .btn { justify-self: start; }
.form__ok { margin: 0; color: var(--primary); font-weight: 500; }
.form__ok:empty { display: none; }

.footer { border-top: 1px solid var(--line); background: rgba(11, 20, 32, .8); backdrop-filter: blur(10px); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 26px; padding-bottom: 26px; color: var(--text-muted); font-size: .88rem; }
.footer p { margin: 0; }
.footer ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer a { display: inline-flex; min-height: 44px; align-items: center; transition: color var(--t-fast); }
.footer a:hover { color: var(--primary); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.no-js .reveal { opacity: 1; transform: none; filter: none; }

/* No WebGL fallback: show the static logo in the hero */
.no-webgl .hero { background: url('../img/logo.jpg') right 6% center / min(46vw, 640px) auto no-repeat; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__cta .btn--ghost { display: none; }
  .rail { display: none; }
}
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tabs__panel { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__row { height: 72px; }
  .brand { --w: 104px; }
  .split, .split--right { grid-template-columns: 1fr; }
  .split__content, .split--right .split__content { grid-column: 1; justify-self: stretch; max-width: none; }
  /* sculpture sits at the top of each section on narrow screens */
  .section { align-items: flex-start; padding-top: max(42vh, 300px); }
  .hero { padding-top: 120px; align-items: center; }
  .no-webgl .hero { background-position: center 110px; background-size: 88vw auto; }
}
@media (max-width: 640px) {
  .cards, .aids, .form__row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- Language switch ----------
   In the header it only appears once the visitor has scrolled past the hero. */
.lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: rgba(11, 20, 32, .5); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 36px; padding: 0 12px; border-radius: var(--radius-pill); color: var(--text-muted); font: 600 .8rem var(--font-body); letter-spacing: .04em; transition: background var(--t-fast), color var(--t-fast); }
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { background: rgba(0, 224, 208, .14); color: var(--primary); }
.lang--header { opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med); }
.header.is-scrolled .lang--header { opacity: 1; visibility: visible; transform: none; }
.mobile-nav .lang { margin-top: 16px; justify-self: start; }
.mobile-nav .lang a { min-height: 40px; padding: 0 16px; font-size: .9rem; border: 0; }

/* ---------- Content helpers ---------- */
.example { margin: 1.2rem 0 0; padding: 14px 16px; border-left: 2px solid var(--primary); background: rgba(0, 224, 208, .05); border-radius: 0 10px 10px 0; color: var(--text); font-size: .95rem; }
.example b { display: block; margin-bottom: 4px; font: 500 .7rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.form__hint { margin: 0; color: var(--text-muted); font-size: .9rem; }
.footer__brand { padding-bottom: 28px; }
@media (max-width: 900px) { .lang--header { display: none; } }

/* ---------- About ---------- */
.person { display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: start; padding: 22px; margin: 1.6rem 0; }
.person__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 38%; border: 2px solid var(--line-strong); box-shadow: 0 0 0 6px rgba(0, 224, 208, .06); }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }
.person h3 { margin-bottom: 2px; }
.person__role { margin: 0 0 8px; font-size: .85rem; color: var(--primary); }
.person p:last-child { margin: 0; color: var(--text-muted); font-size: .95rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.values li { border-top: 1px solid var(--line-strong); padding-top: 14px; }
.values h3 { font-size: 1rem; margin-bottom: 6px; }
.values p { margin: 0; font-size: .9rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.section--plain { min-height: 0; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item { padding: 0; }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 22px; cursor: pointer; font: 600 1.02rem/1.4 var(--font-body); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-fast); }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--text-muted); }

/* ---------- Contact: direct channels ---------- */
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.4rem; }
.btn--wa { background: #25D366; color: #06210f; }
.btn--wa:hover { background: #3be27b; box-shadow: 0 0 24px rgba(37, 211, 102, .35); }
.btn--wa svg, .wa-float svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.direct__mail { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); font-weight: 500; border-bottom: 1px solid transparent; }
.direct__mail:hover { border-color: var(--primary); }
.direct__or { margin: 1.4rem 0 0; color: var(--text-muted); font-size: .92rem; }
.form__privacy { margin: 0; color: var(--text-muted); font-size: .82rem; }
.form__privacy a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }

/* Floating WhatsApp — appears once the visitor scrolls */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-rail); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: var(--radius-pill); background: #25D366; color: #06210f; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility var(--t-med); }
.wa-float.is-on { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { background: #3be27b; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 640px) {
  .wa-float { right: 14px; bottom: 14px; padding: 0 14px; }
  .wa-float__label { display: none; }
  .values { grid-template-columns: 1fr; }
}

/* ---------- Legal pages ---------- */
.legal { position: relative; z-index: var(--z-content); padding: 130px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: .4rem 0 1.4rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .8rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.legal .todo { color: #FFC66D; }
.legal .updated { font-size: .88rem; }
.header--simple .header__row { justify-content: space-between; }

/* ---------- Services: wide "existing website" tile ---------- */
.card--wide { grid-column: span 2; display: grid; align-content: center; gap: 10px; background: linear-gradient(120deg, rgba(0, 224, 208, .12), rgba(14, 28, 44, .6) 60%); border-color: var(--line-strong); }
.card--wide h3 { font-size: 1.4rem; }
.card--wide .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 640px) { .card--wide { grid-column: auto; } }

/* ---------- Key figures with sources ---------- */
.stats--sourced .stat { display: grid; align-content: start; gap: 6px; }
.stats--sourced .stat__v { margin-bottom: 2px; }
.stat__src { font-size: .72rem; line-height: 1.4; color: rgba(167, 182, 198, .8); text-decoration: underline; text-decoration-color: rgba(0, 224, 208, .4); text-underline-offset: 2px; }
.stat__src:hover { color: var(--primary); }
.note { margin: 1.4rem 0 0; font-size: .8rem; color: rgba(167, 182, 198, .75); }
