/* Abrantia Health · landing
   Estructura inspirada en la landing de Vidoku, con la identidad corporativa de Abrantia:
   azul de marca #0043B6, tipografía Raleway y secciones claras con bloques oscuros de producto. */

@font-face {
  font-family: "Raleway";
  src: url("/assets/fonts/raleway-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #0043b6;
  --blue-600: #003a9e;
  --blue-700: #002f82;
  --navy: #001a5c;
  --navy-950: #020b26;
  --sky: #a9c4ff;
  --sky-strong: #6f9bff;
  --vidoku: #1f6feb;

  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --text: #0b1b3a;
  --muted: #4b5a78;
  --dim: #636f89;
  --line: #e2e8f2;
  --line-strong: #cfd8e8;
  --card: #ffffff;
  --card-strong: #f7f9fd;
  --accent: var(--blue);
  --ok: #12a26a;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 58, 0.06), 0 4px 16px -6px rgba(11, 27, 58, 0.1);
  --shadow: 0 2px 6px rgba(11, 27, 58, 0.06), 0 24px 60px -24px rgba(11, 27, 58, 0.3);
  --nav-h: 76px;
  --gutter: 24px;
}

/* Bloques oscuros (Vidoku, lema, pie): las mismas variables con valores invertidos */
.theme-dark {
  --bg: var(--navy-950);
  --text: #eef2fb;
  --muted: #a9b6d3;
  --dim: #7d8bab;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --accent: var(--sky-strong);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line);
  background: var(--bg);
  color: var(--text);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Raleway", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video,
svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sky-strong);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.logo { display: block; width: auto; height: 32px; color: currentColor; }

/* ---------- Botones y etiquetas ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 67, 182, 0.7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--light { background: #fff; color: var(--blue); box-shadow: 0 10px 30px -12px rgba(0, 10, 50, 0.6); }
.btn--light:hover { background: #eef3ff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--vidoku { background: var(--vidoku); color: #fff; box-shadow: 0 10px 30px -12px rgba(31, 111, 235, 0.8); }
.btn--vidoku:hover { background: #2f7cf3; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.link-arrow::after { content: "→"; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(3px); }

.tick {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(18, 162, 106, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2312a26a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.nav.is-scrolled,
.nav.is-open {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(11, 27, 58, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.nav__brand { flex: none; display: block; color: inherit; }
.nav.is-scrolled .nav__brand,
.nav.is-open .nav__brand { color: var(--blue); }
.nav__menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__menu a:not(.btn) {
  padding: 8px 12px;
  border-radius: 8px;
  color: inherit;
  opacity: 0.88;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, background-color 0.2s;
}
.nav__menu a:not(.btn):hover,
.nav__menu a.is-active { opacity: 1; background: rgba(127, 150, 200, 0.16); }
.nav__menu-cta { display: none; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav:not(.is-scrolled):not(.is-open) .nav__cta { background: #fff; color: var(--blue); box-shadow: none; }

.lang { display: flex; align-items: center; padding: 3px; border: 1px solid currentColor; border-radius: 999px; }
.lang a {
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s, background-color 0.2s, color 0.2s;
}
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; background: #fff; color: var(--blue); }
.nav.is-scrolled .lang a[aria-current],
.nav.is-open .lang a[aria-current] { background: var(--blue); color: #fff; }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, background-color 0.2s;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before,
.nav__toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after { transform: translateY(6px); }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg); }

/* ---------- Hero (azul de marca con las curvas del banner) ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 clamp(120px, 12vw, 160px);
  background: var(--blue) url("/assets/img/curves.svg") right center / cover no-repeat;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); line-height: 1.08; letter-spacing: -0.02em; }
.accent { color: var(--sky); }
.lead { margin-top: 24px; font-size: clamp(1.12rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.45; }
.hero__text { margin-top: 14px; max-width: 56ch; color: rgba(255, 255, 255, 0.86); }
.hero__motto { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.hero__motto strong { flex: none; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, 0.35); color: #fff; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }

/* Tarjeta "campaña en vivo": los tres canales de Abrantia trabajando sobre una misma campaña */
.hero__visual { position: relative; padding: 16px 0 44px 24px; }
.campaign {
  position: relative;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(0, 8, 40, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.campaign__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.campaign__title { font-size: 1.02rem; font-weight: 700; }
.campaign__meta { margin-top: 2px; color: var(--dim); font-size: 0.82rem; }
.campaign__flow { position: relative; display: grid; margin-top: 6px; }
.campaign__flow::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: repeating-linear-gradient(var(--line-strong) 0 4px, transparent 4px 8px);
}
.campaign__step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; }
.campaign__icon { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf1ff; color: var(--blue); }
.campaign__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.campaign__icon--vidoku { color: var(--vidoku); }
.campaign__icon--vidoku svg { width: 22px; height: 16px; }
svg.ico-fill { fill: currentColor; stroke: none; }
svg.ico-fill * { stroke: none; }
.campaign__channel { color: var(--blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.campaign__status { margin-top: 2px; font-size: 0.92rem; font-weight: 600; line-height: 1.35; }
.campaign__bar { display: block; height: 4px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: var(--line); }
.campaign__bar span { display: block; height: 100%; border-radius: inherit; background: var(--blue); animation: grow 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s both; }
.campaign__bar[data-p="64"] span { width: 64%; }
.campaign__bar[data-p="100"] span { width: 100%; background: var(--ok); }
@keyframes grow { from { width: 0; } }
.campaign__foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.campaign__foot svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.status { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.status svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.status--live { border-color: rgba(18, 162, 106, 0.3); background: rgba(18, 162, 106, 0.08); color: #0b7a50; }
.status--live .live-dot { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(18, 162, 106, 0.06); } }
.badge-status { padding: 4px 10px; border-radius: 999px; background: #eaf1ff; color: var(--blue); font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.badge-status--done { background: rgba(18, 162, 106, 0.1); color: #0b7a50; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18, 162, 106, 0.2); }
.signal {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--navy-950);
  color: #fff;
  box-shadow: 0 24px 50px -20px rgba(0, 8, 40, 0.8);
  font-size: 0.84rem;
}
.signal strong { display: block; color: var(--sky); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.signal span:not(.tick) { color: rgba(255, 255, 255, 0.9); }

/* Cifras: tarjeta blanca que monta sobre el final del hero */
.stats-wrap { position: relative; z-index: 2; margin-top: -72px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.stats li { display: flex; flex-direction: column; gap: 4px; padding: 26px 28px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats strong { color: var(--blue); font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.1; }
.stats span { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(80px, 10vw, 128px); }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head > p:not(.eyebrow):not(.pill) { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* Tres ejes */
.axes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.axis {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.axis:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.axis__art {
  display: grid;
  place-items: center;
  height: 170px;
  color: var(--blue);
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 67, 182, 0.14) 1px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(180deg, #f7f9ff, #edf2fc);
}
.art { width: 240px; height: 140px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.art__badge { fill: #fff; stroke: rgba(0, 67, 182, 0.14); }
.art__node { fill: #fff; }
.art__soft { opacity: 0.45; transition: opacity 0.3s; }
.art__dash { stroke-dasharray: 3 5; }
.art__play { fill: rgba(0, 67, 182, 0.12); }
.art__mark { color: var(--vidoku); fill: currentColor; opacity: 0.8; }
.art__mark * { stroke: none; }
.axis:hover .art__soft { opacity: 0.85; }
.axis__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 26px 26px; border-top: 3px solid var(--blue); }
.axis__num { color: var(--blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.axis h3 { font-size: 1.3rem; }
.axis p:not(.axis__num) { color: var(--muted); }
.axis .link-arrow { margin-top: auto; padding-top: 6px; }
.axes__note { max-width: 660px; margin: 44px auto 0; color: var(--muted); font-size: 1.08rem; text-align: center; }

/* Servicios */
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.service + .service { margin-top: clamp(80px, 9vw, 120px); }
.service--reverse .widget { order: 2; }
.service__body h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.service__lead { margin-top: 16px; font-size: 1.14rem; font-weight: 600; line-height: 1.55; }
.service__body > p:not(.eyebrow):not(.service__lead) { margin-top: 14px; color: var(--muted); }
.service__body h4 { margin: 28px 0 12px; color: var(--dim); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 0.88rem; font-weight: 600; }
.chips--sm li { padding: 5px 11px; background: var(--bg-soft); font-size: 0.8rem; }
.widget { padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.widget__title { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.widget__title svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #eaf1ff; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.widget__rows { display: grid; margin: 4px 0 0; }
.widget__rows div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line-strong); }
.widget__rows dt { color: var(--muted); font-size: 0.9rem; }
.widget__rows dd { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.92rem; font-weight: 700; text-align: right; }
.segments { display: inline-flex; gap: 3px; }
.segments i { width: 7px; height: 14px; border-radius: 2px; background: var(--blue); }
.segments i:nth-child(even) { opacity: 0.55; }
.widget__label { margin: 18px 0 10px; color: var(--dim); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.flow { display: grid; gap: 16px; margin-top: 18px; }
.flow li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: -14px; width: 2px; background: linear-gradient(var(--blue), rgba(0, 67, 182, 0.15)); }
.flow__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #eaf1ff; color: var(--blue); }
.flow__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow strong { display: block; font-size: 0.98rem; line-height: 1.35; }
.flow span { display: block; margin-top: 2px; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.steps-list { display: grid; gap: 12px; margin-top: 22px; }
.steps-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; font-size: 0.98rem; }
.steps-list span { display: grid; place-items: center; height: 30px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 0.78rem; font-weight: 800; }

/* Por qué Abrantia + lema: cuadrícula bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bento__motto {
  position: relative;
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  background: var(--navy) url("/assets/img/we-think-real.webp") center / cover;
  color: #fff;
}
.bento__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bento__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 26, 92, 0.2) 0%, rgba(0, 26, 92, 0.8) 62%, rgba(0, 18, 64, 0.95) 100%); }
.bento__motto-body { padding: clamp(24px, 3vw, 36px); }
.bento__motto .eyebrow { color: var(--sky); }
.bento__motto h3 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.bento__motto p:not(.eyebrow) { max-width: 460px; margin-top: 14px; color: rgba(255, 255, 255, 0.88); }
.bento__item { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bento__item--wide { grid-column: span 2; }
.bento__item svg { width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: 12px; background: #eaf0fd; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.bento__item h3 { font-size: 1.1rem; }
.bento__item p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Vidoku (bloque de producto en el azul de marca, como el hero) ---------- */
.vidoku {
  --muted: rgba(255, 255, 255, 0.84);
  --dim: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.26);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --accent: var(--sky);
  position: relative;
  overflow: hidden;
  background: radial-gradient(60% 40% at 50% 0%, rgba(169, 196, 255, 0.2), transparent 70%), var(--blue);
}
.vidoku .container { position: relative; }
.pill--vidoku { border-color: rgba(111, 155, 255, 0.4); background: rgba(31, 111, 235, 0.14); color: #d6e4ff; }
.vidoku__logo { width: 150px; height: auto; margin: 0 auto 22px; }

.vk-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 14, 34, 0.7);
  box-shadow: 0 40px 100px -40px rgba(31, 111, 235, 0.4);
}
.vk-script { display: flex; flex-direction: column; gap: 12px; padding: 8px; }
.vk-script__label { color: var(--dim); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.vk-script__text { margin-bottom: 10px; padding: 16px 18px; border: 1px dashed rgba(111, 155, 255, 0.4); border-radius: 14px; background: rgba(31, 111, 235, 0.07); font-size: 1.05rem; line-height: 1.5; }
.vk-var { padding: 1px 7px; border-radius: 6px; background: rgba(31, 111, 235, 0.28); color: #d6e4ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; }
.vk-recipients { display: grid; gap: 8px; }
.vk-recipients button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.vk-recipients button strong { margin-right: 6px; color: var(--text); font-weight: 700; }
.vk-recipients button:hover { border-color: var(--line-strong); background: var(--card-strong); }
.vk-recipients button[aria-selected="true"] { border-color: rgba(111, 155, 255, 0.65); background: rgba(31, 111, 235, 0.16); color: #d6e4ff; }
.vk-lang { display: grid; place-items: center; flex: none; width: 34px; height: 24px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--text); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; }
.vk-recipients button[aria-selected="true"] .vk-lang { background: var(--vidoku); color: #fff; }
.vk-script__foot { margin-top: auto; color: var(--dim); font-size: 0.86rem; }

.vk-player { min-width: 0; }
.vk-panel[hidden] { display: none; }
.vk-panel { animation: vk-in 0.35s ease; }
@keyframes vk-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }
.vk-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 16px; background: #111; }
.vk-frame img { width: 100%; height: 100%; object-fit: cover; }
.vk-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 25%, transparent 45%, rgba(0, 0, 0, 0.82) 100%); }
.vk-badge,
.vk-who { position: absolute; top: 14px; z-index: 1; padding: 5px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 0.76rem; font-weight: 700; }
.vk-badge { left: 14px; }
.vk-badge b { margin-right: 6px; color: var(--sky-strong); }
.vk-who { right: 14px; color: #dfe6f0; }
.vk-caption { position: absolute; left: 20px; right: 20px; bottom: 38px; z-index: 1; display: grid; gap: 4px; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.vk-caption strong { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.vk-caption span { max-width: 46ch; color: #e3e7ee; font-size: 0.95rem; }
.vk-bar { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 10px; }
.vk-bar span { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, 0.25); }
.vk-bar span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: 4px; background: var(--sky-strong); }
.vk-bar em { color: #dfe6f0; font-size: 0.74rem; font-style: normal; font-variant-numeric: tabular-nums; }
.vk-receives { margin-top: 12px; color: var(--dim); font-size: 0.86rem; text-align: center; }
.vk-receives strong { color: var(--text); }

.vk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.vk-block { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.vk-block h3 { font-size: 1.4rem; }
.vk-block > p:not(.small-print) { margin-top: 8px; color: var(--muted); }
.channels { display: grid; gap: 14px; margin-top: 22px; }
.channels li { display: flex; gap: 14px; align-items: flex-start; }
.channels svg,
.contact__list svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.channels strong { display: block; font-size: 1rem; }
.channels span { color: var(--muted); font-size: 0.92rem; }
.small-print { margin-top: 18px; color: var(--dim); font-size: 0.82rem; line-height: 1.5; }
.vk-steps { display: grid; gap: 8px; margin-top: 22px; }
.vk-steps li { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, 0.02); }
.vk-steps b { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 0.82rem; }
.vk-steps strong { display: block; font-size: 0.96rem; line-height: 1.3; }
.vk-steps span { color: var(--muted); font-size: 0.86rem; }

.vk-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 88px); }
.vk-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #000; box-shadow: var(--shadow); }
.vk-video figcaption { margin-top: 12px; color: var(--dim); font-size: 0.86rem; }
.vk-loop h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.vk-loop > p:not(.eyebrow) { margin-top: 14px; color: var(--muted); }
.vk-signals { display: grid; gap: 8px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(8, 14, 34, 0.8); font-size: 0.92rem; font-weight: 600; }
.vk-signals li { display: flex; align-items: center; gap: 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badges li { padding: 5px 12px; border: 1px solid rgba(111, 155, 255, 0.32); border-radius: 999px; background: rgba(31, 111, 235, 0.1); color: #d6e4ff; font-size: 0.8rem; font-weight: 700; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 880px; margin-inline: auto; }
.person { display: flex; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.person img {
  flex: none;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(0, 67, 182, 0.25);
  /* las fotos originales son círculos sobre blanco: se recorta el borde */
  clip-path: circle(47%);
}
.person__body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.person h3 { font-size: 1.25rem; }
.person__role { margin-bottom: 8px; color: var(--blue); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.person__mail { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.94rem; text-decoration: none; }
.person__mail svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.person__mail:hover { color: var(--blue); }
.btn--linkedin { margin-top: 12px; background: #0a66c2; color: #fff; }
.btn--linkedin:hover { background: #004182; }
.btn--linkedin svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Contacto (banda azul de marca) ---------- */
.contact { background: var(--blue) url("/assets/img/curves.svg") right center / cover no-repeat; color: #fff; --accent: var(--sky); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact__copy > p:not(.eyebrow) { margin-top: 16px; color: rgba(255, 255, 255, 0.86); font-size: 1.08rem; }
.contact__card { padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-style: normal; }
.contact__card-title { color: var(--sky); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.contact__list { display: grid; gap: 14px; margin-top: 20px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list svg.ico-fill { padding: 10px; fill: #fff; stroke: none; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.copy {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.copy:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.copy.is-done { border-color: #7ee2b8; color: #7ee2b8; }

/* ---------- Pie ---------- */
.footer { padding: 64px 0 28px; background: var(--navy-950); color: #eef2fb; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.logo--footer { height: 36px; color: #fff; }
.footer__brand p { max-width: 36ch; margin-top: 18px; color: #a9b6d3; font-size: 0.94rem; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; transition: background-color 0.2s, border-color 0.2s; }
.social a:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.social svg { width: 17px; height: 17px; fill: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h2 { margin-bottom: 6px; color: #7d8bab; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; }
.footer__col a { color: #c3cde3; font-size: 0.94rem; text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: #7d8bab;
  font-size: 0.86rem;
}
.footer__bottom a { color: #c3cde3; }

/* ---------- 404 ---------- */
.error { display: grid; min-height: 100vh; align-items: center; padding-block: 80px; text-align: center; }
.error__logo { height: 44px; margin: 0 auto 40px; color: #fff; }
.error .eyebrow { color: var(--sky); }
.error h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.error__es { margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 1.2rem; }
.error__ctas { justify-content: center; }

/* ---------- Aparición al hacer scroll (solo con JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav__inner { gap: 18px; }
  .nav__menu a:not(.btn) { padding: 8px 8px; font-size: 0.88rem; }
}

@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 22px;
    background: #fff;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(11, 27, 58, 0.4);
  }
  .nav.is-open .nav__menu { display: flex; }
  .nav__menu a:not(.btn) { padding: 12px 10px; font-size: 1.02rem; }
  .nav__menu-cta { display: inline-flex; margin-top: 10px; }
  .nav__actions { margin-left: auto; }

  .hero__grid,
  .service,
  .vk-demo,
  .vk-showcase,
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { width: 100%; max-width: 560px; margin-inline: auto; }
  .service--reverse .widget { order: 0; }
  .service__body { margin-top: 12px; }
  .axes { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
  .axis { flex-direction: row; }
  .axis__art { width: 40%; height: auto; }
  .axis__body { border-top: 0; border-left: 3px solid var(--blue); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__motto { grid-row: auto; min-height: 320px; }
  .bento__item--wide { grid-column: auto; }
  .vk-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 66px; }
  .logo { height: 27px; }
  .nav__actions { gap: 8px; }
  .lang a { min-width: 30px; padding: 4px 6px; }
  .hero__visual { padding: 4px 0 0; }
  .campaign { padding: 16px; }
  .campaign__step { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; }
  .campaign__icon { width: 40px; height: 40px; }
  .campaign__flow::before { left: 19px; }
  .badge-status { grid-column: 2; justify-self: start; }
  .signal { position: relative; left: auto; bottom: auto; max-width: none; margin: 12px 8px 0; }
  .hero__motto { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hero__motto strong { padding-right: 0; border-right: 0; }
  .ctas .btn { flex: 1 1 auto; }
  .stats-wrap { margin-top: -88px; }
  .stats li { padding: 18px 16px; }
  .axis { flex-direction: column; }
  .axis__art { width: 100%; height: 150px; }
  .axis__body { border-left: 0; border-top: 3px solid var(--blue); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__motto { grid-column: auto; min-height: 300px; }
  .bento__item { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .bento__item svg { grid-row: span 2; margin: 0; }
  .widget__rows div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .widget__rows dd { text-align: left; }
  .person { flex-direction: column; text-align: center; }
  .person__body { align-items: center; }
  .vk-demo { padding: 12px; }
  .vk-script { padding: 4px; }
  .vk-frame { aspect-ratio: 4 / 3.4; }
  .vk-caption { left: 14px; right: 14px; bottom: 34px; }
  .vk-caption span { font-size: 0.86rem; }
  .vk-who { display: none; }
  .team { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
