:root {
  --ivory: #fcfcfa;
  --ink: #0d0f14;
  --muted: #55585f;
  --line: #e2e1de;
  --line-strong: #71747c;
  --signal: #f0621d;
  --signal-text: #c03900;
  --amber: #fed25f;
  --tint-advisory: #ffd4b0;
  --tint-development: #bfe4fb;
  --tint-copilots: #beecc6;
  --tint-data: #e4d6ff;
  --d-bg: #0d0f15;
  --d-surface: #161920;
  --d-ink: #f4f5f8;
  --d-muted: #aaaeb7;
  --d-line: #31353e;
  --display: 'Bricolage Grotesque', Arial, sans-serif;
  --text: 'Inter', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
}

body { font-family: var(--text); font-size: 32px; line-height: 1.3; }

section {
  padding: 128px;
  box-sizing: border-box;
  font-family: var(--text);
  counter-increment: page;
}

/* Fondos */
.s-dark { background: #0d0f15; color: #f4f5f8; }
.s-light { background: #fcfcfa; color: #0d0f14; }
.s-accent { background: #f0621d; color: #0d0f14; }
.s-adv { background: #ffd4b0; color: #0d0f14; }
.s-dev { background: #bfe4fb; color: #0d0f14; }
.s-cop { background: #beecc6; color: #0d0f14; }
.s-data { background: #e4d6ff; color: #0d0f14; }

/* SVG de fondo a sangre: primer hijo de cada lámina */
.bg { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; }

/* Número de lámina */
section::after {
  content: counter(page);
  position: absolute;
  top: 64px;
  right: 128px;
  width: 120px;
  text-align: right;
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1;
  color: #71747c;
}
.s-dark::after { color: #aaaeb7; }
.s-accent::after, .s-adv::after, .s-dev::after, .s-cop::after, .s-data::after { color: #0d0f14; }

/* Columna de texto (izquierda, deja libre el tablero x 1152-1920) */
.col { width: 960px; display: flex; flex-direction: column; gap: 32px; }
.col-wide { width: 1664px; display: flex; flex-direction: column; gap: 32px; }

/* Escala: 200 / 120 / 88 / 44 / 32 / 24 */
.label {
  font-family: var(--mono);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  color: #55585f;
}
.s-dark .label { color: #aaaeb7; }
.s-accent .label, .s-adv .label, .s-dev .label, .s-cop .label, .s-data .label { color: #0d0f14; }

.title {
  font-family: var(--display);
  font-size: 88px;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -2px;
}
.hi { color: #c03900; }
.s-dark .hi { color: #f0621d; }
.s-accent .hi { color: #0d0f14; }

.lead { font-size: 32px; line-height: 1.35; color: #55585f; }
.s-dark .lead { color: #aaaeb7; }
.s-accent .lead, .s-adv .lead, .s-dev .lead, .s-cop .lead, .s-data .lead { color: #0d0f14; }

.num {
  font-family: var(--display);
  font-size: 200px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -6px;
}
.item-title {
  font-family: var(--display);
  font-size: 44px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.item-text { font-size: 24px; line-height: 1.3; color: #55585f; }
.s-dark .item-text { color: #aaaeb7; }
.s-accent .item-text, .s-adv .item-text, .s-dev .item-text, .s-cop .item-text, .s-data .item-text { color: #0d0f14; }
.mono { font-family: var(--mono); font-size: 24px; line-height: 1.3; }

/* ---------- Por lámina ---------- */
/* Coordenadas del lienzo 1920×1080, según svg/report.md de designer. */

/* 1 Portada: texto abajo a la izquierda; logo y tablero van en el SVG (titular en .cover-h, más abajo) */
.cover { display: flex; flex-direction: column; justify-content: flex-end; }

/* Fila titular + apoyo a la derecha (láminas 4 y 13) */
.head-row { display: flex; flex-direction: row; align-items: flex-end; gap: 48px; }
.head-row .title { width: 1180px; }
.head-row .lead { width: 436px; }

/* 3 Quiénes somos: números y 560-740, filas de celdas (SVG) y 760-808, leyendas desde y 840 */
.stat { position: absolute; top: 560px; display: flex; flex-direction: column; gap: 100px; }
.stat-years { left: 128px; width: 750px; }
.stat-countries { left: 1024px; width: 768px; }
.stat-txt { display: flex; flex-direction: column; gap: 8px; }
.stat-cap { font-size: 32px; line-height: 1; color: #f4f5f8; }
.stat-list { color: #aaaeb7; }

/* 4 Cuatro ofertas: texto de cada tarjeta en (152|576|1000|1424, 712), ancho 344 */
.band-text { position: absolute; top: 712px; width: 344px; display: flex; flex-direction: column; gap: 8px; }
.bt1 { left: 152px; } .bt2 { left: 576px; } .bt3 { left: 1000px; } .bt4 { left: 1424px; }

/* 5 AI Advisory: bloques (SVG) hasta y 792; paquetes en (128|704|1280, 824), ancho 448 */
.col-tight { gap: 24px; }
.pkg { position: absolute; top: 824px; width: 448px; display: flex; flex-direction: column; gap: 8px; }
.pk1 { left: 128px; } .pk2 { left: 704px; } .pk3 { left: 1280px; }

/* 6 Niveles: texto claro sobre cada peldaño oscuro */
.col-stair { width: 1344px; }
.col-stair .lead { width: 1000px; }
.lvl { position: absolute; display: flex; flex-direction: column; gap: 8px; }
.lv1 { left: 128px; top: 784px; width: 256px; }
.lv2 { left: 416px; top: 688px; width: 320px; }
.lv3 { left: 800px; top: 592px; width: 320px; }
.lv4 { left: 1184px; top: 496px; width: 320px; }
.lv5 { left: 1568px; top: 496px; width: 224px; }
.lvl-name { font-family: var(--display); font-size: 32px; font-weight: 650; line-height: 1.08; color: #f4f5f8; }
.lvl-text { font-size: 24px; line-height: 1.3; color: #aaaeb7; }

/* 7-9 Tableros con tinte: texto en (128,128,960,824) */
.ticks { display: flex; flex-direction: column; gap: 12px; }
.tick { font-family: var(--mono); font-size: 24px; line-height: 1.3; }
.chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px; }
.chip { font-family: var(--mono); font-size: 24px; line-height: 1; padding: 14px 20px; background: #fcfcfa; color: #0d0f14; white-space: nowrap; }

/* 9 AI Development: teléfono x 1360-1780 / y 168-896 (chat en HTML); texto en (128,128,752,824) */
.cap-name { font-family: var(--display); font-size: 32px; font-weight: 650; line-height: 1.1; }
.chat-head { position: absolute; left: 1438px; top: 204px; width: 308px; white-space: nowrap; font-family: var(--text); font-size: 24px; font-weight: 500; line-height: 40px; color: #ffffff; }
.chat { position: absolute; left: 1388px; top: 272px; width: 364px; display: flex; flex-direction: column; gap: 16px; }
.bub { font-size: 24px; line-height: 1.25; padding: 12px; max-width: 294px; box-sizing: border-box; color: #0d0f14; }
.bub-in { align-self: flex-start; background: #ffffff; }
.bub-out { align-self: flex-end; background: #dcf8c6; }
.bub-sys { align-self: center; font-family: var(--mono); font-size: 24px; line-height: 1.2; padding: 8px 12px; background: #f4f3f0; color: #55585f; text-align: center; }
.b1, .b2, .b3, .b4, .b5 { animation: bub-on 1ms steps(1, end) backwards; }
.b1 { animation-delay: 600ms; } .b2 { animation-delay: 850ms; } .b3 { animation-delay: 1100ms; }
.b4 { animation-delay: 1350ms; } .b5 { animation-delay: 1600ms; }
@keyframes bub-on { from { opacity: 0; } to { opacity: 1; } }
.chat-note { position: absolute; left: 1360px; top: 912px; width: 420px; text-align: center; color: #55585f; }

/* 11 Proceso: contadores (SVG) y 400-584; pasos en (128|544|960|1376, 624), ancho 384 */
.step { position: absolute; top: 624px; width: 384px; display: flex; flex-direction: column; gap: 8px; }
.st1 { left: 128px; } .st2 { left: 544px; } .st3 { left: 960px; } .st4 { left: 1376px; }
.step-n { color: #aaaeb7; }

/* 12 Valores: flechas (SVG) x 128-1184 / y 312-792; titular a la derecha; valores en (128|512|896, 824) */
.val-title { position: absolute; left: 1248px; top: 312px; width: 544px; }
.val { position: absolute; top: 824px; width: 352px; display: flex; flex-direction: column; gap: 6px; }
.v1 { left: 128px; } .v2 { left: 512px; } .v3 { left: 896px; }

/* 13 Clientes: rejilla 5×3 de 320×184 desde (160, 400) */
.logos { position: absolute; left: 160px; top: 400px; width: 1600px; height: 552px; display: grid; grid-template-columns: repeat(5, 320px); grid-template-rows: repeat(3, 184px); justify-items: center; align-items: center; }
.logo { width: 224px; height: 96px; object-fit: contain; }
.logo-free { display: flex; align-items: center; justify-content: center; width: 320px; height: 184px; }

/* 14 Equipo: monograma (SVG) a la derecha; apoyo y persona en (128, 420), ancho 640 */
.team-left { position: absolute; left: 128px; top: 420px; width: 640px; display: flex; flex-direction: column; gap: 48px; }
.person { display: flex; flex-direction: column; gap: 12px; }
.person-name { font-family: var(--display); font-size: 88px; font-weight: 650; line-height: 1; letter-spacing: -2px; }
.person-role { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1.1; color: #c03900; }

/* 15 Cierre: texto en (128,184,1056,768); >_ (SVG) x 1312-1792 */
.contacts { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; }
.contact { display: flex; flex-direction: column; gap: 4px; }
.contact-v { font-size: 32px; line-height: 1.2; font-weight: 500; color: #f4f5f8; }

/* 17 Cierre v3: dos QR (en el SVG) con rótulo arriba y texto abajo; correo y sitio a la derecha */
.c-offers { color: #aaaeb7; }

/* 1 Portada v2: titular de 2 líneas fijas (decisión de Kike) */
.cover-col { width: 1000px; }
.cover-h { font-family: var(--display); font-size: 88px; font-weight: 700; line-height: 1.04; letter-spacing: -2px; white-space: nowrap; }

/* v3 (17 láminas) */
.col-dev { width: 752px; }
.col-resuelve { width: 944px; }
.lvl-tag { color: #f0621d; }

/* 8 Entregables: casillas de 120 (SVG) en x 128-248 y 960-1080, filas y 408/584/760; texto a la derecha */
.chk { position: absolute; width: 624px; height: 120px; display: flex; align-items: center; animation: bub-on 1ms steps(1, end) backwards; }
.chk-t { font-size: 32px; line-height: 1.25; font-weight: 500; color: #0d0f14; }
.c1, .c2, .c3 { left: 272px; } .c4, .c5, .c6 { left: 1104px; }
.c1, .c4 { top: 408px; } .c2, .c5 { top: 584px; } .c3, .c6 { top: 760px; }
.c1 { animation-delay: 100ms; } .c2 { animation-delay: 250ms; } .c3 { animation-delay: 400ms; }
.c4 { animation-delay: 550ms; } .c5 { animation-delay: 700ms; } .c6 { animation-delay: 850ms; }

/* 12 Ramas: rótulo a la derecha de cada punta naranja */
.rama { position: absolute; width: 328px; display: flex; flex-direction: column; gap: 4px; }
.r1, .r2, .r3, .r4 { top: 636px; } .r5, .r6, .r7, .r8 { top: 796px; }
.r1, .r5 { left: 200px; } .r2, .r6 { left: 616px; } .r3, .r7 { left: 1032px; } .r4, .r8 { left: 1448px; width: 344px; }

/* 17 Cierre: QR en x 128-458 y 506-836, y 574-904 */
.qr-label { position: absolute; top: 522px; width: 330px; font-size: 24px; font-weight: 600; line-height: 40px; color: #f4f5f8; }
.qr-text { position: absolute; top: 916px; width: 330px; line-height: 36px; color: #aaaeb7; }
.q1, .q1t { left: 128px; } .q2, .q2t { left: 506px; }
.qr-contacts { position: absolute; left: 884px; top: 574px; width: 380px; display: flex; flex-direction: column; gap: 24px; }
