/* Layout: menú píldora + hero (no toca styles.css) */

:root {
  --font-display: "General Sans", sans-serif;
  --font-body: "General Sans", sans-serif;
  --font-hand: "Gochi Hand", cursive;
  --frame-pad: 14px;
  --frame-radius: 24px;
  --hero-pad: var(--frame-pad);
  --hero-radius: var(--frame-radius);
  --grid-cols: 12;
  --grid-gutter: clamp(16px, 1.6vw, 24px);
  --grid-margin: clamp(1.25rem, 4vw, 3.5rem);
}
html {
  background: #0a0a0a;
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  margin: 0;
  background: #0a0a0a;
  padding: var(--hero-pad);
}
.page-frame {
  position: relative;
  isolation: isolate;
  background: transparent;
  min-height: calc(100dvh - 2 * var(--hero-pad));
}
.stage--hero {
  padding: clamp(1.75rem, 4.5vh, 3rem) 1.5rem 5rem;
  animation: heroFade 0.85s ease both;
}
.hero__header--v4 {
  max-width: none;
  width: 100%;
  gap: 0;
  overflow: visible;
  --hero-h1: min(
    clamp(1.7rem, 4.4vw + 1.2vh, 4.5rem),
    clamp(1.65rem, 1.2vw + 6.3vh, 4.5rem)
  );
  --hero-sub: min(
    clamp(0.92rem, 1.05vw + 0.55vh, 1.22rem),
    clamp(0.9rem, 0.45vw + 1.55vh, 1.22rem)
  );
  --hero-badge: min(
    clamp(0.68rem, 0.72vw + 0.42vh, 0.78rem),
    clamp(0.66rem, 0.35vw + 0.95vh, 0.78rem)
  );
  --hero-hey: min(
    clamp(0.52rem, 0.62vw + 0.35vh, 0.62rem),
    clamp(0.5rem, 0.28vw + 0.8vh, 0.62rem)
  );
  --hero-together: min(
    clamp(0.78rem, 0.78vw + 0.48vh, 0.92rem),
    clamp(0.76rem, 0.38vw + 1.15vh, 0.92rem)
  );
  --hero-count: min(
    clamp(0.72rem, 0.68vw + 0.4vh, 0.84rem),
    clamp(0.7rem, 0.32vw + 0.95vh, 0.84rem)
  );
  --hero-loved-copy: min(
    clamp(0.68rem, 0.62vw + 0.38vh, 0.78rem),
    clamp(0.66rem, 0.3vw + 0.88vh, 0.78rem)
  );
  --hero-avatar: min(
    clamp(1.5rem, 1.85vw + 0.85vh, 1.95rem),
    clamp(1.45rem, 0.75vw + 2.6vh, 1.95rem)
  );
  --hero-badge-min: min(
    clamp(1.6rem, 1.75vw + 1.15vh, 2.1rem),
    clamp(1.52rem, 0.65vw + 2.85vh, 2.1rem)
  );
}
.topnav {
  position: fixed;
  top: calc(var(--hero-pad) + 0.7rem);
  left: var(--hero-pad);
  right: var(--hero-pad);
  z-index: 200;
  width: auto;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0 1rem;
  pointer-events: none;
  --nav-glass-bg: rgba(255, 255, 255, 0.56);
  --nav-glass-bg-soft: rgba(255, 255, 255, 0.34);
  --nav-glass-bg-strong: rgba(255, 255, 255, 0.68);
  --nav-glass-border: rgba(255, 255, 255, 0.78);
  --nav-glass-border-soft: rgba(255, 255, 255, 0.48);
  --nav-cta-border: rgba(10, 10, 10, 0.16);
  --nav-cta-border-hover: rgba(10, 10, 10, 0.22);
  --nav-glass-blur: blur(24px) saturate(185%);
  --nav-glass-blur-strong: blur(30px) saturate(195%);
  --nav-glass-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 0 0 1px rgba(255, 255, 255, 0.24) inset,
    0 12px 36px rgba(10, 10, 10, 0.1),
    0 2px 8px rgba(10, 10, 10, 0.05);
}
.topnav__pill {
  pointer-events: auto;
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  --topnav-pill-gap: 2.15rem;
  --topnav-btn-h: calc(0.42rem + 0.42rem + 1.55rem);
  gap: var(--topnav-pill-gap, 2.15rem);
  padding: 0.42rem 0.65rem 0.42rem 1.25rem;
  overflow: visible;
  background: var(--nav-glass-bg);
  border: 1px solid var(--nav-glass-border);
  border-radius: 999px;
  box-shadow: var(--nav-glass-shadow);
  backdrop-filter: var(--nav-glass-blur);
  -webkit-backdrop-filter: var(--nav-glass-blur);
}
.topnav__pill::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.18) 36%,
    rgba(255, 255, 255, 0.04) 52%,
    rgba(255, 255, 255, 0.24) 100%
  );
}
.topnav__pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -14px 28px rgba(255, 255, 255, 0.14);
}
.topnav__logo,
.topnav__menu-shell,
.topnav__cta {
  position: relative;
  z-index: 1;
}
.topnav__menu-shell {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--topnav-btn-h);
  height: var(--topnav-btn-h);
  border: 1px solid var(--nav-glass-border-soft);
  border-radius: 999px;
  background: var(--nav-glass-bg-soft);
  overflow: visible;
  transform-origin: left center;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 14px rgba(10, 10, 10, 0.05);
}
.topnav.is-animating .topnav__menu-shell {
  will-change: transform, width;
  overflow: hidden;
  backface-visibility: hidden;
}
.topnav.is-animating .topnav__burger-img {
  transition: none;
}
.topnav.is-open .topnav__menu-shell {
  justify-content: flex-start;
  width: max-content;
  max-width: min(36rem, calc(100vw - 7rem));
  background: var(--nav-glass-bg-strong);
  border-color: var(--nav-glass-border);
  backdrop-filter: var(--nav-glass-blur-strong);
  -webkit-backdrop-filter: var(--nav-glass-blur-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(10, 10, 10, 0.1);
}
.topnav.is-measuring .topnav__menu-shell {
  position: absolute;
  visibility: hidden;
  width: max-content !important;
  max-width: min(36rem, calc(100vw - 7rem)) !important;
  pointer-events: none;
}
.topnav__logo-svg {
  display: block;
  width: auto;
  height: calc(var(--topnav-btn-h) * 0.68);
}
.topnav__toggle {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--topnav-btn-h);
  height: var(--topnav-btn-h);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  overflow: visible;
  transform-origin: center center;
  transition: background 0.2s ease;
}
.topnav.is-open .topnav__toggle {
  margin-left: auto;
}
.topnav.is-closing .topnav__toggle {
  margin-left: 0;
}
.topnav.is-closing .topnav__menu-shell {
  justify-content: center;
}
.topnav__toggle:hover {
  background: transparent;
}
.topnav__burger-art {
  --burger-scale: 0.0042rem;
  position: relative;
  width: calc(414 * var(--burger-scale));
  height: calc(421 * var(--burger-scale));
  pointer-events: none;
  transform-origin: center center;
}
.topnav__burger-img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.topnav__burger-img--default {
  height: calc(384 * var(--burger-scale));
  opacity: 1;
}
.topnav__burger-img--hover {
  height: calc(421 * var(--burger-scale));
  opacity: 0;
}
.topnav__burger-img--active {
  height: calc(380 * var(--burger-scale));
  opacity: 0;
}
.topnav.is-open .topnav__burger-img--default,
.topnav.is-open .topnav__burger-img--hover {
  opacity: 0;
}
.topnav.is-open .topnav__burger-img--active {
  opacity: 1;
}
.topnav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  white-space: nowrap;
}
.topnav__links {
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  gap: 0.15rem;
  max-width: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #282828;
  white-space: nowrap;
}
.topnav.is-open .topnav__links {
  max-width: 28rem;
  padding: 0 0.35rem 0 0.65rem;
  opacity: 1;
  pointer-events: auto;
}
.topnav__links a {
  display: inline-block;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.topnav__links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}
.topnav__links a:focus-visible,
.topnav__logo:focus-visible,
.topnav__cta:focus-visible,
.topnav__toggle:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 999px;
}
.topnav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  height: var(--topnav-btn-h);
  margin-left: 0;
  padding: 0 0.32rem 0 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--nav-cta-border);
  background: var(--nav-glass-bg-soft);
  color: #111;
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0;
  white-space: nowrap;
  transform-origin: center center;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 0 0 1px rgba(255, 255, 255, 0.52),
    0 4px 14px rgba(10, 10, 10, 0.06);
}
.topnav__cta:hover {
  background: var(--nav-glass-bg-strong);
  border-color: var(--nav-cta-border-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 0 0 1px rgba(255, 255, 255, 0.62),
    0 6px 18px rgba(10, 10, 10, 0.08);
}
.topnav__cta-ico {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: rgba(255, 221, 45, 0.92);
  color: var(--ink);
  transform-origin: center center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 1px 2px rgba(10, 10, 10, 0.08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topnav {
    --nav-glass-bg: rgba(255, 255, 255, 0.94);
    --nav-glass-bg-soft: rgba(255, 255, 255, 0.9);
    --nav-glass-bg-strong: #fff;
    --nav-glass-border: #e4e4e4;
    --nav-glass-border-soft: #e8e8e8;
    --nav-cta-border: #d4d4d4;
    --nav-cta-border-hover: #c8c8c8;
  }
  .topnav__pill::before,
  .topnav__pill::after {
    display: none;
  }
  .topnav__links a:hover {
    background: #f3f3f3;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .topnav__cta-ico {
    background: var(--accent);
  }}
.hero__badge {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: min(
      clamp(0.6rem, 1.05vw + 1.55vh, 2.1rem),
      clamp(0.55rem, 0.32vw + 2.8vh, 2.1rem)
    )
    0
    min(
      clamp(0.7rem, 1.15vw + 1.75vh, 2.4rem),
      clamp(0.6rem, 0.35vw + 3.15vh, 2.4rem)
    );
  min-height: var(--hero-badge-min);
  padding: 0;
  background: none;
}
.hero__badge-chip {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: max-content;
  min-height: var(--hero-badge-min);
  height: auto;
  padding: 0.36em 0.9em 0.36em 0.26em;
  overflow: visible;
  border-radius: 999px;
  background: #efefef;
  color: #2a2a2a;
  font-family: var(--font-body);
  font-size: var(--hero-badge);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.hero__badge-inner {
  display: flex;
  align-items: center;
  gap: 0.7em;
}
.hero__hey {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  padding: 0.45em 0.8em 0.48em 0.62em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: var(--hero-hey);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.hero__hey-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  color: #fff;
}
.hero__hey-text {
  line-height: 1;
}
.dot-grid-loader {
  --dot-grid-off-opacity: 0.12;
  --dot-grid-animation-duration: 1400ms;
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.dot-grid-loader circle {
  animation-duration: var(--dot-grid-animation-duration);
  animation-iteration-count: infinite;
  animation-timing-function: steps(1);
}
@keyframes hero-dot-1 {
  0%,
  62.5% {
    opacity: var(--dot-grid-off-opacity);
  }
  62.5%,
  100% {
    opacity: 1;
  }}
@keyframes hero-dot-2 {
  0%,
  25% {
    opacity: 1;
  }
  25%,
  87.5% {
    opacity: var(--dot-grid-off-opacity);
  }
  87.5%,
  100% {
    opacity: 1;
  }}
@keyframes hero-dot-3 {
  0%,
  12.5% {
    opacity: var(--dot-grid-off-opacity);
  }
  12.5%,
  50% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: var(--dot-grid-off-opacity);
  }}
@keyframes hero-dot-4 {
  0%,
  12.5% {
    opacity: 1;
  }
  12.5%,
  50% {
    opacity: var(--dot-grid-off-opacity);
  }
  50%,
  100% {
    opacity: 1;
  }}
@keyframes hero-dot-5 {
  0%,
  37.5% {
    opacity: 1;
  }
  37.5%,
  75% {
    opacity: var(--dot-grid-off-opacity);
  }
  75%,
  100% {
    opacity: 1;
  }}
@keyframes hero-dot-6 {
  0%,
  62.5% {
    opacity: 1;
  }
  62.5%,
  100% {
    opacity: var(--dot-grid-off-opacity);
  }}
@keyframes hero-dot-7 {
  0%,
  25% {
    opacity: 1;
  }
  25%,
  37.5% {
    opacity: var(--dot-grid-off-opacity);
  }
  37.5%,
  62.5% {
    opacity: 1;
  }
  62.5%,
  100% {
    opacity: var(--dot-grid-off-opacity);
  }}
@keyframes hero-dot-8 {
  0%,
  25% {
    opacity: var(--dot-grid-off-opacity);
  }
  25%,
  50% {
    opacity: 1;
  }
  50%,
  62.5% {
    opacity: var(--dot-grid-off-opacity);
  }
  62.5%,
  87.5% {
    opacity: 1;
  }
  87.5%,
  100% {
    opacity: var(--dot-grid-off-opacity);
  }}
@keyframes hero-dot-9 {
  0%,
  12.5% {
    opacity: 1;
  }
  12.5%,
  50% {
    opacity: var(--dot-grid-off-opacity);
  }
  50%,
  75% {
    opacity: 1;
  }
  75%,
  87.5% {
    opacity: var(--dot-grid-off-opacity);
  }
  87.5%,
  100% {
    opacity: 1;
  }}
.hero__badge-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  line-height: 1;
}
.hero__badge-arrow {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.hero__badge time {
  margin-left: 0.4em;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.odometer {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: inherit;
}
.odometer__block {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: -0.14em;
  padding: 0.22em 0.5em 0.24em 0.46em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 0 0 1px rgba(10, 10, 10, 0.06),
    0 0 0 1px #efefef;
}
.odometer__block:first-child {
  margin-left: 0;
  z-index: 4;
}
.odometer__block:nth-child(2) {
  z-index: 3;
}
.odometer__block:nth-child(3) {
  z-index: 2;
}
.odometer__block:nth-child(4) {
  z-index: 1;
}
.odometer__block.is-lead {
  z-index: 5;
  background: #f3ebb0;
  box-shadow:
    inset 0 0 0 1px rgba(10, 10, 10, 0.07),
    0 0 0 1px #efefef;
}
.odometer__unit {
  margin-left: 0.12em;
  font-weight: 500;
}
.odometer__digit {
  display: inline-block;
  width: 0.62em;
  height: 1em;
  overflow: hidden;
  vertical-align: bottom;
}
.odometer__reel {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.odometer__face {
  display: block;
  height: 1em;
  line-height: 1;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .odometer__reel {
    transition: none;
  }
  .dot-grid-loader circle {
    animation: none;
    opacity: 1;
  }}
.hero__header--v4 .hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: none;
  margin: 0 0 min(
    clamp(0.75rem, 0.85vw + 1.45vh, 1.85rem),
    clamp(0.65rem, 0.35vw + 2.1vh, 1.85rem)
  );
  font-size: var(--hero-h1);
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-align: center;
}
.hero__loved {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: min(
    clamp(0.42rem, 0.48vw + 0.22vh, 0.65rem),
    clamp(0.38rem, 0.2vw + 0.52vh, 0.65rem)
  );
  margin: min(
      clamp(0.6rem, 0.7vw + 1.15vh, 1.55rem),
      clamp(0.5rem, 0.28vw + 1.65vh, 1.55rem)
    )
    auto 0;
  padding: 0.14em 0.36em 0.14em 0.14em;
  overflow: visible;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
}
.hero__together {
  margin: 0;
  padding: 0 0.1rem 0 0.08rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-style: normal;
  font-size: var(--hero-together);
  line-height: 1.15;
  letter-spacing: 0;
  color: #222;
  white-space: nowrap;
}
.hero__loved-stack {
  display: flex;
  align-items: center;
}
.hero__loved-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--hero-avatar);
  height: var(--hero-avatar);
  margin-left: calc(var(--hero-avatar) * -0.215);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__loved-avatar:first-child {
  margin-left: 0;
  z-index: 6;
}
.hero__loved-avatar:nth-child(2) {
  z-index: 5;
}
.hero__loved-avatar:nth-child(3) {
  z-index: 4;
}
.hero__loved-avatar:nth-child(4) {
  z-index: 3;
}
.hero__loved-avatar:nth-child(5) {
  z-index: 2;
}
.hero__loved-count {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: var(--hero-avatar);
  width: auto;
  min-width: 0;
  margin-left: calc(var(--hero-avatar) * -0.215);
  padding: 0 0.72em;
  border-radius: 999px;
  box-shadow: 0 0 0 2px #fff;
  background: #ececec;
  color: #111;
  font-size: var(--hero-count);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  line-height: 1;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__loved-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.hero__loved-stack:hover .hero__loved-avatar,
.hero__loved-stack:hover .hero__loved-count {
  transform: translateY(-3px);
}
.hero__loved-stack:hover .hero__loved-avatar:nth-child(2) {
  transition-delay: 0.04s;
}
.hero__loved-stack:hover .hero__loved-avatar:nth-child(3) {
  transition-delay: 0.08s;
}
.hero__loved-stack:hover .hero__loved-avatar:nth-child(4) {
  transition-delay: 0.12s;
}
.hero__loved-stack:hover .hero__loved-avatar:nth-child(5) {
  transition-delay: 0.16s;
}
.hero__loved-stack:hover .hero__loved-count {
  transition-delay: 0.2s;
}
.hero__loved-copy {
  margin: 0;
  padding: 0 0.2rem 0 0.05rem;
  color: #8a8a8a;
  font-size: var(--hero-loved-copy);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}
.hero__loved-copy strong {
  color: #111;
  font-weight: 700;
}
.hero__sub {
  margin: 0 0 0.15rem;
  font-size: var(--hero-sub);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.hero__header--v4 .hero__mark {
  background-size: 100% 0.38em;
  background-position: 0 86%;
}
.hero__header--v4 + .hero__stage {
  position: relative;
  width: 100%;
  max-width: min(100%, 1560px);
  margin-top: min(
    clamp(0.45rem, 0.55vw + 1.15vh, 1.55rem),
    clamp(0.4rem, 0.22vw + 1.55vh, 1.55rem)
  );
  overflow: hidden;
  border-radius: 1.85rem;
  z-index: 1;
  flex: 1 1 0%;
  min-height: 0;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  container-type: size;
}
.hero__header--v4 + .hero__stage::before,
.hero__header--v4 + .hero__stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(8%, 5rem);
  z-index: 2;
  pointer-events: none;
}
.hero__header--v4 + .hero__stage::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero__header--v4 + .hero__stage::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, rgba(255, 255, 255, 0) 100%);
}
.hero__header--v4 + .hero__stage .hero__video {
  display: block;
  flex: 0 1 auto;
  align-self: flex-end;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1456 / 624;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 1.85rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@supports (width: 1cqb) {
  .hero__header--v4 + .hero__stage .hero__video {
    width: min(100cqi, calc(100cqb * 1456 / 624));
    height: auto;
  }}
@media (max-width: 820px) {
  :root {
    --grid-cols: 6;
  }
  .topnav__pill {
    width: max-content;
    max-width: 100%;
    --topnav-pill-gap: 1.55rem;
  }
  .topnav.is-open .topnav__menu-shell {
    max-width: min(32rem, calc(100vw - 5.5rem));
  }
  .topnav.is-open .topnav__links {
    gap: 0.05rem;
    max-width: 22rem;
    padding: 0 0.25rem 0 0.5rem;
    font-size: 0.78rem;
  }
  .topnav__links a {
    padding: 0.34rem 0.52rem;
  }
  .hero__badge {
    max-width: calc(100% - 1rem);
  }
  .hero__badge-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
    text-align: center;
  }}
@media (max-width: 768px) {
  .hero__header--v4 {
    --hero-h1: min(
      clamp(1.8rem, 6.2vw + 1.25vh, 2.55rem),
      clamp(1.75rem, 1.6vw + 5.1vh, 2.55rem)
    );
    --hero-sub: min(
      clamp(0.9rem, 1.35vw + 0.42vh, 1.08rem),
      clamp(0.88rem, 0.5vw + 0.95vh, 1.08rem)
    );
    --hero-badge: min(
      clamp(0.66rem, 0.95vw + 0.32vh, 0.74rem),
      clamp(0.64rem, 0.4vw + 0.68vh, 0.74rem)
    );
    --hero-hey: min(
      clamp(0.52rem, 0.78vw + 0.28vh, 0.58rem),
      clamp(0.5rem, 0.32vw + 0.58vh, 0.58rem)
    );
    --hero-together: min(
      clamp(0.76rem, 1.05vw + 0.35vh, 0.86rem),
      clamp(0.74rem, 0.42vw + 0.78vh, 0.86rem)
    );
    --hero-count: min(
      clamp(0.7rem, 0.92vw + 0.3vh, 0.8rem),
      clamp(0.68rem, 0.35vw + 0.7vh, 0.8rem)
    );
    --hero-avatar: min(
      clamp(1.45rem, 2.45vw + 0.55vh, 1.72rem),
      clamp(1.4rem, 0.85vw + 1.75vh, 1.72rem)
    );
    --hero-badge-min: min(
      clamp(1.52rem, 2.2vw + 0.55vh, 1.9rem),
      clamp(1.48rem, 0.7vw + 1.85vh, 1.9rem)
    );
  }
  .hero__header--v4 + .hero__stage {
    width: 100%;
    max-width: 100%;
    margin-top: min(
      clamp(0.42rem, 0.7vw + 0.7vh, 0.85rem),
      clamp(0.38rem, 0.28vw + 0.95vh, 0.85rem)
    );
  }
  .hero__header--v4 + .hero__stage .hero__video {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
  }}
@media (max-width: 640px) {
  .stage--hero {
    padding-inline: 1rem;
  }
  .topnav {
    top: calc(var(--hero-pad) + 0.45rem);
  }
  .hero__loved {
    max-width: calc(100% - 0.5rem);
    white-space: normal;
  }
  .hero__loved-copy {
    white-space: normal;
    line-height: 1.25;
    text-align: left;
  }
  .hero__together {
    white-space: normal;
  }
  .page-section--cubo {
    margin-top: -20vh;
  }}
.hero__line {
  display: block;
  width: fit-content;
  margin-inline: auto;
  padding-bottom: 0.06em;
}
html {
  scroll-behavior: auto;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.cover-track {
  position: relative;
}
.cover-track .story__pin {
  top: var(--hero-pad);
  height: calc(100dvh - 2 * var(--hero-pad));
  background: var(--bg);
  border-radius: var(--frame-radius);
}
.cover-track .stage--hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding-top: min(
    clamp(4.75rem, 3.4vw + 8.4vh, 7.25rem),
    clamp(4.5rem, 0.9vw + 11.2vh, 7.25rem)
  );
  padding-bottom: min(
    clamp(0.4rem, 0.42vw + 0.38vh, 0.75rem),
    clamp(0.35rem, 0.18vw + 0.62vh, 0.75rem)
  );
}
@media (min-width: 769px) and (max-height: 800px) {
  .hero__header--v4 {
    --hero-h1: min(
      clamp(1.65rem, 4.1vw + 1.05vh, 3.4rem),
      clamp(1.6rem, 1.05vw + 6.5vh, 3.4rem)
    );
    --hero-sub: min(
      clamp(0.9rem, 0.95vw + 0.48vh, 1.08rem),
      clamp(0.88rem, 0.4vw + 1.35vh, 1.08rem)
    );
    --hero-avatar: min(
      clamp(1.45rem, 1.7vw + 0.75vh, 1.72rem),
      clamp(1.4rem, 0.65vw + 2.35vh, 1.72rem)
    );
    --hero-badge-min: min(
      clamp(1.5rem, 1.55vw + 1vh, 1.85rem),
      clamp(1.45rem, 0.55vw + 2.45vh, 1.85rem)
    );
  }
  .cover-track .stage--hero {
    padding-top: min(
      clamp(4.5rem, 3.1vw + 7.2vh, 5.6rem),
      clamp(4.35rem, 0.8vw + 9.6vh, 5.6rem)
    );
  }
  .hero__badge {
    margin-top: min(
      clamp(0.5rem, 0.85vw + 1.2vh, 1.35rem),
      clamp(0.45rem, 0.28vw + 2.1vh, 1.35rem)
    );
    margin-bottom: min(
      clamp(0.55rem, 0.9vw + 1.35vh, 1.5rem),
      clamp(0.5rem, 0.3vw + 2.35vh, 1.5rem)
    );
  }}
@media (min-width: 769px) and (max-height: 640px) {
  .hero__header--v4 {
    --hero-h1: min(
      clamp(1.55rem, 3.7vw + 1vh, 2.85rem),
      clamp(1.5rem, 0.95vw + 5.6vh, 2.85rem)
    );
  }
  .cover-track .stage--hero {
    padding-top: min(
      clamp(4.35rem, 2.6vw + 6.5vh, 4.95rem),
      clamp(4.25rem, 0.7vw + 8.5vh, 4.95rem)
    );
  }}
@media (max-width: 768px) {
  html,
  body {
    overflow-x: clip;
    max-width: 100%;
  }
  body {
    padding: 8px;
  }
  .page-frame,
  .page-sheet {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
  .page-section {
    max-width: 100%;
    min-width: 0;
  }
  .cover-track .stage--hero {
    padding-top: 4.35rem;
    padding-bottom: 0.85rem;
  }
  .hero__header--v4 .hero__title {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
  }
}
.video-spacer {
  height: 120vh;
  pointer-events: none;
}
.page-section {
  position: relative;
  z-index: 2;
  padding: clamp(4.75rem, 11vh, 7.25rem) var(--grid-margin)
    clamp(5.75rem, 13vh, 8.5rem);
  scroll-margin-top: 5.25rem;
  min-height: calc(100dvh - 2 * var(--hero-pad));
  margin: 0 0 12px;
  border-radius: var(--frame-radius);
  overflow: hidden;
}
.page-section--cubo {
  margin-top: -32vh;
  background: #f3e48a;
  box-shadow: 0 -18px 48px rgba(10, 10, 10, 0.08);
}
.page-section--esfera,
.page-section--cono,
.page-section--cilindro,
.page-section--casa {
  margin-left: 0;
  margin-right: 0;
}
.page-section--esfera {
  background: #b7c8ee;
}
.page-section--cono {
  background: #e8b7ca;
}
.page-section--cilindro {
  background: #b4d9bf;
}
.page-section--casa {
  background: #cbb6e3;
}
.page-frame .site-footer {
  overflow: hidden;
}
.page-section .feature__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(8.5rem, auto);
  gap: 12px;
  width: 100%;
  max-width: none;
  align-items: stretch;
}
.page-section .feature__grid,
.page-section .feature__points {
  display: contents;
}
.page-section .feature__head,
.page-section .feature__visual,
.page-section .feature__point {
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.08);
  padding: clamp(1.05rem, 2.2vw, 1.7rem);
  min-width: 0;
}
.page-section .feature__head {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-section .feature__lead {
  margin: 0;
  max-width: 42ch;
}
.page-section .feature__visual {
  display: grid;
  place-items: center;
}
.page-section .feature__point {
  align-content: start;
}
/* Cubo — visual alto a la derecha */
.page-section--cubo .feature__head {
  grid-column: 1 / span 8;
  grid-row: 1;
}
.page-section--cubo .feature__visual {
  grid-column: 9 / span 4;
  grid-row: 1 / span 3;
}
.page-section--cubo .feature__point:nth-of-type(1) {
  grid-column: 1 / span 4;
  grid-row: 2;
}
.page-section--cubo .feature__point:nth-of-type(2) {
  grid-column: 5 / span 4;
  grid-row: 2;
}
.page-section--cubo .feature__point:nth-of-type(3) {
  grid-column: 1 / span 8;
  grid-row: 3;
}
/* Esfera — visual izquierdo, puntos rotos */
.page-section--esfera .feature__visual {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}
.page-section--esfera .feature__head {
  grid-column: 6 / span 7;
  grid-row: 1;
}
.page-section--esfera .feature__point:nth-of-type(1) {
  grid-column: 6 / span 4;
  grid-row: 2;
}
.page-section--esfera .feature__point:nth-of-type(2) {
  grid-column: 10 / span 3;
  grid-row: 2;
}
.page-section--esfera .feature__point:nth-of-type(3) {
  grid-column: 1 / span 12;
  grid-row: 3;
}
/* Cono — título a banda, visual derecho */
.page-section--cono .feature__head {
  grid-column: 1 / span 12;
  grid-row: 1;
}
.page-section--cono .feature__visual {
  grid-column: 7 / span 6;
  grid-row: 2 / span 2;
}
.page-section--cono .feature__point:nth-of-type(1) {
  grid-column: 1 / span 6;
  grid-row: 2;
}
.page-section--cono .feature__point:nth-of-type(2) {
  grid-column: 1 / span 6;
  grid-row: 3;
}
/* Cilindro — título vertical */
.page-section--cilindro .feature__head {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}
.page-section--cilindro .feature__visual {
  grid-column: 5 / span 8;
  grid-row: 1;
}
.page-section--cilindro .feature__point:nth-of-type(1) {
  grid-column: 5 / span 4;
  grid-row: 2;
}
.page-section--cilindro .feature__point:nth-of-type(2) {
  grid-column: 9 / span 4;
  grid-row: 2;
}
/* Casa — visual izquierdo + cta estrecha */
.page-section--casa .feature__visual {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}
.page-section--casa .feature__head {
  grid-column: 5 / span 8;
  grid-row: 1;
}
.page-section--casa .feature__point:nth-of-type(1) {
  grid-column: 5 / span 5;
  grid-row: 2;
}
.page-section--casa .feature__point:nth-of-type(2) {
  grid-column: 10 / span 3;
  grid-row: 2;
}
.reveal {
  opacity: 0;
  transform: translate3d(0, 1.6rem, 0);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@keyframes heroFade {
  from {
    opacity: 0;
  }  to {
    opacity: 1;
  }}
@media (prefers-reduced-motion: reduce) {
  .topnav__cta {
    transition: none;
  }
  .topnav__toggle:hover .topnav__burger-img--default {
    opacity: 0;
  }
  .topnav__toggle:hover .topnav__burger-img--hover {
    opacity: 1;
  }
  .topnav__pill,
  .topnav__menu-shell,
  .topnav__toggle,
  .topnav__burger-img,
  .topnav__links {
    transition: none;
  }
  .stage--hero {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__loved-avatar,
  .hero__loved-count {
    transition: none;
  }
  .hero__loved-stack:hover .hero__loved-avatar,
  .hero__loved-stack:hover .hero__loved-count {
    transform: none;
  }}
@media (max-width: 820px) {
  .page-section .feature__head,
  .page-section .feature__visual,
  .page-section .feature__point,
  .page-section--cubo .feature__head,
  .page-section--cubo .feature__visual,
  .page-section--cubo .feature__point:nth-of-type(1),
  .page-section--cubo .feature__point:nth-of-type(2),
  .page-section--cubo .feature__point:nth-of-type(3),
  .page-section--esfera .feature__head,
  .page-section--esfera .feature__visual,
  .page-section--esfera .feature__point:nth-of-type(1),
  .page-section--esfera .feature__point:nth-of-type(2),
  .page-section--esfera .feature__point:nth-of-type(3),
  .page-section--cono .feature__head,
  .page-section--cono .feature__visual,
  .page-section--cono .feature__point:nth-of-type(1),
  .page-section--cono .feature__point:nth-of-type(2),
  .page-section--cilindro .feature__head,
  .page-section--cilindro .feature__visual,
  .page-section--cilindro .feature__point:nth-of-type(1),
  .page-section--cilindro .feature__point:nth-of-type(2),
  .page-section--casa .feature__head,
  .page-section--casa .feature__visual,
  .page-section--casa .feature__point:nth-of-type(1),
  .page-section--casa .feature__point:nth-of-type(2) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .page-section .feature__inner {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }}
