/* ============================================================
   PlayDo Skiff — one-pager de venta
   Tokens: ver README del handoff (colores, tipografía, radios)
   ============================================================ */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #F7F3EA;
}

body {
  font-family: 'Archivo', sans-serif;
  color: #1E4B34;
}

a { color: #E8722A; }
a:hover { color: #c85e1f; }

h1, h2, p { margin: 0; }

h2 {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 96px;
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E8722A;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-head p {
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Botones WhatsApp ---------- */

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  text-decoration: none;
}
.btn-wa:hover { background: #1fb857; color: #fff; }

.btn-wa--hero { font-size: 16px; padding: 13px 24px; }

.btn-wa--big {
  gap: 10px;
  font-size: 18px;
  padding: 16px 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #E3DCCB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
}

.nav__brand { display: flex; align-items: center; gap: 8px; }

.nav__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E8722A;
}

.nav__name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__badge {
  font-size: 12px;
  font-weight: 800;
  color: #B3341C;
  background: #fff;
  border: 1px solid #F0D9C8;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.nav__cta {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: #1E4B34;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.nav__cta:hover { background: #173D2A; color: #fff; }

/* ---------- Hero ---------- */

.hero {
  padding: 32px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__copy { display: flex; flex-direction: column; gap: 14px; }

.hero__title {
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.6;
  max-width: 520px;
}

.hero__pricing {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid #E3DCCB;
  border-bottom: 1px solid #E3DCCB;
  padding: 16px 0;
}

.hero__price-col { display: flex; flex-direction: column; gap: 2px; }

.hero__price-old {
  font-size: 14px;
  color: #87805F;
  text-decoration: line-through;
}

.hero__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__price {
  font-size: clamp(36px, 9vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero__save {
  background: #E8722A;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}

.hero__incluye {
  font-size: 13px;
  font-weight: 700;
  color: #2E8B57;
  margin-top: 4px;
}

/* ---------- Carrusel ---------- */

.gal {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #E3DCCB;
}

.gal__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.gal__slide.is-active { opacity: 1; }
.gal__slide--contain { object-fit: contain; background: #fff; }

.gal__caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(20, 48, 34, 0.85);
  color: #F7F3EA;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.gal__dots {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: flex;
  gap: 6px;
  background: rgba(20, 48, 34, 0.55);
  padding: 6px 8px;
  border-radius: 999px;
}

.gal__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
}
.gal__dot.is-active { background: #fff; }

/* ---------- Tracker ---------- */

.tracker {
  padding: 36px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tracker__timeline { position: relative; padding: 8px 0 0; }

.tracker__bar-track,
.tracker__bar-fill {
  position: absolute;
  top: 30px;
  left: 11%;
  height: 6px;
  border-radius: 3px;
}

.tracker__bar-track { right: 11%; background: #E3DCCB; }

.tracker__bar-fill {
  background: #2E8B57;
  width: 0%;
  transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tracker.is-visible .tracker__bar-fill { width: var(--bar-target, 13%); }

.tracker__steps { position: relative; display: flex; }

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.step__circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  border: 3px solid #E3DCCB;
  background: #EFEAD9;
  color: #b0a894;
}

.step__labels { display: flex; flex-direction: column; gap: 2px; }
.step__label { font-size: 14px; font-weight: 800; color: #b0a894; }
.step__sub { font-size: 12px; font-weight: 600; color: #b0a894; }

.step--done .step__circle { background: #2E8B57; border-color: #2E8B57; color: #fff; }
.step--done .step__label { color: #1E4B34; }
.step--done .step__sub { color: #2E8B57; }

.step--next .step__circle { background: #fff; border-color: #E8722A; color: #E8722A; }
.step--next .step__label { color: #1E4B34; }
.step--next .step__sub { color: #E8722A; }

.tracker.is-visible .step--done .step__circle {
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: var(--pop-delay, 0.3s);
}

.tracker.is-visible .step--next .step__circle {
  animation: softPulse 2s ease-in-out infinite;
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 114, 42, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(232, 114, 42, 0); }
}

.tracker__note {
  font-size: 15px;
  line-height: 1.55;
  background: #fff;
  border: 1px solid #E3DCCB;
  border-radius: 12px;
  padding: 14px 16px;
}

/* ---------- Por qué cuesta menos ---------- */

.why {
  background: #1E4B34;
  color: #F7F3EA;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.why h2 { text-wrap: balance; }

.why__lead {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.92;
}

.why__cards { display: flex; flex-direction: column; gap: 14px; }

.why__card {
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why__card--trad {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.why__card--mio { background: #E8722A; color: #fff; }

.why__card-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.why__card--trad .why__card-title { color: #F2B98F; }

.why__chain {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
}

.why__chain--mio { gap: 8px; font-size: 15px; font-weight: 800; }

.chip {
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 8px;
}

.chip--big { background: rgba(255, 255, 255, 0.2); padding: 8px 14px; }
.chip--invert { background: #fff; color: #E8722A; }

.chain-arrow { opacity: 0.5; }

.why__result { font-size: 14px; opacity: 0.75; }
.why__result--mio { font-weight: 700; opacity: 1; }

.why__verif-texto {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
}

.why__verif-link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 800;
  color: #F2B98F;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 185, 143, 0.5);
}
.why__verif-link:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Tres modos ---------- */

.modos {
  padding: 36px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

/* con 3 tarjetas en 2 columnas, la última ocupa todo el ancho */
.modos__grid .modo:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.modo {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #1E4B34;
}

.modo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modo__grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 48, 34, 0) 55%, rgba(20, 48, 34, 0.9) 100%);
  pointer-events: none;
}

.modo__labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.modo__labels--grad {
  background: linear-gradient(180deg, rgba(20, 48, 34, 0) 0%, rgba(20, 48, 34, 0.85) 100%);
}

.modo__title { color: #fff; font-size: 17px; font-weight: 900; }
.modo__sub { color: #F2B98F; font-size: 13px; font-weight: 600; }

.modo--placeholder {
  background: #EFEAD9;
  border: 2px dashed #C9C0AA;
}

.modo__slot {
  aspect-ratio: 4 / 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #87805F;
  font-size: 13px;
  font-weight: 700;
  padding: 0 20px;
  text-align: center;
}

/* ---------- Features ---------- */

.features {
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.feature {
  background: #fff;
  border: 1px solid #E3DCCB;
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature__stat {
  font-size: 24px;
  font-weight: 900;
  color: #E8722A;
  letter-spacing: -0.02em;
}

.feature__text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.features__photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.detail {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid #E3DCCB;
  background: #fff;
}

.detail figcaption {
  font-size: 13px;
  font-weight: 700;
  color: #87805F;
}

/* ---------- Comparativa ---------- */

.comp {
  padding: 0 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comp__table {
  border: 1px solid #E3DCCB;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.comp__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-top: 1px solid #EFEAD9;
  font-size: 14px;
}

.comp__row--head {
  border-top: none;
  background: #1E4B34;
  color: #F7F3EA;
  font-size: 13px;
  font-weight: 800;
}

.comp__row--head span { padding: 12px 8px; }
.comp__row--head span:first-child { padding: 12px 12px; }
.comp__head-mio { background: #E8722A; }

.comp__label { padding: 13px 12px; font-weight: 700; }
.comp__local { padding: 13px 8px; color: #7a7365; }

.comp__mio {
  padding: 13px 8px;
  font-weight: 800;
  color: #1E4B34;
  background: #FDF3EA;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 0 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq__list { display: flex; flex-direction: column; gap: 8px; }

.faq details {
  background: #fff;
  border: 1px solid #E3DCCB;
  border-radius: 12px;
  padding: 14px 16px;
}

.faq summary {
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.faq details p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Video ---------- */

.video {
  padding: 0 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.video__player {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #000;
}

/* ---------- Cómo funciona la compra ---------- */

.pasos {
  padding: 0 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pasos__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.paso {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #E3DCCB;
  border-radius: 14px;
  padding: 16px;
}

.paso__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  background: #F2FAF5;
  border: 3px solid #2E8B57;
  color: #2E8B57;
  flex-shrink: 0;
}

.paso__texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.paso__titulo { font-size: 15px; font-weight: 900; }
.paso__desc { font-size: 14px; line-height: 1.5; }

/* ---------- Quién te vende ---------- */

.quien { padding: 0 20px 36px; }

.quien__card {
  background: #fff;
  border: 1px solid #E3DCCB;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.quien__foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 78% 22%;
  border: 3px solid #E8722A;
  flex-shrink: 0;
}

.quien__texto {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quien__texto p {
  font-size: 15px;
  line-height: 1.6;
}

.quien__ig {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 800;
  color: #E8722A;
  background: #FDF3EA;
  border: 1px solid #F0D9C8;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
}
.quien__ig:hover { color: #c85e1f; background: #fff; }

/* ---------- Reserva ---------- */

.reserva {
  background: #fff;
  border-top: 1px solid #E3DCCB;
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reserva__lead { font-size: 16px; line-height: 1.6; }

.reserva__monto {
  color: #E8722A;
  font-size: 20px;
  font-weight: 900;
}

.reserva__stock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.unidad {
  border: 2px solid #2E8B57;
  border-radius: 14px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #F2FAF5;
}

.unidad__num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a7365;
}

.unidad__icon { font-size: 34px; }

.unidad__status {
  font-size: 15px;
  font-weight: 900;
  color: #2E8B57;
}

.unidad--reservada {
  border-color: #E3DCCB;
  background: #EFEAD9;
  opacity: 0.75;
}
.unidad--reservada .unidad__status { color: #b0a894; }

.reserva__photo {
  width: 100%;
  display: block;
  border-radius: 14px;
}

/* ---------- CTA final ---------- */

.final {
  background: #1E4B34;
  color: #F7F3EA;
  padding: 40px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.final h2 {
  font-size: clamp(22px, 5vw, 28px);
  text-wrap: balance;
}

.final p {
  font-size: 15px;
  opacity: 0.85;
  max-width: 420px;
  line-height: 1.55;
}

/* ---------- Botón flotante ---------- */

.pill-wa {
  position: fixed;
  bottom: 16px;
  left: 50%;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  pointer-events: none;
}
.pill-wa:hover { background: #1fb857; color: #fff; }

.pill-wa.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  .gal__slide,
  .tracker__bar-fill,
  .pill-wa {
    transition: none;
  }
  .tracker.is-visible .step--done .step__circle,
  .tracker.is-visible .step--next .step__circle {
    animation: none;
  }
}
