/* ==========================================================================
   Estilos principales — 30 Historias Bíblicas de Navidad para Colorear
   Paleta: 60% blanco cálido / marfil, 30% verde suave / bordes, 10% rojo navideño y dorado
   ========================================================================== */

:root {
  --bg-canvas: #fffdf9;
  --bg-white: #ffffff;
  --bg-soft-green: #f2f7f3;
  --bg-soft-cream: #fdf7ec;
  --bg-deep-pine: #1e3a2f;

  --text-primary: #1d2d25;
  --text-secondary: #4a5c53;
  --text-muted: #65766d;

  --brand-red: #c62828;
  --brand-red-hover: #a61e1e;
  --brand-red-soft: #fcecec;

  --brand-green: #2f6f4e;
  --brand-green-soft: #e2efe6;

  --brand-gold: #d98c16;
  --brand-gold-soft: #fef3d6;

  --border-hairline: rgba(31, 61, 46, 0.11);
  --border-strong: rgba(31, 61, 46, 0.2);

  --shadow-card: 0 10px 28px rgba(29, 45, 37, 0.06);
  --shadow-cta: 0 10px 24px rgba(198, 40, 40, 0.24);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, -apple-system, sans-serif;
  --font-body: "Nunito", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --container-max: 1120px;
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  touch-action: pan-y;
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand-gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-red);
  color: #ffffff;
  padding: 10px 18px;
  font-weight: 700;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ==========================================================================
   Encabezado (3 zonas limpias, una fila)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 1;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  background-color: var(--brand-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-header-cta:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  cursor: pointer;
}

.hamburger-lines {
  position: relative;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: background-color var(--transition-fast);
}

.hamburger-lines::before,
.hamburger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast);
}

.hamburger-lines::before {
  top: -6px;
}

.hamburger-lines::after {
  top: 6px;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-lines {
  background-color: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-lines::before {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-lines::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 20px;
  background-color: var(--bg-canvas);
  border-top: 1px solid var(--border-hairline);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-link {
  display: block;
  padding: 10px 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
  background-color: var(--bg-soft-green);
}

.mobile-cta-link {
  margin-top: 6px;
  text-align: center;
}

/* ==========================================================================
   Botones reutilizables
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  background-color: var(--brand-red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: background-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(166, 30, 30, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  min-height: 58px;
  padding: 16px 34px;
  font-size: 1.15rem;
}

.btn-block {
  width: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 22px;
  border: 1.5px solid var(--brand-green);
  border-radius: var(--radius-sm);
  background-color: var(--bg-white);
  color: var(--brand-green);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-secondary:hover {
  background-color: var(--brand-green);
  color: #ffffff;
}

/* ==========================================================================
   1. Portada Principal (Hero)
   ========================================================================== */

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 44px 0 64px;
  background: linear-gradient(180deg, #fffdf9 0%, #f9fbf8 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-garland {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  pointer-events: none;
  opacity: 0.9;
}

.hero-garland img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snowflakes-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.flake {
  position: absolute;
  color: var(--brand-gold);
  opacity: 0.38;
  font-size: 1.15rem;
  user-select: none;
  animation: gentleFloat 7s ease-in-out infinite;
}

.flake-1 { top: 14%; left: 5%; color: #9fc4ae; animation-delay: 0s; }
.flake-2 { top: 22%; left: 48%; color: var(--brand-gold); animation-delay: 1.4s; }
.flake-3 { top: 68%; left: 8%; color: #9fc4ae; animation-delay: 2.2s; }
.flake-4 { top: 18%; right: 7%; color: var(--brand-gold); animation-delay: 0.8s; }
.flake-5 { top: 76%; right: 12%; color: #9fc4ae; animation-delay: 3s; }
.flake-6 { top: 44%; right: 44%; color: var(--brand-gold); animation-delay: 1.9s; }

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding-top: 12px;
}

.hero-grid > *,
.gift-grid > *,
.benefits-grid > *,
.offer-card > *,
.stories-columns > * {
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 12px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 0.01em;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 58ch;
}

.hero-support {
  margin: 0 0 24px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-red);
}

.hero-highlights {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text-primary);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: var(--brand-green-soft);
  color: var(--brand-green);
  flex-shrink: 0;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.cta-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.nativity-frame {
  width: 100%;
  max-width: 560px;
  padding: 14px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.nativity-artwork {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 10px);
}

.nativity-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 6px 4px;
  text-align: center;
}

.caption-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.caption-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ==========================================================================
   Secciones generales
   ========================================================================== */

.section-soft-green {
  padding: 72px 0;
  background-color: var(--bg-soft-green);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: clip;
}

.section-light {
  padding: 72px 0;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: clip;
}

.section-warm-cream {
  padding: 72px 0;
  background-color: var(--bg-soft-cream);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: clip;
}

.section-header-centered {
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  text-wrap: balance;
}

.section-subtitle {
  margin: 0;
  font-size: 1.04rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   2. Un Regalo Especial
   ========================================================================== */

.gift-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.gift-visual-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.gift-icon-large {
  margin-bottom: 20px;
}

.gift-quote-box {
  padding-top: 18px;
  border-top: 1px solid var(--border-hairline);
}

.gift-quote-text {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.gift-quote-ref {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--brand-green);
}

.story-prose p {
  margin: 0 0 14px;
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 64ch;
}

.story-prose .lead-question {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--text-primary);
}

.moments-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.moment-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
}

.moment-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brand-green);
}

.moment-item span {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   3. ¿Qué Incluye tu Kit?
   ========================================================================== */

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.benefit-card {
  padding: 26px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-3px);
}

.benefit-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 14px;
  background-color: var(--brand-red-soft);
  color: var(--brand-red);
}

.benefit-card:nth-child(2) .benefit-icon-wrap {
  background-color: var(--brand-green-soft);
  color: var(--brand-green);
}

.benefit-card:nth-child(3) .benefit-icon-wrap {
  background-color: var(--brand-gold-soft);
  color: #b4690e;
}

.benefit-card:nth-child(4) .benefit-icon-wrap {
  background-color: var(--brand-green-soft);
  color: var(--brand-green);
}

.benefit-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text-primary);
}

.benefit-desc {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   4. Galería / Carrusel de Muestra
   ========================================================================== */

.carousel-shell {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  margin-inline: auto;
  padding: 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.carousel-controls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.carousel-counter {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.carousel-nav-btns {
  display: flex;
  gap: 8px;
}

.carousel-arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.carousel-arrow-btn:hover {
  background-color: var(--brand-green-soft);
  border-color: var(--brand-green);
}

.carousel-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}

.sheet-frame {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  background: linear-gradient(135deg, #fffdf9 0%, #f4f8f5 100%);
  border: 1.5px dashed rgba(47, 111, 78, 0.32);
  border-radius: var(--radius-md);
}

.sheet-slot-content {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.slot-emblem {
  margin-bottom: 14px;
}

.slot-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 6px;
}

.slot-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--text-primary);
}

.slot-desc {
  margin: 0 0 16px;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.slot-ready-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Clase preparada para cuando se inserten las imágenes reales */
.gallery-real-img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(31, 61, 46, 0.22);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.carousel-dot.is-active {
  background-color: var(--brand-red);
  transform: scale(1.25);
}

.stories-index-wrap {
  margin-top: 28px;
  text-align: center;
}

.stories-list-panel {
  margin-top: 22px;
  padding: 28px 24px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  text-align: left;
}

.stories-list-panel[hidden] {
  display: none;
}

.stories-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.stories-group h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--brand-red);
}

.stories-group ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  font-variant-numeric: tabular-nums;
}

.stories-group li {
  margin-bottom: 6px;
}

/* ==========================================================================
   5. Sección de Compra / Oferta
   ========================================================================== */

.section-checkout {
  padding: 76px 0;
  background: linear-gradient(180deg, #fffdf9 0%, #f2f7f3 100%);
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: clip;
}

.offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding: 32px 24px;
  background-color: var(--bg-white);
  border: 1.5px solid rgba(47, 111, 78, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  align-items: center;
}

.offer-kicker {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-green);
}

.offer-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  line-height: 1.2;
  color: var(--text-primary);
  text-wrap: balance;
}

.offer-lead {
  margin: 0 0 20px;
  font-size: 1.03rem;
  color: var(--text-secondary);
}

.offer-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.offer-checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
  color: var(--text-primary);
}

.offer-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-green);
  font-weight: 800;
}

.offer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px;
  background-color: var(--bg-soft-cream);
  border: 1px solid rgba(217, 140, 22, 0.3);
  border-radius: var(--radius-md);
}

.offer-box-label {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}

.price-old {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 700;
}

.price-current {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1.1;
}

.price-note {
  margin: 0 0 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-green);
}

.offer-security {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   6. Preguntas Frecuentes (FAQ)
   ========================================================================== */

.faq-container {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question:hover {
  background-color: #fafcfb;
}

.faq-chevron {
  width: 10px;
  height: 10px;
  border-right: 2.2px solid var(--brand-green);
  border-bottom: 2.2px solid var(--brand-green);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   Pie de página
   ========================================================================== */

.site-footer {
  padding: 40px 0 28px;
  background-color: var(--bg-deep-pine);
  color: #edf5ef;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-tagline {
  margin: 6px 0 0;
  font-size: 0.93rem;
  color: #c8ddd0;
  max-width: 44ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #edf5ef;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: #fcd34d;
}

.footer-bottom {
  padding-top: 18px;
  font-size: 0.85rem;
  color: #b7d0c0;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   Modal de Compra
   ========================================================================== */

.checkout-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(20, 36, 28, 0.62);
  backdrop-filter: blur(4px);
}

.checkout-modal-backdrop[hidden] {
  display: none;
}

.checkout-modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 30px 26px;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-hairline);
  border-radius: 50%;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-weight: 800;
  cursor: pointer;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.modal-title {
  margin: 10px 0 4px;
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--text-primary);
}

.modal-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-label {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.modal-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
}

.modal-error {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-red);
}

.modal-foot-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.modal-confirmation {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.modal-confirmation[hidden] {
  display: none;
}

.confirmation-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--brand-green);
}

.confirmation-text,
.confirmation-hint {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.confirmation-hint {
  padding: 12px;
  background-color: var(--bg-soft-cream);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
}

/* ==========================================================================
   Media Queries (Tablet y Escritorio)
   ========================================================================== */

@media (min-width: 768px) {
  .header-inner {
    gap: 24px;
  }

  .brand-wordmark {
    font-size: 1.2rem;
    gap: 10px;
    flex-shrink: 0;
  }

  .btn-header-cta {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  .main-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moments-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stories-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-card {
    grid-template-columns: 1.35fr 0.95fr;
    padding: 42px 38px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 58px 0 78px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 44px;
  }

  .gift-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 48px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .container {
    padding-inline: 16px;
  }

  .brand-wordmark {
    font-size: 0.96rem;
  }

  .btn-header-cta {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .btn-lg {
    width: 100%;
    padding: 14px 18px;
    font-size: 1.02rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .flake {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   Carruseles de dibujos (debajo del primer CTA) — sin JavaScript
   Fila superior: derecha → izquierda · Fila inferior: izquierda → derecha
   ========================================================================== */
.drawings-marquees {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}
.marquee {
  overflow: hidden;
  width: 100%;
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}
.marquee-item {
  flex: 0 0 auto;
  width: 190px;
  background: var(--bg-white);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.marquee-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}
.marquee-rtl .marquee-track { animation: marquee-rtl 22s linear infinite; }
.marquee-ltr .marquee-track { animation: marquee-ltr 22s linear infinite; }
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marquee-ltr {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (min-width: 768px) {
  .marquee-item { width: 230px; }
}

/* Carruseles siempre automáticos: no se deslizan con la mano ni con el mouse */
.marquee {
  overflow: hidden;
  touch-action: pan-y;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.marquee-item img { -webkit-user-drag: none; user-drag: none; }

/* ==========================================================================
   TEMA NAVIDEÑO — rojo, verde y dorado (reemplaza el fondo blanco)
   ========================================================================== */
:root {
  --xmas-red: #b71c1c;
  --xmas-red-dark: #7f1414;
  --xmas-green: #14532d;
  --xmas-green-mid: #1d6b3f;
  --xmas-green-dark: #0c3a20;
  --xmas-gold: #ffc83d;
}
body { background-color: var(--xmas-green-dark); }

/* Encabezado rojo */
.site-header {
  background: linear-gradient(90deg, var(--xmas-red-dark), var(--xmas-red));
  border-bottom: 3px solid var(--xmas-gold);
  backdrop-filter: none;
}
.brand-wordmark { color: #ffffff; }
.nav-link { color: #ffe9e9; }
.nav-link:hover { color: var(--xmas-gold); border-bottom-color: var(--xmas-gold); }
.btn-header-cta {
  background-color: var(--xmas-gold);
  color: #5a1010;
  font-weight: 800;
}
.btn-header-cta:hover { background-color: #ffd96b; }
.hamburger-lines,
.hamburger-lines::before,
.hamburger-lines::after { background-color: #ffffff; }
.mobile-menu-btn[aria-expanded="true"] .hamburger-lines { background-color: transparent; }
.mobile-nav { background-color: var(--xmas-red-dark); }
.mobile-nav-link { color: #ffffff; }
.mobile-nav-link:hover { background-color: rgba(255, 255, 255, 0.12); }

/* Portada verde con nieve */
.hero-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.10) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,.08) 0 3px, transparent 4px),
    radial-gradient(circle at 90% 85%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    linear-gradient(160deg, var(--xmas-green-dark) 0%, var(--xmas-green) 55%, var(--xmas-green-mid) 100%);
  background-size: 120px 120px, 160px 160px, 140px 140px, 180px 180px, auto;
  border-bottom: 4px solid var(--xmas-gold);
}
.hero-kicker { color: var(--xmas-gold); }
.hero-title { color: #ffffff; text-shadow: 0 3px 0 rgba(0,0,0,.18); }
.hero-subtitle { color: #e6f4ea; }
.hero-support {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--xmas-red);
  color: #ffffff;
}
.highlight-item {
  background-color: #fffaf0;
  border: 1px solid rgba(255, 200, 61, 0.7);
}
.hero-section .btn-primary {
  background: linear-gradient(180deg, #d32f2f, var(--xmas-red));
  border: 3px solid var(--xmas-gold);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(255, 200, 61, 0.25);
}
.hero-section .btn-primary:hover { background: linear-gradient(180deg, #e53935, #c62828); }
.cta-note { color: #cfe8d7; }
.nativity-frame {
  background-color: #fffaf0;
  border: 4px solid var(--xmas-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.caption-title { color: var(--xmas-red); }
.drawings-marquees { padding-top: 6px; }
.marquee-item {
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* Regalo especial: rojo */
.section-soft-green {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.09) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,.09) 0 3px, transparent 4px),
    linear-gradient(160deg, var(--xmas-red-dark), var(--xmas-red));
  background-size: 140px 140px, 170px 170px, auto;
  border-bottom: 4px solid var(--xmas-gold);
}
#regalo-especial .section-title { color: #ffffff; }
#regalo-especial .story-prose p { color: #ffecec; }
#regalo-especial .story-prose .lead-question { color: var(--xmas-gold); }
#regalo-especial .gift-visual-card { background-color: #fffaf0; border: 3px solid var(--xmas-gold); }
#regalo-especial .moment-item { background-color: #fffaf0; border: 1px solid var(--xmas-gold); }
#regalo-especial .moment-item strong { color: var(--xmas-red); }

/* Qué incluye: crema con tarjetas de borde rojo/verde */
.section-light {
  background:
    radial-gradient(circle at 10% 15%, rgba(183,28,28,.07) 0 4px, transparent 5px),
    radial-gradient(circle at 60% 60%, rgba(20,83,45,.08) 0 4px, transparent 5px),
    #fff4dc;
  background-size: 120px 120px, 150px 150px, auto;
  border-bottom: 4px solid var(--xmas-red);
}
#que-incluye .benefit-card { border: 2px solid rgba(20, 83, 45, 0.35); border-top: 6px solid var(--xmas-green); }
#que-incluye .benefit-card:nth-child(odd) { border-color: rgba(183, 28, 28, 0.35); border-top: 6px solid var(--xmas-red); }
.section-title { color: var(--xmas-red-dark); }
#que-incluye .section-title { color: var(--xmas-green); }

/* Galería: verde oscuro */
.section-warm-cream {
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,255,.08) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 65%, rgba(255,255,255,.08) 0 3px, transparent 4px),
    linear-gradient(160deg, var(--xmas-green-dark), var(--xmas-green));
  background-size: 130px 130px, 170px 170px, auto;
  border-bottom: 4px solid var(--xmas-gold);
}
#galeria .section-title { color: #ffffff; }
#galeria .section-subtitle { color: #dff1e5; }
#galeria .carousel-shell { border: 3px solid var(--xmas-gold); }

/* Oferta: rojo con tarjeta crema */
.section-checkout {
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.09) 0 3px, transparent 4px),
    radial-gradient(circle at 75% 75%, rgba(255,255,255,.09) 0 3px, transparent 4px),
    linear-gradient(160deg, var(--xmas-red-dark), var(--xmas-red));
  background-size: 140px 140px, 170px 170px, auto;
  border-bottom: 4px solid var(--xmas-gold);
}
.offer-card { background-color: #fffaf0; border: 4px solid var(--xmas-gold); box-shadow: 0 20px 44px rgba(0,0,0,.35); }
.offer-box { background-color: #fff1c9; border: 2px dashed var(--xmas-red); }
.section-checkout .btn-primary { border: 3px solid var(--xmas-gold); }

/* Preguntas: verde claro con acentos rojos */
#preguntas {
  background:
    radial-gradient(circle at 12% 20%, rgba(20,83,45,.10) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 65%, rgba(183,28,28,.08) 0 4px, transparent 5px),
    #e4f3e8;
  background-size: 120px 120px, 150px 150px, auto;
  border-bottom: 4px solid var(--xmas-red);
}
#preguntas .section-title { color: var(--xmas-green); }
#preguntas .faq-item { border: 2px solid rgba(20, 83, 45, 0.3); }

/* Pie de página */
.site-footer {
  background: linear-gradient(160deg, var(--xmas-red-dark), #5c0e0e);
  border-top: 4px solid var(--xmas-gold);
}
.footer-tagline, .footer-bottom { color: #ffd9d9; }
.footer-links a { color: #ffffff; }
