/* ============================================================================
   MEGAPACK DE DISEÑO — HOJA DE ESTILOS
   Sistema visual basado en el documento "03 - Definición de Diseño".
   Dirección: minimalismo tecnológico con calidez. Contraste de secciones
   oscuras (drama/foco) vs. claras (para que el producto brille).
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. TOKENS DE DISEÑO (variables)
   --------------------------------------------------------------------------- */
:root {
  /* ---- Base oscura (fondo global) ---- */
  --c-dark:            #0A0A0B;   /* casi negro, base de toda la página */
  --c-dark-elev:       #141416;   /* superficie de tarjeta sobre el negro */
  --c-dark-border:     #26262B;   /* bordes sutiles */

  /* ---- "Secciones claras" ahora son oscuras elevadas ---- */
  --c-light:           #0F0F11;   /* fondo de sección alterna (apenas +claro que la base) */
  --c-white:           #17171A;   /* "tarjeta blanca" → tarjeta oscura elevada */
  --c-light-border:    #2A2A30;

  /* ---- Acento cálido de marca (Claude): ámbar → naranja ---- */
  --c-amber:           #F5A623;   /* ámbar principal */
  --c-orange:          #E8853A;   /* naranja de apoyo */
  --c-amber-soft:      #FFD08A;   /* ámbar claro para highlights de texto */
  --c-blue:            var(--c-amber);  /* alias: el "azul" de marca ahora es ámbar */
  --grad-brand:        linear-gradient(135deg, #F5A623 0%, #E8853A 55%, #D96A2B 100%);
  --grad-brand-text:   linear-gradient(90deg, #FFD08A 0%, #F5A623 45%, #E8853A 100%);

  /* ---- Precio destacado: de verde a ámbar cálido ---- */
  --c-price:           #F5A623;
  --c-price-strong:    #E8853A;

  /* ---- Rojo sutil (precios tachados en el resumen) ---- */
  --c-strike-red:      #C77B7B;

  /* ---- CTA (botón principal) — degradado cálido con glow ---- */
  --c-cta:             #F5A623;
  --c-cta-hover:       #FFB84D;
  --c-cta-ink:         #1A1204;   /* texto oscuro sobre el botón ámbar (máx. contraste) */

  /* ---- Texto sobre oscuro (todo el sitio) ---- */
  --c-on-dark-title:   #FFFFFF;
  --c-on-dark-body:    #C9C9D1;   /* gris claro cálido para cuerpo */
  --c-on-dark-muted:   #8A8A94;

  /* ---- Texto "sobre claro" también sobre oscuro ahora ---- */
  --c-on-light-title:  #FFFFFF;
  --c-on-light-body:   #C9C9D1;
  --c-on-light-muted:  #8A8A94;

  /* ---- Partículas / glows ---- */
  --c-particle:        rgba(240, 205, 140, 0.55);  /* puntito de luz dorado tenue */
  --glow-amber:        rgba(245, 166, 35, 0.28);   /* halo cálido */
  --glow-amber-soft:   rgba(245, 166, 35, 0.14);

  /* Tipografía */
  --font-title: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container:        1140px;
  --container-narrow: 780px;
  --radius-btn:       12px;
  --radius-card:      16px;
  --radius-img:       12px;

  /* Sombras (profundas, para fondo oscuro) */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md:  0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg:  0 24px 60px rgba(0, 0, 0, 0.65);
  --shadow-cta: 0 8px 28px rgba(245, 166, 35, 0.45),
                0 0 0 1px rgba(245, 166, 35, 0.25);

  /* Ritmo vertical de secciones */
  --section-pad: 112px;

  /* Transiciones */
  --t-fast: 200ms ease;
  --t-med:  300ms ease;

  /* Patrón de superficie de vidrio (glassmorphism) reutilizable */
  --glass-bg: linear-gradient(180deg,
              rgba(255, 255, 255, 0.04) 0%,
              rgba(255, 255, 255, 0.015) 100%),
              var(--c-dark-elev);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-top: rgba(255, 255, 255, 0.14);
  --glass-border-amber: rgba(245, 166, 35, 0.35);
}

/* ---------------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;   /* deja aire bajo la barra sticky en saltos de ancla */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-on-dark-body);
  background: var(--c-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Negro no plano: vignette + brillo cálido tenue, fijo detrás de todo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(245, 166, 35, 0.06), transparent 55%),
    radial-gradient(100% 100% at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.55) 100%),
    var(--c-dark);
}

/* Campo de partículas (lo dibuja script.js); fallback CSS por si no hay JS */
#bg-particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: block;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--c-on-light-title);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: inherit; }

/* ---------------------------------------------------------------------------
   3. UTILIDADES / LAYOUT
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--section-pad); }

.section--dark {
  background: transparent;   /* deja ver el campo de partículas del fondo */
  color: var(--c-on-dark-body);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--c-on-dark-title); }

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.6em;
}

/* Títulos en ámbar vivo (mismo tono de los botones) para romper la monotonía
   del blanco. Solo cambia el color; el resto de propiedades se conservan. */
.qualify .section__title,
.problem .section__title,
.bonuses .section__title,
.create__title {
  color: var(--c-amber);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__lead {
  font-size: 1.125rem;
  color: var(--c-on-light-muted);
}
.section--dark .section__lead { color: var(--c-on-dark-body); }

.section__cta {
  margin-top: 40px;
  text-align: center;
}

/* Degradé de marca aplicado a texto (headline destacado) */
.text-gradient {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Enlace de accesibilidad */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--c-cta);
  color: var(--c-cta-ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------------------
   4. BOTONES (CTA)
   --------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-btn);
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background-color var(--t-fast);
}

.btn--cta {
  position: relative;
  overflow: hidden;                 /* recorta el shimmer */
  background: var(--grad-brand);
  color: var(--c-cta-ink);
  padding: 15px 30px;
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
}
/* Shimmer: destello diagonal que cruza el botón al hover */
.btn--cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn--cta:hover,
.btn--cta:focus-visible {
  background: linear-gradient(135deg, #FFB84D 0%, #F5A623 60%, #E8853A 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(245, 166, 35, 0.6), 0 0 0 1px rgba(245, 166, 35, 0.4);
}
.btn--cta:hover::after { animation: ctaShimmer 700ms ease; }
@keyframes ctaShimmer {
  from { left: -60%; opacity: 0.9; }
  to   { left: 130%; opacity: 0; }
}
.btn--cta:active { transform: translateY(0); }

.btn--lg { padding: 18px 38px; font-size: 1.125rem; }
.btn--xl { padding: 20px 46px; font-size: 1.25rem; }

:focus-visible { outline: 2px solid var(--c-amber); outline-offset: 2px; }

/* ---------------------------------------------------------------------------
   5. BARRA SUPERIOR STICKY (glassmorphism sutil)
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-dark-border);
  transition: background-color var(--t-fast), box-shadow var(--t-fast);
}
/* La agrega script.js al bajar del hero: más presencia y separación */
.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
.site-header__brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--c-on-dark-title);
  letter-spacing: -0.01em;
}
.site-header__cta { padding: 11px 22px; font-size: 0.9375rem; }

/* ---------------------------------------------------------------------------
   6. BLOQUE 1 — HERO
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 128px);
  /* Resplandor ámbar cálido arriba; base transparente para ver las partículas */
  background:
    radial-gradient(120% 75% at 50% -8%, rgba(245, 166, 35, 0.16), rgba(10, 10, 11, 0) 60%),
    transparent;
}
/* Resplandor difuso cálido detrás del texto */
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 90%;
  background:
    radial-gradient(50% 60% at 30% 32%, var(--glow-amber) 0%, var(--glow-amber-soft) 40%, transparent 72%),
    radial-gradient(45% 55% at 72% 22%, rgba(232, 133, 58, 0.20) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 14s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 1; }
}

/* Columna única centrada: título → imagen → subtítulo → CTA → reaseguro */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.hero__headline {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  max-width: 900px;
  margin: 0;
}
.hero__subheadline {
  font-size: 1.1875rem;
  color: var(--c-on-dark-body);
  max-width: 620px;
  margin: 0 auto;
}
.hero__reassurance {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-on-dark-muted);
  margin: -14px 0 0;   /* acerca el reaseguro al botón */
}

.hero__visual {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

/* ---------------------------------------------------------------------------
   7. BLOQUE 2 — BARRA DE PRUEBA SOCIAL
   --------------------------------------------------------------------------- */
.socialbar {
  background: rgba(255, 255, 255, 0.03);   /* banda translúcida: deja pasar las partículas */
  color: var(--c-on-dark-body);
  /* separadores hairline arriba y abajo, degradados hacia los lados */
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent) 1;
}
/* Desktop y tablet (>=425px): apilado y centrado.
   Línea 1 = características (blanco tenue) · Línea 2 = frase (blanco fuerte) ·
   Línea 3 = herramientas (ámbar). */
.socialbar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-block: 16px;
}
.socialbar__claims {
  margin: 0;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-on-dark-body);
}
.socialbar__sep { color: var(--c-amber); margin-inline: 6px; }
/* Frase de contexto: blanco más claro y fuerte que las características */
.socialbar__lead {
  margin: 0;
  font-weight: 700;
  font-size: 1.0625rem;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.socialbar__tools {
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-amber);
}

/* ---------------------------------------------------------------------------
   8. BLOQUE 3 — ¿ES PARA VOS? (calificación)
   --------------------------------------------------------------------------- */
.qualify { background: transparent; }
.qualify .section__title { text-align: center; }

.qualify__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 40px;
}
.qualify__item {
  position: relative;
  padding-left: 40px;
  font-size: 1.0625rem;
  color: var(--c-on-light-body);
}
.qualify__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 62% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.qualify__close {
  max-width: 720px;
  margin: 44px auto 0;
  text-align: center;
  font-size: 1.125rem;
  color: var(--c-on-light-title);
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
   9. BLOQUE 4 — PROBLEMA / AGITACIÓN
   --------------------------------------------------------------------------- */
.problem__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.problem__body {
  font-size: 1.1875rem;
  color: var(--c-on-dark-body);
}
.problem__reframe {
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--c-on-dark-title);
  margin-block: 1.2em;
}
.problem__bridge {
  font-size: 1.0625rem;
  color: var(--c-on-dark-muted);
}

/* ---------------------------------------------------------------------------
   10. BLOQUE 5 — QUÉ VAS A CREAR (galerías)
   --------------------------------------------------------------------------- */
.create { background: transparent; }

.create__block {
  max-width: 980px;
  margin: 0 auto 72px;
}
.create__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.5em;
}
.create__text {
  font-size: 1.0625rem;
  color: var(--c-on-light-body);
  max-width: 760px;
}

/* Carrusel: fila con scroll horizontal y "snap" a cada tarjeta.
   Funciona por swipe (móvil) y arrastre/rueda (desktop) sin JS. */
.gallery {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  padding: 6px 4px 16px;   /* aire para el zoom del hover y la scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--c-dark-border) transparent;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}
.gallery::-webkit-scrollbar-thumb {
  background: var(--c-dark-border);
  border-radius: 999px;
}
.gallery::-webkit-scrollbar-thumb:hover { background: var(--c-amber); }

.gallery__img {
  flex: 0 0 calc((100% - 40px) / 3);  /* 3 visibles en desktop */
  scroll-snap-align: start;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-img);
  background: var(--c-dark-elev);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.gallery__img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--glass-border-amber);
}
/* Canva y mockups son imágenes cuadradas (1080×1080): contenedor 1:1 para
   que se vean completas y sin recorte. */
.gallery--canva .gallery__img,
.gallery--mockups .gallery__img { aspect-ratio: 1 / 1; }

/* Flechas del carrusel (las inyecta script.js). Sin JS no aparecen y el
   carrusel se sigue usando por swipe/scroll. */
.carousel { position: relative; }
.carousel__btn {
  position: absolute;
  top: calc(50% - 5px);          /* compensa el padding inferior de la scrollbar */
  transform: translateY(-50%);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(20, 20, 22, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast), opacity var(--t-fast);
}
.carousel__btn:hover {
  background: var(--grad-brand);
  border-color: var(--glass-border-amber);
  color: var(--c-cta-ink);
  transform: translateY(-50%) scale(1.06);
}
.carousel__btn:active { transform: translateY(-50%) scale(0.96); }
.carousel__btn--prev { left: -14px; }
.carousel__btn--next { right: -14px; }
.carousel__btn[disabled] {
  opacity: 0;
  pointer-events: none;
}
.carousel__btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.create__close {
  max-width: 720px;
  margin: 8px auto 0;
  text-align: center;
}
.create__closetext {
  font-size: 1.1875rem;
  color: var(--c-on-light-title);
  margin-bottom: 28px;
}

/* ---------------------------------------------------------------------------
   11. TARJETAS GENÉRICAS (herramientas y bonos)
   --------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius-card);
  padding: 32px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-amber);
  box-shadow: var(--shadow-lg), 0 0 40px -8px var(--glow-amber);
}
.card__title {
  font-size: 1.3125rem;
  font-weight: 600;
  margin-bottom: 0.5em;
}
.card__text {
  font-size: 1rem;
  color: var(--c-on-light-body);
}

/* ---------------------------------------------------------------------------
   12. BLOQUE 6 — HERRAMIENTAS + CURSO
   --------------------------------------------------------------------------- */
.tools { background: transparent; }

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: var(--grad-brand);
  color: var(--c-cta-ink);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.375rem;
  box-shadow: 0 8px 18px rgba(245, 166, 35, 0.30);
}

.tools__course {
  margin-top: 40px;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius-card);
  padding: 44px 32px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.tools__course-title {
  font-size: clamp(1.3rem, 3vw, 1.625rem);
  font-weight: 700;
}
.tools__course-text {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--c-on-light-body);
}

/* ---------------------------------------------------------------------------
   13. BLOQUE 7 — BONOS
   --------------------------------------------------------------------------- */
.bonuses { background: transparent; }

.bonuses__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.bonus-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.bonus-card__media {
  aspect-ratio: 16 / 9;   /* banner de portada; exportar imágenes a 1280×720 */
  background: var(--c-light);
  border-bottom: 1px solid var(--c-light-border);
}
.bonus-card__media img { width: 100%; height: 100%; object-fit: cover; }

.bonus-card > :not(.bonus-card__media) { margin-inline: 28px; }
.bonus-card__tag {
  align-self: flex-start;
  margin-top: 24px;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: var(--c-cta-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.bonus-card .card__title { font-size: 1.1875rem; }
.bonus-card .card__text:last-of-type { margin-bottom: 28px; }
.bonus-card__list {
  margin: 0 0 1em;
  padding-left: 1.15em;
  color: var(--c-on-light-body);
  font-size: 1rem;
}
.bonus-card__list li { margin-bottom: 0.5em; }

.bonuses__close {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 1.125rem;
  color: var(--c-on-light-title);
  font-weight: 500;
}

/* ---------------------------------------------------------------------------
   14. BLOQUE 8 — RESUMEN DE LA OFERTA
   --------------------------------------------------------------------------- */
.offer { background: transparent; }

/* Título destacado con el degradé de marca y mayor tamaño */
.offer .section__title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.offer__visual {
  max-width: 720px;
  margin: 0 auto 40px;
}
.offer__visual img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
}

/* Tarjeta focal de conversión: borde ámbar permanente + glow detrás */
.offer__card {
  max-width: 720px;
  margin-inline: auto;
  padding: 40px;
  border-color: var(--glass-border-amber);
  box-shadow: var(--shadow-lg), 0 0 60px -12px var(--glow-amber);
}
.offer__card:hover {
  transform: none;   /* la tarjeta focal no "salta" al hover */
  border-color: var(--glass-border-amber);
}
.offer__group-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  margin: 28px 0 12px;
}
.offer__group-label:first-child { margin-top: 0; }

.offer__list { list-style: none; margin: 0; padding: 0; }
.offer__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-light-border);
}
.offer__item { color: var(--c-on-light-body); }
/* Precio: valor tachado en rojo sutil → "Gratis ahora" llamativo */
.offer__value {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.offer__old {
  font-weight: 600;
  color: var(--c-strike-red);
  text-decoration: line-through;
  text-decoration-color: var(--c-strike-red);
}
.offer__arrow {
  color: var(--c-amber);
  font-weight: 700;
}
.offer__free {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-amber);
  white-space: nowrap;
}
.offer__row--bonus .offer__item::before {
  content: "★ ";
  color: var(--c-cta);
}

.offer__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
}
.offer__total-label { font-weight: 600; color: var(--c-on-light-title); }
.offer__total-value { font-size: 1.5rem; font-weight: 700; color: var(--c-strike-red); }
.offer__total-value s { text-decoration-thickness: 2px; text-decoration-color: var(--c-strike-red); }

.offer__today {
  margin-top: 8px;
  text-align: center;
  font-size: 1.125rem;
  color: var(--c-on-light-title);
}
.offer__today strong {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--c-price-strong);   /* verde (tono oscuro para fondo claro) */
}

/* ---------------------------------------------------------------------------
   15. BLOQUE 9 — PRECIO (momento focal)
   --------------------------------------------------------------------------- */
.pricing { position: relative; overflow: hidden; }
.pricing__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(45% 50% at 50% 40%, var(--glow-amber) 0%, var(--glow-amber-soft) 40%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.pricing__inner { position: relative; z-index: 1; text-align: center; }
.pricing .section__title { max-width: 780px; margin-inline: auto; }

/* Caja de precio: vidrio con borde ámbar permanente (foco de conversión) */
.pricing__price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 28px auto 8px;
  padding: 36px 56px;
  border-radius: var(--radius-card);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-amber);
  border-top-color: var(--glass-border-amber);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md), 0 0 50px -12px var(--glow-amber);
}
.pricing__anchor { color: var(--c-on-dark-muted); font-size: 1rem; }
.pricing__amount {
  position: relative;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(3.5rem, 9vw, 5.5rem);
  line-height: 1;
  color: var(--c-price);   /* ámbar: resalta el precio final */
}
/* Resplandor ámbar detrás del precio */
.pricing__amount::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(closest-side, rgba(245, 166, 35, 0.45), transparent 75%);
  filter: blur(14px);
  z-index: -1;
}
.pricing__currency { font-size: 1.5rem; font-weight: 600; color: var(--c-on-dark-muted); }
.pricing__terms { font-size: 0.9375rem; color: var(--c-on-dark-muted); }

.pricing__triggers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
  text-align: left;
}
.pricing__trigger {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius-card);
  padding: 26px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pricing__trigger-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.6em;
  color: #fff;
}
.pricing__trigger p { color: var(--c-on-dark-body); font-size: 0.9375rem; margin: 0; }

.pricing__closing {
  max-width: 680px;
  margin: 0 auto 8px;
  color: var(--c-on-dark-body);
}

/* ---------------------------------------------------------------------------
   16. BLOQUE 10 — GARANTÍA
   --------------------------------------------------------------------------- */
.guarantee { background: transparent; }
.guarantee__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
}
.guarantee__media { display: grid; place-items: center; }
.guarantee__media img {
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 12px 28px rgba(245, 166, 35, 0.28));
}
.guarantee__content p { color: var(--c-on-light-body); }
.guarantee__highlight {
  font-weight: 700;
  color: var(--c-on-light-title);
}
.guarantee__close { color: var(--c-on-light-muted); }
.guarantee__content .btn { margin-top: 20px; }

/* ---------------------------------------------------------------------------
   17. BLOQUE 11 — FAQ (acordeón)
   --------------------------------------------------------------------------- */
.faq { background: transparent; }
.faq .section__title { text-align: center; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Cada pregunta es una tarjeta de vidrio */
.faq__item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-top-color: var(--glass-border-top);
  border-radius: var(--radius-card);
  padding: 0 24px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color var(--t-fast);
}
.faq__item[open] { border-color: var(--glass-border-amber); }
.faq__question {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--c-on-light-title);
  transition: color var(--t-fast);
}
.faq__question:hover { color: var(--c-amber); }
.faq__question::-webkit-details-marker { display: none; }
/* Ícono "+" que rota a "×" al abrir */
.faq__question::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--c-amber);
  transition: transform var(--t-med);
}
.faq__item[open] .faq__question::after { transform: rotate(135deg); }

.faq__answer { padding: 0 40px 22px 0; }
.faq__answer p { color: var(--c-on-light-body); margin: 0; }

/* ---------------------------------------------------------------------------
   18. BLOQUE 12 — CTA FINAL
   --------------------------------------------------------------------------- */
.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta__glow {
  position: absolute;
  inset: auto -10% -30% -10%;
  height: 80%;
  background: radial-gradient(50% 60% at 50% 100%, var(--glow-amber) 0%, var(--glow-amber-soft) 40%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.final-cta__title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
}
.final-cta__body { font-size: 1.125rem; color: var(--c-on-dark-body); }
.final-cta__punch {
  font-family: var(--font-title);
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1.2em;
}
.final-cta__terms {
  font-size: 0.9375rem;
  color: var(--c-on-dark-muted);
  margin: 1em 0 2rem;
}

/* ---------------------------------------------------------------------------
   19. FOOTER
   --------------------------------------------------------------------------- */
.site-footer {
  background: rgba(255, 255, 255, 0.02);   /* apenas separado del fondo; deja ver partículas */
  color: var(--c-on-dark-muted);
  border-top: 1px solid var(--c-dark-border);
  padding-block: 56px;
}
.site-footer__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.site-footer__brand {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.4em;
}
.site-footer__tagline { color: var(--c-on-dark-body); }
.site-footer__support { font-size: 0.9375rem; margin-top: 1.5em; }
.site-footer__support a { color: var(--c-blue); }
.site-footer__legal {
  margin-top: 1.5em;
  font-size: 0.9375rem;
}
.site-footer__legal a { color: var(--c-on-dark-body); transition: color var(--t-fast); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__sep { margin-inline: 8px; opacity: 0.5; }
.site-footer__copyright { margin-top: 1.5em; font-size: 0.875rem; }
.site-footer__disclaimer { margin-top: 1em; font-size: 0.8125rem; opacity: 0.8; }

/* ---------------------------------------------------------------------------
   20. ANIMACIONES DE APARICIÓN AL SCROLL
   Progressive enhancement: el contenido es visible por defecto. El script
   (paso 6) añade la clase `.reveal-on` al <body> y `.is-visible` a cada
   elemento cuando entra en viewport. Sin JS, todo se ve normal.
   --------------------------------------------------------------------------- */
.reveal-on [data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal-on [data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal-on [data-animate] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   21. RESPONSIVE (mobile-first: se reduce desde desktop)
   --------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }

  .hero__inner { gap: 28px; }

  .qualify__list { grid-template-columns: 1fr; gap: 14px; }

  .gallery__img { flex-basis: calc((100% - 20px) / 2); }  /* 2 visibles en tablet */

  .tools__grid,
  .bonuses__grid,
  .pricing__triggers { grid-template-columns: 1fr; }

  .guarantee__inner { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .guarantee__media img { margin-inline: auto; }
}

/* Móvil */
@media (max-width: 560px) {
  :root { --section-pad: 64px; }

  body { font-size: 16px; }

  .container { padding-inline: 18px; }

  .site-header__brand { font-size: 1rem; }
  .site-header__cta { padding: 10px 16px; font-size: 0.875rem; }

  .btn--cta { display: block; width: 100%; }
  .site-header__cta { display: inline-block; width: auto; }

  .create__block { margin-bottom: 56px; }
  .gallery { gap: 14px; }
  .gallery__img { flex-basis: 82%; }  /* 1 tarjeta con "peek" de la siguiente */
  .carousel__btn { width: 40px; height: 40px; }
  .carousel__btn--prev { left: -6px; }
  .carousel__btn--next { right: -6px; }

  .offer__card { padding: 28px 22px; }
  .offer__row { flex-wrap: wrap; gap: 4px; }

  .pricing__price { padding: 28px 28px; width: 100%; }
  .faq__question { font-size: 1rem; }
}

/* Móvil (<425px): cada característica de la barra en su propia línea.
   La frase y las herramientas quedan cada una en una línea aparte. */
@media (max-width: 424px) {
  .socialbar__claims {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .socialbar__claims .socialbar__sep { display: none; }  /* sin puntos entre líneas */
}
