/* Punto Stock · sitio web. HTML + CSS, sin librerías. */
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plexmono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --blue: #1f5fd6;
  --blue-deep: #0b3a8c;
  --blue-soft: #e6eefc;
  --ink: #0f1c33;
  --text: #2a3648;
  --muted: #5d6a7d;
  --line: #d9e0ec;
  --paper: #fffdf6;
  --wash: #f4f7fc;
  --mark: #ffd84d;
  --display: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--display); color: var(--text); background: #fff; font-size: 18px; line-height: 1.55; font-optical-sizing: auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.wrap { width: min(var(--maxw), 100% - 44px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mono { font-family: var(--mono); }

/* Encabezado */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav-links a:not(.btn):hover { color: var(--blue); text-decoration: underline; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; text-decoration: none; border: 2px solid var(--blue); background: var(--blue); color: #fff; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn:active { transform: translateY(1px); }
.btn-out { background: transparent; color: var(--blue); }
.btn-out:hover { background: var(--blue); color: #fff; }
.nav .btn { padding: 9px 18px; font-size: 0.95rem; }
.arrow { font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--mark); padding-bottom: 1px; }
.arrow:hover { background: var(--mark); }

/* Marcador amarillo, como subrayado a mano */
.hl { background: linear-gradient(transparent 64%, var(--mark) 64%, var(--mark) 92%, transparent 92%); padding: 0 .08em; margin: 0 -.08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Héroe */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: end; }
.hero-copy { padding-bottom: 72px; }
.kicker { font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); font-weight: 600; margin-bottom: 22px; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--text); margin: 26px 0 32px; max-width: 26em; line-height: 1.45; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.avail { margin-top: 30px; font-size: 0.95rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #e0a100; flex: none; }
.hero-art { position: relative; height: 600px; }
.hero-phone { position: absolute; right: 0; top: 24px; width: min(290px, 58%); border-radius: 34px 34px 0 0; border: 9px solid var(--ink); border-bottom: 0; background: var(--ink); overflow: hidden; box-shadow: 0 0 0 1px var(--ink); }
.hero-phone img { width: 100%; border-radius: 25px 25px 0 0; }
.hero-block { position: absolute; right: -60px; left: 30%; bottom: 0; height: 62%; background: var(--blue); border-radius: 28px 28px 0 0; z-index: -1; }

/* Ticket */
.ticket { position: absolute; left: -24px; bottom: 70px; width: 246px; background: var(--paper); font-family: var(--mono); font-size: 0.78rem; line-height: 1.45; color: #2b2b2b; padding: 22px 20px 26px; box-shadow: 0 18px 40px rgba(15, 28, 51, 0.25); transform: rotate(-4deg); transform-origin: 40% 100%; animation: print .9s cubic-bezier(.2, .8, .2, 1) both .2s; }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 10px; background: linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x, linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 10px repeat-x; }
.ticket b { font-weight: 600; }
.ticket .c { text-align: center; }
.ticket .row { display: flex; justify-content: space-between; gap: 8px; }
.ticket hr { border: 0; border-top: 1px dashed #9a9a9a; margin: 9px 0; }
.ticket .tot { font-size: 1rem; font-weight: 600; }
.stamp { position: absolute; left: 50%; margin-left: -46px; bottom: 26px; border: 3px double var(--blue); color: var(--blue); font-weight: 600; letter-spacing: .12em; padding: 3px 9px; transform: rotate(-11deg); opacity: .8; font-size: .95rem; mix-blend-mode: multiply; animation: stamp .35s cubic-bezier(.3, 1.6, .5, 1) both 1s; }
@keyframes print { from { transform: rotate(-4deg) translateY(60px); opacity: 0; } to { transform: rotate(-4deg); opacity: 1; } }
@keyframes stamp { from { transform: rotate(-11deg) scale(2); opacity: 0; } to { transform: rotate(-11deg) scale(1); opacity: .8; } }

/* Secciones */
section { padding: 96px 0; }
.eyebrow { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: block; }
.two { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.two > :first-child { position: sticky; top: 110px; }
.intro { color: var(--muted); margin-top: 18px; max-width: 24em; }

/* Lista de precios: lo que hace */
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.leaders .t { font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }
.leaders .dots { flex: 1; min-width: 20px; border-bottom: 2px dotted #aab6cb; transform: translateY(-5px); }
.leaders .d { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); text-align: right; max-width: 20em; }
.tag { font-family: var(--mono); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: var(--mark); color: var(--ink); padding: 2px 7px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }

/* Un día en la tienda */
.day { background: var(--wash); }
.day-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 36px 0 0; padding: 0 0 0 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 34px 34px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.timeline time { font-family: var(--mono); font-weight: 600; font-size: .95rem; color: var(--blue); display: block; margin-bottom: 2px; }
.timeline h3 { margin-bottom: 4px; }
.timeline p { color: var(--muted); max-width: 30em; }
.day-grid { align-items: start; }
.device-col { position: sticky; top: 90px; align-self: start; }
.device-wrap { position: relative; width: min(330px, 100%); margin: 0 auto; }
.device-wrap .panel { position: absolute; inset: 44px -34px -30px 34px; background: var(--blue); border-radius: 30px; }
.device { position: relative; width: 100%; aspect-ratio: 1170 / 2532; border-radius: 40px; border: 9px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 26px 50px rgba(11, 28, 51, .28); max-height: min(650px, calc(100vh - 130px)); margin: 0 auto; }
.device .screens { position: absolute; inset: 0; }
.device .screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; border-radius: 30px; }
.device .screens img.on { opacity: 1; }
.timeline li { min-height: clamp(220px, 36vh, 340px); transition: opacity .35s ease; }
.timeline li:last-child { min-height: 0; padding-bottom: 8px; }
.js .timeline li { opacity: .38; }
.js .timeline li.is-active { opacity: 1; }
.timeline li.is-active::before { background: var(--blue); border-color: var(--blue); }
.step-shot { display: none; margin: 18px 0 0; }

/* Fiado */
.fiado-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.libreta { background: #fffef9; border: 1px solid var(--line); border-radius: 6px; padding: 30px 26px 26px 54px; position: relative; font-family: var(--mono); font-size: .95rem; color: #24304a; background-image: repeating-linear-gradient(transparent 0 35px, #cfd9ee 35px 36px); line-height: 36px; box-shadow: 0 14px 34px rgba(15, 28, 51, .1); transform: rotate(-1.2deg); }
.libreta::before { content: ""; position: absolute; left: 38px; top: 0; bottom: 0; border-left: 2px solid #f2a7a0; }
.libreta .head { font-weight: 600; color: var(--ink); }
.libreta .row { display: flex; justify-content: space-between; gap: 10px; }
.libreta .ok { color: #1e7d4f; }
.libreta .neg { color: #c2392b; font-weight: 600; }
.libreta .strike { text-decoration: line-through; text-decoration-color: #c2392b; color: #7a8497; }

/* Para quién */
.who { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.big-text { font-size: clamp(1.8rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; color: var(--ink); max-width: 20em; }
.big-text span { color: var(--blue); }
.small-note { color: var(--muted); margin-top: 24px; max-width: 34em; }

/* Precio */
.price-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.price-num { font-size: clamp(7rem, 22vw, 15rem); font-weight: 800; letter-spacing: -0.07em; line-height: .8; color: var(--blue); }
.price-num small { font-size: .28em; letter-spacing: -0.03em; margin-left: 6px; color: var(--ink); }
.price-list { list-style: none; margin: 22px 0 0; padding: 0; }
.price-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
.price-list li::before { content: "→"; color: var(--blue); font-weight: 800; }

/* Preguntas */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; color: var(--ink); padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 18px; letter-spacing: -0.015em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--mono); font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { padding: 0 2em 22px 0; color: var(--muted); max-width: 40em; }

/* Cierre */
.closing { background: var(--blue); color: #fff; padding: 88px 0; }
.closing h2 { color: #fff; max-width: 14em; }
.closing p { margin: 22px 0 30px; max-width: 32em; font-size: 1.2rem; opacity: .95; }
.closing .btn { background: #fff; color: var(--blue-deep); border-color: #fff; }
.closing .btn:hover { background: var(--mark); border-color: var(--mark); color: var(--ink); }

footer { padding: 56px 0 30px; font-size: 0.95rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { color: var(--ink); margin: 0 0 12px; font-size: 0.85rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--blue); text-decoration: underline; }
.sign { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .9rem; }
.sign strong { color: var(--ink); }

/* Páginas de texto */
.page-head { padding: 64px 0 34px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.page-head p { color: var(--muted); margin-top: 14px; font-size: 1.15rem; }
.prose { max-width: 760px; padding: 48px 0 90px; }
.prose h2 { font-size: 1.6rem; margin: 44px 0 12px; letter-spacing: -0.03em; }
.prose h3 { margin: 26px 0 6px; }
.prose p, .prose li { color: var(--text); }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 7px 0; }
.note { border-left: 4px solid var(--mark); background: var(--wash); padding: 16px 20px; margin: 24px 0; color: var(--ink); }
.contact-card { border: 2px solid var(--ink); padding: 26px; margin: 24px 0; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticket, .stamp { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (max-width: 980px) {
  .two, .day-grid, .fiado-grid, .price-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-art { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .day-art { position: relative; top: 0; height: 700px; max-width: 520px; }
  .two > :first-child { position: static; }
  .intro { max-width: 34em; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  section { padding: 68px 0; }
  .nav-links a:not(.btn) { display: none; }
  .leaders li { flex-wrap: wrap; }
  .leaders .dots { display: none; }
  .leaders .d { text-align: left; max-width: none; flex-basis: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-art { height: 470px; }
  .ticket { left: 0; width: 186px; font-size: .66rem; padding: 16px 14px 20px; bottom: 26px; }
  .stamp { font-size: .78rem; bottom: 18px; margin-left: -38px; }
  .hero-phone { width: 56%; }
  .hero-block { left: 22%; right: -22px; }
  .day-art { height: 560px; }
}

/* Detalles */
::selection { background: var(--mark); color: var(--ink); }
h1, h2, h3, .big-text { text-wrap: balance; }
p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 84px; }
.site-header { transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(15, 28, 51, .08); }
.leaders li { transition: background .15s; }
.leaders li:hover { background: linear-gradient(90deg, rgba(255, 216, 77, .28), transparent 70%); }
.price-list li span { flex: 1; }
.ticket .row, .libreta, .price-num, .timeline time { font-variant-numeric: tabular-nums; }

/* Lista de espera */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist { max-width: 30em; }
.wl-row { display: flex; gap: 10px; }
.waitlist input[type="email"] { flex: 1; min-width: 0; font: inherit; font-size: 1.02rem; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); }
.waitlist input[type="email"]::placeholder { color: #7a8497; }
.waitlist input[type="email"]:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.waitlist .btn { white-space: nowrap; }
.waitlist .btn:disabled { opacity: .7; cursor: progress; }
.fine { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.fine.err { color: #b3261e; font-weight: 600; }
.fine a { color: inherit; }
.wl-ok { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; background: #e9f6ee; color: #14532d; font-weight: 600; line-height: 1.4; }
.wl-ok svg { flex: none; margin-top: 2px; }
.on-blue .fine { color: rgba(255, 255, 255, .85); }
.on-blue .fine.err { color: #ffd0cc; }
.on-blue .btn { background: var(--mark); color: var(--ink); border-color: var(--mark); }
.on-blue .btn:hover { background: #fff; border-color: #fff; }
.on-blue input[type="email"] { border-color: #fff; }
.on-blue .wl-ok { background: rgba(255, 255, 255, .16); color: #fff; }
.stores-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-size: .9rem; color: var(--muted); }
.pill { border: 1.5px solid var(--line); border-radius: 999px; padding: 3px 12px; font-weight: 600; color: var(--text); background: #fff; }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.closing p { margin-bottom: 0; }
.closing .fine { font-size: .88rem; margin: 10px 0 0; opacity: 1; }

@media (max-width: 980px) {
  .device-col { display: none; }
  .day-grid { grid-template-columns: 1fr; }
  .timeline li { min-height: 0; }
  .js .timeline li { opacity: 1; }
  .step-shot { display: block; width: min(230px, 70%); border-radius: 26px; border: 7px solid var(--ink); background: var(--ink); overflow: hidden; box-shadow: 0 14px 30px rgba(11, 28, 51, .2); }
  .step-shot img { border-radius: 19px; }
  .closing-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
  .wl-row { flex-direction: column; }
  .waitlist .btn { justify-content: center; }
  .nav .btn { padding: 8px 14px; font-size: .9rem; }
  .nav .long { display: none; }
}
