/* ============================================================
   FUZE LABS — Fintech consultancy
   Light editorial + indigo glow, engineered/futuristic
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* surfaces — cool / electric blue family */
  --paper:   #e9effb;   /* cool light blue */
  --paper-2: #dbe5f6;
  --card:    #f3f7ff;
  --card-2:  #e2ebfa;
  --ink:     #060d22;   /* deep electric navy */
  --ink-2:   #0c1733;
  --ink-3:   #16224a;

  /* text */
  --fg:        #0e1530;
  --fg-soft:   #38415c;
  --muted:     #5d6786;
  --muted-2:   #8a93b0;
  --on-ink:    #e9eeff;
  --on-ink-soft:#aab6dc;
  --on-ink-mut:#707fab;

  /* lines */
  --line:      rgba(14,30,80,0.14);
  --line-soft: rgba(14,30,80,0.08);
  --line-ink:  rgba(120,160,255,0.14);
  --line-ink-soft: rgba(120,160,255,0.07);

  /* electric blue accent system */
  --accent:        #1666ff;
  --accent-deep:   #0b47d6;
  --accent-bright: #5aa0ff;  /* on dark */
  --accent-tint:   rgba(22,102,255,0.10);
  --accent-tint-2: rgba(22,102,255,0.18);

  /* wheel segment hues (electric blue family, varied lightness) */
  --w1: oklch(0.58 0.17 252);
  --w2: oklch(0.60 0.17 250);
  --w3: oklch(0.62 0.17 248);
  --w4: oklch(0.64 0.17 246);
  --w5: oklch(0.66 0.17 244);
  --w6: oklch(0.68 0.16 242);
  --w7: oklch(0.70 0.16 240);
  --w8: oklch(0.72 0.15 238);

  /* type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  background-image:
    radial-gradient(120% 85% at 50% -12%, #eef4ff 0%, transparent 55%),
    radial-gradient(100% 70% at 100% 0%, rgba(22,102,255,0.06), transparent 50%);
  background-attachment: fixed;
  color: var(--fg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.kicker.on-ink { color: var(--accent-bright); }
.kicker.on-ink::before { background: var(--accent-bright); }

.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-head { max-width: 760px; }
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-top: 20px;
  text-wrap: balance;
}
.section-head p {
  margin-top: 20px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--fg-soft);
  max-width: 640px;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 26px;
  white-space: nowrap;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  will-change: transform;
}
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(22,102,255,0.6);
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(22,102,255,0.65); }
.btn-ghost { border-color: var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(0,0,0,0.5); }
.btn-ghost-ink { border-color: var(--line-ink); color: var(--on-ink); }
.btn-ghost-ink:hover { border-color: var(--on-ink); transform: translateY(-2px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.brand .mark { width: 26px; height: 26px; flex: 0 0 auto; }
.brand .mark .spin { transform-origin: 50% 50%; animation: markspin 16s linear infinite; }
@keyframes markspin { to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px; color: var(--fg-soft);
  position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 18px; }
.lang-toggle {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 100px; overflow: hidden;
  font-family: var(--mono); font-size: 12px;
}
.lang-toggle button { padding: 7px 12px; color: var(--muted); transition: color .25s, background .25s; }
.lang-toggle button.active { background: var(--ink); color: var(--paper); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--fg); transition: transform .3s, opacity .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 96px; padding-bottom: clamp(28px, 3.5vw, 52px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 0.99;
  letter-spacing: -0.035em;
  margin-top: 14px;
  text-wrap: balance;
}
.hero h1 .em { color: var(--accent); position: relative; white-space: nowrap; }
.hero p.lede {
  margin-top: 18px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--fg-soft);
  max-width: 540px;
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero-stats { display: flex; gap: 38px; margin-top: 24px; flex-wrap: wrap; }
.hero-stats .stat .n { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; }
.hero-stats .stat .l { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* hero orbit visual */
.hero-visual { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 480px; margin-inline: auto; }
.orbit-svg { width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.orbit-ring.dash { stroke-dasharray: 2 7; stroke: rgba(22,102,255,0.4); }
.orbit-rot { transform-origin: 50% 50%; animation: orbit 40s linear infinite; }
.orbit-rot.rev { animation-duration: 60s; animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.orbit-node { transform-box: fill-box; transform-origin: center; }
.orbit-core {
  fill: var(--accent);
}
.hero-tag {
  position: absolute;
  font-family: var(--mono); font-size: 11.5px;
  background: var(--card); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 100px;
  white-space: nowrap; color: var(--fg-soft);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 7px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* faint bg grid */
.bg-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 80% at 70% 10%, #000 0%, transparent 72%);
}

/* marquee strip */
.marquee { border-block: 1px solid var(--line); padding-block: 18px; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--accent); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
.pillar {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -30px rgba(10,22,64,0.25); border-color: var(--accent); }
.pillar .pnum { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); letter-spacing: 0.1em; }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; margin-top: 16px; line-height: 1.08; }
.pillar p { margin-top: 14px; color: var(--fg-soft); }
.pillar .plist { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.pillar .plist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--fg-soft); }
.pillar .plist li::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.pillar .pglow { position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; background: radial-gradient(circle, var(--accent-tint-2), transparent 70%); border-radius: 50%; pointer-events: none; }

/* ============================================================
   CAPABILITY WHEEL (dark section)
   ============================================================ */
.dark { background: var(--ink); color: var(--on-ink); }
.dark .section-head p { color: var(--on-ink-soft); }
.dark .bg-grid {
  background-image: linear-gradient(var(--line-ink-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-ink-soft) 1px, transparent 1px);
}

.wheel-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: 56px; }
.wheel-stage { position: relative; aspect-ratio: 1/1; width: 100%; max-width: 600px; margin-inline: auto; }
#wheelSvg { width: 100%; height: 100%; overflow: visible; }
.wseg { cursor: pointer; transition: opacity .35s, transform .45s var(--ease); transform-box: fill-box; transform-origin: center; outline: none; }
.wseg:focus-visible .wseg-arc { stroke: var(--on-ink); stroke-width: 2; filter: drop-shadow(0 0 10px currentColor); }
.wseg-arc { transition: opacity .35s; }
.wheel-stage.has-active .wseg { opacity: 0.28; }
.wheel-stage.has-active .wseg.active { opacity: 1; }
.wseg.active .wseg-arc { filter: drop-shadow(0 0 14px currentColor); }
.wheel-center-label { fill: var(--on-ink); font-family: var(--display); }
.wheel-sub { fill: var(--on-ink-mut); font-family: var(--mono); }

/* detail panel */
.wheel-detail { min-height: 280px; }
.wheel-detail .wd-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink-mut); }
.wheel-detail h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.02em; margin-top: 10px; line-height: 1.05; display: flex; align-items: center; gap: 14px; }
.wheel-detail h3 .swatch { width: 14px; height: 14px; border-radius: 4px; flex: 0 0 auto; transform: rotate(45deg); }
.wheel-detail .wd-desc { margin-top: 16px; color: var(--on-ink-soft); max-width: 460px; }
.wd-items { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.wd-items li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--on-ink-soft); padding-block: 6px; border-top: 1px solid var(--line-ink-soft); }
.wd-items li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: currentColor; color: var(--accent-bright); }
.wheel-hint { font-family: var(--mono); font-size: 12px; color: var(--on-ink-mut); margin-top: 28px; display: flex; align-items: center; gap: 8px; }

/* ============================================================
   FINTECH TYPES
   ============================================================ */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.type-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s;
  position: relative; overflow: hidden;
}
.type-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 24px 50px -28px rgba(10,22,64,0.3); }
.type-card .tc-code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--accent-deep); }
.type-card h3 { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; margin-top: 12px; }
.type-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   REGULATORY
   ============================================================ */
.reg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 54px; }
.reg-step { border-top: 2px solid var(--ink); padding-top: 24px; }
.reg-step .rs-num { font-family: var(--mono); font-size: 13px; color: var(--accent-deep); letter-spacing: 0.1em; }
.reg-step h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px,2vw,26px); letter-spacing: -0.01em; margin-top: 14px; line-height: 1.1; }
.reg-step p { margin-top: 12px; color: var(--fg-soft); font-size: 15.5px; }
.reg-step ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.reg-step ul li { font-family: var(--mono); font-size: 12.5px; color: var(--muted); display: flex; gap: 9px; }
.reg-step ul li::before { content: "→"; color: var(--accent); }

/* licenses for sale band */
.license-band {
  margin-top: 64px;
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4vw, 56px);
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.license-band .lb-glow { position: absolute; width: 420px; height: 420px; right: -100px; top: -160px; background: radial-gradient(circle, rgba(22,102,255,0.4), transparent 68%); pointer-events: none; }
.license-band .lb-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-bright); }
.license-band h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px,2.8vw,38px); letter-spacing: -0.02em; margin-top: 12px; line-height: 1.06; max-width: 620px; text-wrap: balance; }
.license-band p { margin-top: 14px; color: var(--on-ink-soft); max-width: 560px; }

/* ============================================================
   PROCESS
   ============================================================ */
.proc-track { margin-top: 56px; position: relative; }
.proc-line { position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--line); }
.proc-line .fill { position: absolute; inset: 0 100% 0 0; background: var(--accent); transition: right 1.2s var(--ease); }
.proc-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; position: relative; }
.proc-step { position: relative; }
.proc-step .ps-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); position: relative; z-index: 1; margin-bottom: 22px; transition: background .4s, transform .4s; }
.proc-step.lit .ps-dot { background: var(--accent); transform: scale(1.15); }
.proc-step .ps-n { font-family: var(--mono); font-size: 12px; color: var(--accent-deep); }
.proc-step h4 { font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 8px; line-height: 1.12; letter-spacing: -0.01em; }
.proc-step p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); margin-top: 54px; align-items: start; }
.contact-aside h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px,4vw,52px); letter-spacing: -0.025em; line-height: 1.02; text-wrap: balance; }
.contact-aside p { margin-top: 20px; color: var(--fg-soft); max-width: 380px; }
.contact-aside .ca-mail { margin-top: 30px; font-family: var(--mono); font-size: 15px; display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--accent); color: var(--accent-deep); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15.5px; color: var(--fg);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px;
  transition: border-color .25s, box-shadow .25s, background .25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: var(--card);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236d6b76' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }

.checks { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 12px; }
/* honeypot anti-spam: oculto a usuarios, visible para bots */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.checkpill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 100px; padding: 10px 16px; font-size: 14px; cursor: pointer; transition: border-color .25s, background .25s, color .25s; user-select: none; }
.checkpill input { position: absolute; opacity: 0; pointer-events: none; }
.checkpill .box { width: 16px; height: 16px; border: 1.5px solid var(--muted-2); border-radius: 5px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.checkpill .box svg { opacity: 0; transition: opacity .2s; }
.checkpill:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); color: var(--accent-deep); }
.checkpill:has(input:checked) .box { background: var(--accent); border-color: var(--accent); }
.checkpill:has(input:checked) .box svg { opacity: 1; }

.form-foot { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-foot .priv { font-size: 12.5px; color: var(--muted); max-width: 360px; }
.form-foot .priv a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.form-success { grid-column:1/-1; display:none; align-items:center; gap:14px; padding:18px 20px; border:1px solid var(--accent); background: var(--accent-tint); border-radius:12px; font-family: var(--mono); font-size:14px; color: var(--accent-deep); }
.form-success.show { display:flex; }
.form-error { grid-column:1/-1; display:none; align-items:center; gap:14px; padding:18px 20px; border:1px solid oklch(0.6 0.17 25); background: oklch(0.6 0.17 25 / 0.10); border-radius:12px; font-family: var(--mono); font-size:14px; color: oklch(0.52 0.18 25); }
.form-error.show { display:flex; }
.form-error > span:first-child { flex:0 0 auto; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background: oklch(0.6 0.17 25); color:#fff; font-weight:700; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--on-ink); padding-block: clamp(56px, 7vw, 88px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: var(--on-ink); margin-bottom: 18px; }
.footer .f-blurb { color: var(--on-ink-soft); font-size: 15px; max-width: 320px; }
.footer h5 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-mut); margin-bottom: 18px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { color: var(--on-ink-soft); font-size: 15px; transition: color .25s; }
.footer ul li a:hover { color: var(--on-ink); }
.footer-bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--line-ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { font-family: var(--mono); font-size: 12px; color: var(--on-ink-mut); }

/* ============================================================
   MOTION / REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .wheel-layout { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr 1fr; }
  .reg-grid { grid-template-columns: 1fr; gap: 30px; }
  .proc-steps { grid-template-columns: repeat(2,1fr); gap: 30px 16px; }
  .proc-line { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html, body { overflow-x: hidden; max-width: 100%; }

  /* ---- hero: lead with the headline, compact orbit, no overflowing tags ---- */
  .hero { padding-top: 86px; }
  .hero-grid { gap: 26px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; max-width: 248px; margin-top: 4px; }
  .hero-tag { display: none; }
  .hero-stats { gap: 22px 28px; }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { height: 64px; }
  .brand { white-space: nowrap; font-size: 18px; }
  .nav-right { gap: 12px; }
  .nav-right .btn-primary { display: none; }
  .nav-links.open .btn-primary { display: inline-flex; margin-top: 8px; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .form { grid-template-columns: 1fr; }
  .license-band { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .wd-items { grid-template-columns: 1fr; }

  /* ---------- horizontal-scroll carousels ----------
     card rows swipe sideways instead of stacking; the next card peeks in
     to signal there's more, snap holds each card to the gutter. */
  .pillars,
  .types-grid,
  .reg-grid,
  .proc-steps {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    /* bleed to the screen edges, keep first/last card on the gutter */
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 18px;
    scrollbar-width: none;
  }
  .pillars::-webkit-scrollbar,
  .types-grid::-webkit-scrollbar,
  .reg-grid::-webkit-scrollbar,
  .proc-steps::-webkit-scrollbar { display: none; }

  .pillars > *,
  .types-grid > *,
  .reg-grid > *,
  .proc-steps > * {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
  .pillars > * { flex-basis: 86%; }
  .types-grid > * { flex-basis: 78%; }
  .reg-grid > * { flex-basis: 80%; }
  .proc-steps > * { flex-basis: 60%; }

  /* timeline rail rides along under the process carousel */
  .reg-grid { gap: 16px; margin-top: 40px; }
  .proc-steps { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   COOKIE CONSENT (LFPDPPP / GDPR)
   ============================================================ */
.cc-banner, .cc-modal-wrap, .cc-fab { font-family: var(--sans); }

/* --- Bottom banner --- */
.cc-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%);
  width: min(720px, calc(100vw - 32px)); z-index: 9000;
  background: var(--ink); color: var(--on-ink);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px -20px rgba(4,10,30,0.7), 0 2px 0 rgba(120,160,255,0.06) inset;
  padding: 24px 26px 22px;
  opacity: 0; visibility: hidden;
  transition: transform .55s var(--ease), opacity .4s var(--ease), visibility .55s;
}
.cc-banner.cc-show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cc-banner h3 {
  font-family: var(--display); font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 8px; color: #fff;
  display: flex; align-items: center; gap: 9px;
}
.cc-banner h3 svg { flex: none; }
.cc-banner p { font-size: 13.5px; line-height: 1.6; color: var(--on-ink-soft); }
.cc-banner p a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cc-actions .cc-btn { flex: 1 1 auto; }

/* --- Buttons --- */
.cc-btn {
  font: inherit; font-size: 13.5px; font-weight: 500;
  padding: 11px 18px; border-radius: 11px; cursor: pointer;
  border: 1px solid transparent; transition: background .25s var(--ease), border-color .25s, color .25s, transform .15s;
  white-space: nowrap;
}
.cc-btn:active { transform: translateY(1px); }
.cc-btn-primary { background: var(--accent); color: #fff; }
.cc-btn-primary:hover { background: var(--accent-deep); }
.cc-btn-ghost { background: transparent; color: var(--on-ink); border-color: var(--line-ink); }
.cc-btn-ghost:hover { border-color: rgba(120,160,255,0.4); background: rgba(120,160,255,0.06); }

/* --- Preferences modal --- */
.cc-modal-wrap {
  position: fixed; inset: 0; z-index: 9100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(4,8,22,0.62); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.cc-modal-wrap.cc-show { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s linear 0s; }
.cc-modal {
  width: min(560px, 100%); max-height: min(86vh, 720px); overflow: auto;
  background: var(--card); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -25px rgba(4,10,30,0.55);
  padding: 30px 30px 26px; transform: translateY(14px) scale(.985);
  transition: transform .4s var(--ease);
}
.cc-modal-wrap.cc-show .cc-modal { transform: none; }
.cc-modal:focus { outline: none; }
.cc-modal h2 { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.cc-modal > p { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.cc-modal > p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.cc-cat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; margin-top: 14px; background: var(--card-2);
}
.cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cc-cat-head h4 { font-family: var(--display); font-size: 15px; font-weight: 600; }
.cc-cat p { font-size: 13px; color: var(--muted); margin-top: 7px; line-height: 1.55; }

/* toggle switch */
.cc-switch { position: relative; width: 44px; height: 25px; flex: none; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-track {
  position: absolute; inset: 0; border-radius: 999px;
  background: var(--line); transition: background .25s var(--ease); pointer-events: none;
}
.cc-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px;
  border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform .25s var(--ease);
}
.cc-switch input:checked + .cc-track { background: var(--accent); }
.cc-switch input:checked + .cc-track::after { transform: translateX(19px); }
.cc-switch input:disabled + .cc-track { background: var(--accent); opacity: .5; }
.cc-switch input:focus-visible + .cc-track { outline: 2px solid var(--accent-bright); outline-offset: 2px; }
.cc-locked { font-size: 11px; font-family: var(--mono); color: var(--muted-2); letter-spacing: .02em; }

.cc-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cc-modal-actions .cc-btn { flex: 1 1 140px; }
.cc-modal-actions .cc-btn-ghost { color: var(--fg); border-color: var(--line); }
.cc-modal-actions .cc-btn-ghost:hover { background: var(--card); border-color: var(--accent); }

/* --- Floating reopen button --- */
.cc-fab {
  position: fixed; left: 20px; bottom: 20px; z-index: 8500;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: var(--on-ink);
  border: 1px solid var(--line-ink); display: none; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(4,10,30,0.6);
  transition: transform .2s var(--ease), background .25s;
}
.cc-fab.cc-show { display: grid; }
.cc-fab:hover { background: var(--ink-2); transform: translateY(-2px); }

@media (max-width: 560px) {
  .cc-banner { padding: 20px; bottom: 12px; }
  .cc-actions .cc-btn { flex: 1 1 100%; }
}

/* ============================================================
   AVISO DE PRIVACIDAD — capa :target (single-file)
   ============================================================ */
.legal-overlay { display: none; position: fixed; inset: 0; z-index: 9500; overflow-y: auto; background: var(--paper); }
.legal-overlay:target { display: block; }
.legal-overlay .legal-wrap { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.legal-close { position: fixed; top: 18px; right: 22px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--fg); font-size: 18px; text-decoration: none; transition: background .2s, border-color .2s; }
.legal-close:hover { border-color: var(--accent); background: var(--card-2); }
.legal-hero { padding-top: clamp(72px, 11vh, 120px); padding-bottom: clamp(28px, 4vh, 48px); }
.legal-hero .kicker { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.legal-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 5vw, 50px); letter-spacing: -0.03em; line-height: 1.05; margin-top: 16px; }
.legal-hero .updated { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 16px; }
.legal-body { padding-bottom: clamp(56px, 9vh, 100px); }
.legal-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(19px, 2.4vw, 25px); letter-spacing: -0.02em; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.legal-body h2 .n { font-family: var(--mono); font-size: 14px; color: var(--accent-deep); font-weight: 500; }
.legal-body h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin-top: 26px; }
.legal-body p { color: var(--fg-soft); margin-top: 14px; line-height: 1.7; }
.legal-body ul { margin-top: 14px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal-body ul li { color: var(--fg-soft); line-height: 1.6; padding-left: 22px; position: relative; }
.legal-body ul li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-body a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-body strong { color: var(--fg); font-weight: 600; }
.legal-body .fill { background: var(--accent-tint); color: var(--accent-deep); padding: 1px 7px; border-radius: 6px; font-family: var(--mono); font-size: 0.9em; }
.legal-note { margin-top: 42px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card-2); }
.legal-note p { margin-top: 0; font-size: 14.5px; }
.legal-body .back-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 16px; text-decoration: none; }
.legal-body .back-link:hover { color: var(--accent-deep); }
