/* ============================================================
   NOVA EMPIRE GYM — Sistema visual
   Paleta tomada de la identidad: negro, rojo, blanco, amarillo
   ============================================================ */

:root {
  --ink: #080808;
  --ink-2: #0c0c0c;
  --panel: #111111;
  --white: #f4f1ec;
  --muted: #a3a09b;
  --red: #e1251b;
  --red-deep: #a8130b;
  --yellow: #ffd43b;
  --whatsapp: #25d366;
  --line: rgba(244, 241, 236, 0.12);
  --line-soft: rgba(244, 241, 236, 0.07);
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border: 2px solid #0a0a0a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 48px);
}

.text-red {
  color: var(--red);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 0.8rem 1.2rem;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: none;
}

/* ============================================================
   Botones
   ============================================================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 1.7rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.btn > span,
.btn > .icon {
  position: relative;
  z-index: 1;
}

.btn .icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn--primary:hover {
  color: var(--ink);
}

.btn--primary:hover::before {
  transform: translateY(0);
}

.btn--ghost {
  border-color: rgba(244, 241, 236, 0.28);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--red);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn--dark:hover::before {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.85rem 1.2rem;
  font-size: 0.68rem;
}

.btn--block {
  width: 100%;
}

/* ============================================================
   Cabecera
   ============================================================ */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.topbar {
  height: 40px;
  overflow: hidden;
  background: #050505;
  border-bottom: 1px solid rgba(244, 241, 236, 0.06);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: height 0.4s var(--ease), opacity 0.3s ease;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 40px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

.topbar__pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, 0.18);
  flex: none;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  white-space: nowrap;
}

.topbar__phone {
  transition: color 0.25s ease;
}

.topbar__phone:hover {
  color: var(--white);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.status.is-open .status__dot {
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.16);
}

.status.is-closed .status__dot {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 37, 27, 0.16);
}

.header {
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.header__inner {
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 82px;
}

.site-head.is-stuck .topbar {
  height: 0;
  opacity: 0;
}

.site-head.is-stuck .header {
  background: rgba(8, 8, 8, 0.9);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
  transition: transform 0.4s var(--ease);
}

@media (max-width: 540px) {
  .brand__mark {
    width: 38px;
    height: 38px;
  }
}

.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.05);
}

.brand__word {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 0.9;
  letter-spacing: 0.07em;
}

.brand__sub {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.44rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__link {
  position: relative;
  padding-block: 0.4rem;
  color: rgba(244, 241, 236, 0.66);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__foot {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 1003;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.3s ease;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease;
}

.nav-toggle:hover {
  border-color: var(--red);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-scrim.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: clamp(150px, 18vh, 195px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.8) contrast(1.08) brightness(0.8);
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(78% 68% at 86% 10%, rgba(225, 37, 27, 0.3), transparent 62%),
    linear-gradient(90deg, #080808 2%, rgba(8, 8, 8, 0.93) 30%, rgba(8, 8, 8, 0.48) 64%, rgba(8, 8, 8, 0.7) 100%),
    linear-gradient(0deg, #080808 0%, rgba(8, 8, 8, 0.35) 32%, transparent 58%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.88), transparent 26%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding-bottom: clamp(2rem, 5vh, 3.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.hero__title {
  max-width: 18ch;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 11.5vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0.002em;
  text-transform: uppercase;
}

.hero__title > span {
  display: block;
}

.hero__title > .hero__title-accent {
  position: relative;
  z-index: 0;
  display: block;
  width: fit-content;
  padding-bottom: 0.04em;
}

.hero__brush {
  position: absolute;
  left: -0.02em;
  bottom: 0.01em;
  z-index: -1;
  width: 103%;
  height: 0.26em;
  color: var(--red);
  opacity: 0.92;
}

.hero__dot {
  color: var(--red);
}

.hero__copy {
  max-width: 515px;
  margin-top: 1.9rem;
  color: #b7b3ad;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: 2.2rem;
  color: rgba(244, 241, 236, 0.55);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__perks li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__perks svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--red);
  flex: none;
}

.hero__vertical {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  z-index: 1;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  color: rgba(244, 241, 236, 0.35);
  font-size: 0.6rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.hero__vertical::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 52px;
  margin-top: 1.2rem;
  background: rgba(244, 241, 236, 0.25);
}

.hero__stats {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 3vh, 2.4rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(244, 241, 236, 0.18);
  border-bottom: 1px solid rgba(244, 241, 236, 0.1);
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.2), rgba(8, 8, 8, 0.55));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.stat {
  padding: 1.35rem clamp(0.8rem, 2.4vw, 2rem);
  border-left: 1px solid rgba(244, 241, 236, 0.12);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.stat strong .unit {
  margin-left: 0.06em;
  color: var(--red);
  font-size: 0.52em;
}

.stat > span:last-child {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ============================================================
   Marquee
   ============================================================ */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.25);
  background: var(--red);
  color: #0a0a0a;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 0.85rem 2.4rem 0.9rem 0;
  flex: none;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__star {
  font-size: 0.75rem;
  opacity: 0.8;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   Secciones
   ============================================================ */

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section--panel {
  background: var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.3rem;
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-head__copy {
  justify-self: end;
  max-width: 410px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* ============================================================
   Instalaciones (bento)
   ============================================================ */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 18.5vw, 235px);
  gap: 0.8rem;
  margin-top: clamp(2.4rem, 4.5vw, 3.5rem);
}

.bento__card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #161616;
  border-radius: 2px;
}

.bento__card--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.bento__card--wide {
  grid-column: span 2;
}

.bento__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.05);
  transition: transform 0.9s var(--ease), filter 0.6s ease;
}

.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0) 32%, rgba(8, 8, 8, 0.82) 100%);
  transition: background-color 0.4s ease;
}

.bento__card:hover {
  border-color: rgba(225, 37, 27, 0.55);
}

.bento__card:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}

.bento__card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1rem, 2vw, 1.5rem);
}

.bento__num {
  color: var(--red);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.bento__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bento__desc {
  max-width: 34ch;
  color: rgba(244, 241, 236, 0.7);
  font-size: 0.78rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.bento__card:hover .bento__desc {
  opacity: 1;
  transform: none;
}

.bento__arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 8, 8, 0.32);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), background-color 0.3s ease;
}

.bento__arrow svg {
  width: 1rem;
  height: 1rem;
  transform: rotate(-45deg);
}

.bento__card:hover .bento__arrow {
  opacity: 1;
  transform: none;
  background: var(--red);
  border-color: var(--red);
}

/* ============================================================
   Servicios
   ============================================================ */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2.4rem, 4.5vw, 3.5rem);
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 225px;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: #101010;
  transition: background-color 0.35s ease;
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.service:hover {
  background: #161616;
}

.service:hover::before {
  transform: scaleX(1);
}

.service__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.1rem;
}

.service__icon {
  width: 30px;
  height: 30px;
  color: var(--red);
  transition: transform 0.4s var(--ease);
}

.service:hover .service__icon {
  transform: translateY(-2px);
}

.service__num {
  color: rgba(244, 241, 236, 0.3);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service p {
  max-width: 34ch;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* ============================================================
   Reto 12 semanas
   ============================================================ */

.reto {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  border-block: 1px solid var(--line-soft);
  isolation: isolate;
}

.reto__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.reto__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.4) contrast(1.12) brightness(0.62);
}

.reto__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(56% 78% at 88% 82%, rgba(225, 37, 27, 0.24), transparent 70%),
    linear-gradient(90deg, #080808 6%, rgba(8, 8, 8, 0.92) 36%, rgba(8, 8, 8, 0.4) 78%, rgba(8, 8, 8, 0.68) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.75), transparent 45%);
}

.reto__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.reto__title {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8.6vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.reto__title span {
  display: block;
}

.reto__num {
  color: var(--red);
  font-style: normal;
}

.reto__outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 241, 236, 0.78);
}

@supports not (-webkit-text-stroke: 1px white) {
  .reto__outline {
    color: var(--white);
  }
}

.reto__copy {
  max-width: 450px;
  margin-top: 1.7rem;
  color: #bdb9b3;
  font-size: 0.95rem;
  line-height: 1.75;
}

.reto__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.1rem;
}

.reto__note {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reto__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reto__list {
  border-top: 1px solid rgba(244, 241, 236, 0.18);
}

.reto__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 241, 236, 0.12);
  color: rgba(244, 241, 236, 0.88);
  font-size: 0.88rem;
  line-height: 1.45;
}

.reto__list li > span {
  min-width: 2rem;
  color: var(--red);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.reto__list li > svg {
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  color: var(--red);
  flex: none;
}

.reto__price {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(244, 241, 236, 0.16);
  border-left: 3px solid var(--red);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reto__price-label {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.reto__price strong {
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.reto__price strong small {
  margin-left: 0.4rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reto__price p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.76rem;
}

/* ============================================================
   Horarios
   ============================================================ */

.schedule {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2.4rem, 4.5vw, 3.5rem);
}

.schedule__card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background: #0e0e0e;
  transition: transform 0.4s var(--ease), border-color 0.35s ease, background-color 0.35s ease;
}

.schedule__card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 37, 27, 0.45);
}

.schedule__card.is-today {
  border-color: var(--red);
  background: linear-gradient(155deg, rgba(225, 37, 27, 0.13), rgba(14, 14, 14, 0.6) 58%);
}

.schedule__day {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--red);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.schedule__today {
  display: none;
  padding: 0.25rem 0.45rem;
  border: 1px solid var(--red);
  color: var(--white);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
}

.schedule__card.is-today .schedule__today {
  display: inline-block;
}

.schedule__time {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.schedule__sep {
  color: var(--red);
  font-size: 0.8em;
}

.schedule__note {
  position: relative;
  z-index: 1;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.schedule__ghost {
  position: absolute;
  right: 0.9rem;
  bottom: -0.6rem;
  color: rgba(244, 241, 236, 0.04);
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 1;
  pointer-events: none;
}

.schedule__live {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.1rem;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule__live .status {
  color: var(--white);
  font-weight: 600;
}

.schedule__live-sep {
  width: 1px;
  height: 12px;
  background: var(--line);
}

/* ============================================================
   Planes
   ============================================================ */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 1.1rem;
  margin-top: clamp(2.6rem, 5vw, 3.8rem);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 2.8vw, 2.4rem);
  border: 1px solid var(--line);
  background: #0d0d0d;
  transition: transform 0.4s var(--ease), border-color 0.35s ease;
}

.plan:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 241, 236, 0.26);
}

.plan--featured {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.plan--featured:hover {
  border-color: var(--white);
}

.plan__badge {
  position: absolute;
  top: 0;
  right: clamp(1.4rem, 2.4vw, 2rem);
  transform: translateY(-50%);
  padding: 0.5rem 0.85rem;
  background: var(--red);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.plan__save {
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(255, 212, 59, 0.4);
  color: var(--yellow);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan--featured .plan__save {
  border-color: rgba(225, 37, 27, 0.35);
  color: var(--red);
}

.plan__desc {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.plan--featured .plan__desc {
  color: #6a655e;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.6rem;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.2vw, 3.5rem);
  line-height: 1;
}

.plan--featured .plan__price {
  color: var(--red);
}

.plan__currency {
  font-size: 0.52em;
  transform: translateY(-0.55em);
}

.plan__price small {
  margin-left: 0.15rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan--featured .plan__price small {
  color: #7a746c;
}

.plan__features {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
}

.plan--featured .plan__features {
  border-top-color: rgba(8, 8, 8, 0.12);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(244, 241, 236, 0.8);
  line-height: 1.5;
}

.plan--featured .plan__features li {
  color: #3c3833;
}

.plan__features svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.12rem;
  color: var(--red);
  flex: none;
}

.plan__cta {
  margin-top: auto;
  padding-top: 2rem;
}

.plan--featured .btn--dark {
  background: var(--ink);
  color: #fff;
}

.plans__note {
  margin-top: 1.9rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ============================================================
   Testimonios
   ============================================================ */

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2.4rem, 4.5vw, 3.5rem);
}

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, #101010, #0b0b0b);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -1.4rem;
  right: 0.8rem;
  color: rgba(225, 37, 27, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 7rem;
  line-height: 1;
}

.testimonial__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--yellow);
}

.testimonial__stars svg {
  width: 0.8rem;
  height: 0.8rem;
}

.testimonial blockquote {
  position: relative;
  z-index: 1;
  color: rgba(244, 241, 236, 0.86);
  font-size: 0.9rem;
  line-height: 1.75;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 0.4rem;
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(225, 37, 27, 0.35);
  border-radius: 50%;
  background: rgba(225, 37, 27, 0.14);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  flex: none;
}

.testimonial__meta strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.testimonial__meta span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   Contacto
   ============================================================ */

.contact {
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.contact__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  padding: clamp(2rem, 5.5vw, 4.2rem);
  border: 1px solid var(--line);
  background: #0c0c0c;
}

.contact__panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -12%;
  z-index: -1;
  width: 62%;
  height: 150%;
  background: radial-gradient(closest-side, rgba(225, 37, 27, 0.34), transparent 72%);
}

.contact h2 {
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.contact__text {
  max-width: 430px;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

.contact__info li:first-child {
  border-top: 1px solid var(--line);
}

.contact__info li > svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  color: var(--red);
  flex: none;
}

.contact__info small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.contact__info span {
  color: rgba(244, 241, 236, 0.9);
  font-size: 0.87rem;
  line-height: 1.55;
}

.contact__info a {
  transition: color 0.25s ease;
}

.contact__info a:hover {
  color: var(--red);
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-soft);
  background: #060606;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.8rem);
}

.footer__brand p {
  max-width: 34ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.footer__social {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.6rem;
}

.social {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  color: rgba(244, 241, 236, 0.72);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.social:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.footer__title {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer__links {
  display: grid;
  gap: 0.6rem;
  color: rgba(244, 241, 236, 0.78);
  font-size: 0.84rem;
}

.footer__links a {
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--red);
}

.footer__hours {
  display: grid;
  gap: 0.45rem;
}

.footer__hours li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(244, 241, 236, 0.78);
  font-size: 0.78rem;
}

.footer__hours li span:first-child {
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.footer__bottom span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__bottom .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
}

/* ============================================================
   WhatsApp flotante
   ============================================================ */

.wa-fab {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.8rem);
  bottom: clamp(1rem, 2.5vw, 1.8rem);
  z-index: 800;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1fbe5b;
}

.wa-fab svg {
  width: 1.6rem;
  height: 1.6rem;
}

.wa-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(37, 211, 102, 0.55);
  border-radius: 50%;
  animation: wa-pulse 2.8s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ============================================================
   Animaciones de entrada
   ============================================================ */

.js .reveal {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 0.8s var(--ease) var(--delay, 0s),
    translate 0.8s var(--ease) var(--delay, 0s),
    transform 0.4s var(--ease),
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1180px) {
  .hero__vertical {
    display: none;
  }

  .nav {
    gap: 1.6rem;
  }

  .nav__list {
    gap: 1.3rem;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 96px;
  }

  .topbar {
    display: none;
  }

  .hero {
    padding-top: 132px;
  }

  .header__inner {
    height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    width: min(88vw, 400px);
    padding: 100px 36px 40px;
    border-left: 1px solid var(--line);
    background: #0b0b0b;
    transform: translateX(102%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
  }

  body.menu-open .nav {
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav__link {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.1;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link:hover {
    color: var(--red);
  }

  .nav__cta {
    width: 100%;
    padding-block: 1.1rem;
  }

  .nav__foot {
    display: block;
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.2rem;
  }

  .section-head__copy {
    justify-self: start;
    max-width: 500px;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 215px;
  }

  .bento__card--lg,
  .bento__card--wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento__desc {
    opacity: 1;
    transform: none;
  }

  .bento__arrow {
    opacity: 1;
    transform: none;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .service {
    min-height: 210px;
  }

  .reto__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2.5rem;
  }

  .reto__right {
    max-width: 580px;
  }

  .reto__copy {
    max-width: 520px;
  }

  .schedule {
    grid-template-columns: 1fr;
  }

  .schedule__card {
    min-height: 0;
  }

  .schedule__time {
    font-size: clamp(1.7rem, 5vw, 2.1rem);
  }

  .plans,
  .testimonials {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .plan__price {
    font-size: clamp(2.7rem, 8vw, 3.4rem);
  }

  .contact__panel {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    padding-top: 118px;
  }

  .hero__title {
    max-width: none;
    font-size: clamp(2.9rem, 13vw, 4.8rem);
  }

  .hero__copy {
    max-width: 440px;
    font-size: 0.93rem;
  }

  .hero__perks {
    gap: 0.75rem 1.2rem;
    font-size: 0.58rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__stats {
    padding-top: 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 1.15rem 1rem;
    border-bottom: 1px solid rgba(244, 241, 236, 0.1);
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: 0;
  }

  .stat > span:last-child {
    font-size: 0.54rem;
    letter-spacing: 0.16em;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 0;
  }

  .reto__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .reto__price {
    padding: 1.3rem 1.4rem;
  }

  .schedule__live-sep {
    display: none;
  }

  .contact__actions .btn {
    flex: 1 1 100%;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .wa-fab {
    width: 3.3rem;
    height: 3.3rem;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 112px;
  }

  .hero__title {
    font-size: clamp(2.6rem, 12.8vw, 3.4rem);
  }

  .hero__title-accent {
    padding-bottom: 0.08em;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .bento__card--lg,
  .bento__card--wide {
    grid-column: span 1;
  }

  .bento__card--lg {
    grid-row: span 1;
    height: 250px;
  }

  .marquee__group {
    gap: 1.6rem;
    padding-right: 1.6rem;
  }

  .marquee__item {
    font-size: 0.95rem;
  }

  .nav {
    width: 100%;
    padding-inline: 26px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* ============================================================
   Accesibilidad: movimiento reducido
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    translate: none;
  }

  .marquee__track {
    animation: none;
  }
}
