﻿/* ==========================================================================
   AURIVIT ESPAÑA - SISTEMA DE DISEÑO Y HOJA DE ESTILOS PROFESIONAL
   Especializado en Salud Auditiva y Microcirculación
   Paleta Armonizada 2026: Pure Medical White, Deep Slate, Radiant Coral & Botanical Sage
   ========================================================================== */

:root {
  /* Identidad Oficial de Marca (Exclusivo para logo y distintivo) */
  --brand-blue: #2563eb;
  --brand-blue-dark: #1d4ed8;

  /* Botones de Acción CRO de Alto Rendimiento (Radiant Coral-Red) */
  --cta-gradient: linear-gradient(135deg, #ff5538 0%, #ff2b56 100%);
  --cta-gradient-hover: linear-gradient(135deg, #e03e22 0%, #e61944 100%);
  --cta-shadow: 0 8px 24px -4px rgba(255, 85, 56, 0.42);
  --cta-shadow-hover: 0 12px 30px -4px rgba(255, 85, 56, 0.58);
  --cta-color: #ff5538;
  --cta-bg: var(--cta-gradient);
  --cta-bg-hover: var(--cta-gradient-hover);

  /* Acentos de Salud, Confianza y Botánica (Pharma Sage & Teal) */
  --health-green: #0d9488;
  --health-green-dark: #0f766e;
  --health-green-bg: #f0fdfa;
  --health-green-border: #ccfbf1;

  /* Reseñas y Calificaciones (Warm Amber) */
  --amber-gold: #f59e0b;
  --amber-gold-bg: #fffbeb;

  /* Escala Neutral Limpia (Medical Grade Slate) */
  --slate-950: #0b1329;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;
  --danger: #dc2626;

  /* Tipografías */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radios */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-pill: 9999px;

  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 28px -6px rgba(15, 23, 42, 0.09);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.08);

  /* Layout */
  --max-w: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--slate-50);
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

[id], :target, .order-grid-home, .order-card, #order-container, #order-card {
  scroll-margin-top: 5.8rem;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--slate-50);
}

img, picture, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

/* Contenedor */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==========================================================================
   HEADER & NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

.site-footer .brand-icon {
  width: 2rem !important;
  height: 2rem !important;
  border-radius: var(--radius-sm) !important;
}

.site-footer .brand-icon svg {
  width: 20px !important;
  height: 20px !important;
}

.brand-text span {
  color: var(--brand-blue);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }

  .brand-logo {
    justify-self: start;
  }

  .nav-desktop {
    display: flex;
    justify-self: center;
  }

  .header-actions {
    justify-self: end;
  }
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--slate-600);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: var(--slate-950);
}

.nav-link.active {
  color: var(--slate-950);
  font-weight: 700;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--cta-color);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 959px) {
  .header-actions .btn {
    display: none;
  }
}

.menu-toggle-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-800);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}

.menu-toggle-btn:hover {
  background: var(--slate-100);
}

@media (min-width: 960px) {
  .menu-toggle-btn {
    display: none;
  }
}

/* Mobile Dropdown Panel */
.mobile-panel {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem var(--gutter);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.mobile-nav-link {
  color: var(--slate-700);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--cta-color);
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  line-height: 1;
  text-align: center;
}

.btn-primary {
  background: var(--cta-gradient);
  color: var(--white);
  padding: 0.875rem 1.85rem;
  font-size: 1rem;
  box-shadow: var(--cta-shadow);
  border: none;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--cta-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow-hover);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--white);
  color: var(--slate-800);
  border: 1.5px solid var(--slate-300);
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--slate-100);
  border-color: var(--slate-400);
  color: var(--slate-950);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--slate-950);
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-amber:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
}

.text-link {
  color: var(--health-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--health-green-dark);
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--health-green);
  margin-bottom: 0.75rem;
}

.eyebrow-dark {
  color: var(--health-green-dark);
  background: var(--health-green-bg);
  border: 1px solid var(--health-green-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .eyebrow-dark {
    font-size: clamp(0.6875rem, 3.1vw, 0.75rem);
    letter-spacing: 0.025em;
    padding: 0.3rem 0.7rem;
  }
}

/* ==========================================================================
   HERO SECTION (LUMINOSO, LIMPIO, ENFOCADO EN EL PRODUCTO)
   ========================================================================== */
.hero-section {
  background: var(--white);
  color: var(--slate-900);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--slate-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-section {
    min-height: calc(100vh - 4.5rem);
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-section > .wrap {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--slate-950);
}

.hero-title span {
  color: inherit;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.68;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.hero-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 600px) {
  .hero-badges {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--slate-700);
  font-weight: 500;
}

.hero-badge-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: var(--radius-pill);
  background: var(--health-green-bg);
  color: var(--health-green);
  border: 1px solid var(--health-green-border);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.hero-pricing-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.price-strike {
  font-size: 1.25rem;
  color: var(--slate-400);
  text-decoration: line-through;
  font-weight: 600;
}

.price-big {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--slate-900);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  width: 100%;
  max-width: 17.5rem; /* 280px */
  max-height: 430px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(15, 23, 42, 0.12));
}

@media (max-width: 959px) {
  .hero-img {
    max-width: 13.5rem; /* 216px */
    max-height: 330px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-white {
  background: var(--white);
}

.section-slate {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* Grilla de 4 Ingredientes */
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ingredients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ingredient-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--health-green);
}

.ingredient-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--health-green-bg);
  color: var(--health-green);
  border: 1px solid var(--health-green-border);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.ingredient-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.ingredient-desc {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* Grilla de 3 Fases de Acción */
.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .phases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.phase-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.phase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.phase-number {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--health-green-dark);
  background: var(--health-green-bg);
  border: 1px solid var(--health-green-border);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 1rem;
}

.phase-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.phase-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* Sección 2 Columnas con Imagen Lifestyle */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.lifestyle-img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
}

/* Acordeón FAQ */
.faq-list {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--slate-400);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--slate-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--health-green);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--slate-700);
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

/* ==========================================================================
   SECCIÓN DE PEDIDO INFERIOR (HOME)
   ========================================================================== */
.order-section {
  background: var(--slate-50);
  color: var(--slate-900);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--slate-200);
}

.order-grid-home {
  display: grid;
  grid-template-columns: minmax(280px, 440px) minmax(280px, 430px);
  gap: 2.5rem;
  align-items: stretch;
  justify-content: center;
  max-width: 940px;
  margin: 0 auto;
}

.order-image-col {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.order-image-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200);
}

@media (max-width: 959px) {
  .order-grid-home {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 430px;
    align-items: center;
  }

  .order-image-col {
    position: static;
    height: auto;
  }

  .order-image-col img {
    position: static;
    height: auto;
    max-height: 380px;
    width: 100%;
  }
}

/* ==========================================================================
   TARJETA DE PEDIDO (ORDER CARD)
   ========================================================================== */
.order-card {
  background-color: var(--white);
  color: var(--slate-900);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
}

.order-header {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  padding: 1.15rem 1.4rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.order-header-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2dd4bf;
  margin-bottom: 0.3rem;
}

.order-title {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.3rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.order-subtitle {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.35;
  text-align: left;
}

.order-body {
  padding: 1.15rem 1.35rem 1.35rem;
  background-color: var(--white);
  position: relative;
  z-index: 1;
}

.order-price-banner {
  background-color: var(--health-green-bg);
  border: 1px solid var(--health-green-border);
  border-radius: var(--radius-lg);
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.order-price-left {
  display: flex;
  flex-direction: column;
}

.order-price-left .order-new-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: #0f4a3e;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.order-price-left .order-new-price .price-unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d7477;
}

.order-price-left .order-price-label {
  font-size: 0.725rem;
  color: var(--health-green-dark);
  font-weight: 600;
  margin-top: 0.2rem;
}

.order-price-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.order-volume-pill {
  border: 1px solid var(--health-green);
  color: var(--health-green-dark);
  background-color: var(--white);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-pill);
}

.order-stock-status {
  font-size: 0.775rem;
  color: var(--health-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Form Inputs */
.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 0.3rem;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  background-color: var(--slate-50);
  color: var(--slate-900);
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input:focus {
  border-color: var(--cta-color);
  box-shadow: 0 0 0 3px rgba(255, 85, 56, 0.18);
  background-color: var(--white);
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  background-color: var(--slate-50);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.phone-input-group:focus-within {
  border-color: var(--cta-color);
  box-shadow: 0 0 0 3px rgba(255, 85, 56, 0.18);
  background-color: var(--white);
}

.phone-prefix {
  background-color: var(--slate-100);
  border-right: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--slate-700);
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.phone-input-group .form-input {
  border: none;
  background: transparent;
  padding: 0.65rem 0.85rem;
  box-shadow: none !important;
}

.form-input.is-invalid, .phone-input-group.is-invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
  background-color: #fff5f5;
}

.btn-submit-order {
  width: 100%;
  background: var(--cta-gradient);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px -2px rgba(255, 85, 56, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-top: 0.35rem;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-submit-order:hover {
  background: var(--cta-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -3px rgba(255, 85, 56, 0.52);
}

.btn-submit-order:active {
  transform: translateY(0);
}

.order-guarantees-list {
  list-style: none;
  padding: 0;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.775rem;
  color: var(--slate-600);
}

.order-guarantees-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.order-guarantees-list li span.check,
.order-guarantees-list .check {
  color: var(--health-green);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   GRID SUBPÁGINAS (SCROLLING LEFT, STICKY RIGHT)
   ========================================================================== */
.subpage-hero {
  background: var(--white);
  color: var(--slate-900);
  padding: 2.75rem 0 3rem 0;
  border-bottom: 1px solid var(--slate-200);
}

.subpage-hero .hero-title {
  color: var(--slate-950);
}

.subpage-hero .section-lead {
  color: var(--slate-600) !important;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--slate-600);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--health-green);
}

.breadcrumbs .separator {
  color: var(--slate-400);
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
  width: 100%;
}

@media (min-width: 1024px) {
  .subpage-grid {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 2.5rem;
  }
  .sticky-col {
    position: -webkit-sticky;
    position: sticky;
    top: 5.5rem;
  }
}

.article-content {
  min-width: 0;
  max-width: 100%;
  color: var(--slate-800);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--slate-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.35rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Tablas Nutricionales VRN */
.vrn-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0 2rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

.vrn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  text-align: left;
}

.vrn-table th {
  background: var(--slate-100);
  color: var(--slate-800);
  font-weight: 700;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate-200);
}

.vrn-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--slate-100);
}

.vrn-table tr:last-child td {
  border-bottom: none;
}

.vrn-table tr:hover td {
  background: var(--slate-50);
}

/* Reviews en /opiniones/ */
.reviews-summary-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
  .reviews-summary-box {
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
  }
}

.review-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #334155, #1e293b);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-author-name {
  font-weight: 700;
  color: var(--slate-900);
  font-size: 1rem;
}

.review-author-city {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

.review-rating-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.review-stars {
  color: var(--amber-gold);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--health-green-dark);
  background: var(--health-green-bg);
  border: 1px solid var(--health-green-border);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.review-text {
  font-size: 0.975rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.review-live-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   STICKY MOBILE CTA BAR (SOLO MÓVILES <1024PX)
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
}

@media (max-width: 1023px) {
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--slate-200);
    padding: 0.75rem var(--gutter);
    align-items: center;
    justify-content: space-between;
    z-index: 40;
    transform: translateY(120%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  }

  .sticky-mobile-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-bar-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .mobile-bar-price .old {
    font-size: 0.875rem;
    color: var(--slate-400);
    text-decoration: line-through;
  }

  .mobile-bar-price .new {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--slate-900);
  }
}

@media (min-width: 1024px) {
  .sticky-mobile-bar {
    display: none !important;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1023px) {
  .site-footer {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.925rem;
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate-500);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-legal-links {
    justify-content: flex-start;
  }
}

.footer-legal-links a:hover {
  color: var(--white);
}
