/* ============================================================
   NEAUVIA PRO — /neauviapro/
   Estilo del portal neauviapro.com: Jost, carbón #1c1c1b, rojo Neauvia.
   Hoja independiente: no depende de styles.css de ZAFFIRO.
   ============================================================ */
:root {
  --dark: #1c1c1b;
  --dark-2: #242423;
  --dark-3: #2e2e2c;
  --red: #c4123b;
  --red-dk: #a30d30;
  --light: #f7f6f4;
  --white: #ffffff;
  --ink: #1c1c1b;
  --muted: #8d8984;
  --soft: #b9b5af;
  --line: #e7e4df;
  --line-dk: rgba(255,255,255,0.12);
  --wa: #25d366;
  --wrap: 1300px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Jost", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--dark); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--white); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

/* ---- Tipografía base ---- */
.kicker { font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--red); }
.kicker--line { display: flex; align-items: center; gap: 1.1rem; }
.kicker--line::before { content: ""; width: 40px; height: 1px; background: currentColor; flex: none; }
.kicker--light { color: rgba(255,255,255,.75); }
.title { margin-top: 1rem; font-weight: 300; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
.title em { font-style: normal; font-weight: 600; color: var(--red); }
.title--light { color: var(--white); }
.sec__lede { margin-top: 1.1rem; max-width: 58ch; font-weight: 300; font-size: 1.05rem; color: #5f5b56; }
.sec__lede--light { color: var(--soft); }

/* ---- Botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 60px; padding: 0 2.4rem; font-weight: 600; font-size: 1rem; letter-spacing: .01em; border: 1px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dk); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--white); }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 1.6rem; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---- Header flotante (blanco) ---- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--white); padding: 12px 12px 14px; }
@media (min-width: 1024px) { .hdr { padding: 16px 40px 18px; } }
.hdr__bar { display: flex; align-items: center; gap: 2rem; height: 64px; padding: 0 16px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(28,28,27,.04); }
@media (min-width: 1024px) { .hdr__bar { height: 76px; padding: 0 40px 0 56px; } .hdr__bar .logo { margin-left: 4%; } }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo img { height: 26px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 32px; } }
.logo__txt { font-size: 1.8rem; font-weight: 400; letter-spacing: .08em; color: var(--red); line-height: 1; }
.logo__pro { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--red); border: 1px solid #d9d6d1; padding: .2rem .45rem .2rem .6rem; line-height: 1.2; }
.hdr__nav { display: none; }
@media (min-width: 1024px) {
  .hdr__nav { display: flex; gap: 2.6rem; margin: 0 auto; }
  .hdr__nav a { position: relative; font-size: .9rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: #4a4744; transition: color .2s; }
  .hdr__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
  .hdr__nav a:hover { color: var(--ink); }
  .hdr__nav a:hover::after, .hdr__nav a.is-current::after { transform: scaleX(1); }
}
.hdr__cta { display: none; }
@media (min-width: 1024px) { .hdr__cta { display: inline-flex; } }
.hdr__toggle { margin-left: auto; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.hdr__toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.hdr__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.hdr__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1024px) { .hdr__toggle { display: none; } }
.hdr__mobile { display: none; flex-direction: column; padding: .5rem 16px 16px; border: 1px solid var(--line); border-top: 0; }
.hdr__mobile.is-open { display: flex; }
.hdr__mobile a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.hdr__mobile .btn { margin-top: 1rem; }
@media (min-width: 1024px) { .hdr__mobile { display: none !important; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--white); padding: 140px 0 0; }
@media (min-width: 1024px) { .hero { padding-top: 200px; } }
.hero__mark { position: absolute; right: -2vw; top: 54%; transform: translateY(-50%); font-weight: 200; font-size: clamp(9rem, 24vw, 22rem); line-height: 1; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.055); white-space: nowrap; pointer-events: none; user-select: none; }
.hero__grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; } }
.hero__title { margin-top: 2.6rem; font-weight: 300; font-size: clamp(2.6rem, 5.2vw, 4.9rem); line-height: 1.02; letter-spacing: -.02em; }
.hero__title strong { display: block; font-weight: 700; color: var(--red); }
.hero__lede { margin-top: 2rem; max-width: 46ch; font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--soft); }
.hero__cta { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 520px) { .hero__cta .btn { flex: 1 1 100%; } }
.hero__stats { margin-top: 4rem; padding: 2.2rem 0 4.5rem; border-top: 1px solid var(--line-dk); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 3.5rem; }
.hero__stats dt { font-weight: 300; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--white); }
.hero__stats dd { margin-top: .55rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .hero__stats { gap: 0 1.6rem; } .hero__stats dd { letter-spacing: .12em; } }

/* Composición de las tres cajas */
.hero__visual { position: relative; padding-bottom: 3rem; }
.stack { position: relative; height: clamp(320px, 38vw, 480px); max-width: 540px; margin: 0 auto; }
.stack__b { position: absolute; display: block; transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.stack__b img { height: 100%; width: auto; max-width: none; object-fit: contain; filter: drop-shadow(0 28px 28px rgba(0,0,0,.45)); }
.stack--stim { left: 8%; bottom: 10%; height: 70%; z-index: 1; }
.stack--hydro { left: 50%; bottom: 13%; height: 64%; z-index: 1; }
.stack--intense { left: 27%; bottom: 8%; height: 82%; z-index: 2; }
/* Al pasar el cursor: la línea elegida queda sólida, las demás translúcidas */
.stack.is-hovering .stack__b { opacity: .38; }
.stack.is-hovering .stack__b.is-active { opacity: 1; transform: translateY(-6px); }
.stack__b:focus-visible { outline: none; }
.stack__b:focus-visible img { filter: drop-shadow(0 0 0 var(--red)) drop-shadow(0 28px 28px rgba(0,0,0,.45)); }
.stack__floor { position: absolute; left: 10%; right: 10%; bottom: 3%; height: 34px; background: radial-gradient(ellipse at center, rgba(0,0,0,.65), transparent 70%); filter: blur(8px); pointer-events: none; }
.stack__label { max-width: 540px; margin: .4rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line-dk); text-align: center; min-height: 3.4rem; }
.stack__label strong { display: block; font-weight: 500; font-size: 1.05rem; color: var(--white); }
.stack__label span { display: block; margin-top: .15rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---- Franja de beneficios ---- */
.perks { background: var(--dark-2); color: var(--white); border-top: 1px solid var(--line-dk); }
.perks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .perks__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.perks__list li { padding: 1.8rem 1rem 1.8rem 0; }
@media (min-width: 1024px) { .perks__list li + li { padding-left: 1.6rem; border-left: 1px solid var(--line-dk); } }
.perks strong { display: block; font-weight: 500; font-size: 1rem; }
.perks span { display: block; margin-top: .25rem; font-size: .82rem; color: var(--muted); }

/* ---- Secciones ---- */
.sec { padding: 90px 0; }
@media (min-width: 1024px) { .sec { padding: 130px 0; } }
.sec--light { background: var(--light); }
.sec--white { background: var(--white); }
.sec--dark { background: var(--dark); color: var(--white); }
.sec__head { margin-bottom: 3.5rem; max-width: 760px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .sec__lede { margin-left: auto; margin-right: auto; }

/* ---- Catálogo ---- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 3rem; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 0 1.6rem 1.1rem; font-size: .82rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #9a958f; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.tabs button:first-child { padding-left: 1.4rem; }
.tabs button:hover { color: var(--ink); }
.tabs button.is-active { color: var(--ink); border-bottom-color: var(--red); }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 600px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.pcard:hover { box-shadow: 0 20px 40px rgba(28,28,27,.08); transform: translateY(-3px); }
.pcard[hidden] { display: none; }
.pcard__img { position: relative; height: 340px; display: flex; align-items: center; justify-content: center; padding: 34px 20px; background: #f4f3f1; }
.pcard__img img { height: 100%; max-width: 85%; width: auto; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,.14)); transition: transform .5s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__img span { display: none; }
.pcard__img.is-missing img { display: none; }
.pcard__img.is-missing span { display: block; font-weight: 300; font-size: 1.3rem; color: var(--muted); }
.pcard__body { flex: 1; display: flex; flex-direction: column; padding: 2rem 1.6rem 1.6rem; }
.pcard__line { font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--red); }
.pcard h3 { margin-top: .6rem; font-weight: 500; font-size: 1.15rem; letter-spacing: .02em; }
.pcard__desc { margin-top: .8rem; font-weight: 300; font-size: .92rem; line-height: 1.65; color: #9a958f; }
.pcard__foot { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.pcard__desc { margin-bottom: 1.4rem; }
.pcard__price { position: relative; display: flex; align-items: center; justify-content: center; min-height: 70px; padding: .6rem 1rem .6rem 2.4rem; border: 1px solid var(--line); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-align: center; line-height: 1.6; color: #9a958f; transition: border-color .2s, color .2s; }
.pcard__price svg { position: absolute; left: .8rem; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); }
.pcard__price:hover { border-color: var(--red); color: var(--red); }

/* ---- Membresía ---- */
.tiers { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tier { position: relative; padding: 2.6rem 2rem 2.2rem; background: var(--light); border-top: 2px solid var(--tc, var(--line)); }
.tier--silver { --tc: #a9adb2; }
.tier--gold { --tc: #c2a15e; }
.tier--platinum { --tc: #4b5258; }
.tier__name { font-size: .78rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--tc); }
.tier__pct { margin-top: 1.2rem; font-weight: 200; font-size: 4.2rem; line-height: 1; letter-spacing: -.02em; }
.tier__pct span { margin-left: .5rem; font-size: .95rem; font-weight: 400; letter-spacing: .04em; color: var(--muted); }
.tier__from { margin-top: .9rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--red); }
.tier ul { margin-top: 1.2rem; }
.tier li { position: relative; padding: .45rem 0 .45rem 1.5rem; font-weight: 300; font-size: .95rem; line-height: 1.5; color: #4a4744; }
.tier li::before { content: "—"; position: absolute; left: 0; color: var(--red); }
.tier li a { color: var(--red); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.exp { position: relative; overflow: hidden; margin-top: 1.5rem; padding: 3.2rem 2rem; display: grid; gap: 2.4rem; align-items: center; background: linear-gradient(115deg, #4d0a1a 0%, #8c0d2e 55%, var(--red) 100%); color: var(--white); }
@media (min-width: 900px) { .exp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 4.2rem 4rem; gap: 4rem; } }
.exp__ghost { position: absolute; right: -1rem; bottom: -2.4rem; font-weight: 200; font-size: clamp(5rem, 12vw, 10rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); pointer-events: none; }
.exp__intro h3 { margin-top: .9rem; font-weight: 300; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; }
.exp__intro p:not(.kicker) { margin-top: 1.2rem; max-width: 44ch; font-weight: 300; color: rgba(255,255,255,.85); }
.exp__card { position: relative; padding: 2.4rem 2rem; border: 1px solid rgba(255,255,255,.22); background: rgba(40,4,14,.28); }
.exp__min { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.exp__min strong { color: var(--white); font-weight: 600; }
.exp__card h4 { margin-top: 1rem; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.1; }
.exp__note { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---- Eventos ---- */
.events { display: grid; gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); }
@media (min-width: 900px) { .events { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.event { padding: 2.4rem 2rem; background: var(--dark); transition: background .3s; }
.event:hover { background: var(--dark-2); }
.event__meta { display: flex; gap: 1rem; align-items: center; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.event__type { color: var(--red); font-weight: 500; }
.event h3 { margin-top: 1.4rem; font-weight: 400; font-size: 1.35rem; line-height: 1.3; }
.event p:not(.event__meta):not(.event__where) { margin-top: .9rem; font-weight: 300; font-size: .95rem; color: var(--soft); }
.event__where { margin-top: 1.6rem; display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--white); }
.event__where svg { width: 16px; height: 16px; color: var(--red); }

/* ---- Educación ---- */
.resgrid { display: grid; gap: 1.5rem; }
@media (min-width: 600px) { .resgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .resgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.res { background: var(--white); border: 1px solid var(--line); padding: 0 0 1.6rem; transition: box-shadow .3s; }
.res:hover { box-shadow: 0 18px 36px rgba(28,28,27,.07); }
.res__thumb { position: relative; height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, var(--dark) 0%, #3a1019 100%); color: rgba(255,255,255,.8); }
.res__thumb svg { width: 48px; height: 48px; transition: transform .3s var(--ease), color .3s; }
.res:hover .res__thumb svg { transform: scale(1.08); color: var(--white); }
.res__dur { position: absolute; right: 12px; bottom: 12px; padding: .15rem .55rem; background: rgba(0,0,0,.55); font-size: .75rem; color: var(--white); }
.res__cat { margin: 1.4rem 1.6rem 0; font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--red); }
.res h3 { margin: .5rem 1.6rem 0; font-weight: 500; font-size: 1.1rem; line-height: 1.35; }

/* ---- Caso clínico ---- */
.case { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .case { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; } }
.case__form { padding: 2.4rem 2rem; background: var(--light); border: 1px solid var(--line); }
.case__lock { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.6rem; padding: .9rem 1rem; background: var(--white); border-left: 2px solid var(--red); font-size: .92rem; }
.case__lock svg { width: 16px; height: 16px; color: var(--red); flex: none; }
.case fieldset { opacity: .55; }
.fld { display: flex; flex-direction: column; margin-bottom: 1.4rem; }
.fld > span { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #4a4744; margin-bottom: .55rem; }
.fld input, .fld textarea { width: 100%; padding: .85rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 0; font-size: 1rem; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--red); }
.fld small { display: none; margin-top: .4rem; font-size: .8rem; color: #ff6b88; }
.fld.is-invalid input { border-color: var(--red); }
.fld.is-invalid small { display: block; }
.chks { display: flex; flex-wrap: wrap; gap: .5rem; }
.chk { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; background: var(--white); border: 1px solid var(--line); font-size: .85rem; }
.drops { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.drop { display: grid; place-items: center; height: 96px; border: 1px dashed #cfcac4; background: var(--white); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.case__consent { font-size: .85rem; color: var(--muted); }
.case__actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 520px) { .case__actions .btn { flex: 1 1 100%; } }

/* ---- Solicitar acceso ---- */
.acceso__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .acceso__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; align-items: start; } }
.acceso__alt { margin-top: 2rem; font-size: .95rem; color: var(--soft); }
.acceso__alt a { color: var(--white); border-bottom: 1px solid var(--red); }
.aform { padding: 2.4rem 2rem; background: var(--dark-2); border: 1px solid var(--line-dk); }
@media (min-width: 768px) { .aform { padding: 3rem; } }
.aform__grid { display: grid; gap: 0 1.2rem; }
@media (min-width: 600px) { .aform__grid { grid-template-columns: 1fr 1fr; } .fld--full { grid-column: 1 / -1; } }
.aform .fld > span { color: var(--soft); }
.aform .fld input { background: transparent; border-color: rgba(255,255,255,.18); color: var(--white); }
.aform .fld input::placeholder { color: #6f6b66; }
.aform .fld input:focus { border-color: var(--red); }
.aform__btn { width: 100%; margin-top: .4rem; }
.aform__btn.is-sending { opacity: .7; pointer-events: none; }
.aform__legal { margin-top: 1.2rem; font-size: .8rem; color: var(--muted); }
.aform__legal a { color: var(--soft); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }

/* ---- Footer ---- */
.ftr { background: #141413; color: var(--soft); padding: 80px 0 32px; font-size: .92rem; }
.ftr__grid { display: grid; gap: 2.6rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dk); }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 2fr 1fr 1fr; } }
.ftr__brand { font-size: 1.6rem; font-weight: 300; letter-spacing: .06em; color: var(--white); margin-bottom: 1rem; }
.ftr__brand span { margin-left: .2rem; font-weight: 600; color: var(--red); }
.ftr__grid p { max-width: 44ch; font-weight: 300; }
.ftr__pro { margin-top: 1rem; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ftr h4 { font-size: .74rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.ftr li { padding: .3rem 0; font-weight: 300; }
.ftr a:hover { color: var(--white); }
.ftr__bottom { padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--muted); }
.ftr__bottom nav { display: flex; gap: 1.6rem; }

/* ---- WhatsApp flotante ---- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 64px; height: 64px; display: grid; place-items: center; background: var(--wa); color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.wa:hover { transform: translateY(-3px); }
.wa svg { width: 32px; height: 32px; }
@media (min-width: 1024px) { .wa { right: 32px; bottom: 32px; width: 70px; height: 70px; } }

/* ---- Gracias ---- */
.thanks { min-height: 100vh; display: flex; align-items: center; padding: 120px 0; }
.thanks__box { position: relative; }

/* ---- Aparición suave ---- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.chk input { width: 14px; height: 14px; padding: 0; margin: 0; border: 1px solid #cfcac4; background: var(--white); -webkit-appearance: auto; appearance: auto; }
@media (max-width: 1023.98px) { .hero__stats { margin-top: 2.6rem; padding-bottom: 0; } .hero__visual { padding-bottom: 2.4rem; } }

/* ---- Sección de acceso (abre la ventana) ---- */
.acceso__box { max-width: 900px; }
.acceso__cta { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 520px) { .acceso__cta .btn { flex: 1 1 100%; } }

/* ---- Ventana "Neauvia Pro: Portal Médico" ---- */
.auth { width: calc(100vw - 2rem); max-width: 460px; max-height: 90dvh; margin: auto; padding: 0; border: 0; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow-y: auto; overscroll-behavior: contain; }
.auth::backdrop { background: rgba(14,14,13,.62); backdrop-filter: blur(3px); }
.auth[open] { animation: authIn .35s var(--ease); }
@keyframes authIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.auth__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem 1rem; background: var(--white); }
.auth__head h2 { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.auth__head h2 span { color: var(--red); }
.auth__close { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); }
.auth__close:hover { color: var(--ink); }
.auth__close svg { width: 18px; height: 18px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 1.6rem; padding: 4px; background: var(--light); border: 1px solid var(--line); }
.auth__tabs button { padding: .6rem .5rem; font-size: .88rem; font-weight: 500; color: var(--muted); transition: background .2s, color .2s; }
.auth__tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.auth__panel { padding: 1.4rem 1.6rem 1.8rem; }
.auth__intro { margin-bottom: 1.2rem; font-size: .82rem; line-height: 1.6; color: var(--muted); }
.auth__note { margin-top: .9rem; font-size: .76rem; line-height: 1.55; color: var(--muted); }
.auth__note--center { text-align: center; }
.auth__note a { color: var(--ink); text-decoration: underline; }
.auth__full { width: 100%; min-height: 52px; }
.auth .fld { margin-bottom: 1rem; }
.auth .fld > span { margin-bottom: .4rem; font-size: .8rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.auth .fld input, .auth .fld select { width: 100%; height: 42px; padding: 0 .85rem; background: var(--white); border: 1px solid #d9d6d1; border-radius: 0; font-size: .95rem; color: var(--ink); -webkit-appearance: none; appearance: none; }
.auth .fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238d8984' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .6rem center; background-size: 16px; padding-right: 2rem; }
.auth .fld input::placeholder { color: #aaa59f; }
.auth .fld input:focus, .auth .fld select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,18,59,.12); }
.auth .fld small { color: var(--red); }
.auth__fiscal { margin: .4rem 0 1rem; padding: 1rem 1rem .2rem; background: var(--light); border: 1px solid var(--line); }
.auth__fiscal legend { float: none; width: auto; max-width: 100%; margin-bottom: .9rem; font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.auth__fiscal .fld > span { font-size: .75rem; }
.auth__fiscal .auth__note { margin: 0 0 .8rem; }
.auth__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.auth__check { display: grid !important; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; padding: .9rem; background: var(--light); border: 1px solid var(--line); }
.auth__check input { width: 16px; height: 16px; margin-top: .15rem; accent-color: var(--red); }
/* Restablecer el control nativo: la regla .auth .fld input elimina por defecto la marca de selección. */
.auth .auth__check input[type="checkbox"] { -webkit-appearance: checkbox; appearance: auto; width: 18px; height: 18px; min-width: 18px; padding: 0; margin: .12rem 0 0; accent-color: var(--red); background: var(--white); cursor: pointer; }
.auth .auth__check input[type="checkbox"]:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.auth__check > span { font-size: .78rem !important; line-height: 1.55; color: #4a4744 !important; margin: 0 !important; }
.auth__check small { grid-column: 1 / -1; }
.auth .aform { padding: 0; background: none; border: 0; }

/* ============================================================
   Cuenta, precios y carrito (Supabase)
   ============================================================ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
html.no-scroll { overflow: hidden; }

.hdr__account { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
@media (min-width: 1024px) { .hdr__account { margin-left: 0; } }
.hdr__cart { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink); }
.hdr__cart svg { width: 22px; height: 22px; }
.hdr__badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: .68rem; font-weight: 600; border-radius: 9px; }
.umenu { position: relative; }
.umenu__btn { display: flex; align-items: center; gap: .6rem; height: 44px; padding: 0 .4rem; }
.umenu__ini { width: 34px; height: 34px; display: grid; place-items: center; background: var(--dark); color: var(--white); font-size: .74rem; font-weight: 600; letter-spacing: .06em; border-radius: 50%; }
.umenu__name { display: none; font-size: .86rem; font-weight: 500; color: var(--ink); max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1200px) { .umenu__name { display: inline; } }
.umenu__list { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 240px; padding: .5rem 0; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.umenu__who { padding: .7rem 1rem .8rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
.umenu__who strong { display: block; font-weight: 600; font-size: .92rem; }
.umenu__who span { display: block; font-size: .78rem; color: var(--muted); word-break: break-all; }
.umenu__list a, .umenu__list button { display: block; width: 100%; padding: .65rem 1rem; text-align: left; font-size: .9rem; color: var(--ink); }
.umenu__list a:hover, .umenu__list button:hover { background: var(--light); color: var(--red); }
@media (max-width: 1023.98px) { .hdr__account .umenu { display: none; } .hdr__toggle { margin-left: 0; } }
.hdr__mobile [data-logout] { margin-top: .6rem; }

/* Tarjeta con precio */
.pcard.is-off { display: none; }
.pcard__amount { display: flex; align-items: baseline; gap: .5rem; }
.pcard__amount strong { font-weight: 500; font-size: 1.45rem; letter-spacing: -.01em; color: var(--ink); }
.pcard__amount span { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pcard__actions { margin-top: .9rem; display: flex; gap: .5rem; }
.qty input { width: 64px; height: 48px; padding: 0 .5rem; text-align: center; border: 1px solid var(--line); border-radius: 0; font-size: 1rem; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { opacity: 1; }
.pcard__add { flex: 1; min-height: 48px; padding: 0 1rem; }

/* Mensajes en la ventana */
.auth__msg { margin: .2rem 0 1rem; padding: .75rem .9rem; font-size: .84rem; line-height: 1.5; color: var(--red-dk); background: rgba(196,18,59,.06); border-left: 2px solid var(--red); }
.auth__msg.is-ok { color: #1e5b3a; background: rgba(37,150,90,.08); border-left-color: #25965a; }
.auth__link { color: var(--ink); font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; }
.auth__link:hover { color: var(--red); }
.auth .btn--line { color: var(--ink); border-color: var(--ink); }

/* Carrito lateral */
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(420px, 100vw); display: flex; flex-direction: column; background: var(--white); box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(100%); transition: transform .35s var(--ease); }
.cart.is-open { transform: none; }
.cart__shade { position: fixed; inset: 0; z-index: 79; background: rgba(14,14,13,.5); opacity: 0; transition: opacity .3s; }
.cart__shade.is-open { opacity: 1; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-weight: 500; font-size: 1.15rem; }
.cart__list { flex: 1; overflow-y: auto; padding: .4rem 1.4rem; }
.cart__item { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart__item img { width: 56px; height: 70px; object-fit: contain; background: var(--light); }
.cart__name { font-weight: 500; font-size: .95rem; }
.cart__unit { font-size: .8rem; color: var(--muted); }
.cart__qty { margin-top: .5rem; display: flex; align-items: center; gap: .4rem; }
.cart__qty button:not(.cart__rm) { width: 28px; height: 28px; border: 1px solid var(--line); font-size: 1rem; line-height: 1; }
.cart__qty span { min-width: 2ch; text-align: center; font-size: .9rem; }
.cart__rm { margin-left: .6rem; font-size: .76rem; color: var(--muted); text-decoration: underline; }
.cart__line { font-weight: 500; font-size: .95rem; }
.cart__empty { padding: 2rem 1.4rem; color: var(--muted); }
.cart__foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1rem; }
.cart__total strong { font-weight: 600; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

/* Aviso flotante */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); padding: .85rem 1.2rem; background: var(--dark); color: var(--white); font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .3s, transform .3s; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Casillas de consentimiento (Aviso de Privacidad, LFPDPPP) */
.auth__check + .auth__check { margin-top: .5rem; }
.auth__check > span a { color: var(--dark); text-decoration: underline; }

/* ---- Programa de recompensas (panel del médico) ---- */
.loy { background: var(--light); padding: 3rem 0 1rem; }
.loy__card { --tc: #a9adb2; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--tc); padding: 2rem 1.4rem 1.6rem; }
@media (min-width: 768px) { .loy__card { padding: 2.6rem 2.6rem 2rem; } }
.loy__card[data-tier="Gold"] { --tc: #c2a15e; }
.loy__card[data-tier="Platinum"] { --tc: #4b5258; }
.loy__title { margin-top: .7rem; font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.loy__title span { color: var(--tc); font-weight: 400; }
.loy__stats { margin-top: 1.8rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 760px) { .loy__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loy__stat { background: var(--white); padding: 1.3rem 1.3rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.loy__label { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.loy__stat strong { font-weight: 200; font-size: 2.8rem; line-height: 1.05; letter-spacing: -.01em; }
.loy__stat--pct strong { color: var(--red); font-weight: 300; }
.loy__stat--next strong { font-size: 1.7rem; font-weight: 300; padding: .55rem 0 .3rem; }
.loy__stat small { font-size: .84rem; color: #4a4744; line-height: 1.4; }
.loy__bar { margin-top: 1.6rem; height: 6px; background: var(--line); overflow: hidden; }
.loy__bar span { display: block; height: 100%; width: 0; background: var(--red); transition: width .8s var(--ease); }
.loy__steps { margin-top: .9rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; }
@media (min-width: 760px) { .loy__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loy__steps li { display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); padding-left: .9rem; position: relative; }
.loy__steps li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.loy__steps li strong { font-weight: 500; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.loy__steps li.is-done::before { background: var(--muted); }
.loy__steps li.is-current::before { background: var(--red); }
.loy__steps li.is-current strong { color: var(--ink); }
.loy__first { margin-top: 1.4rem; padding: .9rem 1.1rem; background: #fbeef1; border-left: 2px solid var(--red); font-size: .92rem; line-height: 1.5; color: #4a4744; }
.loy__first strong { color: var(--red); font-weight: 600; }
.loy__note { margin-top: 1.2rem; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.umenu__loy { padding: .1rem 1rem .7rem; margin-bottom: .3rem; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.umenu__loy strong { color: var(--ink); font-weight: 600; }
.cart__row { display: flex; justify-content: space-between; margin-bottom: .45rem; font-size: .9rem; color: #4a4744; }
.cart__row--disc span:last-child { color: var(--red); font-weight: 500; }
.co__disc span:last-child { color: var(--red); font-weight: 500; }
.co__sum .co__loy { display: block; }
.co__loy { margin: -.2rem 0 1rem; padding: .7rem .9rem; background: var(--light); border-left: 2px solid var(--red); font-size: .84rem; line-height: 1.45; }
.co__loy strong { font-weight: 600; }
