/* ==============================================================================
   HECTONAL CREMA ESPAÑA — DESIGN SYSTEM
   Clean, high-contrast, clinical elegance with light backgrounds.
   Palette: Deep Midnight Navy text (#0a1628), Crisp White (#ffffff),
   Subtle Slate (#f8fafc), Borders (#e2e8f0), Vivid Crimson CTA (#ff3251).
   ============================================================================== */

@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;
}

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg-white: #ffffff;
  --bg-slate: #f8fafc;
  --bg-subtle: #f1f5f9;
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;
  --text-main: #0a1628;
  --text-muted: #4a5e78;
  --text-light: #718ca6;
  --text-inverse: #ffffff;
  --brand-navy: #060f1e;
  --color-primary: #0284c7;
  --color-primary-light: #0ea5e9;
  --cta-from: #ff3251;
  --cta-to: #e61d3d;
  --cta-hover: #ff4764;
  --cta-shadow: rgba(255, 50, 81, 0.38);
  --success-green: #059669;
  --success-bg: #d1fae5;
  --container-max: 1200px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.07);
  --shadow-lg: 0 16px 40px rgba(10, 22, 40, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(6, 15, 30, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.16);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.brand-logo .logo-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #cbd5e1;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px var(--cta-shadow);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 50, 81, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-menu-btn .menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

.mobile-nav-panel {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--brand-navy);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 16px 0;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: block;
  font-size: 1rem;
  color: #cbd5e1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.mobile-nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-cta {
  background: linear-gradient(135deg, var(--cta-from) 0%, var(--cta-to) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--cta-shadow);
}

.btn-cta:hover {
  background: linear-gradient(135deg, var(--cta-hover) 0%, var(--cta-to) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 50, 81, 0.5);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 12px 24px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* ─── Hero Section (Clean Light Theme) ─── */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-light);
  box-sizing: border-box;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.badge-pill {
  display: inline-block;
  align-self: flex-start;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid #bae6fd;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 850;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.hero-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-benefits-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  color: #334155;
  line-height: 1.55;
}

.hero-benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--success-green);
  font-weight: 900;
  font-size: 1.1rem;
}

.hero-cta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-btn {
  align-self: flex-start;
  padding: 16px 34px;
  font-size: 1.05rem;
}

.hero-shipping-note {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--header-height) - 60px);
  max-height: calc(100dvh - var(--header-height) - 60px);
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 20px 35px rgba(10, 22, 40, 0.09));
}

/* ─── Generic Sections ─── */
.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--bg-slate);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.text-center {
  text-align: center;
}

.section-head {
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 12px auto 0;
  line-height: 1.6;
}

/* ─── Symptoms Grid (Section 2) ─── */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.symptom-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.symptom-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #38bdf8;
}

.symptom-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.symptom-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.symptom-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Feature Split (Section 3 & 6 & 7) ─── */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-split-reverse .feature-media {
  order: 2;
}

.feature-split-reverse .feature-content {
  order: 1;
}

.feature-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.feature-img-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.feature-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.25;
}

.feature-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.feature-checklist {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.55;
}

.feature-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-primary-light);
  font-weight: 800;
  font-size: 1.1rem;
}

/* ─── Before / After Grid (Section 4) ─── */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}

.ba-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.ba-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.ba-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 22, 40, 0.85);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.ba-badge-green {
  background: #059669;
}

.ba-info {
  padding: 24px;
}

.ba-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.ba-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Ingredients Grid & PubMed Box (Section 5) ─── */
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.ingredient-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ingredient-badge {
  display: inline-block;
  align-self: flex-start;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.ingredient-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.ingredient-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.scientific-box {
  background: #f8fafc;
  border-left: 3px solid #0ea5e9;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 14px;
}

.scientific-box h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  margin-bottom: 6px;
}

.scientific-box p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 8px;
}

.scientific-reference {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0284c7;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: underline;
}

.scientific-reference:hover {
  color: #0369a1;
}

/* ─── FAQ Accordion (Section 9) ─── */
.faq-accordion {
  max-width: 860px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.faq-item.is-open,
.faq-item.is-active {
  border-left-color: var(--color-primary);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon,
.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f9ff;
}

.faq-item.is-open .faq-icon,
.faq-item.is-open .faq-toggle-icon,
.faq-item.is-active .faq-icon,
.faq-item.is-active .faq-toggle-icon {
  transform: rotate(45deg);
  background: #e0f2fe;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.faq-item.is-open .faq-answer,
.faq-item.is-active .faq-answer {
  display: block;
}

/* ─── Order Section Split (Section 10 #pedido) ─── */
.section-order {
  background: linear-gradient(180deg, var(--bg-slate) 0%, #ffffff 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.order-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}

.order-pack-showcase {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.order-pack-showcase img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  margin: 0 auto;
}

.order-pack-caption {
  margin-top: 18px;
}

.pack-badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.order-pack-caption p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.order-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.order-badge-save {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.order-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.order-card-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.order-pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.price-current {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.price-old {
  font-size: 1.35rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-save-tag {
  background: #059669;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

.btn-submit-order {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  margin-top: 8px;
}

.order-guarantees {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guarantee-icon {
  font-size: 1.1rem;
}

/* ─── Footer ─── */
.site-footer {
  background-color: var(--brand-navy);
  color: #94a3b8;
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 850;
  color: #ffffff;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-bio {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #94a3b8;
  margin-bottom: 16px;
}

.footer-contact a {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.825rem;
  color: #64748b;
}

/* ─── Sticky Mobile Bar ─── */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: none;
}

.sticky-mobile-bar.is-visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.sticky-bar-old {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: #94a3b8;
  font-weight: 600;
}

.sticky-bar-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.sticky-bar-badge {
  font-size: 0.72rem;
  color: #16a34a;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sticky-bar-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ─── Subpages Styling ─── */
.subpage-breadcrumbs {
  background-color: var(--bg-slate);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  font-size: 0.875rem;
}

.subpage-breadcrumbs a {
  color: var(--text-muted);
}

.subpage-breadcrumbs a:hover {
  color: var(--color-primary);
}

.subpage-breadcrumbs .sep {
  margin: 0 8px;
  color: var(--border-strong);
}

.subpage-layout {
  padding-top: 40px;
  padding-bottom: 70px;
  max-width: 920px;
}

.subpage-header {
  margin-bottom: 32px;
}

.subpage-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 14px;
}

.subpage-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.subpage-image-box {
  margin: 0 0 2.5rem;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.subpage-image-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.subpage-section {
  margin-bottom: 40px;
}

.subpage-section h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.35;
}

.subpage-section p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.subpage-order-box {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 2px dashed var(--border-light);
}

/* Reviews Page Grid */
.reviews-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.review-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2px;
}

.review-rating {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 8px 0 8px 0;
}

.review-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-img-wrapper {
  margin-top: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 1 / 1;
}

.review-user-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .badge-pill {
    align-self: center;
  }
  .hero-btn {
    align-self: center;
  }
  .hero-shipping-note {
    justify-content: center;
  }
  .symptoms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .feature-split, .feature-split-reverse, .before-after-grid, .ingredients-grid, .order-split-grid, .reviews-page-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-split-reverse .feature-media {
    order: 1;
  }
  .feature-split-reverse .feature-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .header-cta-btn {
    display: none !important;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .sticky-mobile-bar {
    display: block;
  }
  .hero-section {
    min-height: auto;
    padding: 36px 0 48px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .section {
    padding: 48px 0;
  }
  .symptoms-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .site-footer {
    padding-bottom: calc(30px + 85px + env(safe-area-inset-bottom, 0px));
  }
}



/* ─── EXACT ICEXIN.ES CHECKOUT & ORDER CARD ──────────────────────────────── */
.checkout-section {
  scroll-margin-top: 72px;
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--border-light);
}

#pedido .section-head,
#pedido .section-header {
  scroll-margin-top: 92px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .checkout-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.checkout-visual-box {
  width: 100%;
  max-width: 440px;
  height: 100%;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.06);
  position: relative;
  background-color: #ffffff;
}

.checkout-visual-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 899px) {
  .checkout-visual-box {
    height: auto;
    min-height: 360px;
    aspect-ratio: 1 / 1;
  }
  .checkout-visual-box img {
    position: static;
    height: 100% !important;
  }
}

/* Tarjeta Formulario de Pedido (Estilo Oficial icexin.es) */
.order-card {
  scroll-margin-top: 84px;
  background-color: #ffffff !important;
  color: #0a1628;
  border-radius: 18px !important;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 6px 16px -2px rgba(15, 23, 42, 0.06) !important;
  border: 1px solid #e2e8f0 !important;
  position: relative;
  overflow: hidden !important;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 !important;
}

.order-header {
  background: linear-gradient(180deg, #070f1e 0%, #0d1b32 100%);
  color: #ffffff;
  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: #ffffff !important;
  margin: 0 0 0.3rem 0;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}

.order-subtitle {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72) !important;
  line-height: 1.38;
  text-align: left;
  margin: 0;
}

.order-body {
  padding: 1.15rem 1.35rem 1.35rem;
  background-color: #ffffff;
  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: #0a1628;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.order-new-price .price-unit {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0284c7;
  white-space: nowrap;
}

.order-price-label {
  font-size: 0.725rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1.25;
}

.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: #0284c7;
  background-color: #ffffff;
  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: #16a34a;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  text-align: left;
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  color: #0f172a;
  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: #94a3b8;
}

.form-input:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
  background-color: #ffffff;
}

.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: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
  background-color: #ffffff;
}

.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 !important;
}

.phone-input-group.is-invalid .phone-prefix {
  border-right-color: #ef4444 !important;
  background-color: #fee2e2 !important;
}

.form-error-msg {
  display: none;
  font-size: 0.775rem;
  color: #dc2626;
  margin-top: 0.25rem;
  font-weight: 600;
  text-align: left;
}

.form-input.is-invalid ~ .form-error-msg,
.phone-input-group.is-invalid ~ .form-error-msg {
  display: block;
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(160deg, #ff3251 0%, #e61d3d 100%);
  color: #ffffff !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(255, 50, 81, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.btn-submit-order span {
  color: #ffffff !important;
  font-weight: 800;
}

.btn-submit-order:hover {
  background: linear-gradient(160deg, #ff4764 0%, #d11231 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 50, 81, 0.48);
}

.order-guarantees-list {
  list-style: none;
  padding: 0;
  margin-top: 0.85rem;
  margin-bottom: 0;
  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;
  text-align: left;
}

.order-guarantees-list .check {
  color: #16a34a;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── EXACT ICEXIN.ES SUBPAGE STRUCTURE ──────────────────────────────────── */
.subpage-header {
  padding: 2.75rem 0 2.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
  color: #0284c7;
}

.breadcrumb-sep {
  color: var(--border-strong);
}

.subpage-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .subpage-title {
    font-size: 1.85rem;
  }
}

.subpage-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 820px;
  line-height: 1.6;
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .subpage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.subpage-grid-single {
  grid-template-columns: minmax(0, 1fr) !important;
  max-width: 860px;
  margin: 0 auto;
}

.subpage-content {
  min-width: 0;
  width: 100%;
}

.subpage-content > :first-child {
  margin-top: 0 !important;
}

.subpage-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 2.25rem 0 1rem;
  line-height: 1.3;
}

.subpage-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.5rem 0 0.65rem;
}

.subpage-content p {
  font-size: 1.025rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.subpage-image-box {
  margin: 0 0 2rem;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
}

.subpage-image-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.subpage-sidebar {
  height: 100%;
  min-width: 0;
  width: 100%;
}

.sticky-sidebar {
  position: sticky;
  top: 5.5rem;
  z-index: 20;
}

@media (max-width: 1024px) {
  .sticky-sidebar {
    position: static;
  }

  .subpage-sidebar {
    max-width: 440px;
    margin: 2rem auto 0 auto;
  }
}

/* ─── Breadcrumbs y listas para páginas legales ──────────────────────────── */
.breadcrumbs {
  padding: 14px 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs span {
  margin: 0 6px;
  color: #94a3b8;
}

.benefits-feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.benefits-feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-main);
}

.benefits-feature-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--color-primary);
  font-size: 0.85rem;
}
