/* ============================================================
   IO Backup — portada "quiet instrument"
   ============================================================ */

section { position: relative; }

/* ============ HERO — pantalla partida en dos tonos ============ */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 50% 50%;
}
.hero-l {
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 5% 56px;
}
.hero-l-bottom { max-width: 520px; }
.hero h1 {
  font-size: var(--step-head);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero h1 .ml { display: block; overflow: hidden; }
.hero h1 .ml i {
  display: block; font-style: normal;
  transform: translateY(110%);
  animation: hl-in .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero h1 .ml:nth-child(2) i { animation-delay: .12s; }
@keyframes hl-in { to { transform: translateY(0); } }
.hero-sub {
  color: var(--muted); font-size: 17px;
  max-width: 42ch;
  margin-bottom: 28px;
}
.hero-act { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.hero-r {
  background: var(--surface);
  display: grid; place-items: center;
  padding: 100px 5% 60px;
}

/* el job vivo — el propio producto */
.live { width: min(420px, 100%); }
.live-top { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.live-dot {
  width: 7px; height: 7px; background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.live-lab { font-size: 13px; color: var(--muted); }
.live-chip {
  margin-left: auto;
  font-size: 13px; font-weight: 600;
  color: var(--accent-ink); background: var(--accent);
  padding: 4px 10px;
}
.live-name {
  font-size: clamp(1.3rem, 1rem + 1.5vw, 1.875rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.live-name em { font-style: normal; color: var(--muted); }
.live-bar {
  height: 6px; background: var(--surface-2);
  margin-bottom: 14px;
}
.live-bar span {
  display: block; height: 100%;
  background: var(--accent);
  width: 38%;
  transition: width .5s ease;
}
.live-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.live-row b { font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); font-weight: 600; letter-spacing: -0.03em; }
.live-row span { color: var(--muted); font-size: 15px; }
.live-meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.live-meta b { color: var(--ink); font-weight: 600; }

/* ============ SHOWCASE — tira de paneles, el del centro encendido ============ */
.car { padding: 110px 0 100px; overflow: hidden; }
.car-row {
  display: flex; gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 8% 20px;
  scrollbar-width: none;
}
.car-row::-webkit-scrollbar { display: none; }
.panel {
  flex: 0 0 min(420px, 78vw);
  scroll-snap-align: center;
  background: var(--surface);
  border: 2px solid var(--surface-2);
  padding: 26px;
  opacity: .45;
  transition: opacity .35s ease, border-color .35s ease;
}
.panel.lit { opacity: 1; border-color: var(--accent); }

.panel .pj { padding: 14px 0; }
.panel .pj b { display: block; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.panel .pj i { font-style: normal; font-size: 14px; color: var(--muted); }
.panel .pj i.ok { color: var(--accent); }
.pbar { height: 4px; background: var(--surface-2); margin-top: 10px; }
.pbar span { display: block; height: 100%; background: var(--accent); }

.pd, .pv { padding: 13px 0; }
.pd b, .pv b { font-size: 16px; font-weight: 600; display: block; }
.pd span, .pv span { font-size: 14px; color: var(--muted); }
.pv.dim { opacity: .45; }

.pm { position: relative; width: 150px; margin: 8px auto 14px; text-align: center; }
.pm-ring { width: 150px; height: 150px; }
.pm-ring .r-bg { fill: none; stroke: var(--surface-2); stroke-width: 6; }
.pm-ring .r-fg { fill: none; stroke: var(--accent); stroke-width: 6; transform: rotate(-90deg); transform-origin: center; }
.pm b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-weight: 600; padding-bottom: 24px; }
.pm span { display: block; font-size: 14px; color: var(--muted); margin-top: -38px; }
.pm-ctl {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--surface-2); padding: 10px; font-size: 14px;
}
.pm-ctl b { color: var(--accent); }
.pm-ctl span { color: var(--muted); }

.pw {
  background: var(--surface-2);
  padding: 14px 18px; text-align: center;
}
.pw b { font-size: 16px; font-weight: 600; display: block; }
.pw span { font-size: 13px; color: var(--muted); }
.pw-arrow { text-align: center; color: var(--accent); font-size: 18px; padding: 6px 0; }

.car-cap { max-width: 520px; margin: 14px 8% 0; }
.car-cap b { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; display: block; margin-bottom: 4px; }
.car-cap p { color: var(--muted); font-size: 16px; }

/* ============ CONF — panel fijo a la izquierda, controles a la derecha ============ */
.conf {
  display: grid;
  grid-template-columns: minmax(300px, 42%) 1fr;
  gap: 6%;
  padding: 120px 8%;
  align-items: start;
}
.conf-out-wrap { position: sticky; top: 40px; }
.conf-out {
  background: var(--surface);
  border: 2px solid var(--surface-2);
  padding: 26px;
  transition: border-color .3s ease;
}
.conf-out.ping { border-color: var(--accent); }
.co-h { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.co-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0;
  font-size: 16px;
}
.co-row span { color: var(--muted); }
.co-row b { font-weight: 600; text-align: right; }
.co-go {
  margin-top: 18px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 14px;
  padding: 11px 14px;
}
.conf-col > h2 {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 56px;
}
.cblock { margin-bottom: 72px; }
.cblock h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.cblock p { color: var(--muted); font-size: 16px; max-width: 46ch; margin-bottom: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--surface);
  border: 0; cursor: pointer;
  color: var(--muted);
  font-size: 15px; font-weight: 500;
  padding: 11px 18px;
  transition: background .15s ease, color .15s ease;
}
.chip:hover { color: var(--ink); }
.chip.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.keep-ctl { display: flex; align-items: center; gap: 18px; max-width: 420px; }
.keep-ctl b { font-size: 15px; font-weight: 600; white-space: nowrap; min-width: 72px; }

.cfig { margin-top: 28px; max-width: 380px; }
.cfig img, .cfig video { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cfig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ============ HOW — ticket de itinerario ============ */
.how {
  padding: 120px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: start;
}
.how-copy h2 {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 18px;
}
.how-copy p { color: var(--muted); max-width: 32ch; }

.slip {
  background: var(--paper);
  color: var(--paper-ink);
  padding: 34px 30px 30px;
  font-size: 16px;
  --zz: 12px;
  clip-path: polygon(0 0, 100% 0,
    100% calc(100% - var(--zz)), 96.5% 100%, 93% calc(100% - var(--zz)),
    89.5% 100%, 86% calc(100% - var(--zz)), 82.5% 100%, 79% calc(100% - var(--zz)),
    75.5% 100%, 72% calc(100% - var(--zz)), 68.5% 100%, 65% calc(100% - var(--zz)),
    61.5% 100%, 58% calc(100% - var(--zz)), 54.5% 100%, 51% calc(100% - var(--zz)),
    47.5% 100%, 44% calc(100% - var(--zz)), 40.5% 100%, 37% calc(100% - var(--zz)),
    33.5% 100%, 30% calc(100% - var(--zz)), 26.5% 100%, 23% calc(100% - var(--zz)),
    19.5% 100%, 16% calc(100% - var(--zz)), 12.5% 100%, 9% calc(100% - var(--zz)),
    5.5% 100%, 2% calc(100% - var(--zz)), 0 100%);
}
.slip-h {
  font-size: 13px; color: var(--paper-mut);
  padding-bottom: 14px; margin-bottom: 6px;
  border-bottom: 1px dashed var(--paper-mut);
}
.slip-row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 0;
}
.slip-row + .slip-row { border-top: 1px dashed #d8d4c4; }
.slip-row span { font-weight: 500; }
.slip-row i { flex: 1; border-bottom: 1px dotted var(--paper-mut); transform: translateY(-4px); }
.slip-row b { font-weight: 600; white-space: nowrap; }
.slip-res {
  margin-top: 14px;
  background: var(--paper-ink); color: var(--paper);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 16px 18px;
}
.slip-res span { font-weight: 600; }
.slip-res b { font-weight: 600; color: var(--accent); }

/* ============ WSB ============ */
.wsb2 {
  padding: 60px 8% 120px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 40%);
  gap: 7%;
  align-items: end;
}
.wsb2-copy h2 {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 22px;
}
.wsb2-copy p { color: var(--muted); max-width: 56ch; }
.wsb2-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wsb2-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ============ PRECIOS — la carta ============ */
.price {
  padding: 120px 8%;
  display: grid;
  grid-template-columns: minmax(260px, 34%) 1fr;
  gap: 7%;
  align-items: start;
}
.price-side h2 {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 34px;
}
.price-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.price-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.menu-g + .menu-g { margin-top: 56px; }
.menu-g > h3 {
  font-size: var(--step-lead);
  font-weight: 600; letter-spacing: -0.02em;
  padding-bottom: 16px; margin-bottom: 4px;
}
.menu-g > h3 b { color: var(--accent); font-weight: 600; }
.mi {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 18px 0;
}
.mi b { font-size: 17px; font-weight: 600; display: block; }
.mi span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.mi-p { font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--muted); }

/* ============ FAQ — texto de lectura ============ */
.faq { padding: 60px 8% 120px; max-width: 1160px; }
.faq h2 {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 40px;
}
.faq-cols { columns: 2; column-gap: 64px; }
.faq-cols p { font-size: 16px; color: var(--muted); margin-bottom: 22px; break-inside: avoid; }
.faq-cols p b { color: var(--ink); font-weight: 600; }

/* ============ CTA ============ */
.cta { padding: 100px 8% 130px; }
.cta-s {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 34px;
}
.cta-b { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cta-n { color: var(--muted); font-size: 14px; }

/* Aviso móvil: la descarga es para el ordenador — enviar el enlace */
.cta-mob {
  margin-top: 30px;
  padding: 18px 20px;
  display: flex; gap: 16px; align-items: flex-start;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid rgba(218, 250, 156, .45);
  border-radius: 16px;
}
.cta-mob-i { width: 30px; height: 30px; flex: none; color: var(--accent); margin-top: 2px; }
.cta-mob-t { font-weight: 600; font-size: 16px; }
.cta-mob-s { color: var(--muted); font-size: 14px; margin: 5px 0 14px; }
.cta-mob-b { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-mob-ok { color: var(--accent); font-size: 13px; margin-top: 10px; }
@media (max-width: 480px) {
  .cta-mob { flex-direction: column; }
}

/* ============ ESCRÍBENOS ============ */
.write { padding: 60px 8% 130px; }
.write h2 {
  font-size: var(--step-head);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.05;
  margin-bottom: 48px;
}
.write-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-l { padding-top: 80px; }
  .hero-r { padding: 60px 8%; }
  .conf { grid-template-columns: 1fr; gap: 60px; }
  .conf-out-wrap { position: static; order: 2; }
  .conf-col > h2 { margin-bottom: 40px; }
  .how { grid-template-columns: 1fr; gap: 44px; }
  .wsb2 { grid-template-columns: 1fr; gap: 40px; }
  .price { grid-template-columns: 1fr; gap: 50px; }
  .price-fig { max-width: 320px; }
  .faq-cols { columns: 1; }
  .write-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 520px) {
  .hero-l { padding: 70px 8% 50px; }
  .hero h1 { line-height: 1.08; }
  .panel { padding: 20px; }
  .conf, .how, .wsb2, .price, .faq, .cta, .write { padding-left: 7%; padding-right: 7%; }
  .conf { padding-top: 80px; }
  .cblock { margin-bottom: 56px; }
  .cta { padding: 80px 7% 100px; }
}
