/* ============================================================
   NUVI — Nutrición y vitalidad
   Premium UNISEX · elegante + moderno  ·  Soft UI Evolution
   Paleta: ivory/stone + verde profundo + oro + sage (neutra, unisex)
   (Se conservan los nombres de variables; los valores son neutros)
   ============================================================ */

:root {
  --blush:     #F4F1EA;
  --blush-2:   #ECE7DB;
  --paper:     #FFFFFF;
  --plum:      #25332B;
  --plum-soft: #5C574E;
  --rose:      #2E6B54;
  --rose-2:    #347A60;
  --rose-soft: #D9B978;
  --rose-tint: #EFE8D7;
  --lav:       #5E7D6A;
  --lav-soft:  #AAC1A2;
  --lav-tint:  #E7EDE1;
  --gold:      #B5852F;
  --sage:      #9FB8A6;
  --wa:        #1FA855;
  --wa-dark:   #178446;
  --line:      #E6DFCF;
  --ink-card:  #FBF9F3;

  --maxw: 1180px;
  --r: 18px;
  --r-sm: 12px;
  --soft: 0 24px 50px -28px rgba(37,51,43,.30);
  --soft-sm: 0 12px 28px -18px rgba(37,51,43,.26);
  --ease: cubic-bezier(.22,.61,.36,1);

  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--plum);
  background: var(--blush);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--plum); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--rose); font-weight: 600; }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: .2px;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 14px 26px -14px rgba(46,107,84,.7); }
.btn-primary:hover { background: var(--rose-2); box-shadow: 0 12px 24px -10px rgba(46,107,84,.7), 0 10px 30px -6px rgba(94,125,106,.5), 0 0 18px -4px rgba(181,133,47,.45); }
.btn-plum { background: var(--plum); color: #FBEFF2; }
.btn-plum:hover { background: #5d2f45; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { border: 1.5px solid var(--rose-soft); color: var(--plum); background: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: var(--rose); background: #fff; }
.btn svg, .btn i { font-size: 17px; }

/* ---- Topbar ----------------------------------------------- */
.topbar {
  background: var(--plum); color: #E4EDE6;
  font-size: 12.5px; letter-spacing: 1.4px; text-align: center;
  padding: 9px 16px; text-transform: uppercase;
}
.topbar strong { color: var(--rose-soft); font-weight: 600; }

/* ---- Header ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251,243,241,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand .mark { color: var(--rose); display: flex; }
.brand .word { font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: 4px; color: var(--plum); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 13.5px; letter-spacing: .5px; color: var(--plum-soft); position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0; background: var(--rose); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--plum); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; color: var(--plum); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
.cart-btn i { font-size: 23px; }
.cart-count {
  position: absolute; top: -3px; right: -5px; background: var(--rose); color: #fff;
  font-size: 10.5px; font-weight: 600; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.show { transform: scale(1); }
.nav-toggle { display: none; color: var(--plum); font-size: 26px; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -160px; right: -80px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,125,106,.20), transparent 65%); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -180px; left: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,185,120,.28), transparent 66%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 18px; display: block; }
.hero h1 { font-size: clamp(42px, 6vw, 70px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero-lead { font-size: 17px; color: var(--plum-soft); max-width: 30em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.social-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.social-proof .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.social-proof small { font-size: 13px; color: var(--plum-soft); }
.social-proof b { color: var(--plum); font-weight: 600; }

/* ---- Product render (CSS, swappable) ---------------------- */
.hero-stage { position: relative; display: flex; justify-content: center; gap: 20px; }
.hero-stage::before {
  content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(255,255,255,.9), rgba(236,231,219,.5) 60%, transparent 72%);
}
.tub {
  position: relative; z-index: 1; width: 162px; border-radius: 16px; padding: 36px 16px 28px;
  background:
    linear-gradient(90deg, rgba(74,36,54,.13), rgba(255,255,255,0) 16%, rgba(255,255,255,.9) 47%, rgba(255,255,255,0) 84%, rgba(74,36,54,.13)),
    linear-gradient(180deg, #FFFFFF, #F6E5E9);
  border: 1px solid #F1DCE0;
  box-shadow: var(--soft), inset 0 2px 0 rgba(255,255,255,.85), inset 0 -10px 16px -10px rgba(74,36,54,.10);
  text-align: center;
  transform: translateY(var(--ty, 0)) scale(var(--s, 1)) rotate(var(--rot, 0deg));
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.tub::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: -16px; height: 22px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(74,36,54,.22), transparent 70%); z-index: -1;
}
.tub.raise { --ty: -28px; }
/* Entrada "aparecer" de los envases al entrar en vista */
.reveal .tub { opacity: 0; --s: .8; --rot: -5deg; }
.reveal.in .tub { opacity: 1; --s: 1; --rot: 0deg; }
.hero-stage.in .tub:nth-child(2) { transition-delay: .14s; }
.tub .lid {
  position: absolute; top: -13px; left: 18px; right: 18px; height: 26px; border-radius: 13px;
  background: linear-gradient(180deg, #ECD3A0, var(--rose-soft));
  box-shadow: inset 0 -4px 7px rgba(37,51,43,.14), inset 0 2px 2px rgba(255,255,255,.6), 0 3px 5px rgba(37,51,43,.16);
}
.tub.lav .lid { background: linear-gradient(180deg, #CBDCC4, var(--lav-soft)); }
.tub.sage .lid { background: linear-gradient(180deg, #B6CCBC, var(--sage)); }
.tub .tub-mark { color: var(--rose); font-size: 18px; margin-top: 8px; }
.tub.lav .tub-mark { color: var(--lav); }
.tub .tub-word { font-family: var(--serif); font-size: 25px; font-weight: 700; letter-spacing: 2px; color: var(--plum); line-height: 1; }
.tub .tub-name { font-size: 11px; letter-spacing: 2px; color: var(--rose); margin-top: 8px; font-weight: 600; text-transform: uppercase; }
.tub.lav .tub-name { color: var(--lav); }
.tub .tub-sub { font-size: 9.5px; color: var(--plum-soft); margin-top: 6px; }
.tub .tub-g { font-size: 10px; color: var(--gold); margin-top: 10px; letter-spacing: 1px; }

/* ---- Trust strip ------------------------------------------ */
.trust { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; padding: 24px; }
.trust div { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--plum); letter-spacing: .3px; }
.trust i { color: var(--rose); font-size: 22px; }

/* ---- Sections --------------------------------------------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 54px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 14px; }
.section-head h2 em { font-style: italic; color: var(--rose); }
.section-head p { color: var(--plum-soft); font-size: 16px; }

/* ---- Products --------------------------------------------- */
.products { background: linear-gradient(180deg, var(--blush), var(--blush-2)); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px 26px 26px; display: flex; flex-direction: column; box-shadow: var(--soft-sm);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-7px); box-shadow: var(--soft); }
.card.featured { border-color: var(--rose-soft); position: relative; }
.card.featured::before {
  content: 'Favorito'; position: absolute; top: 16px; right: 16px; background: var(--rose); color: #fff;
  font-size: 10.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.card-badge {
  align-self: flex-start; background: var(--rose-tint); color: var(--rose);
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.card-stage { display: flex; justify-content: center; gap: 8px; padding: 6px 0 22px; }
.card .tub { width: 132px; box-shadow: var(--soft-sm); }
.card h3 { font-size: 27px; margin-bottom: 4px; }
.card .flavor { font-size: 12px; letter-spacing: 1px; color: var(--rose); text-transform: uppercase; margin-bottom: 12px; }
.card .desc { font-size: 14px; color: var(--plum-soft); margin-bottom: 16px; flex: 1; }
.card .benefits { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.card .benefits span { font-size: 11.5px; color: var(--plum); background: var(--lav-tint); padding: 5px 11px; border-radius: 999px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.price { font-family: var(--serif); font-size: 33px; font-weight: 700; color: var(--plum); }
.price-old { font-size: 16px; color: var(--plum-soft); text-decoration: line-through; }
.price-save { font-size: 12px; color: var(--rose); font-weight: 600; }
.card-actions { display: flex; gap: 10px; }
.card-actions .btn { flex: 1; justify-content: center; padding: 13px 16px; font-size: 13px; }
.card-actions .btn-wa { flex: 0 0 auto; padding: 13px 15px; }

/* ---- Editorial split -------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .split-media { order: 2; }
.split-copy h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 18px; }
.split-copy h2 em { font-style: italic; color: var(--rose); }
.split-copy p { color: var(--plum-soft); margin-bottom: 22px; font-size: 16px; }
.benefit-list { display: grid; gap: 16px; }
.benefit-list li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.benefit-list .ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--rose-tint); color: var(--rose);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.benefit-list li:nth-child(2) .ico { background: var(--lav-tint); color: var(--lav); }
.benefit-list h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--plum); margin-bottom: 2px; }
.benefit-list p { font-size: 13.5px; color: var(--plum-soft); margin: 0; }
.split-media { display: flex; justify-content: center; }
.media-panel {
  background: linear-gradient(160deg, var(--rose-tint), var(--lav-tint)); border-radius: 28px;
  padding: 54px 30px; width: 100%; display: flex; justify-content: center; position: relative; overflow: hidden;
}
.media-panel::after { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(194,146,92,.4); top: -70px; right: -70px; }

/* ---- Ritual ----------------------------------------------- */
.ritual { background: var(--plum); color: #DCE8DE; text-align: center; }
.ritual h2 { color: #F4FAF5; font-size: clamp(32px, 4.5vw, 50px); }
.ritual h2 em { font-style: italic; color: var(--rose-soft); }
.ritual .eyebrow { color: var(--rose-soft); }
.ritual .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 48px 0 40px; }
.step .num { font-family: var(--serif); font-size: 42px; color: var(--rose-soft); line-height: 1; }
.step h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: #F4FAF5; margin: 10px 0 6px; }
.step p { font-size: 13px; color: #D9C3CC; }

/* ---- Testimonials ----------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--soft-sm); }
.testi .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testi p { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--plum); margin-bottom: 18px; font-style: italic; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--rose-tint); color: var(--rose); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.testi .who b { font-size: 13.5px; font-weight: 600; color: var(--plum); display: block; }
.testi .who small { font-size: 12px; color: var(--plum-soft); }

/* ---- FAQ -------------------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq summary { font-family: var(--serif); font-size: 21px; color: var(--plum); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--rose); transition: transform .3s; font-size: 20px; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq p { color: var(--plum-soft); font-size: 15px; padding-top: 12px; }

/* ---- CTA band --------------------------------------------- */
.cta-band { background: linear-gradient(180deg, var(--blush-2), var(--blush)); }
.cta-card {
  background: linear-gradient(140deg, var(--rose), var(--lav)); border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-card h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.cta-card p { color: rgba(255,255,255,.9); margin-bottom: 26px; }
.cta-card .btn-plum { background: #fff; color: var(--plum); }
.cta-card .btn-plum:hover { background: var(--blush); }

/* ---- Footer ----------------------------------------------- */
.site-footer { background: var(--plum); color: #B9CBBD; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-grid .word { font-family: var(--serif); font-size: 30px; letter-spacing: 4px; color: #F4FAF5; margin-bottom: 14px; }
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.footer-col h5 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--rose-soft); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: #B9CBBD; transition: color .2s; }
.footer-col a:hover { color: #F4FAF5; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #4a6152; display: flex; align-items: center; justify-content: center; color: #C6D6C9; font-size: 19px; transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.footer-bottom { border-top: 1px solid #3C5145; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }

/* ---- Cart drawer ------------------------------------------ */
.overlay { position: fixed; inset: 0; background: rgba(74,36,54,.45); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 50; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 90vw; background: var(--blush); z-index: 60; transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 25px; }
.drawer-close { color: var(--plum); font-size: 26px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 24px; }
.cart-empty { text-align: center; color: var(--plum-soft); padding: 60px 20px; }
.cart-empty i { font-size: 48px; color: var(--rose-soft); display: block; margin-bottom: 14px; }
.cart-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item .thumb { flex: 0 0 56px; height: 70px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); position: relative; }
.cart-item .thumb .lid { position: absolute; top: 6px; left: 10px; right: 10px; height: 8px; border-radius: 4px; background: var(--rose-soft); }
.cart-item .thumb.olive .lid { background: var(--lav-soft); }
.cart-item .thumb.combo .lid { background: var(--gold); }
.cart-item .ci-info { flex: 1; }
.cart-item .ci-info b { font-family: var(--serif); font-size: 18px; color: var(--plum); font-weight: 600; }
.cart-item .ci-info small { display: block; font-size: 11.5px; color: var(--rose); margin-bottom: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.qty button { width: 28px; height: 28px; color: var(--plum); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--rose-tint); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 600; }
.ci-right { text-align: right; }
.ci-right .ci-price { font-size: 15px; font-weight: 600; color: var(--plum); }
.ci-remove { font-size: 11.5px; color: var(--plum-soft); margin-top: 8px; }
.ci-remove:hover { color: var(--rose); }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.drawer-total span { font-size: 14px; color: var(--plum-soft); }
.drawer-total b { font-family: var(--serif); font-size: 29px; color: var(--plum); }
.drawer-note { font-size: 12px; color: var(--plum-soft); margin-bottom: 16px; display: flex; gap: 7px; align-items: center; }
.drawer-note i { color: var(--wa); }
.drawer-foot .btn { width: 100%; justify-content: center; font-size: 15px; }

/* ---- Floating WhatsApp ------------------------------------ */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 14px 30px -8px rgba(31,168,85,.6); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---- Toast ------------------------------------------------ */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 80px); background: var(--plum); color: #F1F7F2; padding: 14px 22px; border-radius: 999px; font-size: 13.5px; font-weight: 500; z-index: 70; display: flex; align-items: center; gap: 9px; opacity: 0; transition: transform .4s var(--ease), opacity .4s; box-shadow: var(--soft); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast i { color: var(--rose-soft); font-size: 18px; }

/* ---- Reveal ----------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid, .split, .split.flip .split-media { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .product-grid, .testi-grid { grid-template-columns: 1fr; }
  .ritual .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stage { margin-top: 26px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; gap: 4px; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 24px 20px; }
  .nav-links.open a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .section { padding: 62px 0; }
  .trust .wrap { justify-content: flex-start; gap: 14px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
/* ============================================================
   MOTION LAYER — vida y movimiento
   ============================================================ */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(34px,22px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-28px,-20px); } }
@keyframes ctaShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes shine { 0% { transform: translateX(-180%) skewX(-18deg); } 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes lampGrow { from { width: 5rem; opacity: 0; } to { width: 30rem; opacity: 1; } }
@keyframes lampGlow { from { width: 8rem; opacity: 0; } to { width: 22rem; opacity: .75; } }
@keyframes pulseSoft { 0%,100% { opacity: .55; } 50% { opacity: .85; } }

/* Hero: productos flotando + halos a la deriva */
.hero-stage { animation: floaty 6.5s ease-in-out infinite; }
.hero::before { animation: drift1 16s ease-in-out infinite; }
.hero::after  { animation: drift2 19s ease-in-out infinite; }

/* Botones: brillo que cruza al pasar el cursor */
.btn-primary, .btn-plum { position: relative; overflow: hidden; }
.btn-primary::after, .btn-plum::after {
  content: ''; position: absolute; top: 0; left: 0; width: 28%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: translateX(-180%) skewX(-18deg); pointer-events: none;
}
.btn-primary:hover::after, .btn-plum:hover::after { animation: shine .85s ease; }

/* Cierre: degradado en movimiento lento */
.cta-card { background-size: 200% 200%; animation: ctaShift 9s ease-in-out infinite alternate; }

/* Lámpara de luz (sección oscura "Reto 30 días") */
.ritual { position: relative; overflow: hidden; }
.ritual .wrap { position: relative; z-index: 2; }
.lamp { position: absolute; top: 0; left: 0; right: 0; height: 300px; pointer-events: none; z-index: 1; }
.lamp .glow {
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  width: 8rem; height: 150px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(217,185,120,.5), rgba(94,125,106,.3) 45%, transparent 72%);
  filter: blur(26px); opacity: 0;
}
.lamp .bar {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%);
  width: 5rem; height: 3px; border-radius: 3px; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--rose-soft), var(--lav-soft), transparent);
  box-shadow: 0 0 26px 5px rgba(217,185,120,.5);
}
.lamp.lit .glow { animation: lampGlow 1.2s var(--ease) forwards, pulseSoft 4s ease-in-out 1.2s infinite; }
.lamp.lit .bar  { animation: lampGrow 1.1s var(--ease) forwards; }

/* Marquee infinito (cinta de beneficios) */
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee { background: var(--plum); overflow: hidden; padding: 17px 0; border-top: 1px solid #3C5145; border-bottom: 1px solid #3C5145; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 16px; padding: 0 30px;
  font-family: var(--serif); font-style: italic; font-size: 21px; color: #DCE8DE; white-space: nowrap;
}
.marquee-track span i { color: var(--rose-soft); font-size: 13px; font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Contador (count-up) — figuras tabulares para que no salte */
.count { font-variant-numeric: tabular-nums; }

/* Máquina de escribir (gancho) */
.tw-wrap { color: var(--rose); font-style: italic; }
.tw-cursor { display: inline-block; width: 2px; margin-left: 1px; background: var(--rose); animation: caret 1s steps(1) infinite; vertical-align: -2px; }
@keyframes caret { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* Reto 30 días — "incluye" */
.reto-incluye { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 6px 0 34px; }
.reto-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: #EAEFE6; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); padding: 10px 18px; border-radius: 999px; }
.reto-tag i { color: var(--rose-soft); font-size: 18px; }

/* Distribución (países) */
.footer-dist { display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid #3a4a40; }
.footer-dist .dist-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--rose-soft); }
.footer-dist span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: #CFE0D2; }
.footer-dist span i { color: var(--rose-soft); font-size: 17px; }

/* Logo real (con respaldo al wordmark) */
.brand-logo { height: 62px; width: auto; display: none; }
.brand-svg { height: 46px; width: auto; display: block; }
.brand.has-logo { overflow: hidden; }
@keyframes logoShine { 0%, 60% { transform: translateX(-170%) skewX(-20deg); } 80%, 100% { transform: translateX(340%) skewX(-20deg); } }
.brand.has-logo::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,250,235,.85), transparent); transform: translateX(-170%) skewX(-20deg); animation: logoShine 5.5s ease-in-out infinite; pointer-events: none; }
.brand.has-logo .brand-logo { display: block; }
.brand.has-logo .mark, .brand.has-logo .word { display: none; }
.site-footer .footer-logo { height: 56px; width: auto; display: none; margin-bottom: 14px; }
.footer-brand.has-logo .footer-logo { display: block; }
.footer-brand.has-logo .word { display: none; }

/* Foto/infografía real del producto (con respaldo al render CSS) */
.media-panel .product-banner { width: 100%; height: auto; border-radius: 18px; display: none; box-shadow: var(--soft); }
.media-panel.has-banner { background: none; padding: 0; }
.media-panel.has-banner::after { display: none; }
.media-panel.has-banner .product-banner { display: block; }
.media-panel.has-banner .tub { display: none; }

/* Foto real del frasco en tarjetas y hero (respaldo al render CSS) */
.product-photo { display: none; object-fit: contain; }
.card-stage.has-photo .product-photo { display: block; height: 246px; width: auto; max-width: 100%; }
.card.featured .card-stage.has-photo .product-photo { height: 188px; }
.hero-stage.has-photo .product-photo { display: block; height: 300px; width: auto; max-width: 47%; filter: drop-shadow(0 18px 26px rgba(37,51,43,.22)); }
.card-stage.has-photo .tub, .hero-stage.has-photo .tub { display: none; }
.card-stage.has-photo, .hero-stage.has-photo { gap: 10px; }
.hero-stage.has-photo::before { display: none; }

/* ============================================================
   CLUB NUVI — suscripción mensual con obsequios
   ============================================================ */
.sub { background: var(--blush-2); }
.sub-card {
  background: linear-gradient(150deg, var(--plum), #1b2a21); border-radius: 28px;
  padding: 52px 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px;
  align-items: center; color: #E7EFE9; position: relative; overflow: hidden; box-shadow: var(--soft);
}
.sub-card::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(217,185,120,.25); top: -90px; right: -70px; pointer-events: none; }
.sub-copy .eyebrow { color: var(--rose-soft); display: block; margin-bottom: 12px; }
.sub-copy h2 { color: #FCFBF6; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; line-height: 1.08; }
.sub-copy h2 em { font-style: italic; color: var(--rose-soft); }
.sub-copy > p { color: #C7D4CC; margin-bottom: 22px; font-size: 15.5px; }
.sub-copy > p b { color: #FCFBF6; font-weight: 600; }
.sub-perks { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
.sub-perks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #E0E9E3; }
.sub-perks .ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--rose-soft); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; }
.sub-gifts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sub-gifts .gift-label { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose-soft); margin-right: 4px; }
.sub-gifts span:not(.gift-label) { font-size: 12.5px; color: #DCEAE0; border: 1px solid rgba(255,255,255,.2); padding: 6px 13px; border-radius: 999px; }
.sub-form { background: var(--paper); border-radius: 18px; padding: 32px 28px; position: relative; z-index: 1; }
.sub-form h3 { font-size: 25px; margin-bottom: 6px; }
.sub-form-sub { font-size: 13px; color: var(--plum-soft); margin-bottom: 18px; }
.sub-form input { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--sans); font-size: 14px; color: var(--plum); margin-bottom: 12px; background: var(--ink-card); transition: border-color .2s, box-shadow .2s; }
.sub-form input::placeholder { color: #A89E92; }
.sub-form input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(46,107,84,.16); }
.sub-form .btn { width: 100%; justify-content: center; }
.sub-form small { display: block; margin-top: 10px; font-size: 12.5px; text-align: center; min-height: 16px; }
.sub-form small.ok { color: var(--wa); }
.sub-form small.err { color: #B5452B; }
@media (max-width: 820px) { .sub-card { grid-template-columns: 1fr; padding: 34px 26px; gap: 28px; } }

/* ============================================================
   MOVIMIENTO PRO — parallax · tilt 3D · reveals direccionales · video
   ============================================================ */
/* Parallax (fotos del hero + banners) */
.hero-stage.has-photo .product-photo { transform: translateY(var(--parallax, 0px)); }
.media-panel.has-banner .product-banner { transform: translateY(var(--parallax, 0px)); will-change: transform; }
/* Tilt 3D en tarjetas */
.product-grid { perspective: 1100px; }
.card { transform-style: preserve-3d; }
.card.is-tilt { transition: transform .09s ease-out, box-shadow .3s; box-shadow: var(--soft); }
/* Reveals direccionales (deslizan desde los lados) */
.reveal.from-left { transform: translateX(-48px); }
.reveal.from-right { transform: translateX(48px); }
.reveal.from-left.in, .reveal.from-right.in { transform: none; }
/* Video de fondo del hero (se activa si existe assets/hero.mp4) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 1s var(--ease); pointer-events: none; }
.hero-scrim { position: absolute; inset: 0; z-index: 0; display: none; background: linear-gradient(180deg, rgba(244,241,234,.5), rgba(244,241,234,.82)); }
.hero .wrap { position: relative; z-index: 1; }
.hero.has-video .hero-video { opacity: .5; }
.hero.has-video .hero-scrim { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-stage.has-photo .product-photo, .media-panel.has-banner .product-banner { transform: none !important; }
  .reveal.from-left, .reveal.from-right { transform: none; }
  .card.is-tilt { transform: none !important; }
  .hero.has-video .hero-video { opacity: 0; }
}

/* ============================================================
   TIPOGRAFÍA EDITORIAL (estilo Awwwards) + reveal por líneas
   ============================================================ */
.hero h1 { font-weight: 700; font-size: clamp(46px, 6.6vw, 78px); letter-spacing: -1.6px; line-height: .98; }
.section-head h2, .split-copy h2, .cta-card h2, .ritual h2 { letter-spacing: -.6px; }

/* ============================================================
   MÉTODOS DE PAGO
   ============================================================ */
.pagos { background: var(--blush-2); }
.pagos .section-sub { max-width: 560px; margin: 12px auto 0; color: var(--plum-soft); font-size: 15px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.pay-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; box-shadow: var(--soft-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pay-card:hover { transform: translateY(-6px); box-shadow: var(--soft); }
.pay-head { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.pay-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--rose-tint); color: var(--rose); display: flex; align-items: center; justify-content: center; font-size: 27px; flex: 0 0 auto; }
.pay-ico-gold { background: rgba(217,185,120,.2); color: var(--gold); }
.pay-ico-pink { background: rgba(194,29,115,.12); color: #C21D73; }
.pay-head h3 { font-size: 21px; line-height: 1.12; }
.pay-tag { font-size: 12px; letter-spacing: .3px; color: var(--plum-soft); }
.pay-rows { display: grid; gap: 10px; }
.pay-row { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--ink-card); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; text-align: left; font-family: var(--sans); }
button.pay-copy { cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
button.pay-copy:hover { border-color: var(--rose); background: #fff; box-shadow: 0 6px 16px -10px rgba(46,107,84,.5); }
.pay-k { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--plum-soft); flex: 0 0 66px; }
.pay-v { font-size: 14.5px; font-weight: 600; color: var(--plum); flex: 1; word-break: break-word; }
.pay-v small { font-weight: 500; color: var(--plum-soft); }
.pay-copy i { color: var(--rose); font-size: 17px; flex: 0 0 auto; opacity: .5; transition: opacity .2s; }
.pay-copy:hover i { opacity: 1; }
/* Binance — botón "Ver código QR" */
.pay-qr-btn { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; cursor: pointer; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--plum); background: rgba(217,185,120,.16); border: 1px solid var(--rose-soft); border-radius: 12px; padding: 13px 15px; transition: background .2s, box-shadow .2s, transform .12s; }
.pay-qr-btn i { color: var(--gold); font-size: 18px; }
.pay-qr-btn:hover { background: rgba(217,185,120,.3); box-shadow: 0 8px 18px -10px rgba(181,133,47,.6); }
.pay-qr-btn:active { transform: scale(.98); }
.pay-cta { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 16px 26px; flex-wrap: wrap; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px; box-shadow: var(--soft-sm); }
.pay-cta p { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--plum); margin: 0; }
.pay-cta p i { color: var(--wa); font-size: 20px; }
@media (max-width: 720px) { .pay-grid { grid-template-columns: 1fr; } }

/* Modal QR */
.qr-modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.qr-modal.open { display: flex; }
.qr-backdrop { position: absolute; inset: 0; background: rgba(20,28,23,.72); backdrop-filter: blur(3px); }
.qr-card { position: relative; z-index: 1; width: 100%; max-width: 360px; background: linear-gradient(160deg, #1c2a21, #12211a); border: 1px solid rgba(217,185,120,.28); border-radius: 24px; padding: 30px 26px 26px; text-align: center; color: #E7EFE9; box-shadow: 0 30px 70px -20px rgba(0,0,0,.6); animation: qrPop .3s var(--ease); }
@keyframes qrPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.qr-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.1); color: #E7EFE9; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.qr-close:hover { background: rgba(255,255,255,.2); }
.qr-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--rose-soft); margin-bottom: 18px; }
.qr-brand i { font-size: 20px; color: #F0B90B; }
.qr-img-wrap { border-radius: 16px; overflow: hidden; }
.qr-img-wrap img { width: 100%; max-width: 300px; max-height: 62vh; object-fit: contain; display: block; margin: 0 auto; border-radius: 12px; }
.qr-fallback { display: none; }
.qr-img-wrap.no-qr { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 42px 24px; }
.qr-img-wrap.no-qr img { display: none; }
.qr-img-wrap.no-qr .qr-fallback { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #9BB0A2; font-size: 12.5px; line-height: 1.5; }
.qr-img-wrap.no-qr .qr-fallback i { font-size: 54px; color: rgba(217,185,120,.55); }
.qr-note { margin-top: 16px; font-size: 13px; color: #C7D4CC; }
.qr-note b { color: var(--rose-soft); }

/* Reveal por líneas del titular del hero */
.hero-title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .line > span { display: block; transform: translateY(116%); transition: transform 1s var(--ease); will-change: transform; }
.hero-title.in .line > span { transform: translateY(0); }
.hero-title.in .line:nth-child(2) > span { transition-delay: .12s; }

/* Entrada escalonada del resto del hero */
.rise { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.in { opacity: 1; transform: none; }
.hero-copy .eyebrow.rise { transition-delay: .05s; }
.hero-copy .hero-lead.rise { transition-delay: .38s; }
.hero-copy .hero-cta.rise { transition-delay: .48s; }
.hero-copy .social-proof.rise { transition-delay: .58s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; }
  .reveal, .rise { opacity: 1; transform: none; transition: none; }
  .reveal .tub { opacity: 1 !important; --s: 1; --rot: 0deg; }
  .hero-title .line > span { transform: none; transition: none; }
  .lamp .glow, .lamp .bar { opacity: .7; width: 22rem; }
}
