/**
 * INVIURA Skin — Hoja de Estilos Principal
 * Estructura modular, cero dependencias, CSS nativo con Custom Properties.
 * Optimizado para rendimiento móvil (tráfico de paid social en Venezuela).
 */

:root {
  /* Paleta de Marca INVIURA */
  --cream: #F7F4F0;
  --cream-surface: #FFFFFF;
  --cream-card: #FAF8F5;
  --sage: #7A9A8B;
  --sage-cta: #4A6E5D; /* Tono salvia dermo-profundo: ratio de contraste 5.2:1 con texto blanco (supera WCAG AA) */
  --sage-cta-hover: #385547;
  --sage-dark: #58796B;
  --sage-darker: #3E5A4D;
  --sage-light: #EBF1EE;
  --sage-subtle: rgba(122, 154, 139, 0.15);
  
  /* Textos y Contrastes */
  --graphite: #2B2D2F;
  --graphite-muted: #565A5E;
  --graphite-subtle: #858B91;
  --border-color: rgba(43, 45, 47, 0.14);
  --border-focus: #58796B;

  /* Estados y Acentos */
  --error: #BA1A1A;
  --error-bg: #FFEDEA;
  --success: #226743;
  --success-bg: #E8F5EE;
  --badge-bg: #EDE7DE;

  /* Tipografía */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Escala Modular */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Elevaciones sutiles */
  --shadow-sm: 0 2px 4px rgba(43, 45, 47, 0.04);
  --shadow-md: 0 8px 24px rgba(43, 45, 47, 0.08);
  --shadow-lg: 0 16px 40px rgba(43, 45, 47, 0.12);

  /* Espaciado */
  --container-max: 1120px;
  --container-narrow: 760px;
  --section-pad-y: clamp(3rem, 7vw, 5.5rem);
  --space-unit: 1rem;
}

/* Reset y caja base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* El atributo hidden debe ganar a cualquier display de clase */
[hidden] {
  display: none !important;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--cream);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

/* Enlaces de salto accesible */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--graphite);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout contenedores */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* Tipografía de títulos */
h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  color: var(--graphite);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

p {
  color: var(--graphite-muted);
}

/* 1. Barra de Anuncios Sticky */
.top-banner {
  background-color: var(--graphite);
  color: var(--cream);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.top-banner p {
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  line-height: 1.35;
}

.banner-mobile {
  display: none;
}

.top-banner strong {
  color: #FFFFFF;
  font-weight: 700;
}

.top-banner .badge-pill {
  background: var(--sage);
  color: var(--graphite);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* En móvil la barra ocupa 3 líneas: se compacta y se ocultan los separadores
   para que cada frase (y el botón de WhatsApp) quede en su propia línea. */
@media (max-width: 640px) {
  .top-banner {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }

  .top-banner p {
    gap: 0.4rem;
    white-space: nowrap;
  }

  .top-banner .banner-desktop {
    display: none;
  }

  .top-banner .banner-mobile {
    display: inline;
  }

  .top-banner .badge-pill {
    font-size: 0.65rem;
    padding: 0.12rem 0.45rem;
  }
}

/* Header & Wordmark */
.site-header {
  padding: 1.25rem 0;
  background-color: var(--cream);
  border-bottom: 1px solid var(--border-color);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-wordmark {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--graphite);
  text-transform: uppercase;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-left: 0.35rem;
  border-left: 1px solid var(--border-color);
}

.header-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
  border-bottom: 1.5px solid var(--sage);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
  color: var(--sage-dark);
  border-color: var(--sage-dark);
}

/* En móvil el CTA del header no cabe junto al wordmark:
   el hero y la barra sticky ya cubren la acción de pedido. */
@media (max-width: 640px) {
  .header-cta {
    display: none;
  }
}

/* Botones y CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  min-height: 52px;
}

.btn-primary {
  background-color: var(--sage-cta);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(74, 110, 93, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--sage-cta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(56, 85, 71, 0.42);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Sección Hero */
.hero-section {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

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

@media (min-width: 900px) {
  .hero-grid {
    /* La galería va a la izquierda; el texto conserva su ancho original */
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }

  .hero-visual-card {
    order: -1;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage-darker);
  background: var(--sage-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.hero-title {
  color: var(--graphite);
}

/* Valoración de clientas bajo el título */
.hero-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: -0.65rem;
  font-size: 0.875rem;
  color: var(--graphite-muted);
}

.hero-stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(43, 45, 47, 0.18); /* estrellas vacías */
}

/* Relleno al 90% = 4,5 de 5 estrellas: no se impostan 5/5 */
.hero-stars-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 90%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--graphite);
}

.hero-rating-count {
  color: var(--graphite-muted);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: var(--graphite-muted);
}

/* Caja de precio y oferta */
.price-strip {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  background: var(--cream-card);
  border: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  margin-top: 0.5rem;
  width: fit-content;
  max-width: 100%;
}

.price-strip > div:first-child {
  flex-shrink: 0;
}

.price-current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--graphite);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-bs {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: var(--graphite-muted);
}

.price-tag-badge {
  font-size: 0.8rem;
  font-weight: 700;
  background-color: var(--sage-light);
  color: var(--sage-darker);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-note {
  font-size: 0.825rem;
  color: var(--graphite-muted);
}

/* Micro-pruebas y confianza en Hero */
.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--graphite);
  font-weight: 500;
}

.trust-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--sage-dark);
  flex-shrink: 0;
}

/* Visual Mockup Card del Hero */
.hero-visual-card {
  position: relative;
  /* En móvil el contenido va primero; la galería se reordena en desktop */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Carrusel de fotos del producto */
.product-carousel {
  position: relative;
  width: 100%;
}

.product-carousel-track {
  display: flex;
  aspect-ratio: 1 / 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-carousel-track:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

.product-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.product-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--cream-card);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--graphite);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.carousel-nav:hover {
  background: #FFFFFF;
}

.carousel-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

.carousel-nav-prev {
  left: 0.5rem;
}

.carousel-nav-next {
  right: 0.5rem;
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
}

.carousel-counter {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: rgba(43, 45, 47, 0.72);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Barras de progreso tipo stories (solo móvil) */
.carousel-progress {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  gap: 3px;
  padding: 0.55rem 0.6rem 0;
}

.carousel-progress-bar {
  flex: 1;
  height: 3px;
  border-radius: var(--radius-full);
  background: rgba(43, 45, 47, 0.2);
  overflow: hidden;
}

.carousel-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--graphite);
}

.carousel-progress-bar.is-complete .carousel-progress-fill {
  width: 100%;
}

.carousel-progress-bar.is-active .carousel-progress-fill {
  animation: storyProgress 5s linear forwards;
}

@keyframes storyProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Móvil: galería a todo el ancho y navegación tipo stories */
@media (max-width: 768px) {
  .hero-visual-card {
    margin-inline: calc(-1 * clamp(1.25rem, 4vw, 2.5rem));
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--cream-card);
  }

  .product-carousel-track {
    aspect-ratio: 4 / 5;
    border-radius: 0;
    background: var(--cream-card);
  }

  .product-slide img {
    object-fit: contain;
  }

  .carousel-nav,
  .carousel-counter,
  .hero-visual-card .carousel-dots {
    display: none;
  }

  .carousel-progress {
    display: flex;
  }
}

/* Puntos de paginación del carrusel */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
  width: 100%;
  margin-top: 0.85rem;
}

.carousel-dot {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
}

.carousel-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(43, 45, 47, 0.24);
  transition: width 0.2s ease, background-color 0.2s ease;
}

.carousel-dot:hover span {
  background: rgba(43, 45, 47, 0.45);
}

.carousel-dot.is-active span {
  width: 18px;
  background: var(--sage-dark);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel-track {
    scroll-behavior: auto;
  }

  .carousel-progress-bar.is-active .carousel-progress-fill {
    animation: none;
    width: 100%;
  }
}

/* Sección Diagnóstico / Dolor */
.section-problem {
  background-color: #F1EDE7;
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Imágenes oficiales de beneficios e ingredientes */
.section-poster {
  margin: 0 auto;
  max-width: 560px;
}

.section-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--cream-card);
}

.section-problem .section-poster {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-kicker {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage-darker);
  margin-bottom: 0.6rem;
}

.section-desc {
  font-size: 1.1rem;
  margin-top: 0.75rem;
  color: var(--graphite-muted);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--cream-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.problem-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cream-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
}

.problem-card h3 {
  font-size: 1.15rem;
  color: var(--graphite);
}

.problem-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Sección Solución */
.section-benefits {
  padding: var(--section-pad-y) 0;
}

/* Sección Prueba Social (videos de TikTok + capturas de más vendidos) */
.section-social {
  background: #F1EDE7;
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.social-videos {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 1.75rem;
}

.social-videos::-webkit-scrollbar {
  display: none;
}

/* Desktop: barra horizontal visible para mover con el mouse */
@media (min-width: 769px) {
  .social-videos {
    scrollbar-width: thin;
    scrollbar-color: var(--sage) transparent;
    padding-bottom: 0.6rem;
  }

  .social-videos::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .social-videos::-webkit-scrollbar-track {
    background: transparent;
  }

  .social-videos::-webkit-scrollbar-thumb {
    background: var(--sage);
    border-radius: var(--radius-full);
  }

  .social-videos::-webkit-scrollbar-thumb:hover {
    background: var(--sage-darker);
  }
}

.social-videos .social-card {
  flex: 0 0 clamp(190px, 22vw, 260px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Móvil: casi una pantalla por video, dejando ver el siguiente */
@media (max-width: 768px) {
  .social-videos .social-card {
    flex-basis: 85%;
  }
}

.social-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 620px;
  margin: 0 auto 1.75rem;
}

/* Desktop: capturas grandes, una debajo de la otra */
@media (min-width: 769px) {
  .social-shots {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 600px;
  }
}

.social-media.social-media-portrait {
  aspect-ratio: 3 / 4;
}

.social-card {
  margin: 0;
  min-width: 0;
}

.social-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--cream-card);
  border: 1px solid var(--border-color);
}

.social-media img,
.social-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--cream-card);
}

/* Portada del video: imagen real (no el poster nativo) para un recorte consistente */
.social-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
}

.social-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-poster-play {
  position: absolute;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--graphite);
  box-shadow: 0 4px 14px rgba(43, 45, 47, 0.3);
}

.social-poster:hover .social-poster-play {
  background: #FFFFFF;
}

.social-card.is-playing .social-poster {
  display: none;
}

/* Archivo de media pendiente: muestra la ruta exacta que falta */
.social-card.is-missing .social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  border: 2px dashed var(--border-color);
  background: var(--cream-card);
}

.social-card.is-missing .social-media > * {
  display: none;
}

.social-card.is-missing .social-media::after {
  content: "Falta: " attr(data-file);
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--graphite-subtle);
  text-align: center;
  overflow-wrap: anywhere;
}

.proof-disclaimer {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--graphite-muted);
  background: var(--cream-surface);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  line-height: 1.5;
}

.proof-disclaimer strong {
  color: var(--graphite);
}

/* Sección Mecánica COD en 3 Pasos */
.section-cod-steps {
  padding: var(--section-pad-y) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--cream-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number-badge {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--graphite);
  color: var(--cream);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.step-footer-note {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
  font-size: 0.825rem;
  color: var(--sage-darker);
  font-weight: 600;
}

/* Sección Formulario de Checkout COD */
.section-checkout {
  padding: var(--section-pad-y) 0;
  background: linear-gradient(180deg, var(--cream) 0%, #F1EDE7 100%);
  border-top: 1px solid var(--border-color);
}

.checkout-wrapper {
  background: var(--cream-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 5vw, 3rem);
}

.checkout-header {
  text-align: center;
  margin-bottom: 2rem;
}

.shipping-callout {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--sage-light);
  color: var(--sage-darker);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Selector de presentación */
.pack-selector {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
}

.pack-selector-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite);
  text-align: center;
  width: 100%;
  margin: 0 auto 0.75rem;
  padding: 0;
}

.pack-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pack-card {
  position: relative;
  display: block;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--cream-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.pack-card:hover {
  border-color: var(--sage);
}

.pack-card.is-selected {
  border-color: var(--sage-cta);
  background: var(--sage-light);
  box-shadow: 0 4px 14px rgba(74, 110, 93, 0.14);
}

.pack-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pack-input:focus-visible + .pack-body {
  outline: 2px solid var(--border-focus);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.pack-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.pack-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite);
}

.pack-discount {
  font-size: 0.7rem;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--sage-cta);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.pack-units {
  font-size: 0.78rem;
  color: var(--graphite-muted);
}

.pack-prices {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.pack-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--graphite);
}

.pack-old {
  font-size: 0.8rem;
  color: var(--graphite-subtle);
  text-decoration: line-through;
}

.pack-bs {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--graphite-muted);
}

.pack-flag {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  background: var(--sage);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.pack-rate-note {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: var(--graphite-subtle);
}

/* Resumen del Pedido */
.order-summary-box {
  background: var(--cream-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-product-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.order-product-thumb {
  width: 48px;
  height: 48px;
  background: var(--sage-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-darker);
}

.order-product-name {
  font-weight: 700;
  color: var(--graphite);
  font-size: 1rem;
}

.order-product-specs {
  font-size: 0.825rem;
  color: var(--graphite-muted);
}

.order-pricing {
  text-align: right;
}

.order-price-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--graphite);
}

.order-price-bs {
  font-size: 0.8rem;
  color: var(--graphite-muted);
  margin-bottom: 0.15rem;
}

.order-shipping-tag {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--success);
  text-transform: uppercase;
}

/* Campos del Formulario */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Títulos internos del formulario */
.form-section-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-darker);
  margin: 0.85rem 0 0.9rem;
  padding: 0;
}

/* Dentro del grid, el gap ya separa: no duplicar el espacio */
.form-grid > .form-section-title {
  margin-bottom: 0;
}

/* Tipo de entrega */
.delivery-method {
  border: 0;
  padding: 0;
  margin: 0;
}

.delivery-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

@media (min-width: 640px) {
  .delivery-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--cream-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.delivery-option:hover {
  border-color: var(--sage);
}

.delivery-option:has(input:checked) {
  border-color: var(--sage-cta);
  background: var(--sage-light);
}

/* Opción no disponible para el estado elegido */
.delivery-option.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--cream-card);
}

.delivery-option.is-disabled:hover {
  border-color: var(--border-color);
}

.delivery-option input {
  margin-top: 0.2rem;
  accent-color: var(--sage-cta);
}

.delivery-help {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--graphite-subtle);
}

.delivery-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.delivery-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--graphite);
}

.delivery-note {
  font-size: 0.78rem;
  color: var(--graphite-muted);
}

/* Retiro en Tealca: la dirección se pide igual, se necesita para registrar el envío */
.delivery-info {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
  padding: 0.9rem 1rem;
  border: 1px dashed var(--sage);
  border-radius: var(--radius-md);
  background: var(--sage-light);
}

.delivery-info-icon {
  display: flex;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--sage-darker);
}

.delivery-info-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.delivery-info-body strong {
  font-size: 0.9rem;
  color: var(--graphite);
}

.delivery-info-body span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--graphite-muted);
}

/* Selector de ubicación (mapa / GPS) */
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--cream-surface);
  color: var(--graphite);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.location-btn:hover {
  border-color: var(--sage);
  background: var(--sage-light);
}

.location-btn svg {
  flex-shrink: 0;
}

.location-help {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--graphite-subtle);
}

.map-picker {
  margin-top: 0.75rem;
}

.map-canvas {
  height: 260px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sage-light);
}

.map-hint {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--graphite-subtle);
}

.location-status {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--sage-darker);
}

.location-status a {
  color: var(--sage-darker);
  text-decoration: underline;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Honeypot: fuera de pantalla, nunca visible ni enfocable */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label .req-star {
  color: var(--error);
  font-weight: bold;
}

.form-label .optional-hint {
  font-size: 0.775rem;
  font-weight: 400;
  color: var(--graphite-subtle);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--cream-surface);
  color: var(--graphite);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--sage-subtle);
}

/* Soporte moderno :user-invalid */
.form-control:user-invalid {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.form-control.user-invalid-fallback {
  border-color: var(--error);
  background-color: var(--error-bg);
}

.field-error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--error);
  font-weight: 500;
  margin-top: 0.25rem;
}

.form-control:user-invalid ~ .field-error-msg,
.form-control.user-invalid-fallback ~ .field-error-msg {
  display: block;
}

.field-help {
  font-size: 0.8rem;
  color: var(--graphite-subtle);
  margin-top: 0.2rem;
}

/* Teléfono: prefijo del operador + 7 dígitos */
.phone-group {
  display: flex;
  gap: 0.5rem;
}

.phone-group .phone-prefix {
  flex: 0 0 6.5rem;
  width: 6.5rem;
}

.phone-group .phone-number {
  flex: 1 1 auto;
  min-width: 0;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232B2D2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Micro-copy bajo el botón de submit */
.form-guarantee-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--graphite-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Soporte WhatsApp antes de pedir */
.form-whatsapp-fallback {
  margin-top: 1.75rem;
  padding: 1.15rem 1rem;
  border-radius: var(--radius-md);
  background: var(--cream-card);
  border: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.form-whatsapp-fallback p {
  color: var(--graphite-muted);
  line-height: 1.45;
}

.form-whatsapp-fallback .wa-btn {
  font-size: 0.9rem;
  padding-inline: 1.1rem;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Botones de WhatsApp
   El número oficial vive únicamente en el atributo href (wa.me). Nunca se
   imprime como texto visible. Verde #25D366 con etiqueta --graphite = 7:1.
   --------------------------------------------------------------------------- */
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  min-height: 48px;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: none;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-btn:hover,
.wa-btn:focus-visible {
  background-color: #1EBE5A;
  color: var(--graphite);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(37, 211, 102, 0.36);
}

.wa-btn svg {
  flex-shrink: 0;
}

/* Variante compacta: banner superior y lista de confianza del hero */
.wa-btn-compact {
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  min-height: 36px;
  font-size: 0.8rem;
  box-shadow: none;
}

/* Botón flotante persistente (aparece al pasar el hero, se retira en el formulario) */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(1rem, 3vw, 1.5rem);
  z-index: 95;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: #25D366;
  color: #0B3D22;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(43, 45, 47, 0.28);
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.wa-fab.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.wa-fab:hover {
  background-color: #1EBE5A;
}

@media (max-width: 768px) {
  .wa-fab {
    bottom: calc(4.9rem + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }
}

/* Estado de resultado (éxito o error inline) */
.order-status-box {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 0.95rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.order-status-box.is-success {
  display: block;
  background-color: var(--success-bg);
  border-color: #A3D4B6;
  color: var(--graphite);
}

.success-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.success-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: var(--success);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--success);
}

.order-badge-id {
  display: inline-block;
  background: rgba(34, 103, 67, 0.12);
  color: var(--success);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.success-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--graphite);
}

.success-body p + p {
  margin-top: 0.5rem;
}

/* CTA dentro del estado de éxito: hereda el sistema .wa-btn */
.success-whatsapp-cta {
  margin-top: 1.25rem;
  white-space: nowrap;
}

.order-status-box.is-error {
  display: block;
  background-color: var(--error-bg);
  border-color: #F8B4B4;
  color: var(--graphite);
}

.error-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--error);
  margin-bottom: 0.5rem;
}

.error-fallback-action {
  margin-top: 1rem;
}

/* Estado de carga en botón */
.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.btn.is-loading span {
  visibility: hidden;
}

.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: calc(50% - 11px);
  left: calc(50% - 11px);
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: btnSpinner 0.7s linear infinite;
}

@keyframes btnSpinner {
  to { transform: rotate(360deg); }
}

/* Ocultar formulario tras éxito */
.form-submitted-hidden {
  display: none !important;
}

/* 7. Sección FAQ de Objeciones (Native <details>) */
.section-faq {
  padding: var(--section-pad-y) 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--cream-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--graphite);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:focus-visible {
  outline: 2px solid var(--sage-dark);
  outline-offset: -2px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--sage-dark);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: var(--graphite-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-content p + p {
  margin-top: 0.65rem;
}

/* 8. Pie de Página (Footer) */
.site-footer {
  background-color: #242628;
  color: #B5B9BC;
  padding: 3.5rem 0 5rem 0; /* padding extra inferior para la sticky mobile bar */
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #8C9196;
  max-width: 320px;
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  list-style: none;
}

.footer-links a {
  color: #D1D5D8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-legal-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #8C9196;
  line-height: 1.5;
}

/* Barra CTA Sticky para Móviles */
.sticky-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .social-shots {
    grid-template-columns: 1fr;
  }

  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(247, 244, 240, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.75rem 1.25rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 90;
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .sticky-mobile-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .sticky-mobile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .sticky-mobile-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--graphite);
  }

  .sticky-mobile-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sage-darker);
  }

  .sticky-mobile-cta .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    min-height: 42px;
    flex-shrink: 0;
  }
}

/* Clases de utilidad */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 9. Página legal (privacidad) */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-page h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--graphite);
  margin-bottom: 0.75rem;
}

.legal-page h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.25;
  color: var(--graphite);
  margin: 2.25rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--graphite-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-page p + p {
  margin-top: 0.85rem;
}

.legal-page ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.legal-page a {
  color: var(--sage-darker);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page strong {
  color: var(--graphite);
  font-weight: 600;
}

.legal-meta {
  color: var(--graphite-muted);
  font-size: 0.85rem;
}

.legal-back {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
}

.form-privacy-note {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--graphite-muted);
  text-align: center;
}

.form-privacy-note a {
  color: var(--sage-darker);
  text-decoration: underline;
}

/* Respeta la preferencia del sistema: sin animaciones ni scroll suave */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
