/* Despeguía · inicio. Fondo cálido, titulares compactos, cartas redondeadas con foto, botones oscuros y una banda de preguntas oscura.
   Móvil primero (390px), escritorio desde 900px. */

:root {
  --bg: #F8F4EF; --peach: #FCEBE1; --ink: #1C1512; --muted: #6A5E56; --line: #E6DCD1;
  --orange: #D93800; --orange-hover: #B82F00; --card: #FFFFFF; --photo: #EADCCD;
  --f-display: 'Outfit', system-ui, sans-serif; --f-body: 'Epilogue', system-ui, sans-serif;
  --r: 20px; --r-lg: 28px; --gutter: 20px;
}
@media (min-width: 900px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.ta-r { text-align: right; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(32px, 7.4vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { text-wrap: pretty; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 2px solid var(--ink); border-radius: 999px; font-family: var(--f-body); font-size: 15px; font-weight: 700; line-height: 1; transition: background-color .15s, color .15s, transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #3A2E27; }
.btn--line { background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgba(248 244 239 / .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.top__nav { display: none; gap: 28px; font-size: 15px; font-weight: 600; }
.top__nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.top__cta { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
.top__in > * { min-width: 0; }

/* Portada */
.hero { background: var(--peach); }
.hero__in { display: grid; gap: 36px; padding-block: 36px 52px; }
.hero h1 { font-size: clamp(40px, 11.4vw, 84px); }
.hero__lead { max-width: 30em; margin-top: 18px; font-size: 18px; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__keys { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__keys li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; }
.hero__keys svg { color: var(--orange); }
.hero__small { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.photo { position: relative; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; justify-self: center; border: 8px solid #fff; border-radius: var(--r-lg); background: var(--photo) center / cover; rotate: 2deg; box-shadow: 0 18px 40px -22px rgba(28 21 18 / .4); }
.photo__tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }

/* Secciones */
.sec { padding-top: 72px; }
.sec__head { max-width: 38em; margin-bottom: 28px; }
.sec__head p { margin-top: 10px; color: var(--muted); }

/* Encuesta */
.split { display: grid; gap: 40px; align-items: center; }
.split__txt h2 { margin-bottom: 26px; }
.steps { display: grid; gap: 22px; margin-bottom: 30px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.steps__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--orange); color: #fff; font-family: var(--f-display); font-size: 16px; font-weight: 800; }
.steps__n--dark { background: var(--ink); }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 16px; }
.split__ui { display: flex; justify-content: center; padding: 28px 16px; border-radius: var(--r-lg); background: var(--peach); }
.phone { width: 100%; max-width: 290px; padding: 18px; border: 6px solid var(--ink); border-radius: 36px; background: #fff; }
.phone__bar { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; color: var(--muted); }
.phone__prog { height: 5px; margin: 10px 0 18px; border-radius: 999px; background: var(--line); overflow: hidden; }
.phone__prog i { display: block; height: 100%; background: var(--ink); }
.phone__n { font-size: 12px; font-weight: 600; color: var(--orange); }
.phone__q { margin: 4px 0 6px; font-size: 26px; }
.phone__d { font-size: 14px; line-height: 1.4; color: var(--muted); }
.phone__opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 12px; }
.phone__opts span { display: grid; place-items: center; min-height: 48px; padding: 4px; border: 1.5px solid var(--ink); border-radius: 12px; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.15; }
.phone__opts .is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
.phone__note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.phone__pay { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.phone__pay strong { font-family: var(--f-display); font-size: 26px; font-weight: 800; color: var(--ink); }

/* Pago por separado: panel oscuro */
.pay { display: grid; gap: 32px; padding: 28px 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.pay__txt h2 { margin-bottom: 14px; }
.pay__txt > p { max-width: 32em; color: #E3D8CE; }
.pay__list { display: grid; gap: 12px; margin: 22px 0 28px; font-weight: 600; }
.pay__list li { display: flex; align-items: flex-start; gap: 10px; }
.pay__list svg { margin-top: 1px; color: #8FE0B5; }
.split-card { padding: 20px; border-radius: 22px; background: #fff; color: var(--ink); }
.split-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; font-size: 13px; color: var(--muted); }
.split-card__head strong { font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--ink); }
.split-card li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--peach); font: normal 700 12px var(--f-body); }
.st { padding: 4px 10px; border-radius: 999px; background: #F1EAE3; font-size: 12px; font-style: normal; font-weight: 700; color: var(--muted); }
.st--ok { background: #DDF3E6; color: #0B6B3F; }
.split-card__foot { display: grid; gap: 8px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.meter { display: block; height: 8px; border-radius: 999px; background: #F1EAE3; overflow: hidden; }
.meter i { display: block; height: 100%; background: #1F9D62; }

/* Tarjetas */
.cards3 { display: grid; gap: 16px; }
.card { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: transform .2s ease-out, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--ink); }
.card__img { width: 84px; height: 84px; flex-shrink: 0; border-radius: 14px; background: var(--photo) center / cover; }
.card__body { display: grid; gap: 2px; padding-right: 22px; }
.card__tag { font-size: 12px; font-weight: 700; color: var(--orange); }
.card__name { font-family: var(--f-display); font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.card__out { position: absolute; top: 14px; right: 14px; color: var(--muted); }
.card--big { display: block; padding: 10px 10px 18px; }
.card--big .card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
.card--big .card__body { padding: 14px 8px 0; }
.card--big .card__name { font-size: 28px; font-weight: 800; }
.card__txt { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* Bote: panel naranja */
.panel { display: grid; gap: 28px; padding: 28px 22px; border-radius: var(--r-lg); background: var(--orange); color: #fff; }
.panel__txt h2 { margin-bottom: 12px; }
.panel__txt p { max-width: 32em; }
.panel__note { margin-top: 14px; font-size: 13px; }
.bote { --p: .5; --thumb: 26px; padding: 22px 20px; border-radius: 22px; background: #fff; color: var(--ink); }
.bote [data-t] { display: none; }
.bote:has(#b1:checked) { --p: 0; }
.bote:has(#b2:checked) { --p: .25; }
.bote:has(#b4:checked) { --p: .75; }
.bote:has(#b5:checked) { --p: 1; }
.bote:has(#b1:checked) [data-t="1"], .bote:has(#b2:checked) [data-t="2"], .bote:has(#b3:checked) [data-t="3"],
.bote:has(#b4:checked) [data-t="4"], .bote:has(#b5:checked) [data-t="5"] { display: revert; }
.bote__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.bote__lbl { font-size: 13px; color: var(--muted); }
.bote__tier { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--orange); }
.bote__price { font-family: var(--f-display); font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.runway { min-width: 0; margin: 14px 0 16px; padding: 0; border: 0; display: grid; grid-template-rows: 40px auto; row-gap: 10px; }
.runway__track { position: relative; grid-area: 1 / 1; }
.runway__track::before, .runway__fill { content: ""; position: absolute; left: 0; top: 50%; height: 6px; translate: 0 -50%; border-radius: 999px; }
.runway__track::before { right: 0; background: var(--line); }
.runway__fill { width: calc(var(--p) * (100% - var(--thumb)) + var(--thumb) / 2); background: var(--ink); transition: width .25s ease-out; }
.runway__thumb { position: absolute; top: 50%; left: calc(var(--p) * (100% - var(--thumb))); width: var(--thumb); height: var(--thumb); translate: 0 -50%; border: 2px solid var(--ink); border-radius: 50%; background: #fff; transition: left .25s ease-out; }
.runway__stops { grid-area: 1 / 1 / 3 / 2; display: grid; grid-template-columns: repeat(5, 1fr); }
.runway__stops label { display: flex; align-items: flex-end; justify-content: center; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.runway__stops label:first-child { justify-content: flex-start; }
.runway__stops label:last-child { justify-content: flex-end; }
.runway__stops input { position: absolute; opacity: 0; pointer-events: none; }
.runway__stops input:checked + span { color: var(--ink); font-weight: 800; text-decoration: underline 2px; text-underline-offset: 4px; }
.runway__stops input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.tier { padding: 16px; border-radius: 16px; background: var(--bg); }
.tier h3 { margin-bottom: 4px; font-size: 22px; }
.tier p { font-size: 15px; color: var(--muted); }

/* Preguntas: banda oscura */
.faq-band { margin-top: 72px; padding-block: 64px; background: var(--ink); color: #fff; }
.faq-band__in { max-width: 860px; text-align: center; }
.faq-band__sub { margin-top: 8px; color: #D9CDC3; }
.faq { display: grid; gap: 12px; margin-top: 32px; text-align: left; }
.faq details { border: 1px solid #4A3D35; border-radius: 18px; background: #271E19; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 19px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-size: 26px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 22px 20px; color: #D9CDC3; font-size: 16px; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary:focus-visible { outline-color: #fff; outline-offset: -3px; border-radius: 18px; }

/* Cierre y pie */
.closing { display: grid; justify-items: center; gap: 14px; padding-block: 72px; text-align: center; }
.closing p { max-width: 30em; color: var(--muted); }
.foot { border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 16px; justify-items: start; padding-block: 28px; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; color: var(--ink); }
.foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Escritorio */
@media (min-width: 900px) {
  .top__in { height: 76px; }
  .top__nav { display: flex; }
  .top__cta { padding: 12px 20px; font-size: 14px; }
  .logo { font-size: 24px; }
  .hero__in { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; padding-block: 72px 88px; }
  .hero__lead { font-size: 20px; }
  .photo { justify-self: end; }
  .sec { padding-top: 112px; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .split__ui { padding: 48px 32px; }
  .phone { max-width: 310px; }
  .cards3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { flex-direction: row; }
  .cards3--big .card--big { height: 100%; }
  .pay { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 56px; }
  .split-card { padding: 28px; }
  .panel { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; padding: 56px; }
  .bote { padding: 28px; }
  .faq-band { margin-top: 112px; padding-block: 88px; }
  .closing { padding-block: 112px; }
  .foot__in { grid-template-columns: auto 1fr auto; align-items: center; justify-items: start; }
  .foot nav { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Iconos de marca (img/ico): mismo set que las encuestas */
.hero__keys li { padding: 6px 16px 6px 8px; }
.hero__keys img { flex-shrink: 0; }
.steps li { grid-template-columns: 52px 1fr; }
.steps__ico { width: 48px; height: 48px; }
.tier[data-t] h3::before { content: ""; display: block; width: 40px; height: 40px; margin-bottom: 8px; background: var(--ico) center / contain no-repeat; }
.tier[data-t="1"] { --ico: url(../img/ico/beer.svg); }
.tier[data-t="2"] { --ico: url(../img/ico/music.svg); }
.tier[data-t="3"] { --ico: url(../img/ico/disco.svg); }
.tier[data-t="4"] { --ico: url(../img/ico/star.svg); }
.tier[data-t="5"] { --ico: url(../img/ico/sunrise.svg); }

/* Slider del bote: range nativo (arrastrable), paradas con icono justo debajo de la pista */
.runway { grid-template-rows: 44px auto; row-gap: 8px; }
.runway__range {
  -webkit-appearance: none; appearance: none; background: transparent; grid-area: 1 / 1; width: calc(80% + 32px); margin: 0 calc(10% - 16px);
  height: 44px; padding: 0; cursor: grab; touch-action: pan-y;
}
.runway__range:active { cursor: grabbing; }
.runway__range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--ink) calc(var(--p) * 100%), var(--line) 0); }
.runway__range::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line); }
.runway__range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--ink); }
.runway__range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; box-shadow: 0 4px 12px -4px rgba(18 15 14 / .45); transition: transform .2s cubic-bezier(.2, 1.4, .4, 1); }
.runway__range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; box-shadow: 0 4px 12px -4px rgba(18 15 14 / .45); transition: transform .2s cubic-bezier(.2, 1.4, .4, 1); }
.runway__range:active::-webkit-slider-thumb, .runway__range:active::-moz-range-thumb { transform: scale(1.18); }
.runway__range:focus-visible { outline: none; }
.runway__range:focus-visible::-webkit-slider-thumb { outline: 3px solid var(--orange); outline-offset: 3px; }
.runway__range:focus-visible::-moz-range-thumb { outline: 3px solid var(--orange); outline-offset: 3px; }
.runway__stops { grid-area: 2 / 1; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.runway__stops label, .runway__stops label:first-child, .runway__stops label:last-child { justify-content: flex-start; align-items: center; }
.runway__stops label span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; letter-spacing: -.01em; text-align: center; }
.runway__stops label img { opacity: .45; transition: opacity .2s, scale .2s; }
.runway__stops input:checked + span img { opacity: 1; animation: icoBote .45s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes icoBote { 0% { scale: .6; rotate: -14deg; } 60% { scale: 1.35; rotate: 8deg; } 100% { scale: 1.15; rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) { .runway__stops input:checked + span img { animation: none; scale: 1.15; } }
