/* ==============================================================================
   URO ACTIVE ESPAÑA — DESIGN SYSTEM
   Canvas: Glacial Slate & Cool Crisp Pearl (#f8fafc / #f1f5f9)
   High-Contrast Background: Avoids white/red bottle blending into the canvas
   Typography: Inter Local (0 external requests, 100/100 PageSpeed)
   Primary Trust: Deep Clinical Slate (#0f172a, #1e293b)
   Accent & Highlights: Clinical Cyan & Sapphire (#0284c7, #2563eb)
   CTA Button: High-Converting Vivid Emerald / Medical Teal (#0d9488 -> #0f766e)
   ============================================================================== */

/* ─── Fuentes Locales ──────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Variables Globales ──────────────────────────────────────────────────── */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Slate & Cool Neutrals */
  --slate-950: #020617;
  --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;

  /* Primary Theme Accents */
  --brand-navy: #0f172a;
  --brand-slate: #1e293b;
  --brand-blue: #0284c7;
  --brand-blue-light: #e0f2fe;

  /* CTA Button Colors (Vivid Emerald Teal) */
  --cta-from:   #0d9488;
  --cta-to:     #0f766e;
  --cta-hover:  #115e59;
  --cta-shadow: 0 4px 18px rgba(13, 148, 136, 0.38), 0 2px 6px rgba(13, 148, 136, 0.2);

  /* Accents */
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --red-600:   #dc2626;
  --red-100:   #fee2e2;
  --emerald-600: #059669;
  --emerald-100: #d1fae5;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 45px rgba(15, 23, 42, 0.14);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--slate-50);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--slate-900);
}

ul, ol {
  padding-left: 1.25rem;
}

/* ─── Contenedor Universal ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ─── Cabecera Fija (Header) ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  overflow: hidden;
}

.logo-badge img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.logo-accent {
  color: #e11d48;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 0.5rem 0.25rem;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--slate-900);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.5rem;
  color: var(--slate-800);
  cursor: pointer;
}

/* Panel móvil desplegable */
.mobile-nav-panel {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--slate-800);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--slate-100);
}

/* ─── Botones Principales ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  box-shadow: var(--cta-shadow);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cta-hover) 0%, var(--cta-to) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.45);
  color: var(--white);
}

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

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.1rem;
}

/* ─── Secciones Generales ─────────────────────────────────────────────────── */
.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

.section-white {
  background-color: var(--white);
}

.section-slate {
  background-color: var(--slate-100);
}

.section-dark {
  background-color: var(--slate-900);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.25rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
  background-color: #e0f2fe;
  border: 1px solid rgba(2, 132, 199, 0.22);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-dark .section-eyebrow {
  background-color: rgba(2, 132, 199, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--slate-900);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-dark .section-subtitle {
  color: var(--slate-400);
}

/* ─── Hero Section ────────────────────────────────────────────────────────── */
.hero-section {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: radial-gradient(circle at 80% 20%, #e2e8f0 0%, #f8fafc 60%);
  border-bottom: 1px solid var(--border-light);
  box-sizing: border-box;
}

.hero-section > .container {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-800);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--slate-800);
}

.bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e0f2fe;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-image-wrap img {
  width: auto;
  max-width: 100%;
  max-height: min(520px, 62vh);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.15));
  transition: transform 0.4s ease;
}

.hero-image-wrap img:hover {
  transform: translateY(-4px);
}

/* ─── Grid de Tarjetas de Síntomas ────────────────────────────────────────── */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.symptom-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.symptom-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.symptom-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.symptom-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ─── Grid de 2 Columnas con Foto y Texto ─────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.story-grid.reversed {
  direction: rtl;
}

.story-grid.reversed > * {
  direction: ltr;
}

.story-image-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.story-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.story-content p {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.story-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.story-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--slate-800);
}

.story-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cta-from);
  font-weight: 800;
}

/* ─── Tarjetas de Ingredientes con Estudios PubMed ─────────────────────────── */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.ingredient-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.ing-header {
  margin-bottom: 1rem;
}

.ing-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 0.35rem;
}

.ing-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
}

.ing-scientific {
  display: block;
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-500);
  margin-top: 0.15rem;
}

.ing-desc {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.scientific-box {
  background-color: var(--slate-50);
  border-radius: 12px;
  padding: 1.15rem;
  border-left: 4px solid var(--brand-blue);
  font-size: 0.88rem;
}

.scientific-box h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}

.scientific-box p {
  color: var(--slate-700);
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.pubmed-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pubmed-link:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* ─── Cronograma de Resultados (Timeline) ─────────────────────────────────── */
.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-step {
  display: flex;
  gap: 1.25rem;
  background: var(--white);
  border-radius: 16px;
  padding: 1.35rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--slate-900);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}

.step-body p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ─── Preguntas Frecuentes (FAQ Accordion) ────────────────────────────────── */
.faq-wrap {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #0284c7;
  box-shadow: 0 4px 16px -2px rgba(2, 132, 199, 0.12);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  user-select: none;
}

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

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-400);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  padding: 0.85rem 1.5rem 1.35rem;
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
}

/* ─── Bloque de Pedido (Checkout) ─────────────────────────────────────────── */
.order-section {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
  background: radial-gradient(circle at 50% 30%, #e2e8f0 0%, #f1f5f9 100%);
  border-top: 1px solid var(--border-light);
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.order-presentation {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.order-photo-wrap {
  background: transparent;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.06);
  width: 100%;
  position: relative;
}

.order-photo-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 960px) {
  .order-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }

  .order-presentation {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 430px;
    margin-left: auto;
    margin-right: 0;
  }

  .order-photo-wrap {
    height: 100%;
    width: 100%;
    margin: 0;
  }

  .order-photo-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
  }
}

.order-card {
  background-color: var(--white);
  color: var(--slate-800);
  border-radius: 18px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  scroll-margin-top: 6.8rem;
}

@media (min-width: 960px) {
  .order-grid .order-card {
    margin: 0;
  }
}

.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: #38bdf8;
  margin-bottom: 0.3rem;
}

.order-title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.3rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.order-subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.35;
  text-align: left;
  margin-bottom: 0;
}

.order-body {
  padding: 1.15rem 1.35rem 1.35rem;
  background-color: var(--white);
  position: relative;
  z-index: 1;
}

.order-price-banner {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.order-price-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.order-new-price {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
}

.order-new-price .price-unit,
.price-unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cta-from);
  white-space: nowrap;
}

.order-price-label {
  font-size: 0.725rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.order-price-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.order-volume-pill {
  border: 1px solid #cbd5e1;
  color: #0f766e;
  background-color: var(--white);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.order-stock-status {
  font-size: 0.775rem;
  color: #059669;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* ─── Formulario ──────────────────────────────────────────────────────────── */
.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: 10px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: var(--slate-900);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input::placeholder {
  color: var(--slate-400);
}

.form-input:focus {
  border-color: var(--cta-from);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
  background-color: var(--white);
}

.phone-input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background-color: #f8fafc;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.phone-input-group:focus-within {
  border-color: var(--cta-from);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
  background-color: var(--white);
}

.phone-prefix {
  background-color: #f1f5f9;
  border-right: 1px solid #cbd5e1;
  font-weight: 700;
  font-size: 0.875rem;
  color: #475569;
  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: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  background-color: #fef2f2;
}

.form-err {
  font-size: 0.775rem;
  color: #dc2626;
  margin-top: 0.25rem;
  font-weight: 600;
}

.hidden,
.form-err.hidden {
  display: none !important;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(160deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: var(--white) !important;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.38);
  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;
  gap: 0.5rem;
}

.btn-submit-order span {
  color: var(--white) !important;
  font-weight: 800;
}

.btn-submit-order:hover {
  background: linear-gradient(160deg, #14b8a6 0%, #0d9488 100%);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.48);
}

.btn-submit-order:hover span {
  color: var(--white) !important;
}

.btn-submit-order:active {
  transform: translateY(0);
  color: var(--white) !important;
}

.btn-submit-order:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.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: #475569;
}

.order-guarantees-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.order-guarantees-list .check {
  color: #059669;
  font-weight: 700;
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── Subpáginas / Breadcrumbs / Layout ───────────────────────────────────── */
.subpage-header {
  background: var(--slate-50);
  border-bottom: 1px solid var(--border-light);
  padding: 2.25rem 0 2.5rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-bottom: 0.85rem;
}

.breadcrumb-nav a {
  color: var(--cta-from);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--slate-400);
}

.subpage-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.subpage-lead {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.6;
  max-width: 820px;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 4rem;
}

@media (min-width: 960px) {
  .subpage-grid {
    grid-template-columns: 1fr 390px;
    gap: 3.5rem;
    align-items: stretch;
    padding: 3rem 0 5rem;
  }
}

.subpage-content {
  min-width: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.subpage-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.subpage-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 1.5rem 0 0.75rem;
  line-height: 1.35;
}

.subpage-content p {
  margin-bottom: 1.25rem;
}

.subpage-content ul, .subpage-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.subpage-content li {
  margin-bottom: 0.5rem;
}

.content-media-card {
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.08);
  display: block;
  margin-bottom: 2rem;
}

.content-media-card img {
  width: 100%;
  height: auto;
  max-height: 480px;
  display: block;
  object-fit: cover;
}

.subpage-sidebar {
  height: 100%;
  min-width: 0;
  align-self: stretch;
  position: relative;
}

.sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 5.25rem;
  z-index: 20;
}

.sticky-sidebar .order-card {
  max-width: 100%;
  margin: 0;
}

.subpage-content .ingredients-grid {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 1200px) {
  .subpage-content .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.subpage-content .cards-grid-4 {
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 1200px) {
  .subpage-content .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Sticky Mobile Bar ───────────────────────────────────────────────────── */
.sticky-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

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

  .sticky-info {
    display: flex;
    flex-direction: column;
  }

  .sticky-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
  }

  .sticky-sub {
    font-size: 0.75rem;
    color: var(--slate-300);
  }

  .sticky-btn {
    padding: 0.75rem 1.35rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

/* ─── Pie de Página (Footer) ──────────────────────────────────────────────── */
.site-footer {
  background-color: var(--slate-950);
  color: var(--slate-400);
  padding-top: 4rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--slate-400);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ─── Responsive Queries ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3.5rem;
  }

  .hero-grid, .story-grid, .timeline-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ingredients-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .site-nav, .site-header .btn-primary {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-image-wrap img {
    max-height: 360px;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
