/* ════════════════════════════════════════════════════════════════
   CLIENDER · MAIN
   Reset · base type · chrome (topbar + footer) · utilities
═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  background: var(--bg);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}

img, picture, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--purple); color: var(--paper); }

/* ── focus ────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── skip ──────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px;
  background: var(--paper); color: var(--ink);
  padding: 12px 18px; border-radius: 8px; z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ════════════════════════════════════════════════════════════════
   TYPOGRAPHY UTILITIES
═══════════════════════════════════════════════════════════════ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 4px rgba(143,126,233,0.18);
}

.hero-h {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--fg);
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.h4 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead {
  font-size: var(--lead);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg-dim);
  text-wrap: pretty;
  max-width: 56ch;
}
.muted { color: var(--fg-mute); }
.mono { font-family: var(--font-mono); }

em.grad, .grad-text {
  font-style: normal;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--purple);
  color: var(--purple);
}
/* When text-flow splits chars inside em.grad, each char needs its own clipping */
em.grad .tf-char, .grad-text .tf-char {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: var(--purple);
  color: var(--purple);
}

/* ════════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--space-section); position: relative; }
.section--tight { padding-block: var(--space-block); }
.divider {
  height: 1px; background: var(--line);
  border: 0; margin: 0;
}

/* ── Scroll progress bar (all pages) ── */
.cl-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--sales), var(--purple), var(--media));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px color-mix(in oklch, var(--purple), transparent 50%);
  transition: transform 80ms linear;
}
@media (prefers-reduced-motion: reduce) { .cl-progress { display: none; } }

/* ════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  --bg: var(--purple);
  --fg-: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg-);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-base) var(--ease-out),
              background-color var(--t-base) var(--ease-out),
              color var(--t-base) var(--ease-out),
              border-color var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              backdrop-filter var(--t-base) var(--ease-out);
  will-change: transform;
}
.btn .arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease-out);
}
/* Liquid-glass hover: subtle lift + frosted glass surface — no scale, so it never grows into neighboring buttons */
.btn:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px -12px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .btn:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    0 10px 30px -14px rgba(0, 0, 0, 0.18);
}
.btn:hover .arrow { transform: none; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }

.btn--ghost {
  --bg: transparent;
  --fg-: var(--fg);
  border-color: var(--line-strong);
}

.btn--lg { padding: 1.1rem 1.7rem; font-size: 1rem; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-dim);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: color var(--t-base), border-color var(--t-base);
}
.btn-link:hover { color: var(--fg); border-color: var(--purple); }
.btn-link .arrow { transition: transform var(--t-base) var(--ease-out); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ── Inline content links & keywords (brand accent) ──────────────
   Any link sitting inside body copy (a <p>) gets the Cliender accent
   colour, theme-aware via --em-color. Buttons are excluded. */
p a:not(.btn):not(.btn-link),
a.ilink,
.prose a:not(.btn):not(.btn-link) {
  color: var(--em-color);
  border-bottom: 1px solid color-mix(in oklch, var(--em-color), transparent 60%);
  text-underline-offset: 2px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
p a:not(.btn):not(.btn-link):hover,
a.ilink:hover,
.prose a:not(.btn):not(.btn-link):hover {
  color: var(--purple);
  border-bottom-color: var(--em-color);
}
/* Keyword / emphasised term inside running text */
.kw { color: var(--em-color); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════════════════════ */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding: 12px 0;
  background: rgba(11, 14, 19, 0.85) !important;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px -20px rgba(0, 0, 0, 0.6);
  transition: padding var(--t-base), backdrop-filter var(--t-base), background var(--t-base), border-color var(--t-base);
}
[data-theme="light"] .topbar {
  background: rgba(250, 250, 247, 0.92) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 30px -20px rgba(0, 0, 0, 0.12);
}
/* Scrolled state mirrors default — topbar stays consistent at all times */
.topbar.is-scrolled { padding: 12px 0; }

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: var(--container);
  margin-inline: auto;
}

.brand {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
}
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
@media (max-width: 980px) { .nav { display: none; } }

.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--fg-dim);
  border-radius: var(--r-pill);
  position: relative;
  isolation: isolate;
  transition: color 280ms var(--ease-out), transform 280ms var(--ease-out);
}
/* Glass pill that scales in on hover */
.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    0 6px 18px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
  z-index: -1;
  pointer-events: none;
}
/* Underline accent (color of cliender brand) */
.nav__link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: translate(-50%, 4px) scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.nav__link:hover,
.nav__item:hover > .nav__link,
.nav__item:focus-within > .nav__link {
  color: var(--fg);
  transform: translateY(-1px);
  background: transparent;
}
.nav__link:hover::before,
.nav__item:hover > .nav__link::before,
.nav__item:focus-within > .nav__link::before {
  opacity: 1;
  transform: scale(1);
}
.nav__link:hover::after,
.nav__item:hover > .nav__link::after,
.nav__item:focus-within > .nav__link::after,
.nav__link[aria-current="page"]::after {
  opacity: 1;
  transform: translate(-50%, 0) scaleX(1);
}
[data-theme="light"] .nav__link::before {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow:
    0 6px 18px -12px rgba(0, 0, 0, 0.18);
}
.nav__link[aria-current="page"] { color: var(--fg); }
.nav__caret {
  width: 10px; height: 10px;
  transition: transform var(--t-base);
}
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(1120px, 94vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  gap: 1.25rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              visibility var(--t-base);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.5),
              0 0 0 1px var(--line);
}
.mega::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: -18px;
  height: 18px;
}
.nav__item:hover .mega, .nav__item:focus-within .mega {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translate(-50%, 0);
}
.mega__col {
  border-left: 1px solid var(--line);
  padding-left: 1.1rem;
}
.mega__col:first-child { border-left: 0; padding-left: 0; }
.mega__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 0.85rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.mega__title .dot { width: 6px; height: 6px; border-radius: 50%; }
.mega__title.is-sales .dot { background: var(--sales); }
.mega__title.is-tech .dot  { background: var(--tech); }
.mega__title.is-media .dot { background: var(--media); }

.mega__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--fg-dim);
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast);
  gap: 0.5rem;
}
.mega__link:hover { color: var(--fg); }
.mega__link .arrow { opacity: 0; transition: opacity var(--t-fast), transform var(--t-fast); }
.mega__link:hover .arrow { opacity: 1; transform: translateX(2px); }

/* Hub links — elegant accent-line treatment */
.mega__link--hub {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  padding: 0.55rem 0.7rem 0.55rem 1rem;
  border-radius: var(--r-sm);
  border-bottom: none;
  position: relative;
  color: var(--fg);
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast);
}
.mega__link--hub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
  transition: height var(--t-fast), opacity var(--t-fast);
}
.mega__link--hub:hover::before { height: 22px; opacity: 1; }
.mega__link--hub:hover { padding-left: 1.2rem; }
.mega__link--hub .arrow {
  opacity: 0.45;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.mega__link--hub:hover .arrow { transform: translateX(3px); opacity: 1; }

.mega__link--hub.is-sales       { color: var(--sales); }
.mega__link--hub.is-sales:hover { background: color-mix(in oklch, var(--sales), transparent 93%); }
.mega__link--hub.is-tech        { color: var(--tech); }
.mega__link--hub.is-tech:hover  { background: color-mix(in oklch, var(--tech),  transparent 93%); }
.mega__link--hub.is-media       { color: var(--media); }
.mega__link--hub.is-media:hover { background: color-mix(in oklch, var(--media), transparent 93%); }
.mega__link--hub.is-formacion       { color: var(--formacion); }
.mega__link--hub.is-formacion:hover { background: color-mix(in oklch, var(--formacion), transparent 93%); }

/* Simple 4-card vertical mega menu */
.mega--simple {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  width: min(980px, 94vw);
}

/* ── Grid mega menu: 3 cols top + Formación full-width bottom ── */
.mega--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: min(820px, 94vw);
  padding: 0.6rem;
}

/* ── 2×2 grid — Premium vertical cards ── */
.mega--4grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  width: min(500px, 94vw);
  padding: 0.45rem;
  border-radius: 20px;
  background: oklch(11% 0.012 258 / 0.97);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    0 32px 80px -20px rgba(0,0,0,0.8);
}
[data-theme="light"] .mega--4grid {
  background: rgba(248,248,246,0.98);
  border-color: rgba(0,0,0,0.06);
  box-shadow: 0 20px 60px -16px rgba(0,0,0,0.12);
}

/* Cards — neutral glass, no per-vertical tint */
.mega--4grid .vcard {
  border-radius: 14px;
  padding: 1.25rem 1.1rem 1.15rem;
  gap: 0.35rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: none;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
[data-theme="light"] .mega--4grid .vcard {
  background: #fff;
  border-color: rgba(0,0,0,0.06);
}

/* Hover — clean neutral lift, same for all */
.mega--4grid .vcard:nth-child(1):hover,
.mega--4grid .vcard:nth-child(2):hover,
.mega--4grid .vcard:nth-child(3):hover,
.mega--4grid .vcard:nth-child(4):hover {
  background: rgba(255,255,255,0.062);
  border-color: rgba(255,255,255,0.13);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.4);
}
[data-theme="light"] .mega--4grid .vcard:nth-child(1):hover,
[data-theme="light"] .mega--4grid .vcard:nth-child(2):hover,
[data-theme="light"] .mega--4grid .vcard:nth-child(3):hover,
[data-theme="light"] .mega--4grid .vcard:nth-child(4):hover {
  background: #fff;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.09);
  transform: translateY(-1px);
}

/* No top accent bars — button carries the colour */
.mega--4grid .vcard::after  { display: none; }
.mega--4grid .vcard::before { display: none; }

/* Neutralise border-color hover from base vcard blocks */
.mega--4grid .vcard:nth-child(1):hover,
.mega--4grid .vcard:nth-child(2):hover,
.mega--4grid .vcard:nth-child(3):hover,
.mega--4grid .vcard:nth-child(4):hover {
  border-color: rgba(255,255,255,0.13) !important;
}
[data-theme="light"] .mega--4grid .vcard:nth-child(1):hover,
[data-theme="light"] .mega--4grid .vcard:nth-child(2):hover,
[data-theme="light"] .mega--4grid .vcard:nth-child(3):hover,
[data-theme="light"] .mega--4grid .vcard:nth-child(4):hover {
  border-color: rgba(0,0,0,0.10) !important;
}

/* Dot — hidden, redundant with button colour */
.mega--4grid .vcard .vcard__dot { display: none; }

/* Vertical label — very muted, typographic */
.mega--4grid .vcard .vcard__vertical {
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.30);
  margin-bottom: 0.1rem;
}
[data-theme="light"] .mega--4grid .vcard .vcard__vertical { color: rgba(0,0,0,0.30); }

/* Title */
.mega--4grid .vcard .vcard__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
}
[data-theme="light"] .mega--4grid .vcard .vcard__title { color: rgba(0,0,0,0.86); }

/* Description */
.mega--4grid .vcard .vcard__desc {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.40);
  line-height: 1.5;
  flex: 1;
}
[data-theme="light"] .mega--4grid .vcard .vcard__desc { color: rgba(0,0,0,0.42); }

/* ── Pill button CTA — muted premium colour per vertical ── */
.mega--4grid .vcard .vcard__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.40rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid;
  margin-top: 0.6rem;
  align-self: flex-start;
  transition: background 180ms ease, border-color 180ms ease;
}
.mega--4grid .vcard .vcard__cta .arrow { transition: transform 180ms ease; }
.mega--4grid .vcard:hover .vcard__cta .arrow { transform: translateX(3px); }

/* Sales — muted lavender */
.mega--4grid .vcard:nth-child(1) .vcard__cta {
  background: oklch(62% 0.13 278 / 0.12);
  border-color: oklch(62% 0.13 278 / 0.28);
  color: oklch(76% 0.11 278);
}
.mega--4grid .vcard:nth-child(1):hover .vcard__cta {
  background: oklch(62% 0.13 278 / 0.20);
  border-color: oklch(62% 0.13 278 / 0.40);
}

/* Tech — sage (desaturated, not neon) */
.mega--4grid .vcard:nth-child(2) .vcard__cta {
  background: oklch(60% 0.09 150 / 0.11);
  border-color: oklch(60% 0.09 150 / 0.26);
  color: oklch(73% 0.09 150);
}
.mega--4grid .vcard:nth-child(2):hover .vcard__cta {
  background: oklch(60% 0.09 150 / 0.18);
  border-color: oklch(60% 0.09 150 / 0.38);
}

/* Media — dusty slate teal */
.mega--4grid .vcard:nth-child(3) .vcard__cta {
  background: oklch(61% 0.08 192 / 0.11);
  border-color: oklch(61% 0.08 192 / 0.26);
  color: oklch(73% 0.08 192);
}
.mega--4grid .vcard:nth-child(3):hover .vcard__cta {
  background: oklch(61% 0.08 192 / 0.18);
  border-color: oklch(61% 0.08 192 / 0.38);
}

/* Formación — warm honey gold */
.mega--4grid .vcard:nth-child(4) .vcard__cta {
  background: oklch(68% 0.10 72 / 0.11);
  border-color: oklch(68% 0.10 72 / 0.26);
  color: oklch(76% 0.10 72);
}
.mega--4grid .vcard:nth-child(4):hover .vcard__cta {
  background: oklch(68% 0.10 72 / 0.18);
  border-color: oklch(68% 0.10 72 / 0.38);
}

/* ── Vertical cards ── */
.vcard {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ink-2);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 220ms var(--ease-out),
              transform 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out);
}
.vcard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: 18px 18px 0 0;
  opacity: 0.7;
  transition: opacity 220ms;
  display: none;
}
.vcard:nth-child(1)::after { background: var(--sales); }
.vcard:nth-child(2)::after { background: var(--tech); }
.vcard:nth-child(3)::after { background: var(--media); }
.vcard:nth-child(4)::after { background: var(--formacion); }
.vcard--wide::after         { background: linear-gradient(90deg, var(--formacion), oklch(68% 0.09 72 / 0.25)); }

.vcard:nth-child(1):hover { border-color: var(--sales-border); box-shadow: 0 10px 28px -12px rgba(0,0,0,0.4); transform: translateY(-2px); }
.vcard:nth-child(2):hover { border-color: var(--tech-border);  box-shadow: 0 10px 28px -12px rgba(0,0,0,0.4); transform: translateY(-2px); }
.vcard:nth-child(3):hover { border-color: var(--media-border); box-shadow: 0 10px 28px -12px rgba(0,0,0,0.4); transform: translateY(-2px); }
.vcard:nth-child(4):hover { border-color: var(--formacion-border); box-shadow: 0 10px 28px -12px rgba(0,0,0,0.4); transform: translateY(-2px); }
.vcard--wide:hover         { border-color: var(--formacion-border); box-shadow: 0 10px 26px -12px rgba(0,0,0,0.4); transform: translateY(-2px); }

.vcard__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-bottom: 0.1rem;
}
.vcard__vertical {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}
.vcard:nth-child(1) .vcard__vertical { color: var(--tech); }
.vcard:nth-child(2) .vcard__vertical { color: var(--sales); }
.vcard:nth-child(3) .vcard__vertical { color: var(--media); }
.vcard:nth-child(4) .vcard__vertical { color: var(--formacion); }
.vcard--wide        .vcard__vertical { color: var(--formacion); }

.vcard__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--fg);
  flex: 1;
}
.vcard__desc {
  font-size: 0.79rem;
  color: var(--fg-dim);
  line-height: 1.5;
  margin-top: 0.15rem;
}
.vcard__cta {
  font-size: 0.79rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  text-decoration: none;
}
.vcard:nth-child(1) .vcard__cta { color: var(--sales); }
.vcard:nth-child(2) .vcard__cta { color: var(--tech); }
.vcard:nth-child(3) .vcard__cta { color: var(--media); }
.vcard:nth-child(4) .vcard__cta { color: var(--formacion); }
.vcard--wide        .vcard__cta { color: var(--formacion); margin-top: 0; }
.vcard__cta .arrow { transition: transform 180ms; }
.vcard:hover .vcard__cta .arrow { transform: translateX(3px); }

/* ── Formación — wide bottom row ── */
.vcard--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: color-mix(in oklch, var(--formacion), var(--ink-2) 93%);
  border-color: var(--formacion-border);
}
.vcard--wide .vcard__title { font-size: 1rem; flex: none; white-space: nowrap; }
.vcard--wide .vcard__desc  { flex: 1; margin: 0; }
  display: flex;
  gap: 0;
  width: min(680px, 94vw);
  padding: 0;
  overflow: hidden;
}

.mega-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 160px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 0.5rem 0;
  background: var(--panel-2);
}

.mega-tab {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg-mute);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  position: relative;
}
.mega-tab:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.mega-tab.is-active { color: var(--fg); background: rgba(255,255,255,0.06); }

.mega-tab--sales.is-active   { border-left-color: var(--sales);     color: var(--sales); }
.mega-tab--tech.is-active    { border-left-color: var(--tech);      color: var(--tech); }
.mega-tab--media.is-active   { border-left-color: var(--media);     color: var(--media); }
.mega-tab--formacion.is-active { border-left-color: var(--formacion); color: var(--formacion); }

.mega-tab__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}
.mega-tab.is-active .mega-tab__dot { opacity: 1; }
.mega-tab__label { flex: 1; }
.mega-tab__arr {
  width: 10px; height: 10px;
  opacity: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.mega-tab:hover .mega-tab__arr,
.mega-tab.is-active .mega-tab__arr { opacity: 1; }
.mega-tab.is-active .mega-tab__arr { transform: translateX(2px); }

/* Right panels */
.mega-panels {
  flex: 1;
  position: relative;
  padding: 1.8rem 1.6rem;
  min-height: 260px;
  display: flex;
  align-items: stretch;
}
.mega-panel {
  display: none;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  animation: panelIn 200ms var(--ease-out);
}
.mega-panel.is-active { display: flex; }
@keyframes panelIn {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mega-panel__mono {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.mega-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
  flex: 1;
}
.mega-panel__desc {
  font-size: 0.86rem;
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 38ch;
}
.mega-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  margin-top: 0.4rem;
  transition: color var(--t-fast);
}
.mega-panel__cta .arrow { transition: transform var(--t-fast); }
.mega-panel__cta:hover { color: var(--purple-light); }
.mega-panel__cta:hover .arrow { transform: translateX(3px); }

/* JS tab switching */

.vcard {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel-2);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.vcard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--vc, var(--purple));
  opacity: 0.5;
  transition: opacity var(--t-base);
  display: none;
}
.vcard:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.35); }
.vcard:hover::before { opacity: 1; }

.vcard:nth-child(1) { --vc: var(--tech); }
.vcard:nth-child(1):hover { border-color: var(--tech-border); }
.vcard:nth-child(2) { --vc: var(--sales); }
.vcard:nth-child(2):hover { border-color: var(--sales-border); }
.vcard:nth-child(3) { --vc: var(--media); }
.vcard:nth-child(3):hover { border-color: var(--media-border); }
.vcard:nth-child(4) { --vc: var(--formacion); }
.vcard:nth-child(4):hover { border-color: var(--formacion-border); }

.vcard__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 0.1rem;
}
.vcard__vertical {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.vcard__title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  flex: 1;
}
.vcard__desc {
  font-size: 0.8rem;
  color: var(--fg-dim);
  line-height: 1.5;
}
.vcard__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--vc, var(--purple));
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.vcard__cta .arrow { transition: transform var(--t-fast); }
.vcard:hover .vcard__cta .arrow { transform: translateX(3px); }

.mega__pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--purple-light);
  border: 1px solid rgba(143,126,233,0.25);
}

.topbar__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.theme-toggle, .menu-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  color: var(--fg-dim);
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.theme-toggle:hover, .menu-toggle:hover {
  background: var(--accent-soft);
  color: var(--fg);
}
/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  height: 32px;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--fg-mute);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.lang-toggle:hover { border-color: var(--line-strong); background: var(--accent-soft); }
.lang-toggle .lt-sep { opacity: 0.3; font-weight: 400; }
.lang-toggle .lt-es,
.lang-toggle .lt-en { transition: color var(--t-fast); }
.lang-toggle .lt-es.is-active { color: var(--fg); }
.lang-toggle .lt-en.is-active { color: var(--purple-light); }

.menu-toggle { display: none; }
@media (max-width: 980px) { .menu-toggle { display: grid; } .topbar__cta { display: none; } }

.theme-toggle svg { width: 18px; height: 18px; }
[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
[data-theme="light"] .theme-toggle .ico-sun { display: none; }
[data-theme="light"] .theme-toggle .ico-moon { display: block; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 100px 1.5rem 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--t-base);
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 1.4rem 0 0.6rem;
}
.drawer a {
  display: block;
  padding: 0.55rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 2rem + 3vw, 6rem) 0 2rem;
  background: var(--bg);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
.footer__brand p {
  margin-top: 1rem;
  color: var(--fg-mute);
  font-size: 0.95rem;
  max-width: 32ch;
}
.footer__newsletter {
  margin-top: 1.2rem;
  display: flex; gap: 0.4rem;
  max-width: 360px;
}
.footer__newsletter input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer__newsletter input:focus { border-color: var(--purple); outline: none; }
.footer__newsletter button {
  background: var(--purple);
  color: var(--paper);
  border-radius: var(--r-pill);
  padding: 0 1.1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__col a { font-size: 0.92rem; color: var(--fg-dim); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--fg); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
}
.footer__legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--fg); }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.footer__social a:hover { border-color: var(--purple); color: var(--purple-light); }

/* ════════════════════════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════════════════════ */
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  padding-block: 1.5rem;
}
.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: running; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 4rem;
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 10px; height: 10px;
  background: var(--purple);
  border-radius: 2px;
  transform: rotate(45deg);
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════
   REVEALS / MOTION
═══════════════════════════════════════════════════════════════ */
[data-fx="fade-up"] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
[data-fx="fade-up"].is-in {
  opacity: 1; transform: none;
}
.tf-word { display: inline-block; white-space: nowrap; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.14em; }
.tf-char {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  opacity: 0;
  transition: transform 900ms var(--ease-out), opacity 600ms var(--ease-out);
}
.tf-active .tf-char { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════════ */
.breadcrumb {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
  padding-block: 1.2rem 0;
  margin-top: clamp(5.5rem, 5rem + 1vw, 6.5rem);
}
.breadcrumb a:hover { color: var(--fg); }
.breadcrumb span[aria-current] { color: var(--fg-dim); }
.breadcrumb .sep { opacity: 0.4; }

/* ════════════════════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 9000;
  display: grid; place-items: center;
  transition: clip-path 900ms var(--ease-in-out);
}
.preloader[data-done="1"] {
  clip-path: inset(0 0 100% 0);
}
.preloader__inner { width: min(420px, 80vw); text-align: left; }
.preloader__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}
.preloader__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 0 1px var(--line-strong), 0 12px 32px -12px rgba(143,126,233,0.5);
  animation: pre-logo-in 700ms var(--ease-out) both;
}
.preloader__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preloader__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  animation: pre-logo-in 700ms 80ms var(--ease-out) both;
}
@keyframes pre-logo-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .preloader__logo, .preloader__name { animation: none; }
}
.preloader__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  margin-bottom: 0.8rem;
  display: flex; justify-content: space-between;
}
.preloader__bar {
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.preloader__bar::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-cliender);
  transform: scaleX(0); transform-origin: 0 0;
  transition: transform 1200ms var(--ease-out);
}
.preloader[data-progress]::before { display: none; }
.preloader__bar.is-full::after { transform: scaleX(1); }

/* ════════════════════════════════════════════════════════════════
   TWEAKS PANEL
═══════════════════════════════════════════════════════════════ */
.tweaks {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: var(--z-modal);
  width: min(280px, 88vw);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--fg-dim);
  display: none;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.55);
}
.tweaks.is-open { display: block; }
.tweaks__title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 0.85rem;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks__close { color: var(--fg-mute); font-size: 1.1rem; line-height: 1; }
.tweaks__row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.85rem; }
.tweaks__row label { font-size: 0.78rem; color: var(--fg-mute); display: flex; justify-content: space-between; }
.tweaks__row input[type="range"] { width: 100%; accent-color: var(--purple); }
.tweaks__seg { display: flex; gap: 0.25rem; }
.tweaks__seg button {
  flex: 1; padding: 0.4rem 0.5rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 0.72rem; color: var(--fg-dim);
  background: transparent;
}
.tweaks__seg button[aria-pressed="true"] { background: var(--accent-soft); color: var(--fg); border-color: var(--purple); }
.tweaks__swatch {
  display: flex; gap: 0.4rem;
}
.tweaks__swatch button {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.tweaks__swatch button[aria-pressed="true"] { border-color: var(--fg); }

/* ── COOKIE CONSENT BANNER (RGPD / LSSI) ──────────────────────── */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  transform: translate(-50%, 130%);
  width: min(760px, calc(100% - 2rem));
  z-index: 120;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 70px -18px rgba(0,0,0,0.6);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out);
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
}
@media (max-width: 640px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 1rem; }
}
.cookie-banner__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}
.cookie-banner__text p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
}
.cookie-banner__text a {
  color: var(--purple-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .cookie-banner__btn { flex: 1; }
}
.cookie-banner__btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1.2rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.cookie-banner__btn:hover { transform: translateY(-1px); }
.cookie-banner__btn--ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--fg-dim);
}
.cookie-banner__btn--ghost:hover { color: var(--fg); border-color: var(--purple); }
.cookie-banner__btn--solid {
  background: var(--purple);
  border: 1px solid var(--purple);
  color: #fff;
}
.cookie-banner__btn--solid:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.3s; transform: translate(-50%, 0); }
}
