/* =========================================================
   Renovexil México — hoja de estilos principal
   Sistema visual: verde pino, menta, crema y acento rosa.
   ========================================================= */

:root {
  --ink: #17251f;
  --ink-soft: #33463d;
  --muted: #5c6d64;
  --pine: #123b2e;
  --pine-dark: #0a271e;
  --pine-mid: #1a5540;
  --green: #1f7a55;
  --green-bright: #34a06f;
  --mint: #e9f4ed;
  --mint-2: #d9ecdf;
  --cream: #fbf8f1;
  --cream-2: #f5f0e5;
  --rose: #c9435c;
  --rose-dark: #a8324a;
  --rose-soft: #fbeaee;
  --gold: #c9a25b;
  --line: #dfe9e1;
  --white: #ffffff;
  --shadow-sm: 0 2px 0 rgba(18, 59, 46, 0.04);
  --shadow-card: 0 18px 50px -28px rgba(18, 59, 46, 0.34);
  --shadow-float: 0 24px 70px -24px rgba(18, 59, 46, 0.38);
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 34px;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 3.35vw, 3.05rem);
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

strong {
  font-weight: 700;
}

::selection {
  background: var(--mint-2);
  color: var(--pine);
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow {
  width: min(900px, calc(100% - 48px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

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

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

/* ---------- Iconos ---------- */
.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 18px;
  height: 18px;
}

.icon--lg {
  width: 30px;
  height: 30px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--pine-dark);
  color: #e6f2ea;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-item .icon {
  color: #8fd9b2;
}

.topbar-flag {
  display: inline-flex;
  width: 18px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.topbar-flag span {
  flex: 1;
}

.topbar-flag span:nth-child(1) {
  background: #006847;
}

.topbar-flag span:nth-child(2) {
  background: #fff;
  position: relative;
}

.topbar-flag span:nth-child(2)::after {
  content: "";
  position: absolute;
  inset: 3px 5px;
  border-radius: 50%;
  background: #8b5a2b;
}

.topbar-flag span:nth-child(3) {
  background: #ce1126;
}

.topbar-official {
  color: #b9d5c5;
}

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(18, 59, 46, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 144px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 4px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px -10px rgba(217, 79, 106, 0.8);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--rose-dark);
  transform: translateY(-1px);
}

.header-cta .short {
  display: none;
}

/* CTA dentro del menú: solo visible en el panel móvil */
.nav .nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--pine);
}

.menu-toggle .icon-close {
  display: none;
}

body.nav-open .menu-toggle .icon-menu {
  display: none;
}

body.nav-open .menu-toggle .icon-close {
  display: block;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #b93a54 0%, var(--rose) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(185, 58, 84, 0.72);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--rose-dark) 0%, #b93a54 100%);
}

.btn-dark {
  background: var(--pine);
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(10, 39, 30, 0.7);
}

.btn-dark:hover {
  background: var(--pine-mid);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--pine);
}

.btn-ghost:hover {
  border-color: var(--mint-2);
  background: var(--mint);
}

.btn-block {
  width: 100%;
}

.btn .icon {
  transition: transform 0.2s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(118deg, #f8fbf7 0%, #e7f3ea 52%, #f9edf0 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("hero-bg.webp") center / cover no-repeat;
  opacity: 0.72;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 79, 106, 0.12), transparent 68%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(38px, 5.4vw, 76px) 0 clamp(40px, 4.5vw, 62px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid rgba(18, 59, 46, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.eyebrow .icon {
  color: var(--rose);
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(2.45rem, 4.8vw, 4.45rem);
  line-height: 0.99;
  letter-spacing: -0.043em;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  max-width: 560px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.72;
}

.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: 28px;
}

.price-old {
  color: var(--muted);
  font-size: 1.02rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-new {
  font-size: clamp(2.15rem, 3.3vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--pine);
}

.price-new small {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-item .icon {
  color: var(--green);
}

/* ---------- Galería del producto ---------- */
.product-stage {
  position: relative;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 8% 3% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 79, 106, 0.22), transparent 68%);
  filter: blur(8px);
}

.product-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-float);
  backdrop-filter: blur(10px);
}

.gallery-main {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 18px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, #ffffff 0%, #f4faf6 44%, #e2f1e7 100%);
}

.gallery-main::before {
  content: "";
  position: absolute;
  inset: auto 12% 8% 12%;
  height: 34px;
  border-radius: 50%;
  background: rgba(18, 59, 46, 0.16);
  filter: blur(16px);
}

.gallery-main img {
  position: relative;
  z-index: 1;
  width: auto;
  max-height: 460px;
  filter: drop-shadow(0 26px 24px rgba(18, 59, 46, 0.16));
}

.gallery-offer {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  line-height: 1;
  transform: rotate(7deg);
  box-shadow: 0 10px 22px -8px rgba(185, 58, 84, 0.8);
}

.gallery-offer strong {
  font-size: 1.32rem;
  letter-spacing: -0.04em;
}

.gallery-offer span {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.gallery-thumb {
  display: grid;
  place-items: center;
  height: 76px;
  padding: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #f5f9f6;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb:hover {
  border-color: var(--mint-2);
  background: #fff;
}

.gallery-thumb.is-active {
  border-color: var(--rose);
  background: #fff;
}

.gallery-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.chip .icon {
  color: var(--rose);
}

/* ---------- Aviso oficial ---------- */
.official-note {
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.official-note-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(18, 59, 46, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.official-note-inner .icon {
  width: 30px;
  height: 30px;
  color: var(--green);
}

.official-note-inner strong {
  color: var(--pine);
}

/* ---------- Franja de confianza ---------- */
.trust-strip {
  background: #fff;
  border-top: 1px solid rgba(18, 59, 46, 0.07);
  border-bottom: 1px solid rgba(18, 59, 46, 0.07);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-item .icon {
  color: var(--green);
}

/* ---------- Estadísticas ---------- */
.stats {
  padding: clamp(40px, 5vw, 58px) 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(52, 160, 111, 0.28), transparent 34%),
    linear-gradient(120deg, var(--pine-dark), var(--pine) 58%, #174a38);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.stat {
  padding: 4px 0;
}

.stat + .stat {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.055em;
  color: #fff;
}

.stat-num em {
  font-style: normal;
  color: #8fe0b5;
}

.stat-label {
  display: block;
  max-width: 280px;
  margin-top: 10px;
  color: #d3e5da;
  font-size: 0.91rem;
  line-height: 1.55;
}

.stats-foot {
  margin-top: 26px;
  color: #9db9aa;
  font-size: 0.72rem;
}

/* ---------- Secciones ---------- */
.section {
  padding: clamp(66px, 8vw, 112px) 0;
}

.section--white {
  background: #fff;
}

.section--mint {
  background: linear-gradient(180deg, #f2f9f4 0%, var(--mint) 100%);
}

.section--cream {
  background: var(--cream);
}

.section--flush-top {
  padding-top: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4.5vw, 54px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--rose);
}

.section-head--center .kicker::after {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--rose);
}

.section-head--center .kicker::before {
  display: none;
}

.lead {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.section-head--center .lead {
  margin-inline: auto;
}

.section-footnote {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* ---------- Tarjetas ---------- */
.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.card--soft {
  background: #fdfefd;
}

/* ---------- Bloque partido ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--mint);
  box-shadow: var(--shadow-card);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.media-frame--portrait img {
  aspect-ratio: 4 / 4.6;
}

.media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px -16px rgba(18, 59, 46, 0.45);
  color: var(--pine);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(8px);
}

.media-badge .icon {
  color: var(--rose);
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.check-list .icon {
  margin-top: 2px;
  color: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- Bloque de producto ---------- */
.product-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4.2vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, #ffffff 0%, #f3faf5 45%, #dfefe5 100%);
}

.product-visual::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 12%;
  height: 30px;
  border-radius: 50%;
  background: rgba(18, 59, 46, 0.16);
  filter: blur(15px);
}

.product-visual img {
  position: relative;
  z-index: 1;
  width: auto;
  max-height: 440px;
  filter: drop-shadow(0 22px 22px rgba(18, 59, 46, 0.18));
}

.product-visual-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-copy .lead {
  margin-bottom: 24px;
}

.benefit-list {
  display: grid;
  gap: 16px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.benefit:first-child {
  padding-top: 0;
  border-top: 0;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--rose-soft);
  color: var(--rose-dark);
}

.benefit h3 {
  margin-bottom: 4px;
  font-size: 1.02rem;
}

.benefit p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Antes / después ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ba-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.ba-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: var(--line);
}

.ba-image {
  position: relative;
  overflow: hidden;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.ba-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(18, 59, 46, 0.86);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.ba-tag--after {
  background: rgba(217, 79, 106, 0.92);
}

.ba-body {
  padding: 20px;
}

.ba-body h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.ba-note {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.ba-note strong {
  color: var(--pine);
}

.ba-footnote {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

/* ---------- Composición ---------- */
.ingredients-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.ingredients-head .media-frame img {
  aspect-ratio: 16 / 10;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ingredient {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ingredient-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ingredient-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
}

.ingredient h3 {
  font-size: 1.03rem;
}

.ingredient p {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.62;
}

/* ---------- Pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-media {
  position: relative;
  overflow: hidden;
  background: var(--mint);
}

.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.step-num {
  position: absolute;
  left: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 16px -8px rgba(185, 58, 84, 0.9);
}

.step-body {
  padding: 22px;
}

.step-body h3 {
  margin-bottom: 8px;
}

.step-body p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid #f0d8de;
  border-radius: 16px;
  background: #fff6f8;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.note .icon {
  margin-top: 1px;
  color: var(--rose-dark);
}

.note strong {
  color: var(--pine);
}

/* ---------- Precauciones ---------- */
.precaution-wrap {
  display: block;
  max-width: 980px;
  margin-inline: auto;
}

.precaution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.precaution {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.precaution .icon {
  margin-bottom: 12px;
  color: var(--green);
}

.precaution h3 {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.precaution p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.precaution-wrap > .note {
  margin-top: 20px;
}

/* ---------- Oferta ---------- */
.offer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(52, 160, 111, 0.3), transparent 35%),
    radial-gradient(circle at 92% 90%, rgba(217, 79, 106, 0.18), transparent 38%),
    linear-gradient(130deg, var(--pine-dark), var(--pine) 60%, #164b38);
  color: #fff;
}

.offer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("hero-bg.webp") center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
}

.offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.offer h2 {
  color: #fff;
}

.offer .kicker {
  color: #9fe0bd;
}

.offer .kicker::before,
.offer .kicker::after {
  background: var(--rose);
}

.offer .lead {
  color: #cfe3d7;
}

.offer-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.offer-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e2efe8;
  font-size: 0.94rem;
  line-height: 1.55;
}

.offer-points .icon {
  margin-top: 2px;
  color: #8fe0b5;
}

.offer-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.offer-card-media {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 20%, #fff 0%, #f2f9f4 55%, #e0efe6 100%);
}

.offer-card-media img {
  width: auto;
  max-height: 300px;
  filter: drop-shadow(0 18px 18px rgba(18, 59, 46, 0.18));
}

.offer-card-body {
  padding: 22px 4px 0;
}

.offer-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.offer-price-old {
  color: var(--muted);
  font-size: 1.05rem;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.offer-price-new {
  color: var(--pine);
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.offer-price-new small {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--muted);
}

.offer-card-body .btn {
  margin-top: 18px;
}

.offer-card-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

/* ---------- Opiniones ---------- */
.reviews-grid {
  column-count: 3;
  column-gap: 18px;
}

.review {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 0 18px;
  padding: 24px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.review blockquote {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.62;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 18px;
}

.review-meta img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mint);
}

.review-name {
  display: block;
  color: var(--pine);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.review-role {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.35;
}

.review-photo {
  width: 100%;
  margin-top: 16px;
  border-radius: 13px;
  object-fit: cover;
  aspect-ratio: 5 / 3.2;
}

.reviews-footnote {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(18, 59, 46, 0.14);
}

.faq-item:first-child {
  border-top: 1px solid rgba(18, 59, 46, 0.14);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  color: var(--pine);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

.faq-plus {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus {
  background: var(--mint);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  max-width: 72ch;
  padding: 0 4px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

/* ---------- Pedido ---------- */
.order {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(66px, 8vw, 104px) 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(52, 160, 111, 0.3), transparent 34%),
    linear-gradient(135deg, var(--pine-dark), var(--pine) 62%, #164a37);
  color: #fff;
}

.order::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("hero-bg.webp") center / cover no-repeat;
  opacity: 0.07;
  mix-blend-mode: screen;
}

.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}

.order h2 {
  color: #fff;
}

.order .kicker {
  color: #9fe0bd;
}

.order .kicker::before,
.order .kicker::after {
  background: var(--rose);
}

.order-copy .lead {
  color: #cfe3d7;
}

.order-product {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.order-product img {
  width: 92px;
  height: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3));
}

.order-product-name {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}

.order-product-meta {
  display: block;
  margin-top: 3px;
  color: #b9d4c5;
  font-size: 0.8rem;
}

.order-product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.order-product-price del {
  color: #9bb7a8;
  font-size: 0.82rem;
}

.order-product-price strong {
  color: #fff;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.order-product-price span {
  color: #8fe0b5;
  font-size: 0.72rem;
  font-weight: 800;
}

.order-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.order-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #d6e8dd;
  font-size: 0.88rem;
  line-height: 1.55;
}

.order-list .icon {
  margin-top: 1px;
  color: #8fe0b5;
}

.order-help {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #b9d4c5;
  font-size: 0.84rem;
  line-height: 1.6;
}

.order-help a {
  color: #fff;
  font-weight: 700;
}

.form-card {
  padding: clamp(24px, 3.6vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.form-card h3 {
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  letter-spacing: -0.03em;
}

.form-intro {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.order-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #cfdcd3;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input::placeholder {
  color: #95a69c;
}

.field input:hover {
  border-color: #b8cbbf;
}

.field input:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 122, 85, 0.12);
}

.field input[aria-invalid="true"] {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(217, 79, 106, 0.1);
}

.phone-field {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid #cfdcd3;
  border-right: 0;
  border-radius: 13px 0 0 13px;
  background: #f3f8f4;
  color: var(--pine);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.phone-field input {
  border-radius: 0 13px 13px 0;
}

.field-error {
  display: none;
  color: var(--rose-dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.field-error.is-visible {
  display: block;
}

.consent {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.consent a {
  color: var(--green);
  font-weight: 700;
}

.form-note {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
  text-align: center;
}

.form-note .icon {
  display: inline-block;
  vertical-align: -4px;
  margin-right: 4px;
  color: var(--green);
}

.form-status {
  display: none;
  padding: 14px 16px;
  border: 1px solid #cbe2d4;
  border-radius: 13px;
  background: var(--mint);
  color: var(--pine);
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border-color: #f0c8d1;
  background: #fff5f7;
  color: #7d2437;
}

.form-status strong {
  display: block;
  margin-bottom: 3px;
}

.form-status a {
  color: var(--green);
  font-weight: 700;
}

/* ---------- Cómo pedir ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.how-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.how-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.how-card h3 {
  font-size: 1.02rem;
}

.how-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.how-card img {
  width: 100%;
  margin-top: 18px;
  border-radius: 13px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* ---------- Pie de página ---------- */
.footer {
  padding: clamp(48px, 6vw, 72px) 0 24px;
  background: var(--pine-dark);
  color: #c8dccf;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.85fr));
  gap: 36px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 16px;
  color: #a8c1b2;
  font-size: 0.86rem;
  line-height: 1.65;
}

.footer-title {
  margin-bottom: 13px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 9px;
}

.footer-list a {
  color: #b8cfc1;
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-list a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-contact .icon {
  color: #8fd9b2;
}

.footer-disclaimer {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #8fa99a;
  font-size: 0.74rem;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #7f9a8a;
  font-size: 0.74rem;
}

.footer-bottom a {
  color: #a8c1b2;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ---------- Páginas legales ---------- */
.legal-hero {
  padding: clamp(48px, 6vw, 76px) 0 clamp(28px, 4vw, 42px);
  background: linear-gradient(120deg, #f7fbf7, #e7f3ea 60%, #f9eef1);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.legal-hero p {
  max-width: 680px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-section {
  padding: clamp(48px, 6vw, 76px) 0;
  background: #fff;
}

.prose {
  max-width: 820px;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.prose h2 {
  margin: 34px 0 12px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p + p {
  margin-top: 12px;
}

.prose ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.prose li {
  padding-left: 2px;
}

.prose a {
  color: var(--green);
  font-weight: 700;
}

.prose strong {
  color: var(--pine);
}

.prose .legal-meta {
  margin-bottom: 26px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 34px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

/* ---------- Utilidades ---------- */
.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.text-center {
  text-align: center;
}

.hide {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    gap: 20px;
  }

  .nav-link {
    font-size: 0.87rem;
  }

  .header-cta {
    padding: 0 16px;
    font-size: 0.85rem;
  }

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

  .reviews-grid {
    column-count: 2;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 88px;
  }

  .container,
  .container--narrow {
    width: min(var(--max), calc(100% - 36px));
  }

  .topbar-inner {
    justify-content: center;
    padding: 6px 0;
  }

  .topbar-official {
    display: none;
  }

  .topbar-list {
    gap: 14px;
    justify-content: center;
  }

  .topbar-item {
    font-size: 0.72rem;
  }

  .header-inner {
    gap: 12px;
    min-height: 66px;
  }

  .brand img {
    width: 124px;
  }

  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    z-index: 90;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-float);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav-link {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 0.96rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background: var(--mint);
  }

  .nav .nav-cta {
    display: inline-flex;
    margin-top: 8px;
    min-height: 48px;
    justify-content: center;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 36px;
  }

  .hero h1 {
    max-width: 700px;
  }

  .hero-sub {
    max-width: 640px;
  }

  .product-stage {
    width: min(540px, 100%);
    margin-inline: auto;
  }

  .gallery-main {
    min-height: 390px;
  }

  .gallery-main img {
    max-height: 390px;
  }

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

  .trust-item + .trust-item {
    border-left: 0;
  }

  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .stats-grid {
    gap: 18px;
  }

  .stat + .stat {
    padding-left: 18px;
  }

  .split,
  .product-panel,
  .precaution-wrap,
  .offer-grid,
  .order-grid,
  .ingredients-head {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .product-visual {
    min-height: 380px;
  }

  .product-visual img {
    max-height: 380px;
  }

  .ba-grid,
  .steps,
  .how-grid,
  .ingredients-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ba-card:last-child {
    grid-column: span 2;
  }

  .ba-card:last-child .ba-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .precaution-wrap .media-frame {
    order: -1;
  }

  .precaution-wrap .media-frame img {
    aspect-ratio: 16 / 9;
  }

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

  .footer-brand {
    grid-column: span 3;
  }

  .footer-brand p {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .container,
  .container--narrow {
    width: min(var(--max), calc(100% - 32px));
  }

  .topbar-list .topbar-item:nth-child(3) {
    display: none;
  }

  .topbar-inner {
    min-height: 34px;
  }

  .header-inner {
    min-height: 62px;
  }

  .brand img {
    width: 116px;
  }

  .header-cta .long {
    display: none;
  }

  .header-cta .short {
    display: inline;
  }

  .nav {
    left: 12px;
    right: 12px;
  }

  .hero-inner {
    padding-top: 28px;
    padding-bottom: 30px;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10.4vw, 2.85rem);
    line-height: 1.01;
  }

  .hero-sub {
    margin-top: 17px;
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .price-row {
    margin-top: 21px;
    gap: 9px 11px;
  }

  .price-new {
    font-size: 2.2rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    min-height: 52px;
  }

  .hero-meta {
    gap: 7px 14px;
    margin-top: 17px;
    font-size: 0.78rem;
  }

  .product-card {
    padding: 12px;
    border-radius: 26px;
  }

  .gallery-main {
    min-height: 310px;
    padding: 12px;
    border-radius: 20px;
  }

  .gallery-main img {
    max-height: 310px;
  }

  .gallery-offer {
    width: 66px;
    height: 66px;
    top: 10px;
    right: 10px;
  }

  .gallery-offer strong {
    font-size: 1.1rem;
  }

  .gallery-offer span {
    font-size: 0.55rem;
  }

  .gallery-thumbs {
    gap: 7px;
  }

  .gallery-thumb {
    height: 58px;
  }

  .official-note-inner {
    align-items: flex-start;
    padding: 14px 15px;
    font-size: 0.8rem;
  }

  .official-note-inner .icon {
    width: 24px;
    height: 24px;
    margin-top: 1px;
  }

  .trust-item {
    padding: 16px 10px;
    font-size: 0.77rem;
    gap: 9px;
  }

  .trust-item .icon {
    width: 21px;
    height: 21px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat {
    padding: 16px 0;
  }

  .stat + .stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .stat-num {
    font-size: 2.6rem;
  }

  .stat-label {
    margin-top: 4px;
    font-size: 0.86rem;
  }

  .section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.35rem);
    line-height: 1.08;
  }

  .lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .ingredients-grid,
  .steps,
  .how-grid,
  .ba-grid,
  .precaution-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    column-count: 1;
  }

  .ba-card:last-child {
    grid-column: auto;
  }

  .ba-card:last-child .ba-images {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .card,
  .how-card,
  .ingredient {
    padding: 21px;
  }

  .product-panel {
    padding: 18px;
    border-radius: 26px;
  }

  .product-visual {
    min-height: 320px;
    padding: 18px;
  }

  .product-visual img {
    max-height: 320px;
  }

  .product-visual-badge {
    right: 12px;
    top: 12px;
    font-size: 0.68rem;
  }

  .media-frame {
    border-radius: 22px;
  }

  .split {
    gap: 26px;
  }

  .ingredients-head {
    gap: 22px;
  }

  .ingredients-grid {
    gap: 12px;
  }

  .ingredient {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 13px;
  }

  .ingredient-top {
    display: contents;
  }

  .ingredient-icon {
    grid-row: span 2;
    margin-top: 1px;
  }

  .ingredient h3 {
    margin-bottom: 3px;
  }

  .step-media img {
    aspect-ratio: 16 / 9;
  }

  .note {
    padding: 15px;
    font-size: 0.86rem;
  }

  .precaution-wrap {
    gap: 24px;
  }

  .offer-card {
    padding: 18px;
  }

  .offer-card-media {
    min-height: 250px;
  }

  .offer-card-media img {
    max-height: 250px;
  }

  .offer-price-new {
    font-size: 2.15rem;
  }

  .review {
    padding: 20px;
  }

  .faq-item summary {
    padding: 18px 2px;
    font-size: 0.96rem;
  }

  .faq-answer {
    padding-bottom: 20px;
    font-size: 0.91rem;
  }

  .order {
    padding: 56px 0;
  }

  .order-product {
    gap: 14px;
    padding: 14px;
  }

  .order-product img {
    width: 74px;
  }

  .form-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-disclaimer {
    margin-top: 32px;
  }

  .legal-hero {
    padding-top: 40px;
  }

  .prose {
    font-size: 0.93rem;
  }
}

@media (max-width: 380px) {
  .topbar-item {
    font-size: 0.66rem;
  }

  .brand img {
    width: 104px;
  }

  .header-cta {
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .gallery-main {
    min-height: 270px;
  }

  .gallery-main img {
    max-height: 270px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
