/* Nerve & Node: landing. Colores, letras y elementos salen de marca/manual.html.
   Composición: cartel de papel. Texto a la izquierda, piezas giradas y montadas a la derecha;
   una banda de tinta (ejemplos) y una de estrella (precio) cortan la página. */

:root {
  --bg: #ECEEEA; --bg-2: #DCE0DA; --fg: #1F2023; --fg-2: #4B4E55;
  --linea: #1F2023; --borde: #1F2023; --sombra: #1F2023; --bloque: #1F2023;
  --tinta: #1F2023; --papel: #ECEEEA; --cromo: #A9AFB8; --senal: #5CC8F0; --estrella: #FFC83D;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;
  --mano: "Gochi Hand", "Comic Sans MS", cursive;
  --ancho: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1F2023; --bg-2: #2B2C30; --fg: #ECEEEA; --fg-2: #A9AFB8;
    --linea: #5CC8F0; --borde: #55585F; --sombra: #000; --bloque: #151619; color-scheme: dark; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--display); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .08; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='220' height='220' filter='url(%23g)'/></svg>"); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--senal); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); }
p { margin: 0 0 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.envoltura { width: 100%; max-width: var(--ancho); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
mark { background: linear-gradient(transparent 10%, var(--senal) 10%, var(--senal) 90%, transparent 90%); color: var(--tinta); padding: 0 .08em; }

/* Elementos de marca */
.sticker { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--estrella); color: var(--tinta);
  border: 3px solid var(--tinta); border-radius: 16px; padding: 10px 16px 11px; box-shadow: 5px 5px 0 var(--sombra);
  transform: rotate(var(--r, -5deg)); font-family: var(--mono); font-weight: 600; font-size: 17px; line-height: 1.2; white-space: nowrap;
  transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.sticker b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.sticker small { font-size: 14px; font-weight: 500; }
.sticker.papel { background: var(--papel); } .sticker.cian { background: var(--senal); }
.sticker.chico { font-size: 12px; padding: 3px 9px; border-width: 2px; border-radius: 9px; box-shadow: 3px 3px 0 #000; vertical-align: 2px; margin-left: 8px; }
@media (hover: hover) { .sticker:hover { transform: rotate(0deg) scale(1.04); } }
.telefono { position: absolute; aspect-ratio: 390 / 844; border-radius: 13% / 6%; padding: 3%; background: var(--tinta);
  box-shadow: 0 24px 50px rgba(20, 22, 26, .28); }
.telefono img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10% / 4.6%; }
.cinta { position: absolute; width: 30%; height: 7%; background: rgba(255, 200, 61, .85); z-index: 4;
  clip-path: polygon(0 10%, 4% 0, 8% 10%, 12% 0, 88% 0, 92% 10%, 96% 0, 100% 10%, 100% 90%, 96% 100%, 92% 90%, 88% 100%, 12% 100%, 8% 90%, 4% 100%, 0 90%); }
.nota { font-family: var(--mano); font-size: 25px; line-height: 1.05; margin: 0; }
.nodo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nodo path { fill: none; stroke: var(--linea); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.nodo .anillo { fill: var(--bg); stroke: var(--linea); stroke-width: 4; }

/* Botones */
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: var(--estrella); color: var(--tinta); text-decoration: none;
  border: 3px solid var(--tinta); border-radius: 16px; padding: 14px 20px; font-weight: 800; font-size: 17px; line-height: 1.1;
  box-shadow: 5px 5px 0 var(--sombra); transform: rotate(-1deg); transition: transform .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-wa:hover { transform: rotate(0deg) translate(-1px, -1px); box-shadow: 7px 7px 0 var(--sombra); }
.btn-wa:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--sombra); }
.btn-wa.grande { font-size: 20px; padding: 18px 26px; }
.enlace { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.enlace svg { width: 18px; height: 18px; }

/* Cabecera */
.cabecera { display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.marca img { width: 62px; height: auto; }
.cabecera nav { display: flex; gap: 24px; margin-left: auto; font-size: 15px; font-weight: 600; }
.cabecera nav a { text-decoration: none; }
.cabecera nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.idioma { font-family: var(--mono); font-size: 13px; font-weight: 600; border: 2px solid var(--borde); border-radius: 10px; padding: 6px 10px; text-decoration: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; align-items: center; padding-block: 34px 70px; }
.hero h1 { font-stretch: 125%; font-weight: 900; font-size: clamp(46px, 6.8vw, 100px); line-height: .98; letter-spacing: -.025em; }
.hero-sub { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; max-width: 31ch; margin-top: 28px; }
.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 30px; }
.hero-visual { position: relative; width: 100%; max-width: 500px; aspect-ratio: 5 / 6; justify-self: end; }
.hero-visual .telefono { left: 37%; top: 3%; width: 52%; transform: rotate(6deg); z-index: 2; }
.hero-visual .cinta { left: 70%; top: 2%; transform: rotate(32deg); }
.hero-visual .sticker { position: absolute; left: 7%; top: 47%; z-index: 3; }
.hero-visual .nota { position: absolute; left: 0; top: 28%; transform: rotate(-6deg); z-index: 5; font-size: clamp(19px, 5vw, 25px); }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-sub, .acciones { animation: subir .7s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-sub { animation-delay: .08s; } .acciones { animation-delay: .16s; }
  .hero-visual .telefono { animation: llegar .9s cubic-bezier(.16, 1, .3, 1) .1s both; }
  .hero-visual .sticker { animation: pegar .5s cubic-bezier(.2, .9, .3, 1.5) .6s both; }
}
@keyframes subir { from { opacity: 0; transform: translateY(18px); } }
@keyframes llegar { from { opacity: 0; transform: translateY(60px) rotate(12deg); } }
@keyframes pegar { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }

/* La idea */
.idea { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-block: 60px 90px; }
.idea h2 { font-stretch: 125%; font-weight: 900; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -.02em; max-width: 15ch; }
.idea > div > p { font-size: 20px; max-width: 40ch; margin-top: 22px; }
.palabras { display: flex; flex-wrap: wrap; gap: 22px 18px; align-content: center; }
.palabras .sticker { font-size: 20px; padding: 12px 18px; }
.palabras .sticker:nth-child(2) { margin-left: 34px; } .palabras .sticker:nth-child(4) { margin-left: 70px; }
.pie-chico { flex-basis: 100%; font-family: var(--mono); font-size: 13px; color: var(--fg-2); margin-top: 10px; max-width: 40ch; }

/* Cómo funciona */
.pasos { padding-block: 40px 110px; }
.pasos h2 { font-stretch: 62.5%; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 9vw, 132px); line-height: .85; }
.ruta { position: relative; margin-top: 40px; }
.ruta-linea { position: absolute; left: 0; top: 0; width: 100%; height: 140px; overflow: visible; }
.ruta-linea path { fill: none; stroke: var(--linea); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ruta.por-dibujar .ruta-linea path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.65, 0, .35, 1); }
.ruta.dibujada .ruta-linea path { stroke-dashoffset: 0; }
.ruta ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; position: relative; }
.paso { padding-top: 18px; }
.paso.arriba { padding-top: 18px; } .paso.abajo { padding-top: 78px; }
.paso .num { display: grid; place-items: center; width: 46px; height: 46px; margin-left: calc(50% - 23px); border-radius: 50%; background: var(--bg);
  border: 4px solid var(--linea); font-family: var(--mono); font-weight: 700; font-size: 16px; position: relative; z-index: 1; }
.paso h3 { font-stretch: 100%; font-weight: 800; font-size: 21px; line-height: 1.15; margin-top: 22px; }
.paso p { font-size: 16.5px; color: var(--fg-2); margin-top: 8px; max-width: 26ch; }

/* Bandas */
.banda { padding-block: 100px; }
.banda.tinta { background: var(--bloque); color: var(--papel); }
.banda.estrella { background: var(--estrella); color: var(--tinta); }
.banda h2 { font-stretch: 125%; font-weight: 900; font-size: clamp(32px, 4.2vw, 58px); line-height: 1; letter-spacing: -.02em; max-width: 18ch; }
.ej-intro { color: var(--cromo); max-width: 52ch; margin-top: 20px; font-size: 19px; }

/* Ejemplos */
.ejemplo { position: relative; margin: 70px 0 0; }
.ejemplo .escritorio { border-radius: 14px; box-shadow: 0 0 0 2px #3A3C41, 0 30px 60px rgba(0, 0, 0, .45); }
.ejemplo .telefono { background: #0E0F11; box-shadow: 0 0 0 2px #3A3C41, 0 24px 50px rgba(0, 0, 0, .5); z-index: 2; }
.ejemplo figcaption { font-family: var(--mono); font-size: 14px; margin-top: 22px; color: var(--cromo); }
.ejemplo.uno .escritorio { width: 74%; transform: rotate(-1.4deg); }
.ejemplo.uno .telefono { width: 21%; right: 6%; top: 18%; transform: rotate(5deg); }
.ejemplo.dos { margin-top: 110px; }
.ejemplo.dos .escritorio { width: 64%; margin-left: auto; transform: rotate(1.2deg); }
.ejemplo.dos .telefono { width: 19%; left: 14%; top: -12%; transform: rotate(-6deg); }
.ejemplo.dos figcaption { text-align: right; }
.nota.amarilla { color: var(--estrella); font-size: 30px; transform: rotate(-4deg); margin-top: 40px; max-width: 16ch; }

/* Precio */
.precio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cifra { font-stretch: 62.5%; font-weight: 900; font-size: clamp(130px, 20vw, 270px); line-height: .8; margin: 0; letter-spacing: -.01em; }
.vez { font-stretch: 62.5%; font-weight: 900; font-size: clamp(44px, 5vw, 68px); line-height: .9; text-transform: uppercase; margin: 6px 0 26px; }
.precio-texto p:not(.cifra):not(.vez) { max-width: 40ch; font-size: 18px; }
.precio-texto .chico { font-family: var(--mono); font-size: 13.5px; }
.tiquete { background: var(--papel); color: var(--tinta); padding: 40px 38px 34px; transform: rotate(3deg); filter: drop-shadow(8px 8px 0 var(--tinta));
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 34px repeat-y, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 34px repeat-y;
          mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 34px repeat-y, radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 34px repeat-y;
  font-family: var(--mono); max-width: 470px; justify-self: center; }
.tiquete-t { font-weight: 700; font-size: 13px; letter-spacing: .04em; padding-bottom: 18px; border-bottom: 3px dashed var(--tinta); }
.tiquete ul { list-style: none; margin: 8px 0 0; padding: 0; }
.tiquete li { position: relative; padding: 10px 0 10px 28px; font-size: 15px; line-height: 1.4; }
.tiquete li::before { content: "+"; position: absolute; left: 0; font-weight: 700; }
.total { display: flex; justify-content: space-between; border-top: 3px dashed var(--tinta); margin-top: 12px; padding-top: 18px; font-weight: 700; font-size: 22px; }
.dos-pagos { font-size: 13px; margin: 6px 0 0; }

/* Sobre mí */
.sobre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; padding-block: 120px 60px; }
.sobre h2 { font-stretch: 62.5%; font-weight: 900; text-transform: uppercase; font-size: clamp(80px, 11vw, 168px); line-height: .84; }
.sobre-texto p { font-size: 19px; max-width: 42ch; }
.sobre-stickers { display: flex; flex-wrap: wrap; gap: 16px 14px; margin-top: 26px; }

/* Preguntas */
.preguntas { padding-block: 80px 40px; max-width: 900px; }
.preguntas h2 { font-stretch: 125%; font-weight: 900; font-size: clamp(30px, 3.8vw, 50px); line-height: 1; letter-spacing: -.02em; }
.lista-preguntas { margin-top: 30px; }
details { border-top: 2px solid color-mix(in srgb, var(--fg) 18%, transparent); }
details:last-child { border-bottom: 2px solid color-mix(in srgb, var(--fg) 18%, transparent); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 20px; line-height: 1.3; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-weight: 700; font-size: 22px; transition: transform .25s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--fg-2); max-width: 60ch; padding-bottom: 20px; font-size: 17.5px; }

/* Final */
.final { padding-block: 110px 120px; }
.final h2 { font-stretch: 125%; font-weight: 900; font-size: clamp(40px, 6.4vw, 92px); line-height: .98; letter-spacing: -.025em; max-width: 14ch; }
.final > p { font-size: 20px; max-width: 38ch; margin-top: 24px; }
.final-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 34px; }
.correo { margin: 0; font-family: var(--mono); font-size: 14px; }

/* Pie */
.pie { padding-block: 60px 70px; }
.pie-dentro { display: grid; gap: 14px; }
.pie img { width: 220px; }
.pie p { color: var(--cromo); font-size: 15px; margin: 0; }
.pie-enlaces { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--mono); font-size: 13px; }

/* WhatsApp fijo en el celular */
.wa-fijo { display: none; }

@media (max-width: 900px) {
  .cabecera nav { display: none; }
  .idioma { margin-left: auto; }
  .hero, .idea, .precio, .sobre { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 10px 40px; gap: 20px; }
  .hero-visual { justify-self: center; max-width: 420px; }
  .idea { padding-block: 40px 70px; gap: 34px; }
  .ruta-linea { display: none; }
  .ruta ol { grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 4px solid var(--linea); margin-left: 21px; }
  .paso, .paso.arriba, .paso.abajo { padding: 0 0 34px 34px; position: relative; }
  .paso .num { position: absolute; left: -25px; top: -4px; margin: 0; }
  .paso h3 { margin-top: 6px; }
  .ejemplo.uno .escritorio, .ejemplo.dos .escritorio { width: 88%; }
  .ejemplo.uno .telefono { width: 30%; right: 0; top: 30%; }
  .ejemplo.dos .telefono { width: 28%; left: 0; top: 34%; }
  .ejemplo.dos { margin-top: 80px; }
  .ejemplo figcaption, .ejemplo.dos figcaption { margin-top: 70px; text-align: left; }
  .ejemplo.uno .telefono { top: 12%; } .ejemplo.dos .telefono { top: 14%; }
  .tiquete { transform: rotate(1.5deg); padding: 34px 28px 28px; }
  .sobre { padding-block: 90px 30px; gap: 26px; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .wa-fijo { display: flex; justify-content: center; align-items: center; gap: 10px; position: fixed; z-index: 80; left: 0; right: 0; bottom: 0;
    padding: 12px max(16px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
    background: var(--bloque); }
  .wa-fijo span, .wa-fijo svg { position: relative; }
  .wa-fijo::before { content: ""; position: absolute; inset: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--estrella); border: 3px solid var(--tinta); border-radius: 14px; }
  .wa-fijo { color: var(--tinta); text-decoration: none; font-weight: 800; font-size: 17px; }
  .wa-fijo svg { width: 22px; height: 22px; }
  .banda { padding-block: 70px; }
  .palabras .sticker:nth-child(2) { margin-left: 18px; } .palabras .sticker:nth-child(4) { margin-left: 30px; }
  .nota.amarilla { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
