/* Tiras Nasales GT, design v6. White, ink, metallic black headlines, Azul Oxígeno only for what we want tapped. */

:root {
  --white: #fff;
  --ink: #0B0B0C;
  --muted: #5B5B63;
  --line: #E8E8EC;
  --blue: #1F5BFF;
  --blue-hover: #1647D6;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 12px 32px rgba(11, 11, 12, .07);
  --metal: linear-gradient(180deg, #3A3A3D 0%, #0B0B0C 38%, #5C5C61 52%, #0B0B0C 66%, #2A2A2D 100%);
  --head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Type ---------- */
.h1, .h2, .h3 {
  font-family: var(--head);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.h1 { font-size: 40px; }
.h1.is-long { font-size: 34px; }
.h2 { font-size: 34px; }
.h3 { font-size: 24px; letter-spacing: -.025em; }

/* Shiny metallic black, repeated per line so every line gets the highlight band. */
.metal {
  background-image: var(--metal);
  background-size: 100% 1lh;
  background-repeat: repeat-y;
  background-origin: content-box;
  padding: .04em 0 .1em;
  margin-bottom: -.1em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .metal { -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
/* One slow light sweep across the hero headline on load. */
html.motion .sweep {
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 56%), var(--metal);
  background-size: 300% 100%, 100% 1lh;
  background-repeat: no-repeat, repeat-y;
  background-position: 100% 0, 0 0;
  animation: sweep 2s cubic-bezier(.45, 0, .2, 1) .45s 1 both;
}
@keyframes sweep { from { background-position: 100% 0, 0 0; } to { background-position: 0% 0, 0 0; } }

.eyebrow { font: 600 15px/1.4 var(--body); color: var(--muted); margin: 0 0 14px; letter-spacing: .005em; }
.eyebrow--center { text-align: center; }
.lead { font-size: 18px; line-height: 1.5; margin: 16px 0 0; max-width: 34ch; }
.sub { font-size: 18px; color: var(--muted); margin: 12px 0 0; }
.footnote { font-size: 13.5px; color: var(--muted); margin: 18px 0 0; }

/* ---------- Icons ---------- */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--xl { width: 84px; height: 84px; stroke-width: 1; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font: 600 17px/1.2 var(--body); text-decoration: none; text-align: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(31, 91, 255, .24); }
.btn--blue:hover { background: var(--blue-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #26262a; }
.btn--line { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn--xl { min-height: 64px; width: 100%; font-size: 19px; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.textlink:hover { text-decoration-color: var(--ink); }
.textlink--muted { color: var(--muted); font-weight: 500; }

/* ---------- Trust rows and stars ---------- */
.trust { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; font: 500 14.5px/1.3 var(--body); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust--center { justify-content: center; }
.stars {
  --pct: 100%;
  display: inline-block; width: 96px; height: 18px; flex: none;
  background: linear-gradient(90deg, var(--ink) var(--pct), #D3D3D8 var(--pct));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.5 1.2 6.5L12 17.3l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9Z'/%3E%3C/svg%3E") 0 0 / 19.2px 18px repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2.5 2.9 6 6.6.9-4.8 4.5 1.2 6.5L12 17.3l-5.9 3.1 1.2-6.5L2.5 9.4l6.6-.9Z'/%3E%3C/svg%3E") 0 0 / 19.2px 18px repeat-x;
}
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font: 500 15px/1.3 var(--body); text-decoration: none; }
.rating:hover .rating__text { text-decoration: underline; }
.rating--hero { margin-top: 14px; }
.offer__rating { display: flex; justify-content: center; margin: -18px 0 26px; }
.offer__rating .rating { margin: 0; }
.demo-viewers { display: flex; align-items: center; gap: 9px; margin: 14px 0 0; font: 500 15px/1.35 var(--body); }
.offer .demo-viewers { justify-content: center; margin: 0 0 14px; }
.live.live--green { background: #16A34A; }
html.motion .live.live--green::after { border-color: #16A34A; }
.sold { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font: 500 15px/1.35 var(--body); }
.proof { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 500 15px/1.35 var(--body); }
.proof li { display: flex; align-items: center; gap: 8px; }
.live { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); flex: none; margin: 0 5px; }
html.motion .live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); animation: pulse 2s ease-out infinite; }

/* ---------- Test mode and top bar ---------- */
.testmode { border-bottom: 1px solid var(--line); text-align: center; font: 500 13px/1.4 var(--body); padding: 6px var(--gutter); }
.topbar {
  background: var(--ink); color: #fff;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px;
  padding: 9px var(--gutter); text-align: center;
  font: 500 13.5px/1.35 var(--body);
}
.topbar p { margin: 0; }
.topbar strong { font-weight: 600; }
.topbar__delivery { color: rgba(255, 255, 255, .78); }
@media (max-width: 899px) { .hide-sm { display: none; } .topbar { font-size: 13px; padding: 8px 12px; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 9px; font: 800 17px/1 var(--head); letter-spacing: -.02em; text-decoration: none; }
.brand span:last-child { color: var(--muted); }
.brand__mark { width: 30px; height: 9px; border-radius: 9px; background: linear-gradient(180deg, #4a4a4f, #0B0B0C 45%, #2c2c30); transform: rotate(-12deg); }

/* ---------- Strip (product cutout with a metallic sheen) ---------- */
.strip { position: relative; }
.strip img { width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(11, 11, 12, .2)); }
.strip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(104deg, transparent 18%, rgba(255, 255, 255, .26) 36%, rgba(255, 255, 255, .05) 48%, transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 34%, transparent 72%, rgba(255, 255, 255, .06));
  -webkit-mask: url("/images/tira-600.webp") center / 100% 100% no-repeat;
  mask: url("/images/tira-600.webp") center / 100% 100% no-repeat;
}

/* ---------- 2. Hero ---------- */
.hero { position: relative; }
.hero__media { position: relative; height: min(118vw, 540px); overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent 98%); mask-image: linear-gradient(#000 60%, transparent 98%); }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 20%; }
.hero__inner { position: static; margin-top: -96px; padding-bottom: 48px; }
.hero .brand { position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(255, 255, 255, .9); padding: 9px 14px; border-radius: 999px; }
.hero__copy { position: relative; z-index: 2; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.hero__ctas .btn { width: 100%; }

/* The flyer is centered on its left/top point (strip image ratio is 1200 x 280). */
.flyer {
  --w: var(--fw, 44vw);
  position: absolute; z-index: 4; pointer-events: none;
  left: 72%; top: min(calc(118vw - 150px), 390px);
  width: var(--w); margin-left: calc(var(--w) * -.5); margin-top: calc(var(--w) * -.11667);
  transform: rotate(-12deg);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.flyer.gone { opacity: 0; transform: rotate(-12deg) scale(.9); }
.flyer__tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
html.flight .flyer { transition: none; will-change: transform; }

/* ---------- 3. Transition ---------- */
.transition { padding: 8px 0 4px; text-align: center; }
.transition .eyebrow { margin: 0; }
.transition__line { display: block; width: 1.5px; height: 44px; margin: 12px auto 0; background: linear-gradient(var(--ink), rgba(11, 11, 12, 0)); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section.touch { border-top: 0; padding-top: 32px; }
.section__head { margin-bottom: 36px; }
.section__head--center { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.section__cta { text-align: center; margin-top: 40px; }
.section__cta .btn { width: 100%; max-width: 420px; }

/* Fade up on scroll (only when motion is allowed). */
html.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- 4. Toca la tira ---------- */
.touch__grid { display: grid; gap: 22px; }
.hs-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.strip--stage { grid-column: 1 / -1; margin: 18px 6px 34px; }
html.motion .strip--stage { opacity: 0; transform: scale(.9); transition: opacity .8s var(--ease), transform .9s var(--ease); }
html.motion .strip--stage.in { opacity: 1; transform: none; }
html.flight .strip--stage { opacity: 1; transform: none; }
html.flight .strip--stage img { visibility: hidden; }
html.flight .strip--stage::after { display: none; }

.hs {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  font: 600 15.5px/1.25 var(--body); text-align: left; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.hs::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }
.hs:hover { border-color: #cfcfd6; }
.hs[aria-expanded="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue); }
.hs__dot {
  position: absolute; left: var(--dx, 0); top: var(--dy, 0);
  width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(11, 11, 12, .35);
  visibility: hidden; z-index: 2;
  transition: transform .25s var(--ease);
}
.hs-stage.ready .hs__dot { visibility: visible; }
.hs__dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
html.motion .hs__dot::after { animation: pulse 2.6s ease-out infinite; }
.hs[aria-expanded="true"] .hs__dot { transform: scale(1.18); }
.hs__line { display: none; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .75; } 100% { transform: scale(1.55); opacity: 0; } }

.hs-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 22px; }
.hs-card__hint { margin: 0; color: var(--muted); }
.hs-panel .h3 { margin-bottom: 8px; }
.hs-panel p { margin: 0; }
.hs-panel__photo { margin-top: 16px; }
.hs-panel__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.hs-panel__photo--tall img { object-position: 50% 28%; }
.hs-panel__photo--sleep img { object-position: 84% 38%; }
.hs-panel__photo:empty { display: none; }
html.motion .hs-panel { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 5. The problem ---------- */
.problem__grid { display: grid; gap: 32px; }
.problem__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.problem__grid--solo .problem__copy { text-align: center; }
.chain { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; text-align: left; }
.problem__grid--solo .chain { max-width: 340px; margin-left: auto; margin-right: auto; }
.chain__step { position: relative; display: flex; align-items: center; gap: 16px; }
.chain__step:not(:last-child)::after {
  content: ""; position: absolute; left: 31px; top: 66px; width: 1.5px; height: 16px; background: var(--ink);
  transform-origin: 50% 0;
}
.chain__icon { position: relative; flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; background: #fff; }
.chain__icon .ico { width: 30px; height: 30px; }
.chain__text { font: 600 19px/1.3 var(--body); }
.stop {
  position: absolute; right: -12px; top: -12px; width: 36px; height: 36px;
  display: grid; place-items: center; background: var(--blue); color: #fff;
  font: 800 9px/1 var(--head); letter-spacing: .03em;
  clip-path: polygon(29% 0, 71% 0, 100% 29%, 100% 71%, 71% 100%, 29% 100%, 0 71%, 0 29%);
}
html.motion .chain__step { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.motion .chain__step:not(:last-child)::after { transform: scaleY(0); transition: transform .45s var(--ease) .35s; }
html.motion .chain__step.on { opacity: 1; transform: none; }
html.motion .chain__step.on:not(:last-child)::after { transform: scaleY(1); }
html.motion .stop { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
html.motion .chain.done .stop { transform: scale(1); }
.problem__line { font: 600 20px/1.4 var(--body); margin: 32px 0 0; }

/* ---------- 6. Guided 10 second test ---------- */
.gtest { display: grid; gap: 22px; border: 1px solid var(--line); border-radius: 28px; padding: 22px; background: #fff; box-shadow: var(--shadow); }
.gtest__art { position: relative; }
.face { width: 100%; max-width: 380px; margin: 0 auto; overflow: visible; }
.face path, .face rect, .face circle { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.face .face__soft { stroke-width: 1.6; opacity: .55; }
.face .finger rect { fill: #fff; }
.face .finger path { stroke-width: 1.6; }
.face .face__track { stroke: var(--line); stroke-width: 3; }
.face .face__ring { stroke: var(--ink); stroke-width: 3.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.face .face__breath { fill: rgba(11, 11, 12, .035); stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(.86); }
.face .face__arrows path { stroke: var(--blue); stroke-width: 3.4; }
.face .finger, .face .face__wing, .face .face__nostrils { transition: transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.face .face__arrows, .face .face__air { opacity: 0; transition: opacity .45s var(--ease); }
.gtest[data-step="2"] .finger--l, .gtest[data-step="3"] .finger--l { transform: translate(-12px, -3px); }
.gtest[data-step="2"] .finger--r, .gtest[data-step="3"] .finger--r { transform: translate(12px, -3px); }
.gtest[data-step="2"] .face__wing--l, .gtest[data-step="3"] .face__wing--l { transform: translateX(-3px); }
.gtest[data-step="2"] .face__wing--r, .gtest[data-step="3"] .face__wing--r { transform: translateX(3px); }
.gtest[data-step="2"] .face__nostrils, .gtest[data-step="3"] .face__nostrils { transform: scaleX(1.18); }
.gtest[data-step="2"] .face__arrows { opacity: 1; }
.gtest[data-step="3"] .face__air { opacity: 1; }
.face .face__air path { stroke-width: 1.8; stroke-dasharray: 3 5; }
html.motion .gtest[data-step="3"] .face__air path { animation: flow 1.1s linear infinite; }
html.motion .gtest[data-step="3"] .face__breath { animation: breathe 4s ease-in-out infinite; }
html.motion .gtest[data-step="2"] .face__arrows { animation: nudge 1.5s ease-in-out infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
@keyframes breathe { 0%, 100% { transform: scale(.84); } 50% { transform: scale(1); } }
@keyframes nudge { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.gsteps { display: flex; gap: 8px; }
.gstep { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 15px/1 var(--body); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .2s, color .2s, border-color .2s; }
.gstep[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gtest__kicker { display: flex; justify-content: space-between; margin: 20px 0 8px; font: 600 14px/1.3 var(--body); color: var(--muted); }
.gtest__text { font: 500 19px/1.5 var(--body); margin: 0; min-height: 6em; }
.gtest__run { margin-top: 18px; }
.gtest__run .btn { width: 100%; }
.gtest.is-running .gtest__run .btn { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.gtest__ask { margin-top: 18px; }
.gtest__answers { display: grid; gap: 10px; }
.gtest__answers .btn { width: 100%; }
.gtest__replay { margin-top: 14px; background: none; border: 0; padding: 4px 0; font-size: 15px; cursor: pointer; color: var(--muted); }
.gtest__result { margin-top: 20px; outline: none; }
.gtest__result .btn { width: 100%; }
.gtest__big { display: block; font: 800 30px/1.1 var(--head); letter-spacing: -.03em; margin: 0 0 18px; }
.gtest__msg { font: 500 18px/1.5 var(--body); margin: 0 0 18px; }
html.motion .gtest__result:not([hidden]), html.motion .gtest__ask:not([hidden]) { animation: fadeUp .45s var(--ease) both; }

/* ---------- 7. The result ---------- */
.result__grid { display: grid; gap: 40px; }
figure { margin: 0; }
.result__big img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.result__small img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 45% 25%; border-radius: var(--radius); }
.result figcaption { margin-top: 18px; }

/* ---------- 8. Doctors ---------- */
.doctors .h2 { font-size: 30px; line-height: 1.12; }
.doctors__row { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.doctors__warn { margin: 0; font-weight: 500; }

/* ---------- 9. Reviews ---------- */
.rsum { display: grid; gap: 18px; max-width: 760px; margin: -12px auto 36px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.rsum__head { display: grid; justify-items: center; gap: 8px; text-align: center; }
.stars--lg { width: 128px; height: 24px; -webkit-mask-size: 25.6px 24px; mask-size: 25.6px 24px; }
.rsum__line { font: 800 24px/1.2 var(--head); letter-spacing: -.02em; }
.rsum__src { font-size: 13.5px; color: var(--muted); }
.team-note { max-width: 760px; margin: 0 auto 32px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.team-note .h3 { font-size: 20px; margin-bottom: 8px; }
.team-note p { margin: 0; }
.team-note__sign { margin-top: 10px !important; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- 4b. Testimonials ---------- */
.quotes__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding: 0 var(--gutter);
}
.quotes__track::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.quote__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.quote__text { flex: 1; margin: 0; font: 500 17px/1.5 var(--body); }
.quote__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.quote__name { font-weight: 600; }
.quote__tag { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.quote__head .review__date { white-space: nowrap; font-size: 13px; }
.rsum__score { font: 800 56px/1 var(--head); letter-spacing: -.04em; }
.rsum__text { font: 500 15px/1.4 var(--body); color: var(--muted); }
.rbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rbar { display: grid; grid-template-columns: 74px 1fr 50px; align-items: center; gap: 10px; font-size: 14px; }
.rbar__track { height: 8px; border-radius: 8px; background: #EFEFF2; overflow: hidden; }
.rbar__fill { display: block; height: 100%; width: var(--w); border-radius: 8px; background: var(--ink); }
.rbar__pct { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.reviews__list { display: grid; gap: 16px; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.review__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review__name { font-weight: 600; }
.review__date { color: var(--muted); font-size: 14px; }
.review__label { font-size: 13px; color: var(--muted); margin: 8px 0 10px; }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 10px; font-size: 13px; color: var(--muted); }
.review__meta .review__label { margin: 0; }
.review__bought { color: var(--ink); font-weight: 500; }
.review__tag { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); }
.reviews__list { align-items: start; }
.review__label--own { color: var(--ink); font-weight: 600; }
.review p:last-of-type { margin-bottom: 0; }
.review img { margin-top: 14px; border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; }
#reviews-more { display: flex; margin: 28px auto 0; }

/* ---------- 10. How to use ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 24px; background: #fff; }
.step__art { aspect-ratio: 2 / 1; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(180deg, #fff, #fafafb); border: 1px solid var(--line); }
.step__art--photo { aspect-ratio: 4 / 5; border: 0; overflow: hidden; }
.step__art--photo picture, .step__art--photo img { width: 100%; height: 100%; object-fit: cover; }
.step__num { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 15px/1 var(--head); margin: 18px 8px 10px; }
.step__text { font: 600 19px/1.35 var(--body); margin: 0 8px; }

/* ---------- 11. Comparison ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter); }
.compare__table { width: 100%; min-width: 340px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; line-height: 1.35; table-layout: fixed; }
.compare__table th, .compare__table td { padding: 14px 8px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare__table thead th { font: 600 13.5px/1.3 var(--body); color: var(--muted); vertical-align: bottom; }
.compare__table thead th.us { color: var(--ink); font-weight: 700; }
.compare__table tbody th { text-align: left; font-weight: 600; padding-left: 0; width: 28%; }
.compare__table .ico { margin: 0 auto; width: 24px; height: 24px; stroke-width: 2; }
.ico--yes { color: var(--ink); }
.ico--no { color: #A3A3AB; }
.cell-note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.compare__table .us { border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); background: #fff; }
.compare__table .us--top { border-top: 2px solid var(--blue); border-radius: 16px 16px 0 0; }
.compare__table .us--bottom { border-bottom: 2px solid var(--blue); border-radius: 0 0 16px 16px; }
.compare__table .us strong { font-weight: 700; }

/* ---------- 12. Offer ---------- */
.offer__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.offer__title { display: block; width: 100%; text-align: center; float: none; margin: 0 0 32px; }
.packs { display: grid; gap: 14px; }
.pack {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px;
  padding: 22px 20px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, box-shadow .2s;
}
.pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pack.is-selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue), var(--shadow); }
.pack:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.pack__badge { position: absolute; top: -12px; left: 20px; background: var(--blue); color: #fff; font: 600 12.5px/1 var(--body); padding: 6px 11px; border-radius: 999px; }
.pack__main { min-width: 0; }
.pack__strips { font: 800 28px/1 var(--head); letter-spacing: -.03em; display: block; }
.pack__count { display: block; color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.pack__night { display: block; font-size: 14.5px; font-weight: 500; margin-top: 4px; }
.pack__side { text-align: right; }
.pack__price { font: 800 30px/1 var(--head); letter-spacing: -.03em; display: block; }
.pack__regular { color: var(--muted); font-size: 15px; display: block; margin-top: 4px; }
.pack__save { display: inline-block; margin-top: 8px; background: var(--blue); color: #fff; font: 600 13px/1 var(--body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pack__save--normal { background: none; color: var(--muted); padding: 6px 0; }
.pack__radio { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c8c8cf; display: none; }
.pack.is-selected .pack__radio { border-color: var(--blue); box-shadow: inset 0 0 0 4px #fff; background: var(--blue); }
.offer__below { max-width: 560px; margin: 28px auto 0; text-align: center; }
.offer__count { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.offer__error { color: #B42318; font-weight: 500; margin: 12px 0 0; }
.offer__delivery { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.paylogos { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; }
.paylogo { width: 52px; height: 33px; }
.paylogo--text { width: auto; height: 33px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; font: 600 12px/31px var(--body); color: var(--muted); }

/* ---------- 13. Guarantee ---------- */
.guarantee__inner { display: grid; gap: 24px; justify-items: center; text-align: center; }
.seal { width: 176px; height: 176px; }

/* ---------- 14. FAQ ---------- */
.faq__list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 18px/1.35 var(--body); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .25s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 640px; }

/* ---------- 15. Final ---------- */
.final__grid { display: grid; gap: 30px; align-items: center; }
.final__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 12%; border-radius: var(--radius); }
.final__copy .btn { margin-top: 28px; width: 100%; max-width: 420px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 128px; font-size: 15px; }
.footer p { margin: 14px 0 0; color: var(--muted); }
.footer a { color: var(--ink); }
.footer__small { font-size: 13.5px; }

/* ---------- Sticky bar and WhatsApp ---------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(11, 11, 12, .06);
  transform: translateY(115%); transition: transform .35s var(--ease); visibility: hidden;
}
.sticky.show { transform: none; visibility: visible; }
.sticky__info { min-width: 0; }
.sticky__label { display: block; font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky__price strong { font: 800 22px/1.1 var(--head); letter-spacing: -.02em; }
.sticky__price s { color: var(--muted); font-size: 14px; margin-left: 4px; }
.sticky .btn { min-height: 50px; padding: 0 32px; flex: none; }
.wa {
  position: fixed; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 49;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.wa svg { width: 24px; height: 24px; }

/* ---------- Small pages (gracias, garantía, privacidad) ---------- */
.page-head { padding: 20px 0; border-bottom: 1px solid var(--line); }
.page { padding: 56px 0 96px; }
.page .h1 { margin-bottom: 20px; }
.page .h3 { margin: 32px 0 10px; }
.page p, .page li { max-width: 680px; }
.page-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-top: 28px; max-width: 680px; }
.page-card ol { margin: 10px 0 14px; padding-left: 22px; }
.page-card li { margin-bottom: 6px; }
.status { font-weight: 600; }
.ref { color: var(--muted); font-size: 14.5px; }

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  html { scroll-padding-top: 52px; }
  body { font-size: 18px; }
  .h1 { font-size: clamp(56px, 5vw, 72px); }
  .h1.is-long { font-size: clamp(46px, 4vw, 56px); }
  .h2 { font-size: clamp(44px, 3.6vw, 56px); }
  .h3 { font-size: 28px; }
  .lead { font-size: 20px; }

  .topbar { position: sticky; top: 0; z-index: 60; font-size: 14px; }

  .hero { min-height: min(calc(100vh - 38px), 900px); display: flex; align-items: center; }
  .hero__media { position: absolute; inset: 0; height: auto; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
  .hero__media img { object-position: 74% 28%; }
  .hero__inner { position: relative; margin-top: 0; padding-top: 112px; padding-bottom: 112px; }
  .hero .brand { top: 32px; left: var(--gutter); background: none; padding: 0; }
  .hero__copy { max-width: 600px; }
  .hero__ctas .btn { width: auto; }
  .flyer { --w: var(--fw, 300px); left: max(calc(50% + 236px), calc(var(--gutter) + 830px)); top: 78%; }

  .transition { padding: 72px 0 24px; }
  .transition__line { height: 72px; }

  .section { padding: 120px 0; }
  .section.touch { padding-top: 48px; }
  .section__head { margin-bottom: 56px; }
  .section__cta .btn, .test__action > .btn, .test__answer .btn, .final__copy .btn { width: auto; }

  .touch__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: 56px; }
  .hs-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; row-gap: 76px; column-gap: 12px; justify-items: center; align-items: center; }
  .strip--stage { grid-row: 2; grid-column: 1 / -1; width: 92%; margin: 0; }
  .hs { min-height: 0; padding: 10px 18px; border-radius: 999px; font-size: 15px; }
  .hs::before { display: none; }
  .hs__dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; box-shadow: 0 0 0 4px #fff, 0 3px 12px rgba(11, 11, 12, .35); }
  .hs:nth-of-type(1) { grid-area: 1 / 2; }
  .hs:nth-of-type(2) { grid-area: 1 / 1; }
  .hs:nth-of-type(3) { grid-area: 1 / 3; }
  .hs:nth-of-type(4) { grid-area: 3 / 1; }
  .hs:nth-of-type(5) { grid-area: 3 / 2; }
  .hs:nth-of-type(6) { grid-area: 3 / 3; }
  .hs__line {
    display: block; position: absolute; left: var(--lx, 0); top: var(--ly, 0); width: var(--len, 0); height: 1.5px;
    background: rgba(11, 11, 12, .32); transform-origin: 0 50%;
    transform: rotate(var(--ang, 0deg)) scaleX(0); pointer-events: none; z-index: 1;
    transition: transform .8s var(--ease) var(--delay, 0s), background-color .25s;
  }
  .hs-stage.drawn .hs__line { transform: rotate(var(--ang, 0deg)) scaleX(1); }
  .hs[aria-expanded="true"] .hs__line { background: var(--blue); height: 2px; }
  .hs-card { padding: 30px; }
  .ico--xl { width: 112px; height: 112px; stroke-width: .9; }

  .problem__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .problem__grid--solo { grid-template-columns: 1fr; }
  .problem__grid--solo .chain { max-width: none; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .problem__grid--solo .chain__step { flex-direction: column; text-align: center; }
  .problem__grid--solo .chain__step:not(:last-child)::after { left: calc(50% + 44px); top: 32px; width: calc(100% - 64px); height: 1.5px; transform-origin: 0 50%; }
  html.motion .problem__grid--solo .chain__step:not(:last-child)::after { transform: scaleX(0); }
  html.motion .problem__grid--solo .chain__step.on:not(:last-child)::after { transform: scaleX(1); }
  .chain__icon { width: 80px; height: 80px; }
  .chain__icon .ico { width: 36px; height: 36px; }
  .problem__grid--solo .chain__step:not(:last-child)::after { top: 40px; left: calc(50% + 52px); width: calc(100% - 80px); }
  .problem__line { font-size: 22px; }

  .gtest { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; padding: 44px; }
  .gtest__text { font-size: 22px; min-height: 5em; }
  .gtest__run .btn, .gtest__result .btn { width: auto; }
  .gtest__answers { grid-template-columns: 1fr 1fr; }
  .gtest__big { font-size: 40px; }
  .rsum { grid-template-columns: 200px 1fr; align-items: center; gap: 32px; padding: 28px 32px; }
  .rsum__score { font-size: 64px; }
  .quotes__track { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; gap: 20px; }

  .result__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: end; gap: 32px; }
  .result__small img { aspect-ratio: 4 / 5; }

  .doctors .h2 { font-size: 44px; }
  .doctors__row { grid-template-columns: auto 1fr; align-items: start; gap: 40px; }

  .reviews__list { display: block; columns: 3; column-gap: 20px; }
  .review { break-inside: avoid; margin-bottom: 20px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .step__art, .step__art--photo { aspect-ratio: 4 / 5; }

  .compare__table { font-size: 16px; }
  .compare__table th, .compare__table td { padding: 20px 16px; }
  .compare__table thead th { font-size: 15px; }
  .cell-note { font-size: 13.5px; }
  .table-wrap { margin: 0; padding: 4px 0; }

  .packs { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
  .pack { grid-template-columns: 1fr; text-align: center; padding: 36px 24px 28px; gap: 0; }
  .pack__side { text-align: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
  .pack__badge { left: 50%; transform: translateX(-50%); }
  .pack__strips { font-size: 40px; }
  .pack__price { font-size: 44px; }
  .pack__radio { display: block; }

  .guarantee__inner { grid-template-columns: auto 1fr; text-align: left; justify-items: start; align-items: center; gap: 56px; }
  .seal { width: 220px; height: 220px; }

  .final__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .final__media img { aspect-ratio: 1; }

  .footer { padding-bottom: 120px; }
  .footer__inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 40px; }
  .footer__inner p { margin: 0; }
  .footer__small { grid-column: 2; }

  .sticky {
    left: 50%; right: auto; bottom: 20px; width: min(580px, calc(100% - 48px));
    border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 26px;
    transform: translate(-50%, 140%); box-shadow: var(--shadow);
  }
  .sticky.show { transform: translate(-50%, 0); }
  .wa { right: 24px; bottom: 24px; width: 52px; height: 52px; }
}

/* =====================================================================
   Round 4: premium polish layer (header, cards, reviews, carousel,
   spacing, type scale, footer). Same design system: white, ink,
   Azul Oxígeno only on tappable things, metallic headlines.
   ===================================================================== */

/* ---------- Self-hosted fonts (no third-party request on the critical path) ---------- */
@font-face { font-family: "Manrope"; src: url("/fonts/manrope-800-latin.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }

:root {
  --body: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg-alt: #F7F8FA;
  --radius: 24px;
  --radius-photo: 18px;
  --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 6px 22px rgba(11, 11, 12, .05);
  --shadow-hover: 0 2px 6px rgba(11, 11, 12, .05), 0 16px 36px rgba(11, 11, 12, .09);
  --tb: 0px;
  --hdr: 61px;
  --ink-soft: #3A3A40;
}
@media (min-width: 900px) { :root { --tb: 38px; --hdr: 69px; } }

html { scroll-padding-top: calc(var(--hdr) + 12px); }
@media (min-width: 900px) { html { scroll-padding-top: calc(var(--tb) + var(--hdr) + 16px); } }
@media (max-width: 899px) { html { scroll-padding-bottom: 96px; } }
html.menu-open { overflow: hidden; }

/* ---------- One icon set, one thin stroke ---------- */
.ico { stroke-width: 1.6; }
.compare__table .ico { stroke-width: 1.6; }
.ico--no { color: #85858E; }

/* ---------- Type scale and line length ---------- */
.h1 { font-size: 40px; line-height: 1.04; }
.h1.is-long { font-size: 35px; }
.h2 { font-size: 34px; line-height: 1.08; }
.h3 { font-size: 22px; line-height: 1.2; }
.lead { font-size: 19px; line-height: 1.5; }
.sub { font-size: 18px; line-height: 1.5; }
main p, .footer p { max-width: 65ch; }
.section__head--center .sub, .section__head--center p, .offer__below p, .problem__line { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .h1 { font-size: clamp(56px, 4.8vw, 72px); }
  .h1.is-long { font-size: clamp(46px, 3.8vw, 56px); }
  .h2 { font-size: clamp(40px, 3.3vw, 52px); }
  .h3 { font-size: 26px; }
  .lead { font-size: 21px; }
  .sub { font-size: 19px; }
}

/* ---------- Top bar (sticky on desktop, one line) ---------- */
.topbar__count .mono { display: inline-block; min-width: 8.6ch; text-align: left; }
@media (min-width: 900px) {
  .topbar { position: sticky; top: 0; z-index: 72; min-height: 38px; align-items: center; padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; white-space: nowrap; }
}

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .site-header { top: var(--tb); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
@media (min-width: 900px) { .site-header__inner { height: 68px; } }
.brand { gap: 10px; font: 800 17px/1 var(--head); letter-spacing: -.02em; min-height: 44px; }
.brand > span:last-child { color: var(--ink); }
.brand > span { white-space: nowrap; }
.brand .brand__gt { color: var(--muted); }
.brand__icon { width: 30px; height: 30px; flex: none; }
.site-nav { display: none; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 999px;
  font: 500 15px/1 var(--body); color: var(--muted); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); background: rgba(11, 11, 12, .06); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15.5px; box-shadow: none; }
@media (max-width: 899px) { .site-header .brand { font-size: 16px; gap: 9px; } .site-header .brand__icon { width: 28px; height: 28px; } .btn--sm { padding: 0 16px; } }
.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.menu-toggle .ico { width: 22px; height: 22px; }
.menu-toggle .ico--close, .menu-toggle[aria-expanded="true"] .ico--menu { display: none; }
.menu-toggle[aria-expanded="true"] .ico--close { display: block; }
@media (min-width: 1080px) {
  .site-nav { display: flex; gap: 2px; }
  .menu-toggle { display: none; }
}
.site-menu { position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 60px); z-index: 69; background: #fff; overflow-y: auto; padding: 8px var(--gutter) 40px; }
.site-menu__links { display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; }
.site-menu__links a { display: flex; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line); font: 800 30px/1.1 var(--head); letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
html.motion .site-menu:not([hidden]) { animation: fadeUp .3s var(--ease) both; }

/* ---------- Sections: generous spacing, alternating backgrounds ---------- */
.section { padding: 72px 0; border-top: 0; }
.section--alt { background: var(--bg-alt); }
.section.touch { padding-top: 24px; }
.section__head { margin-bottom: 40px; }
.section__cta { margin-top: 44px; }
@media (min-width: 900px) {
  .section { padding: 120px 0; }
  .section.touch { padding-top: 40px; }
  .section__head { margin-bottom: 56px; }
}

/* ---------- Hero (brand now lives in the header) ---------- */
.hero__inner { margin-top: -84px; }
@media (min-width: 900px) {
  .hero { min-height: min(calc(100vh - var(--tb) - var(--hdr)), 860px); }
  .hero__inner { margin-top: 0; padding-top: 72px; padding-bottom: 96px; }
}
.textlink { min-height: 44px; }
.rating { min-height: 44px; margin-top: 8px; }
.rating--hero { margin-top: 10px; }
.sold { margin-top: 6px; }
.demo-viewers { min-height: 24px; }
html.demo-maybe .hero [data-demo-viewers][hidden], html.demo-maybe .offer [data-demo-viewers][hidden] { display: flex !important; visibility: hidden; }

/* ---------- One card style ---------- */
.review, .quote, .step, .pack, .hs-card, .gtest, .rsum, .team-note {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.gtest { border-radius: var(--radius); }
@media (hover: hover) and (min-width: 900px) {
  .review, .quote, .step, .pack { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .2s; }
  .review:hover, .quote:hover, .step:hover, .pack:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
  .pack.is-selected:hover { box-shadow: inset 0 0 0 1px var(--blue), var(--shadow-hover); }
}

/* ---------- Photos: one radius, two ratios (4:3 and 4:5) ---------- */
.hs-panel__photo img, .result__big img, .result__small img, .step__art--photo, .final__media img, .problem__media img { border-radius: var(--radius-photo); }
.result__big img { aspect-ratio: 4 / 3; }
.result__small img { aspect-ratio: 4 / 3; }
.final__media img { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .result__small img { aspect-ratio: 4 / 5; }
  .final__media img { aspect-ratio: 4 / 5; object-position: 50% 10%; }
}

/* ---------- Toca la tira: 44px targets; the card keeps its height when the first point opens ---------- */
@media (max-width: 899px) { .hs-card { min-height: 176px; } }
@media (min-width: 900px) { .hs { min-height: 44px; } }

/* ---------- Testimonials: the most premium block ---------- */
.quotes .section__head { margin-bottom: 36px; }
.carousel { position: relative; }
.quotes__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 88%; grid-template-columns: none; gap: 16px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 20px; scroll-padding: 0 var(--gutter);
}
.quotes__track::-webkit-scrollbar { display: none; }
.quotes__track:focus-visible { outline-offset: -2px; }
.quote { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; margin: 0; padding: 30px 26px 24px; min-height: 100%; }
.quote__figure { margin: 0; flex: 1; display: flex; flex-direction: column; }
.quote__mark { display: block; height: 52px; margin: -4px 0 6px -2px; font: 800 104px/1 var(--head); color: #E2E5EB; }
.quote__text { flex: 1; margin: 0; }
.quote__text p { margin: 0; font: 500 20px/1.5 var(--body); letter-spacing: -.005em; color: var(--ink); }
.quote__foot { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote__who { display: grid; gap: 5px; min-width: 0; }
.quote__name { font-weight: 600; font-size: 16px; }
.quote__verified { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.quote__verified .ico, .review__verified .ico, .rsum__src .ico { width: 15px; height: 15px; color: var(--ink); }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #EDEFF3; color: var(--ink); font: 800 16px/1 var(--head); }
.avatar--lg { width: 48px; height: 48px; font-size: 19px; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.carousel__arrow { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.carousel__arrow .ico { width: 20px; height: 20px; }
.carousel__arrow--prev .ico { transform: rotate(180deg); }
.carousel__arrow:disabled { opacity: .35; cursor: default; box-shadow: none; }
.carousel__dots { display: flex; }
.dot { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 8px; background: #8C909A; transition: width .3s var(--ease), background-color .3s; }
.dot[aria-current="true"]::before { width: 24px; background: var(--ink); }
@media (min-width: 900px) {
  .quotes__track { grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; margin: 0; padding: 8px 2px 24px; scroll-padding: 0; }
  .quote { padding: 40px 40px 30px; }
  .quote__text p { font-size: 23px; line-height: 1.48; }
  .carousel__arrow { display: grid; place-items: center; }
  .carousel__nav { gap: 20px; }
}

/* ---------- Reviews ---------- */
.rsum { display: grid; gap: 22px; max-width: 860px; margin: -8px auto 24px; padding: 26px 22px; }
.rsum__head { display: grid; justify-items: center; gap: 6px; text-align: center; }
.rsum__big { font: 800 64px/1 var(--head); letter-spacing: -.04em; }
.rsum__count { font: 600 16px/1.3 var(--body); }
.rsum__src { display: block; max-width: 30ch; margin: 2px auto 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.rsum__src .ico { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.stars--lg { width: 128px; height: 24px; -webkit-mask-size: 25.6px 24px; mask-size: 25.6px 24px; }
.rbars { gap: 10px; }
.rbar { grid-template-columns: 78px 1fr 46px; font-size: 14px; }
.rbar__track { height: 6px; border-radius: 6px; background: #ECEEF2; }
.rbar__fill { border-radius: 6px; }
.team-note { max-width: 860px; margin: 0 auto 24px; padding: 22px 24px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 28px; }
.chip { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: #C9CBD2; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.reviews__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; columns: auto; align-items: stretch; }
.review { display: flex; flex-direction: column; margin: 0; padding: 22px; break-inside: auto; }
.review__top { display: flex; align-items: center; gap: 12px; }
.review__who { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.review__name { font-weight: 600; }
.review__date { flex: none; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.review > .stars { margin-top: 14px; }
.review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.review__verified { display: inline-flex; align-items: center; gap: 4px; }
.review__tag { align-self: flex-start; margin-top: 8px; padding: 2px 8px; font-size: 11.5px; border-radius: 999px; }
.review__text { margin: 12px 0 0; font-size: 15.5px; line-height: 1.62; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.review.is-open .review__text { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.review__more { align-self: flex-start; min-height: 44px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--ink); font: 600 15px/1 var(--body); text-decoration: underline; text-decoration-color: #C9CBD2; text-underline-offset: 4px; cursor: pointer; }
#reviews-more { margin-top: 32px; }
@media (min-width: 900px) {
  .rsum { grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 48px; padding: 34px 44px; }
  .reviews__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; columns: auto; }
  .review { margin-bottom: 0; break-inside: auto; }
}

/* ---------- Other sections: small tidy-ups ---------- */
.gtest__replay { min-height: 44px; }
.faq summary { min-height: 64px; }

/* ---------- Offer proof lines: icon stays with the text when it wraps ---------- */
.proof li { display: block; text-align: center; }
.proof li .ico { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.proof li .live { display: inline-block; vertical-align: 1px; margin: 0 8px 0 4px; }

/* ---------- Hero note for h=medicos (Mayo link + apnea warning next to the claim) ---------- */
.hero__note { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.hero__note .textlink { display: flex; width: fit-content; min-height: 44px; font-size: 14.5px; color: var(--ink); }

/* ---------- Reactions (vertical videos) ---------- */
.reactions__track { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; }
.reactions__track::-webkit-scrollbar { display: none; }
.reaction { margin: 0; scroll-snap-align: start; }
.reaction video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius-photo); background: #0B0B0C; }
.reaction__name { margin-top: 8px; font-weight: 600; font-size: 15px; }
@media (min-width: 900px) { .reactions__track { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; gap: 24px; overflow: visible; } }

/* ---------- Main buy button: one line on small phones ---------- */
@media (max-width: 420px) { .btn--xl { font-size: 17.5px; padding: 0 12px; letter-spacing: -.005em; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 calc(40px + 76px + env(safe-area-inset-bottom)); font-size: 15px; }
.footer__grid { display: grid; gap: 28px; }
.footer .footer__brand .footer__small { margin-top: 12px; }
.footer__links { display: flex; flex-direction: column; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 500; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer .footer__secure { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--ink); font-weight: 500; }
.footer .paylogos { justify-content: flex-start; margin-top: 0; }
@media (min-width: 900px) {
  .footer { padding: 64px 0; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 48px; }
  .footer__inner { display: block; }
}

/* ---------- Floating buy bar: phones only; test-mode note never moves the layout ---------- */
@media (min-width: 900px) { .sticky { display: none !important; } }
/* Test-mode note: space is reserved on preview hosts so it never moves the layout. */
html.demo-maybe .testmode[hidden] { display: block !important; visibility: hidden; }

/* =====================================================================
   Thank-you page (gracias.html)
   ===================================================================== */
body.thanks-page { background: var(--bg-alt); }
.thanks__wrap { max-width: 640px; margin: 0 auto; padding: 36px var(--gutter) 56px; }
.thanks__body { display: grid; gap: 16px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; }
.tcard .h3 { margin-bottom: 4px; }

/* Status block */
.thanks-hero { text-align: center; padding: 8px 0 28px; min-height: 236px; }
.thanks-hero__title { font-size: 34px; margin: 0 auto; }
.thanks-hero__status { font: 600 19px/1.4 var(--body); margin: 12px auto 0; }
.thanks-hero__note { color: var(--muted); margin: 8px auto 0; max-width: 46ch; }
.state-icon { position: relative; width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; }
.state-icon > * { grid-area: 1 / 1; display: none; }
.state-icon__spin { width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); }
html.motion .state-icon__spin { animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.thanks-hero[data-state="loading"] .state-icon__spin { display: block; }
.thanks-hero[data-state="paid"] .state-icon { background: var(--ink); box-shadow: 0 12px 30px rgba(11, 11, 12, .18); }
.thanks-hero[data-state="paid"] .state-icon__check { display: block; width: 48px; height: 48px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 0; }
html.motion .thanks-hero[data-state="paid"] .state-icon { animation: popIn .55s cubic-bezier(.3, 1.4, .5, 1) both; }
html.motion .thanks-hero[data-state="paid"] .state-icon__check { stroke-dashoffset: 34; animation: draw .45s var(--ease) .3s forwards; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks-hero[data-state="pending"] .state-icon, .thanks-hero[data-state="notfound"] .state-icon { background: #fff; border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.thanks-hero[data-state="pending"] .state-icon__clock, .thanks-hero[data-state="notfound"] .state-icon__search { display: block; width: 40px; height: 40px; }
html.motion .thanks-hero:not([data-state="loading"]) .thanks-hero__title,
html.motion .thanks-hero:not([data-state="loading"]) .thanks-hero__status { animation: fadeUp .5s var(--ease) both; }
html.motion .thanks__body:not([hidden]) > * { animation: fadeUp .55s var(--ease) both; }
html.motion .thanks__body:not([hidden]) > *:nth-child(2) { animation-delay: .06s; }
html.motion .thanks__body:not([hidden]) > *:nth-child(3) { animation-delay: .12s; }
html.motion .thanks__body:not([hidden]) > *:nth-child(4) { animation-delay: .18s; }

/* Order summary */
.order__line { font-weight: 600; margin: 0 0 14px; }
.order__rows { margin: 0; border-top: 1px solid var(--line); }
.order__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order__row:last-child { border-bottom: 0; padding-bottom: 0; }
.order__row dt { color: var(--muted); font-size: 15px; flex: none; }
.order__row dd { margin: 0; text-align: right; font-weight: 600; }
.order__total { font: 800 24px/1 var(--head); letter-spacing: -.02em; }
.order__row--stack { flex-direction: column; align-items: flex-start; gap: 4px; }
.order__row--stack dd { text-align: left; font-weight: 500; }
.order__row--id dd { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
@media (max-width: 899px) { .order__row--id { flex-direction: column; align-items: flex-start; gap: 6px; } .order__row--id dd { justify-content: space-between; width: 100%; } }
.order__id { font-size: 14px; font-weight: 500; word-break: break-all; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--body); cursor: pointer; }
.copy .ico { width: 16px; height: 16px; }

/* What happens next */
.timeline { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 20px; bottom: 20px; width: 1.5px; background: var(--line); }
.timeline li { position: relative; display: flex; align-items: flex-start; gap: 14px; }
.timeline__icon { position: relative; z-index: 1; flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); }
.timeline__icon .ico { width: 20px; height: 20px; }
.timeline p { margin: 9px 0 0; }

/* How to use reminder */
.mini-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-steps img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.mini-steps p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.4; }
.mini-steps__num { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 11px/1 var(--head); vertical-align: 1px; }

/* Guarantee */
.guarantee-card { display: flex; align-items: center; gap: 16px; }
.guarantee-card__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line); }
.guarantee-card__icon .ico { width: 26px; height: 26px; }
.guarantee-card p { margin: 0; font-weight: 500; }

/* Actions */
.thanks-actions { display: grid; gap: 10px; margin-top: 8px; }
.thanks-actions .btn { width: 100%; }
.wa-glyph { width: 22px; height: 22px; flex: none; }

/* Slim footer */
.footer--slim { padding: 28px 0 40px; background: var(--bg-alt); }
.footer__slim { display: flex; justify-content: center; gap: 8px 24px; flex-wrap: wrap; }
.footer__slim a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer__slim a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 900px) {
  .thanks__wrap { padding: 56px 0 80px; }
  .thanks-hero__title { font-size: 44px; }
  .tcard { padding: 30px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
