/* Página de aterrizaje (template-landing.php) — propuesta de diseño v2. Negro de fiesta, precios como etiqueta de polo.
   Concepto: en el móvil, las fotos van justo después del título; los precios se leen como la etiqueta colgante de una prenda. */
:root {
  --lp-bg: #0b0a10;
  --lp-card: #16141d;
  --lp-card-2: #1f1c28;
  --lp-ink: #ffffff;
  --lp-soft: #e9e5f1;
  --lp-muted: #a9a3b8;
  --lp-gold: #ffc93c;
  --lp-tag: #fff8e6;
  --lp-tag-ink: #1c1608;
  --lp-wa: #1fa855;
  --lp-wa-dark: #178a45;
  --lp-line: #2a2634;
  --lp-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --lp-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
body.sv-landing-body { margin: 0; background: var(--lp-bg); color: var(--lp-ink); font-family: var(--lp-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.sv-landing { padding-bottom: 40px; }
.sv-landing *, .sv-landing *::before, .sv-landing *::after { box-sizing: border-box; }
.sv-landing img { max-width: 100%; height: auto; display: block; }
.sv-landing h1, .sv-landing h2, .sv-landing h3 { font-family: var(--lp-display); line-height: 1.04; margin: 0; letter-spacing: -.025em; color: var(--lp-ink); text-wrap: balance; }
.sv-landing p { margin: 0; }
.sv-landing a:focus-visible, .sv-landing button:focus-visible { outline: 3px solid var(--lp-gold); outline-offset: 3px; }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Portada */
.lp-hero-band { position: relative; overflow: hidden; background:
  radial-gradient(circle at 8% 14%, #ffc93c 0 4px, transparent 5px),
  radial-gradient(circle at 40% 6%, #2ed3a0 0 3px, transparent 4px),
  radial-gradient(circle at 78% 10%, #ff6b6b 0 3px, transparent 4px),
  radial-gradient(circle at 94% 46%, #a78bfa 0 4px, transparent 5px),
  radial-gradient(ellipse at 80% -10%, rgba(255, 201, 60, .16), transparent 55%),
  var(--lp-bg); }
.lp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.lp-logo { font-family: var(--lp-display); font-weight: 800; font-size: 1.45rem; color: var(--lp-ink); text-decoration: none; letter-spacing: -.03em; }
.lp-logo span { color: var(--lp-gold); }
.lp-logo:has(img) { display: inline-flex; align-items: center; gap: 10px; }
.lp-logo img { width: 52px; height: 52px; flex: none; }
.lp-logo span b { color: var(--lp-ink); font-weight: inherit; }
.lp-logo:has(img) span { white-space: nowrap; }
@media (max-width: 420px) { .lp-logo:has(img) { font-size: 1.12rem; gap: 8px; } .lp-logo img { width: 44px; height: 44px; } }
.lp-top .lp-btn { padding: 9px 16px; font-size: .92rem; box-shadow: none; }

/* Móvil: rating, título, FOTOS, ventajas y botón (las fotos suben antes de la lista) */
.lp-hero { display: grid; gap: 18px; padding-block: 8px 48px; }
.lp-hero > div:first-child { display: contents; }
.lp-rating { order: 1; justify-self: start; }
.lp-hero h1 { order: 2; }
.lp-carousel { order: 3; }
.lp-checks { order: 4; }
.lp-hero > div:first-child > .lp-btn { order: 5; }
@media (min-width: 880px) {
  .lp-hero { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 32px 84px; }
  .lp-hero > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
}
.lp-rating { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); padding: 6px 13px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--lp-soft); }
.lp-stars { color: var(--lp-gold); letter-spacing: 2px; }
.lp-hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.7rem); font-weight: 800; }
.lp-hero h1 em { font-style: normal; color: var(--lp-gold); }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 1rem; color: var(--lp-soft); }
.lp-checks li { position: relative; padding-left: 30px; }
.lp-checks li::before { content: "✓"; position: absolute; left: 1px; top: .2em; width: 19px; height: 19px; border-radius: 6px; background: var(--lp-gold); color: var(--lp-tag-ink); font-weight: 900; font-size: .72rem; display: grid; place-items: center; transform: rotate(8deg); }
@media (min-width: 560px) and (max-width: 879px) { .lp-checks { grid-template-columns: 1fr 1fr; column-gap: 22px; } }

/* Botón WhatsApp */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--lp-wa); color: #fff !important; text-decoration: none; font-family: var(--lp-body); font-weight: 800; font-size: 1.06rem; padding: 15px 26px; border-radius: 999px; box-shadow: 0 12px 26px -12px rgba(31, 168, 85, .8); transition: background .2s, transform .2s; border: 0; }
.lp-btn:hover { background: var(--lp-wa-dark); transform: translateY(-2px); }
.lp-btn i { font-size: 1.3em; }
.lp-hero > div:first-child > .lp-btn { width: 100%; }
@media (min-width: 880px) { .lp-hero > div:first-child > .lp-btn { width: auto; } }

/* Carrusel: la foto completa sobre un fondo difuminado de la misma foto (sin franjas negras) */
.lp-carousel { position: relative; width: min(100%, 500px); margin: 0 auto; }
.lp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 24px; scrollbar-width: none; background: #000; box-shadow: 0 30px 70px -34px rgba(255, 201, 60, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.lp-track::-webkit-scrollbar { display: none; }
.lp-slide { position: relative; overflow: hidden; flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; max-width: 100%; margin: 0; display: grid; place-items: center; background: #000; }
.lp-slide::before { content: ""; position: absolute; inset: -30px; background: var(--lp-slide-bg, none) center / cover; filter: blur(22px) brightness(.55) saturate(1.2); }
.lp-slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.lp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #111; font-size: 1rem; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.lp-prev { left: 10px; }
.lp-next { right: 10px; }
.lp-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.lp-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .28); cursor: pointer; transition: width .25s, background .25s; }
.lp-dots button[aria-current="true"] { width: 24px; background: var(--lp-gold); }
.lp-sticker { position: absolute; z-index: 3; right: -6px; top: -12px; background: var(--lp-gold); color: var(--lp-tag-ink); font-family: var(--lp-display); font-weight: 800; text-align: center; line-height: 1; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-size: .86rem; transform: rotate(12deg); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); }

/* Secciones: título a la izquierda, con etiqueta pequeña encima */
.lp-section { padding-block: 64px 0; }
.lp-kicker { display: inline-block; color: var(--lp-gold); font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; margin-bottom: 10px; }
.lp-section h2 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; margin-bottom: 26px; }

/* Navidad: mosaico */
.lp-xmas-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.lp-xmas-grid figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--lp-card); }
.lp-xmas-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.lp-xmas-grid .lp-xmas-big { grid-column: 1 / -1; }
.lp-xmas-grid .lp-xmas-big img { aspect-ratio: 1000 / 902; }
.lp-xmas-grid img[src*="navidad-mama"] { object-position: 50% 62%; }
@media (min-width: 880px) { .lp-xmas-grid { grid-template-columns: 2fr 1fr 1fr; gap: 14px; } .lp-xmas-grid .lp-xmas-big { grid-column: auto; } .lp-xmas-grid img, .lp-xmas-grid .lp-xmas-big img { aspect-ratio: auto; height: 400px; } }

/* Opiniones */
.lp-reviews { display: grid; gap: 14px; }
@media (min-width: 880px) { .lp-reviews { grid-template-columns: repeat(3, 1fr); } }
.lp-review { margin: 0; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.lp-review blockquote { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--lp-ink); }
.lp-review footer { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--lp-muted); margin-top: auto; }
.lp-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--lp-tag-ink); font-weight: 900; background: var(--lp-gold); }
.lp-review footer strong { color: var(--lp-ink); display: block; }

/* Precios: cada polo es una etiqueta colgante (agujero arriba, lista de precios con puntos guía) */
.lp-prices { display: grid; gap: 22px; max-width: 800px; }
@media (min-width: 640px) { .lp-prices { grid-template-columns: 1fr 1fr; } }
.lp-price-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--lp-tag); color: var(--lp-tag-ink); border-radius: 14px 14px 22px 22px; padding: 34px 18px 18px; box-shadow: 0 24px 50px -28px rgba(255, 201, 60, .45); }
.lp-price-card::before { content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--lp-bg); box-shadow: inset 0 0 0 2px rgba(28, 22, 8, .25); }
.lp-price-card .lp-price-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; border-radius: 10px; margin-bottom: 10px; }
.lp-price-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--lp-tag-ink); }
.lp-price-card .lp-fabric { font-size: .9rem; color: #6b5f45; padding-bottom: 12px; border-bottom: 2px dashed rgba(28, 22, 8, .2); margin-bottom: 4px; }
.lp-packs, .lp-packs-3 { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.lp-packs > div { display: flex; align-items: baseline; gap: 8px; padding-block: 7px; }
.lp-packs > div::after { content: none; }
.lp-qty { order: 1; font-weight: 700; font-size: 1rem; color: var(--lp-tag-ink); white-space: nowrap; }
.lp-packs > div::before { content: ""; order: 2; flex: 1; border-bottom: 2px dotted rgba(28, 22, 8, .28); transform: translateY(-4px); }
.lp-price-card .lp-amount, .lp-packs .lp-amount, .lp-packs-3 .lp-amount { order: 3; font-family: var(--lp-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--lp-tag-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-packs > div { cursor: pointer; border-radius: 8px; margin-inline: -8px; padding-inline: 8px; transition: background .15s; }
.lp-packs > div.is-selected { background: rgba(255, 201, 60, .45); }
/* Calculadora: cantidad con − / + y total */
.lp-calc { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 12px; margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(28, 22, 8, .07); }
.lp-calc-label { grid-column: 1 / -1; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b5f45; }
.lp-stepper { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px rgba(28, 22, 8, .14); }
.lp-stepper button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--lp-tag-ink); font-size: 1.4rem; font-weight: 700; line-height: 1; cursor: pointer; }
.lp-stepper button:disabled { opacity: .3; cursor: default; }
.lp-calc-qty { min-width: 2ch; text-align: center; font-family: var(--lp-display); font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.lp-calc-total { justify-self: end; text-align: right; line-height: 1.1; }
.lp-calc-total span { display: block; font-size: .8rem; color: #6b5f45; }
.lp-calc-amount { font-family: var(--lp-display); font-weight: 800; font-size: 2rem; color: var(--lp-tag-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-calc-total { min-width: 0; }
.lp-calc-amount.is-pending { display: block; font-size: 1.05rem; line-height: 1.15; white-space: normal; color: var(--lp-wa-dark); }
.lp-price-card > p:not(.lp-fabric) { font-size: .86rem; color: #6b5f45; margin-top: 6px; }
.lp-card-btn { width: 100%; padding: 14px 20px; font-size: 1rem; margin-top: auto; }
.lp-price-card > .lp-card-btn { margin-top: 14px; }
/* Dos columnas: filas compartidas (subgrid) para que título, calculadora, tallas y botón queden al mismo nivel */
@media (min-width: 640px) {
  .lp-price-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 6px; align-content: start; }
  .lp-price-card > p:not(.lp-fabric) { align-self: start; }
  .lp-price-card .lp-fabric { align-self: start; }
}
.lp-price-note { color: var(--lp-muted); margin-top: 20px !important; }
.lp-price-note a { color: var(--lp-gold); font-weight: 700; }

/* Llamado final: banda ancha, texto a la izquierda */
.lp-cta { display: grid; gap: 14px; justify-items: start; border-radius: 28px; padding: 40px 24px; margin-top: 64px; border: 1px solid rgba(255, 201, 60, .3); background:
  radial-gradient(circle at 88% 22%, #3bc4f0 0 5px, transparent 6px),
  radial-gradient(circle at 76% 80%, #2ed3a0 0 4px, transparent 5px),
  radial-gradient(circle at 95% 62%, #ff6b6b 0 3px, transparent 4px),
  radial-gradient(ellipse at 100% 0%, rgba(255, 201, 60, .2), transparent 60%),
  var(--lp-card); }
.lp-cta h2 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; }
.lp-cta p { color: var(--lp-soft); max-width: 34em; }
.lp-cta .lp-btn { margin-top: 6px; }
@media (min-width: 880px) { .lp-cta { padding: 56px; } }

.lp-legal { color: var(--lp-muted); font-size: .78rem; margin-top: 28px !important; }

/* Confeti al entrar */
.lp-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9997; }

/* Barra fija en el móvil y botón flotante en escritorio */
.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; background: rgba(11, 10, 16, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--lp-line); padding: 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)); display: flex; }
.lp-sticky .lp-btn { width: 100%; padding: 14px; }
@media (min-width: 880px) { .lp-sticky { display: none; } }
@media (max-width: 879px) { .sv-landing-float { display: none !important; } .sv-landing { padding-bottom: 96px; } }
.sv-landing-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 64px; height: 64px; border-radius: 50%; background: var(--lp-wa); color: #fff; display: grid; place-items: center; font-size: 2rem; text-decoration: none; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .5); z-index: 9999; animation: lp-pulse 2.4s infinite; }
.sv-landing-float:hover { background: var(--lp-wa-dark); }
@keyframes lp-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5), 0 12px 28px -8px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 0 14px rgba(31, 168, 85, 0), 0 12px 28px -8px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { .sv-landing-float { animation: none; } .lp-track { scroll-behavior: auto; } .lp-btn:hover { transform: none; } }
