/* Landing de rumbiz.com · versión 3 (19 nov 2026). Guía: negocio-decisiones/design/rumbiz-marketing-v1.
   Cada bloque con forma propia, tipos enormes, una palabra en lima, fondos alternos, movimiento con intención. */
@font-face { font-family: "Bricolage Grotesque"; src: url("fuentes/BricolageGrotesque-Variable.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fuentes/HankenGrotesk-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fuentes/DMMono-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fuentes/DMMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #101513; --ground: #EDEFEA; --paper: #FAF8F2; --lima: #CBF03F;
  --muted: #4A524E; --muted-ink: #AEB6BA; --surface-ink: #1B2220; --line: #C3C9C2;
  --f-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --f-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(20px, 5vw, 96px);
  --gap-sec: clamp(72px, 11vw, 150px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.5 var(--f-sans); overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 6px; }
.saltar { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--ground); padding: 12px 16px; border-radius: 10px; z-index: 20; }
.saltar:focus { top: 8px; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; margin: 0; }
h1 { font-size: clamp(52px, 10.5vw, 168px); line-height: .9; letter-spacing: -0.05em; }
h2 { font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: -0.045em; }
h3 { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
.lead { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.3; max-width: 36ch; }
.label { font-family: var(--f-mono); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ink .label { color: var(--muted-ink); }
.muted { color: var(--muted); }
.ink .muted { color: var(--muted-ink); }

/* Bloques de ancho completo, fondos alternos */
.sec { padding: var(--gap-sec) var(--pad); position: relative; }
.sec > .in-w { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.ink { background: var(--ink); color: var(--ground); }
.limab { background: var(--lima); color: var(--ink); }
.limab .label { color: var(--ink); }

/* Palabra en lima: bloque propio, girado */
.hl { display: inline-block; background: var(--lima); color: var(--ink); padding: .02em .22em .12em; border-radius: .16em; transform: rotate(-2deg); letter-spacing: -0.05em; line-height: .95; }
.titular { display: flex; flex-direction: column; align-items: flex-start; gap: .06em; }

/* Cabecera */
.cab { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 800 28px/1 var(--f-display); letter-spacing: -0.03em; min-height: 44px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 40px; font: 700 17px var(--f-sans); text-decoration: none; border: 3px solid var(--ink); background: var(--ink); color: var(--ground); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--lima); }
.btn.claro { background: transparent; color: var(--ink); }
.btn.claro:hover { box-shadow: 5px 5px 0 var(--ink); }
.ink .btn { background: var(--lima); color: var(--ink); border-color: var(--lima); }
.ink .btn:hover { box-shadow: 5px 5px 0 var(--ground); }
.limab .btn:hover { box-shadow: 5px 5px 0 var(--ink); }

/* 1 · Portada: pregunta enorme + ticket */
.portada { padding-top: clamp(110px, 14vw, 170px); overflow: hidden; }
.portada .in-w { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.portada h1 { display: block; }
.portada .por-que { margin-top: 28px; }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.ticket { background: var(--paper); color: var(--ink); padding: 32px 32px 28px; box-shadow: 14px 14px 0 var(--lima); transform: rotate(3deg); animation: drop 900ms cubic-bezier(.2,.8,.2,1) both; max-width: 420px; justify-self: center; width: 100%; }
@keyframes drop { from { opacity: 0; transform: translateY(-90px) rotate(3deg); } to { opacity: 1; transform: translateY(0) rotate(3deg); } }
.tt { font-family: var(--f-mono); font-size: 16px; line-height: 1.55; }
.ttc { text-align: center; }
.tline { display: flex; justify-content: space-between; gap: 12px; }
.tline.b { font-weight: 500; }
.trule { border-top: 3px dashed var(--ink); margin: 12px 0; }
.tbig { font-family: var(--f-mono); font-size: 24px; font-weight: 500; letter-spacing: .04em; text-align: center; }
.stamp { margin: 10px 8px -4px auto; width: 116px; height: 116px; border-radius: 50%; background: var(--lima); border: 4px solid var(--ink); display: flex; align-items: center; justify-content: center; transform: rotate(-12deg); font-family: var(--f-mono); font-weight: 500; font-size: 17px; line-height: 1.1; text-align: center; animation: stampin 420ms cubic-bezier(.3,1.6,.5,1) 1300ms both; }
@keyframes stampin { from { opacity: 0; transform: rotate(-12deg) scale(1.7); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.pr { animation: fade 300ms ease both; animation-delay: calc(500ms + var(--i, 0) * 90ms); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.aviso-ej { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; margin-top: 18px; }
.ink .aviso-ej { color: var(--muted-ink); }

/* 2 · ¿Te suena? Notas pegadas */
.notas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.nota { background: var(--paper); color: var(--ink); padding: clamp(24px, 3vw, 40px); box-shadow: 8px 8px 0 var(--lima); font: 700 clamp(22px, 2.6vw, 38px)/1.1 var(--f-display); letter-spacing: -0.03em; }
.nota:nth-child(1) { transform: rotate(-1.5deg); }
.nota:nth-child(2) { transform: rotate(1.2deg); box-shadow: 8px 8px 0 var(--ground); }
.nota:nth-child(3) { transform: rotate(1deg); box-shadow: 8px 8px 0 var(--ground); }
.nota:nth-child(4) { transform: rotate(-1deg); background: var(--lima); box-shadow: 8px 8px 0 var(--ground); }
.nota small { display: block; margin-top: 14px; font: 400 16px/1.4 var(--f-sans); letter-spacing: 0; color: var(--muted); }

/* 3 · Qué es Rumbiz (lima) */
.que h2 { font-size: clamp(48px, 9.5vw, 150px); letter-spacing: -0.055em; line-height: .88; }
.que .lead { max-width: 30ch; }

/* 4 · Mosaico de preguntas */
.mosaico { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.tile { border-radius: 28px; padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; background: var(--surface-ink); color: var(--ground); min-height: 280px; }
.tile.l { background: var(--lima); color: var(--ink); }
.tile.p { background: var(--paper); color: var(--ink); }
.tile .tq { font: 800 clamp(30px, 3.4vw, 48px)/1 var(--f-display); letter-spacing: -0.035em; }
.tile .ta { margin-top: auto; font-size: 18px; line-height: 1.35; color: var(--muted-ink); }
.tile.l .ta, .tile.p .ta, .tile.l .label, .tile.p .label { color: var(--muted); }
.tile.l .label, .tile.p .label { color: var(--muted); }

/* 5 · La herramienta */
.herr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.herr h2 { margin-bottom: 20px; }
.lectura { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 2.6vw, 34px); box-shadow: 14px 14px 0 var(--lima); display: flex; flex-direction: column; gap: 14px; transform: rotate(-1.5deg); }
.lectura .fila { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--ink); padding-top: 12px; }
.lectura .fila span { font-size: 18px; }
.lectura .fila b { font: 500 26px var(--f-mono); }
.lectura .tot b { font-size: 34px; }
.pend { display: inline-flex; align-items: center; gap: 6px; border: 2px dashed #34448a; color: #1e2a5e; background: #e4e8f6; border-radius: 8px; padding: 2px 10px; font: 700 14px var(--f-sans); }
.atencion { background: var(--ink); color: var(--ground); border-radius: 14px; padding: 14px 16px; font-size: 16px; line-height: 1.35; }

/* 6 · Escalera */
.escalera { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: end; }
.paso { border-radius: 28px 28px 0 0; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 14px; background: var(--ink); color: var(--ground); animation: none; }
.paso:nth-child(1) { min-height: 300px; }
.paso:nth-child(2) { min-height: 380px; background: var(--paper); color: var(--ink); }
.paso:nth-child(3) { min-height: 460px; background: var(--lima); color: var(--ink); }
.paso .snum { font: 500 clamp(64px, 8vw, 120px)/.85 var(--f-mono); letter-spacing: -0.06em; color: var(--lima); }
.paso:nth-child(2) .snum, .paso:nth-child(3) .snum { color: var(--ink); }
.paso p { font-size: 19px; line-height: 1.35; color: var(--muted-ink); }
.paso:nth-child(2) p, .paso:nth-child(3) p { color: var(--muted); }
.paso:nth-child(1) .label { color: var(--muted-ink); }
.paso:nth-child(2) .label, .paso:nth-child(3) .label { color: var(--muted); }
.nota-cobro { max-width: 60ch; }

/* 7 · Lo que no somos (tachados) */
.limites { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tachados { display: flex; flex-direction: column; gap: 26px; }
.nope { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.strike { position: relative; font: 800 clamp(34px, 5vw, 72px)/1 var(--f-display); letter-spacing: -0.04em; color: var(--muted); }
.strike::after { content: ""; position: absolute; left: -8px; right: -8px; top: 52%; height: 6px; border-radius: 4px; background: var(--ink); transform-origin: left center; transform: scaleX(0) rotate(-1.5deg); }
.vis .strike::after { animation: strike 500ms cubic-bezier(.6,0,.2,1) both; animation-delay: calc(300ms + var(--i, 0) * 160ms); }
@keyframes strike { from { transform: scaleX(0) rotate(-1.5deg); } to { transform: scaleX(1) rotate(-1.5deg); } }
.nope p { color: var(--muted); font-size: 19px; }
.si { background: var(--lima); color: var(--ink); border-radius: 32px; padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 18px; transform: rotate(2deg); box-shadow: 14px 14px 0 var(--ink); }
.si h3 { font-size: clamp(34px, 4.4vw, 60px); line-height: .98; letter-spacing: -0.04em; font-weight: 800; }
.si p { font-size: 20px; line-height: 1.35; }

/* 8 · Equipo (credenciales) */
.cred { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.badge { background: var(--paper); color: var(--ink); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.badge .top { background: var(--lima); padding: 12px 24px; font: 500 14px var(--f-mono); letter-spacing: .12em; }
.badge .body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.badge .you { font: 800 clamp(34px, 4vw, 56px)/1 var(--f-display); letter-spacing: -0.05em; }
.badge p { color: var(--muted); font-size: 18px; line-height: 1.35; }
.badge ul { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-size: 18px; }
.badge li { border-top: 2px solid var(--ink); padding-top: 6px; }

/* 9 · Cierre: el mismo ticket, con el total claro */
.cierre .in-w { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cierre .ticket { transform: rotate(-3deg); box-shadow: 14px 14px 0 var(--ink); animation: none; }
.cierre .ticket .stamp { animation: none; }
.mail { font: 500 clamp(18px, 2.2vw, 28px) var(--f-mono); }

footer { background: var(--ink); color: var(--muted-ink); padding: 28px var(--pad); display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; align-items: center; font-size: 15px; }
footer .marca { font-size: 22px; color: var(--ground); }

/* Entrada con intención */
.js .rev { opacity: 0; transform: translateY(24px); }
.js .rev.vis { animation: rise 600ms cubic-bezier(.2,.75,.2,1) both; animation-delay: calc(var(--i, 0) * 110ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.js .escalera .rev.vis { animation-name: climb; }
@keyframes climb { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: translateY(0); } }
/* Los objetos girados van dentro de un contenedor .rev: la animación no pisa su rotación */

@media (max-width: 900px) {
  .portada .in-w, .herr, .limites, .cierre .in-w { grid-template-columns: 1fr; }
  .mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .escalera { grid-template-columns: 1fr; }
  .paso { border-radius: 24px; min-height: 0 !important; }
  .cred { grid-template-columns: 1fr; }
  .tile { min-height: 220px; }
}
@media (max-width: 560px) {
  .notas, .mosaico { grid-template-columns: 1fr; }
  .cab .btn { min-height: 44px; padding: 0 20px; }
  .ticket { box-shadow: 10px 10px 0 var(--lima); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rev { opacity: 1; transform: none; }
  .strike::after { transform: scaleX(1) rotate(-1.5deg); }
}

/* ---- v4 · landing orientada a conversión ---- */
.micro { margin-top: 14px; font-size: 15px; color: var(--muted); }
.limab .micro { color: var(--ink); }
.micro a { font-weight: 700; }
.coste { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.despues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.despues > div { display: flex; }
.d-card { flex: 1; background: var(--ink); color: var(--ground); border-radius: 28px; padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; }
.d-card .d-n { font: 500 clamp(44px, 5vw, 72px)/.9 var(--f-mono); letter-spacing: -0.06em; color: var(--lima); }
.d-card p { font-size: 18px; line-height: 1.4; color: var(--muted-ink); }
.faq-w { max-width: 900px; }
.faq details { border-top: 3px solid var(--ink); padding: 18px 0; }
.faq details:last-child { border-bottom: 3px solid var(--ink); }
.faq summary { cursor: pointer; font: 800 clamp(22px, 2.4vw, 30px)/1.15 var(--f-display); letter-spacing: -0.03em; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 32px var(--f-mono); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; font-size: 19px; color: var(--muted); max-width: 60ch; }
.ticket.peq { max-width: 400px; margin-top: 36px; transform: rotate(-2deg); animation: none; box-shadow: 10px 10px 0 var(--ink); padding: 24px 24px 20px; }
.form { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 14px 14px 0 var(--ink); display: flex; flex-direction: column; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-weight: 700; font-size: 16px; }
.opc { font-weight: 400; color: var(--muted); }
.campo input, .campo select, .campo textarea { font: 400 18px var(--f-sans); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.campo textarea { resize: vertical; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.4; color: var(--muted); }
.chk input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--ink); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FFE4D6; color: #8A2A00; font-weight: 700; font-size: 16px; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.gracias { background: var(--paper); border-radius: 28px; padding: clamp(24px, 3vw, 40px); box-shadow: 14px 14px 0 var(--ink); }
.gracias h3 { font-size: 36px; margin-bottom: 10px; }
.gracias p { font-size: 19px; }
@media (max-width: 900px) { .coste { grid-template-columns: 1fr; } .despues { grid-template-columns: 1fr; } }
.portada h1 { font-size: clamp(42px, 6.4vw, 104px); line-height: .94; letter-spacing: -0.045em; }
