/* ===========================================================
   Sin Parásitos México — Design System
   Palette extracted from Wortex bottle: green / navy / white + red accent
   =========================================================== */
:root {
  /* Brand */
  --green: #4f9d3a;
  --green-dark: #3a7a2a;
  --green-light: #e8f4e3;
  --green-pale: #f4faf1;
  --navy: #2b3a55;
  --navy-light: #41577c;
  --coral: #d8473b;
  --coral-dark: #b8392f;
  --trust: #10b981;
  --gold: #f2a516;

  /* Neutrals */
  --ink: #1f2733;
  --gray-700: #4a5566;
  --gray-500: #6b7686;
  --gray-300: #cdd4de;
  --gray-200: #e4e8ee;
  --gray-100: #f1f4f8;
  --white: #ffffff;
  --off: #f7f9fc;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px;

  /* Radius */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 9999px;

  /* Shadow */
  --sh-sm: 0 2px 8px rgba(31,39,51,.06);
  --sh-md: 0 8px 24px rgba(31,39,51,.10);
  --sh-lg: 0 18px 44px rgba(31,39,51,.14);

  --max: 1160px;
  --section-y: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: 'Outfit', 'Inter', sans-serif; color: var(--navy); line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
p { margin-bottom: var(--s-4); }
strong { color: var(--navy); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); }
.container-narrow { max-width: 820px; }
.section { padding: var(--section-y) 0; }
.section--pale { background: var(--green-pale); }
.section--gray { background: var(--off); }
.section--navy { background: var(--navy); color: #dde4f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.center { text-align: center; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-10); }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { color: var(--gray-700); font-size: 1.06rem; }
.heading-accent { position: relative; display: inline-block; padding-bottom: 12px; }
.heading-accent::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 64px; height: 4px; border-radius: var(--r-full); background: linear-gradient(90deg, var(--green), var(--trust)); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.02rem; padding: 15px 30px; border-radius: var(--r-full); border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; text-align: center; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--green-dark), #2c5e1f); color: #fff; box-shadow: 0 10px 24px rgba(79,157,58,.32); }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(79,157,58,.42); color: #fff; }
.btn--coral { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff; box-shadow: 0 10px 24px rgba(216,71,59,.32); }
.btn--coral:hover { color: #fff; box-shadow: 0 14px 30px rgba(216,71,59,.42); }
.btn--ghost { background: #fff; color: var(--green-dark); border: 2px solid var(--green); }
.btn--ghost:hover { background: var(--green-pale); color: var(--green-dark); }
.btn--lg { padding: 18px 38px; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- Promo / trust bar ---------- */
.promobar { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; font-size: .92rem; }
.promobar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-8); padding: 9px var(--s-6); text-align: center; }
.promobar span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--gray-200); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo__mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--green), var(--green-dark)); display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
.logo b { color: var(--green-dark); }
.nav { display: flex; align-items: center; gap: var(--s-6); }
.nav a { color: var(--gray-700); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--green-dark); text-decoration: none; }
.nav a.btn--primary, .nav a.btn--coral { color: #fff; }
.nav a.btn--primary:hover, .nav a.btn--coral:hover { color: #fff; }
.nav__cta { padding: 9px 20px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; border-radius: 3px; background: var(--navy); transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--green-pale) 0%, #fff 55%); padding: var(--s-16) 0 var(--s-20); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-12); align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--green); color: var(--green-dark); font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: var(--r-full); margin-bottom: var(--s-5); box-shadow: var(--sh-sm); }
.hero h1 { margin-bottom: var(--s-4); }
.hero__lead { font-size: 1.16rem; color: var(--gray-700); margin-bottom: var(--s-6); }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero__media { position: relative; display: grid; place-items: center; }
.hero__media img { filter: drop-shadow(0 24px 48px rgba(43,58,85,.22)); }
.hero__blob { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 60% 40%, rgba(79,157,58,.18), transparent 60%); }
.hero__stats { display: flex; gap: var(--s-8); flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: 'Outfit'; font-size: 1.7rem; color: var(--green-dark); }
.hero__stat span { font-size: .86rem; color: var(--gray-500); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: .86rem; color: var(--gray-500); padding: var(--s-4) 0; }
.breadcrumbs a { color: var(--gray-700); }
.breadcrumbs span { margin: 0 6px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

/* Product card */
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.pcard__media { background: linear-gradient(160deg, var(--green-pale), #fff); aspect-ratio: 4/3; display: grid; place-items: center; padding: var(--s-5); position: relative; }
.pcard__media img { max-height: 200px; width: auto; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(43,58,85,.16)); }
.pcard__badge { position: absolute; top: 12px; left: 12px; background: var(--coral); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: var(--r-full); }
.pcard__flag { position: absolute; top: 12px; right: 12px; background: #fff; border: 1px solid var(--gray-200); font-size: .74rem; font-weight: 700; color: var(--navy); padding: 4px 11px; border-radius: var(--r-full); }
.pcard__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .76rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.pcard__name { font-size: 1.22rem; margin-bottom: 6px; }
.pcard__desc { font-size: .94rem; color: var(--gray-700); margin-bottom: var(--s-4); flex: 1; }
.pcard__rating { display: flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--gray-500); margin-bottom: var(--s-3); }
.stars { color: var(--gold); letter-spacing: 1px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-top: auto; }
.pcard__price { font-family: 'Outfit'; }
.pcard__price b { font-size: 1.4rem; color: var(--navy); }
.pcard__price s { display: block; font-size: .82rem; color: var(--gray-500); }

/* Bullets */
.checklist { list-style: none; display: grid; gap: var(--s-3); }
.checklist li { position: relative; padding-left: 30px; color: var(--gray-700); }
.checklist li::before { content: '❖'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }
.checklist--white li { color: #d7ddea; }
.checklist--white li::before { color: var(--trust); }

/* Feature / step */
.feature { text-align: center; }
.feature__icon { width: 62px; height: 62px; margin: 0 auto var(--s-4); border-radius: var(--r-md); background: var(--green-light); display: grid; place-items: center; font-size: 1.6rem; }
.steps { counter-reset: step; display: grid; gap: var(--s-6); }
.step { position: relative; padding-left: 68px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #fff; font-family: 'Outfit'; font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }

/* Ingredient card */
.ing { display: flex; gap: var(--s-4); align-items: flex-start; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: var(--s-4); }
.ing__img { width: 84px; height: 84px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.ing h3 { font-size: 1.08rem; margin-bottom: 4px; }
.ing__latin { font-style: italic; color: var(--gray-500); font-size: .84rem; }
.ing p { font-size: .92rem; color: var(--gray-700); margin: 6px 0 0; }

/* Testimonial */
.tmt { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-sm); }
.tmt__head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }
.tmt__avatar { width: 52px; height: 52px; border-radius: var(--r-full); object-fit: cover; }
.tmt__name { font-weight: 700; color: var(--navy); font-size: .98rem; }
.tmt__meta { font-size: .8rem; color: var(--gray-500); }
.tmt__verified { font-size: .74rem; color: var(--trust); font-weight: 700; }
.tmt p { font-size: .96rem; color: var(--gray-700); margin: 0; }

/* Price box */
.pricebox { background: #fff; border: 2px solid var(--green); border-radius: var(--r-xl); padding: var(--s-8); text-align: center; box-shadow: var(--sh-md); }
.pricebox__old { font-size: 1.1rem; color: var(--gray-500); text-decoration: line-through; }
.pricebox__new { font-family: 'Outfit'; font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.pricebox__cur { font-size: 1.2rem; color: var(--green-dark); font-weight: 700; }
.pricebox__discount { display: inline-block; background: var(--coral); color: #fff; font-weight: 700; padding: 4px 14px; border-radius: var(--r-full); margin-bottom: var(--s-4); }

/* Stock bar */
.stock { max-width: 360px; margin: var(--s-4) auto 0; }
.stock__track { height: 10px; background: var(--gray-200); border-radius: var(--r-full); overflow: hidden; }
.stock__fill { height: 100%; background: linear-gradient(90deg, var(--coral), var(--gold)); border-radius: var(--r-full); animation: deplete 50s linear forwards; }
@keyframes deplete { from { width: 62%; } to { width: 21%; } }
.stock__label { font-size: .82rem; color: var(--gray-500); margin-top: 6px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: var(--s-5) 40px var(--s-5) 0; font-family: 'Outfit'; font-weight: 700; font-size: 1.08rem; color: var(--navy); cursor: pointer; position: relative; }
.faq__q::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--green); transition: transform .2s; }
.faq__item.open .faq__q::after { content: '−'; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding-bottom: var(--s-5); color: var(--gray-700); margin: 0; }

/* Country selector */
.geo-select { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-full); padding: 8px 8px 8px 18px; box-shadow: var(--sh-sm); }
.geo-select select { border: none; font-family: 'Outfit'; font-weight: 700; color: var(--navy); font-size: 1rem; padding: 6px 10px; border-radius: var(--r-full); cursor: pointer; background: var(--green-light); }

/* Disclaimer */
.disclaimer { font-size: .82rem; color: var(--gray-500); background: var(--gray-100); border-left: 4px solid var(--green); padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); margin: var(--s-6) 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; border-radius: var(--r-xl); padding: var(--s-12); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: #cfd8e8; max-width: 560px; margin: 0 auto var(--s-6); }

/* Counter pill */
.live-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--green-light); color: var(--green-dark); font-weight: 600; font-size: .9rem; padding: 8px 16px; border-radius: var(--r-full); }
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--trust); box-shadow: 0 0 0 0 rgba(16,185,129,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,185,129,.5);} 70%{box-shadow:0 0 0 10px rgba(16,185,129,0);} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0);} }

/* Prose (articles/legal) */
.prose h2 { margin: var(--s-10) 0 var(--s-4); }
.prose h3 { margin: var(--s-8) 0 var(--s-3); }
.prose p, .prose li { color: var(--gray-700); }
.prose ul, .prose ol { margin: 0 0 var(--s-4) var(--s-6); }
.prose li { margin-bottom: var(--s-2); }
.prose img { border-radius: var(--r-md); margin: var(--s-6) 0; }

/* Table */
.table-wrap { overflow-x: auto; }
table.cmp { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.cmp th, table.cmp td { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--gray-200); text-align: left; }
table.cmp th { background: var(--green-pale); color: var(--navy); font-family: 'Outfit'; }
table.cmp td.yes { color: var(--trust); font-weight: 700; }
table.cmp td.no { color: var(--coral); font-weight: 700; }

/* Footer */
.footer { background: var(--navy); color: #aeb9cd; padding: var(--s-16) 0 var(--s-8); font-size: .92rem; }
.footer a { color: #cdd6e6; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-8); margin-bottom: var(--s-10); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--s-4); }
.footer ul { list-style: none; display: grid; gap: var(--s-2); }
.footer__brand .logo { color: #fff; margin-bottom: var(--s-4); }
.footer__brand .logo b { color: #8fd178; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; font-size: .84rem; }
.footer__disc { font-size: .8rem; color: #8595ad; line-height: 1.6; margin-top: var(--s-6); }

/* Utility */
.mt-2{margin-top:var(--s-2)}.mt-4{margin-top:var(--s-4)}.mt-6{margin-top:var(--s-6)}.mt-8{margin-top:var(--s-8)}
.mb-4{margin-bottom:var(--s-4)}.mb-6{margin-bottom:var(--s-6)}
.tag { display:inline-block; background: var(--green-light); color: var(--green-dark); font-weight:700; font-size:.78rem; padding:4px 12px; border-radius:var(--r-full); }
/* Banner (promo de producto, no galería) — aire lateral, sin recorte */
.banner { padding: var(--s-12) 0; }
.banner__img { display: block; width: 100%; max-width: 820px; margin: 0 auto; border-radius: var(--r-lg); box-shadow: var(--sh-md); background: #fff; }
@media (max-width: 720px) { .banner { padding: var(--s-8) 0; } }

/* SEO: editorial review + author/reviewer */
.editorial { display: flex; align-items: center; gap: var(--s-4); background: var(--green-pale); border: 1px solid var(--gray-200); border-radius: var(--r-md); padding: var(--s-4) var(--s-5); margin: var(--s-6) 0; }
.editorial__avatars { display: flex; flex-shrink: 0; }
.editorial__avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -12px; box-shadow: var(--sh-sm); }
.editorial__avatars img:first-child { margin-left: 0; }
.editorial__text { font-size: .9rem; color: var(--gray-700); }
.editorial__text strong { color: var(--navy); }
.author-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
.author-card { display: flex; gap: var(--s-4); align-items: flex-start; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-sm); }
.author-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-card__role { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green-dark); }
.author-card__name { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.author-card p { font-size: .88rem; color: var(--gray-700); margin: 6px 0 0; }
@media (max-width: 720px) { .author-grid { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
