/* ==========================================================================
   Sagrada Juntada — stylesheet único (ver /DESIGN.md para la spec completa)
   ========================================================================== */

/* 1. Fuentes ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@1,500;1,600;1,700;1,800&family=Montserrat:wght@400;500;600;700&display=swap');

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --bg: #FDF8F2;
  --surface: #FFFFFF;
  --surface-burgundy: #5C0F35;
  --surface-burgundy-darkest: #3A0820;
  --surface-sky: #A8C4D4;
  --surface-yellow: #FAE89A;
  --surface-wine: #66033C;
  --surface-red: #B8294E;

  --text: #2B0A18;
  --text-secondary: #5C0F35;
  --text-light: #FDF8F2;
  --text-cyan: #D9FDFF;
  --text-cream-warm: #FFECB3;

  --border: rgba(253, 248, 242, 0.18);
  --border-light: rgba(43, 10, 24, 0.12);

  --accent: #FAE89A;
  --accent-hover: #FFD66B;
  --accent-on-light: #5C0F35;
  --accent-on-light-hover: #3A0820;

  --wine-red: #A93151;

  --bg-rgb: 253, 248, 242;
  --surface-burgundy-rgb: 92, 15, 53;
  --surface-burgundy-darkest-rgb: 58, 8, 32;
  --surface-sky-rgb: 168, 196, 212;
  --surface-yellow-rgb: 250, 232, 154;
  --surface-wine-rgb: 102, 3, 60;
  --surface-red-rgb: 184, 41, 78;
  --text-cyan-rgb: 217, 253, 255;

  --error: #B8294E;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --container-max: 1140px;
  --container-narrow: 720px;
  --section-padding: clamp(4rem, 8vw, 7rem);
  --nav-height: 72px;
}

/* 3. Reset / base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[id] { scroll-margin-top: calc(var(--nav-height) + 16px); }

:focus-visible {
  outline: 3px solid var(--text-cyan);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 4. Layout primitivos ------------------------------------------------------ */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-padding); position: relative; overflow: hidden; }
.section--bg      { background: var(--bg); color: var(--text); }
.section--burgundy { background: var(--surface-burgundy); color: var(--text-light); }
.section--burgundy-darkest { background: var(--surface-burgundy-darkest); color: var(--text-light); }
.section--sky      { background: var(--surface-sky); color: var(--text); }
.section--yellow    { background: var(--surface-yellow); color: var(--text); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

/* Sección partida a sangre completa: columna de texto con padding normal +
   columna de imagen que ocupa el alto entero de la sección, sin contener. */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 560px; }
.split__text { padding: var(--section-padding) clamp(1.25rem, 5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.split__visual { position: relative; overflow: hidden; }
.split__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__visual--contain img { object-fit: contain; padding: 2.5rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__visual { min-height: 320px; }
}
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.grid-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

/* Grid de los 4 moods: siempre 2x2 (nunca 3+1), 1 columna solo en mobile chico */
.grid-moods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 560px) {
  .grid-moods { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; gap: 1rem; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* 5. Tipografía -------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-cream-warm);
}
.section--bg .eyebrow,
.section--sky .eyebrow,
.section--yellow .eyebrow { color: var(--surface-wine); }

.h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw + 1rem, 4rem);
  line-height: 1.15;
  letter-spacing: 0;
}
.h1--glow { text-shadow: 0 0 40px rgba(var(--text-cyan-rgb), 0.25); }

.h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw + 1rem, 2.5rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
}

.body-lg { font-size: 1.0625rem; line-height: 1.6; max-width: 65ch; }
.body-text { max-width: 65ch; }

.quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.375rem, 2vw + 1rem, 1.75rem);
  line-height: 1.4;
}

/* 6. Componentes -------------------------------------------------------------- */

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.btn--primary { background: var(--accent); color: var(--surface-burgundy); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(var(--surface-yellow-rgb), 0.45); }
.btn--primary:active { transform: translateY(0); }
.btn--primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

.btn--primary.btn--on-light { background: var(--accent-on-light); color: var(--text-light); }
.btn--primary.btn--on-light:hover { background: var(--accent-on-light-hover); box-shadow: 0 10px 28px rgba(var(--surface-burgundy-rgb), 0.35); }

.btn--secondary { background: transparent; color: var(--text-light); border: 2px solid var(--border); }
.btn--secondary:hover { border-color: var(--text-cyan); color: var(--text-cyan); }
.btn--secondary.btn--on-light { color: var(--text); border-color: var(--border-light); }
.btn--secondary.btn--on-light:hover { border-color: var(--surface-wine); color: var(--surface-wine); }

.btn--block { width: 100%; justify-content: center; }

/* Cards */
.card { border-radius: 20px; padding: 1.75rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-4px); }

.card--problem,
.card--feature {
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(var(--surface-burgundy-rgb), 0.08);
}
.card--problem:hover,
.card--feature:hover { box-shadow: 0 10px 28px rgba(var(--surface-burgundy-rgb), 0.16); }

.card--feature { background: rgba(253, 248, 242, 0.06); box-shadow: none; border: 1px solid var(--border); }
.card--feature:hover { background: rgba(253, 248, 242, 0.1); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }

.card--mood { color: var(--text-light); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.card--mood:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.22); }
.card--mood[data-mood="picante"]     { background: var(--surface-wine); }
.card--mood[data-mood="creatividad"] { background: var(--surface-yellow); color: var(--text); }
.card--mood[data-mood="diversion"]   { background: var(--surface-red); }
.card--mood[data-mood="conectar"]    { background: var(--surface-sky); color: var(--text); }

.card--quote { background: var(--wine-red); color: var(--text-light); border-radius: 20px; padding: 2.25rem; }

.card__icon { font-size: 1.75rem; line-height: 1; margin-bottom: 0.75rem; display: block; }
.card__tag { display: inline-block; margin-top: 0.75rem; font-size: 0.8125rem; font-weight: 700; opacity: 0.85; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--wine-red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.reveal.in-view .icon-badge { transform: scale(1); opacity: 1; }
.card:hover .icon-badge { transform: scale(1.12) rotate(-4deg); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-burgundy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1.25rem, 5vw, 3rem);
  min-height: var(--nav-height);
  transition: box-shadow 0.25s ease;
}
.nav--scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.nav__brand { display: flex; align-items: center; gap: 1.25rem; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 48px; display: block; }

.nav__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 236, 179, 0.06);
  border: 1px solid rgba(255, 236, 179, 0.35);
  border-radius: 999px;
  padding: 0.5rem 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-cream-warm);
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(255, 236, 179, 0.3), inset 0 0 14px rgba(255, 236, 179, 0.08);
  animation: badgeGlow 3s ease-in-out infinite;
}
.nav__badge__spark { color: var(--accent); flex-shrink: 0; }

@media (max-width: 860px) {
  .nav__badge { display: none; }
}

.nav__links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav__link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav__link:hover, .nav__link:focus-visible { color: var(--text-cream-warm); border-bottom-color: var(--text-cream-warm); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }
.nav__cta { margin-left: 0.5rem; }
@media (max-width: 768px) { .nav__cta { margin-left: 0; margin-top: 1rem; } }

@media (max-width: 768px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--surface-burgundy);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__link { font-size: 1.25rem; }
}

/* Links */
.link { color: var(--text-secondary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.link:hover { color: var(--surface-wine); text-decoration-thickness: 2px; }
.link--on-dark { color: var(--text-cream-warm); }
.link--on-dark:hover { color: var(--accent); }

/* Badges / precio */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-red);
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: 999px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-light); animation: glowPulse 1.8s ease-in-out infinite; }

.price { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price__old { text-decoration: line-through; opacity: 0.6; font-size: 1.125rem; }
.price__new { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--accent-on-light); }

/* Marquee */
.marquee { background: var(--surface-red); overflow: hidden; padding: 0.875rem 0; }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marqueeScroll 40s linear infinite; }
.marquee--static .marquee__track { animation: none; }
.marquee__item { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); white-space: nowrap; }

/* Countdown */
.countdown { display: flex; gap: 0.75rem; }
.countdown__digit {
  background: rgba(var(--surface-burgundy-rgb), 0.1);
  color: var(--accent-on-light);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.5rem;
  min-width: 56px;
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: 12px;
}
.countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.countdown__label { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }

/* Formularios */
.form-field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1.25rem; }
.form-field__label { font-weight: 600; font-size: 0.875rem; color: var(--text-light); }
.form-field__input {
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: rgba(253, 248, 242, 0.08);
  color: var(--text-light);
  font-size: 1rem;
}
.form-field__input::placeholder { color: rgba(253, 248, 242, 0.5); }
.form-field__input:focus-visible { outline: none; border-color: var(--text-cyan); }
.form-field__input[aria-invalid="true"] { border-color: var(--error); }
.form-field__error { color: var(--text-cream-warm); font-size: 0.8125rem; min-height: 1.2em; }

/* Gate de /gracias */
.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-burgundy-darkest);
  padding: 1.5rem;
}
.gate[hidden] { display: none; }
.gate__card { max-width: 360px; width: 100%; text-align: center; color: var(--text-light); }
.gate__icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* Checklist */
.checklist__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--border-light);
}
.checklist__item:last-child { border-bottom: none; }
.checklist__mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-wine);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Stats */
.stats { display: flex; flex-wrap: wrap; gap: 2.75rem; margin-top: 2.5rem; }
.stat__number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  color: var(--surface-wine);
  display: block;
  line-height: 1;
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
  animation: statPulse 3.5s ease-in-out infinite;
}
.reveal.in-view .stat__number { transform: scale(1); opacity: 1; }
.stats > div:nth-child(1) .stat__number { transition-delay: 0ms; }
.stats > div:nth-child(2) .stat__number { transition-delay: 130ms; }
.stats > div:nth-child(3) .stat__number { transition-delay: 260ms; }
.stat__label { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.03em; color: var(--text-secondary); }

@keyframes statPulse {
  0%, 100% { text-shadow: 0 0 0 rgba(102, 3, 60, 0); }
  50% { text-shadow: 0 0 18px rgba(102, 3, 60, 0.3); }
}

/* Share buttons */
.share-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.share-btn { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 44px; padding: 0.75rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.share-btn--whatsapp { background: #25D366; color: #0b3d1f; }
.share-btn--instagram { background: var(--surface); color: var(--surface-wine); border-color: var(--border-light); }

/* Footer */
.footer { background: var(--surface-burgundy-darkest); color: var(--text-light); padding-block: 3rem; text-align: center; }
.footer__logo { height: 48px; margin-inline: auto; margin-bottom: 1.25rem; }
.footer__tagline { font-family: var(--font-accent); font-style: italic; margin-bottom: 1.25rem; }
.footer__links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.footer__copy { font-size: 0.8125rem; opacity: 0.7; }

/* Hero */
.hero { padding-block: clamp(3rem, 7vw, 5rem); }
.hero__logo { display: block; height: clamp(160px, 18vw, 220px); margin-inline: auto; margin-bottom: 2.5rem; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero__visual img { max-width: 460px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.45)); }
.hero__note { font-size: 0.875rem; color: var(--text-cream-warm); margin-top: 1rem; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
}

/* Mockup repetido en CTA final */
.cta-mockup { max-width: 280px; margin-inline: auto; }

/* Imagen de recurso (íconos) */
.resource-icon { width: 96px; height: auto; }

/* 7. Texturas decorativas (CSS puro, sin imágenes extra) ----------------------- */
.texture-stars { position: relative; }
.texture-stars::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--text-cream-warm) 1.5px, transparent 1.6px),
    radial-gradient(circle, var(--text-cream-warm) 1px, transparent 1.1px),
    radial-gradient(circle, var(--text-cream-warm) 1px, transparent 1.1px);
  background-size: 140px 140px, 90px 90px, 200px 200px;
  background-position: 0 0, 45px 80px, 120px 30px;
}

.texture-circles::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(var(--text-cyan-rgb), 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.texture-moon {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--text-cream-warm);
  box-shadow: 22px -8px 0 2px var(--surface-burgundy-darkest) inset;
  opacity: 0.9;
  pointer-events: none;
}

/* 8. Animaciones --------------------------------------------------------------- */
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes glowPulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,255,255,0.4); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 22px rgba(255, 236, 179, 0.3), inset 0 0 14px rgba(255, 236, 179, 0.08); }
  50% { box-shadow: 0 0 32px rgba(255, 236, 179, 0.5), inset 0 0 18px rgba(255, 236, 179, 0.14); }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.stagger-reveal > * { transition-delay: calc(var(--stagger-index, 0) * 90ms); }

/* Canvas de destellos y estrellas (initStarfield en main.js) */
#star-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 49;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* 9. Responsive —————————————————————————————————————————————————————————————— */

/* Evita scroll horizontal en todos los dispositivos sin romper position:sticky */
html { overflow-x: hidden; }
body { overflow-x: clip; }

/* Las secciones sin clase .section también necesitan overflow hidden */
.section--sky, .section--yellow { position: relative; overflow: hidden; }

/* ≤ 1024px — tablet landscape */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ≤ 768px — tablet portrait y mobile grande */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Hero */
  .hero__logo { height: clamp(100px, 22vw, 140px); margin-bottom: 1.75rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero__visual img { max-width: 300px; margin-inline: auto; }
  .hero__note { text-align: center; }

  /* Split — reduce padding vertical para que no sea gigante */
  .split__text { padding-block: 2.5rem; }
  .split__visual--contain img { padding: 1.25rem; }
  .split__visual { min-height: 260px; }

  /* Stats */
  .stats { gap: 1.5rem; margin-top: 1.75rem; }

  /* Botones CTA — full width en mobile */
  .hero__grid .btn--primary,
  .split__text .btn--primary { width: 100%; justify-content: center; }

  /* Countdown */
  .countdown { gap: 0.5rem; }
  .countdown__digit { min-width: 48px; font-size: 1.25rem; }

  /* Share */
  .share-row { flex-direction: column; align-items: center; }
  .share-btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Cards */
  .card--quote { padding: 1.5rem; }
}

/* ≤ 640px — mobile estándar */
@media (max-width: 640px) {
  :root { --section-padding: clamp(2.5rem, 7vw, 4rem); }

  .grid-4, .grid-feature { grid-template-columns: 1fr; }

  .price__new { font-size: 2rem; }

  .stat__number { font-size: clamp(2rem, 10vw, 2.75rem); }

  .card { padding: 1.25rem; }
}

/* ≤ 480px — mobile pequeño */
@media (max-width: 480px) {
  .hero__logo { height: 100px; }
  .countdown__digit { min-width: 42px; font-size: 1.1rem; padding: 0.4rem 0.125rem; }
  .countdown { gap: 0.375rem; }
  .nav__logo img { height: 36px; }
}
