:root {
  color-scheme: dark;
  --bg: #05070c;
  --ink: #f8fafc;
  --muted: #9aa4b2;
  --dim: #667085;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(11, 16, 27, 0.76);
  --panel-solid: #0b101b;
  --panel-soft: #121a29;
  --accent: #e30613;
  --accent-2: #ffffff;
  --electric: #1fc86a;
  --danger: #ff365e;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(227, 6, 19, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.08), transparent 30rem),
    linear-gradient(180deg, #05070c 0%, #080b12 42%, #05070c 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 50% 30%, transparent, rgba(0, 0, 0, 0.58) 78%);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 80;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  isolation: isolate;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(5, 7, 12, 0.58);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--header-light-x, 10%) 50%, rgba(227, 6, 19, 0.28), transparent 28%),
    linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.12) 36%, transparent 46% 100%);
  opacity: 0.72;
  filter: blur(0.2px);
  animation: headerLightMove 6.8s ease-in-out infinite;
}

.site-header::after {
  position: absolute;
  right: 24px;
  bottom: -1px;
  left: 24px;
  z-index: 0;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.74), rgba(255, 255, 255, 0.5), transparent);
  opacity: 0.58;
  animation: headerGlowLine 4.4s ease-in-out infinite;
}

.site-header.is-scrolled {
  border-color: rgba(227, 6, 19, 0.28);
  background: rgba(5, 7, 12, 0.86);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(227, 6, 19, 0.12);
}

.brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 18px;
}

.brand::before {
  position: absolute;
  top: 50%;
  left: 44px;
  z-index: -1;
  width: 146px;
  height: 146px;
  pointer-events: none;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(227, 6, 19, 0.36), rgba(227, 6, 19, 0.08) 42%, transparent 68%),
    radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 46%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  opacity: 0.82;
  animation: logoAura 3.9s ease-in-out infinite;
}

.brand-mark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  color: transparent;
  background:
    url("./assets/brand/actitud-fit-logo-cropped.png") center center / 122% auto no-repeat,
    radial-gradient(circle at 50% 50%, #151515, #030303);
  box-shadow:
    0 0 0 12px rgba(227, 6, 19, 0.08),
    0 0 54px rgba(227, 6, 19, 0.42),
    0 18px 42px rgba(0, 0, 0, 0.42),
    inset 0 0 22px rgba(255, 255, 255, 0.1);
  font-family: Oswald, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-indent: -999px;
  transform-origin: center;
  animation: logoPulse 3.9s ease-in-out infinite;
}

.brand-mark::before {
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.22), transparent 18%),
    conic-gradient(from 230deg, transparent 0 62%, rgba(227, 6, 19, 0.58), transparent 78% 100%);
  mix-blend-mode: screen;
  opacity: 0.56;
  animation: logoOrbit 6.5s linear infinite;
}

.brand-mark::after {
  position: absolute;
  inset: -60%;
  z-index: 2;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.28) 48%, transparent 58%);
  transform: translateX(-72%) rotate(18deg);
  animation: logoSweep 5.2s ease-in-out infinite;
}

.brand:hover .brand-mark {
  box-shadow:
    0 0 0 14px rgba(227, 6, 19, 0.11),
    0 0 68px rgba(227, 6, 19, 0.55),
    0 22px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 24px rgba(255, 255, 255, 0.14);
}

.brand-copy {
  display: grid;
  line-height: 1;
  transform: translateY(1px);
}

.brand-copy strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.site-header .brand-copy small {
  display: none;
}

.site-footer .brand-copy small::before {
  content: "Dirección · ";
  color: var(--accent);
}

.main-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a.is-active {
  color: #fff;
  background: rgba(227, 6, 19, 0.18);
}

.main-nav .nav-cta {
  color: #fff;
  background: var(--accent);
}

.nav-toggle {
  position: relative;
  z-index: 1;
  display: none;
}

.hero {
  position: relative;
  --mx: 0;
  --my: 0;
  display: grid;
  min-height: 100svh;
  padding: 154px max(18px, calc((100vw - var(--max)) / 2)) 42px;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98) 0%, rgba(5, 7, 12, 0.68) 45%, rgba(5, 7, 12, 0.2) 100%),
    radial-gradient(circle at 74% 36%, rgba(227, 6, 19, 0.24), transparent 17rem),
    radial-gradient(circle at 84% 72%, rgba(31, 200, 106, 0.12), transparent 22rem),
    #05070c;
}

.hero.hero-photo .hero-media {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98) 0%, rgba(5, 7, 12, 0.72) 39%, rgba(5, 7, 12, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.1), rgba(5, 7, 12, 0.92)),
    url("./assets/generated/actitud-fit-hero-people-real-gym.png") center / cover no-repeat,
    #05070c;
}

.hero.hero-photo .hero-media::before {
  display: none;
}

.hero-media::before {
  position: absolute;
  right: -7vw;
  bottom: -8vh;
  width: min(58vw, 760px);
  height: min(78vh, 850px);
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 48% 48% 0 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at 52% 26%, rgba(255, 255, 255, 0.76) 0 6%, transparent 7%),
    linear-gradient(120deg, transparent 18%, rgba(227, 6, 19, 0.22) 19% 25%, transparent 26%),
    linear-gradient(150deg, rgba(25, 34, 53, 0.85), rgba(6, 9, 16, 0.84));
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.8), 0 50px 140px rgba(0, 0, 0, 0.6);
  transform: translate3d(calc(var(--mx) * -16px), calc(var(--my) * -10px), 0) skewX(-7deg);
  animation: athleteFloat 8s ease-in-out infinite;
}

.hero-media::after {
  position: absolute;
  right: 16%;
  bottom: 12%;
  width: 38vw;
  max-width: 560px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: blur(3px);
  opacity: 0.78;
  animation: lightSweep 5s ease-in-out infinite;
}

.hero-motion {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 52%, rgba(255, 255, 255, 0.08) 52.2% 52.8%, transparent 53%),
    linear-gradient(115deg, transparent 0 64%, rgba(227, 6, 19, 0.18) 64.2% 64.8%, transparent 65%);
  opacity: 0.5;
  animation: fieldDrift 12s ease-in-out infinite alternate;
}

.kinetic-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.kinetic-lines span {
  position: absolute;
  width: 38vw;
  height: 2px;
  min-width: 340px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(227, 6, 19, 0.86), transparent);
  filter: blur(0.2px);
  opacity: 0.58;
  transform: rotate(112deg);
  animation: lineRun 5.8s linear infinite;
}

.kinetic-lines span:nth-child(1) {
  top: 10%;
  right: 12%;
  animation-delay: -1.2s;
}

.kinetic-lines span:nth-child(2) {
  top: 38%;
  right: -4%;
  animation-delay: -3.4s;
  opacity: 0.34;
}

.kinetic-lines span:nth-child(3) {
  bottom: 22%;
  left: 48%;
  animation-delay: -2.1s;
}

.kinetic-lines span:nth-child(4) {
  bottom: 7%;
  left: 8%;
  opacity: 0.26;
  animation-delay: -4.8s;
}

.energy-dots {
  position: absolute;
  right: 12%;
  bottom: 20%;
  width: 360px;
  height: 260px;
  pointer-events: none;
  transform: translate3d(calc(var(--mx) * 12px), calc(var(--my) * 10px), 0);
}

.energy-dots i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px rgba(227, 6, 19, 0.9);
  opacity: 0;
  animation: dotPulse 3.6s ease-in-out infinite;
}

.energy-dots i:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.energy-dots i:nth-child(2) { top: 28%; left: 72%; animation-delay: .45s; }
.energy-dots i:nth-child(3) { top: 54%; left: 42%; animation-delay: .9s; }
.energy-dots i:nth-child(4) { top: 76%; left: 12%; animation-delay: 1.35s; }
.energy-dots i:nth-child(5) { top: 70%; left: 84%; animation-delay: 1.8s; }
.energy-dots i:nth-child(6) { top: 38%; left: 8%; animation-delay: 2.25s; }

.scan-lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(0deg, transparent 0 13px, rgba(255, 255, 255, 0.07) 14px);
  mix-blend-mode: screen;
  animation: scanMove 9s linear infinite;
}

.hero-inner {
  align-self: center;
  max-width: 870px;
  padding-top: 4vh;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--accent-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Oswald, Inter, sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 13.4vw, 10.8rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
}

.kinetic-title {
  overflow: hidden;
}

.kinetic-title span {
  display: block;
  transform: translateY(110%) skewY(4deg);
}

.kinetic-title.is-visible span {
  animation: titleRise 850ms cubic-bezier(.18, .9, .22, 1) forwards;
}

.kinetic-title.is-visible span:nth-child(2) {
  animation-delay: 160ms;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 6vw, 5.45rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff2a35);
  box-shadow: 0 14px 34px rgba(227, 6, 19, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.hero-panel {
  position: absolute;
  right: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 126px;
  width: min(330px, calc(100% - 36px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: rgba(9, 13, 22, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.panel-topline,
.metric-row,
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-topline {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-topline strong {
  color: var(--accent);
}

.metric-ring {
  --score: 0%;
  display: grid;
  width: 132px;
  height: 132px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #0b101b 0 56%, transparent 57%),
    conic-gradient(var(--accent) 0 var(--score), rgba(255, 255, 255, 0.12) var(--score) 100%);
  transition: --score 900ms ease;
  animation: ringPulse 2.8s ease-in-out infinite;
}

.metric-ring span {
  font-family: Oswald, Inter, sans-serif;
  font-size: 3rem;
  font-weight: 700;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-self: end;
  max-width: 780px;
  margin-top: 70px;
}

.hero-badges span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
}

.motion-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  height: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 12, 0.68);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.motion-ticker div {
  width: max-content;
  padding-top: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  white-space: nowrap;
  animation: tickerMove 18s linear infinite;
}

.motion-ticker div::after {
  content: "ACTITUD FIT · PROGRESO · DISCIPLINA · PERSEVERANCIA · LA META ERES TÚ · ";
}

.home-hub {
  padding-top: clamp(74px, 9vw, 120px);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.route-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(11, 16, 27, 0.76);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(227, 6, 19, 0.5);
}

.route-card span {
  color: var(--accent);
  font-family: Oswald, Inter, sans-serif;
  font-size: 2.1rem;
}

.route-card h3 {
  font-family: Oswald, Inter, sans-serif;
  font-size: 2rem;
  line-height: 0.96;
  text-transform: uppercase;
}

.route-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.route-card-accent {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(227, 6, 19, 0.32), transparent 60%),
    rgba(11, 16, 27, 0.86);
}

.page-hero {
  position: relative;
  min-height: 62svh;
  display: grid;
  align-items: end;
  padding: 150px max(18px, calc((100vw - var(--max)) / 2)) 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98), rgba(5, 7, 12, 0.56), rgba(5, 7, 12, 0.88)),
    radial-gradient(circle at 76% 28%, rgba(227, 6, 19, 0.22), transparent 24rem),
    #070a11;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(227, 6, 19, 0.14) 58.2% 59%, transparent 59.2%),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(255, 255, 255, 0.045) 14px);
  animation: scanMove 9s linear infinite;
}

.page-hero-classes {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98), rgba(5, 7, 12, 0.64), rgba(5, 7, 12, 0.9)),
    url("./assets/real/actitud-fit-community-real.jpg") center / cover no-repeat,
    #05070c;
}

.page-hero-gym {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.99), rgba(5, 7, 12, 0.52), rgba(5, 7, 12, 0.76)),
    url("./assets/generated/actitud-fit-gimnasio-real-coach-hero.png") center / cover no-repeat,
    #05070c;
}

.page-hero-reservations {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98), rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.82)),
    url("./assets/generated/actitud-fit-reservas-app-hero.png") center / cover no-repeat,
    #05070c;
}

.page-hero-installations {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.98), rgba(5, 7, 12, 0.58), rgba(5, 7, 12, 0.9)),
    url("./assets/generated/actitud-fit-installations-pro.png") center / cover no-repeat,
    #05070c;
}

.page-hero-plans {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.99), rgba(5, 7, 12, 0.52), rgba(5, 7, 12, 0.82)),
    url("./assets/generated/actitud-fit-planes-real-coach-hero.png") center / cover no-repeat,
    #05070c;
}

.page-hero-contact {
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.99), rgba(5, 7, 12, 0.54), rgba(5, 7, 12, 0.82)),
    url("./assets/generated/actitud-fit-contacto-coach-hero.png") center / cover no-repeat,
    #05070c;
}

.page-hero-content {
  position: relative;
  max-width: 900px;
  z-index: 1;
}

.page-hero h1 {
  max-width: 930px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.82;
}

.page-hero p:last-child {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.photo-section {
  padding-bottom: 0;
}

.photo-banner {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: #05070c;
}

.photo-banner img {
  display: block;
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.real-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.real-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: #05070c;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
}

.real-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
  transition: transform 900ms ease, filter 900ms ease;
}

.real-photo-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 24%, rgba(0, 0, 0, 0.88)),
    linear-gradient(135deg, rgba(227, 6, 19, 0.18), transparent 42%);
}

.real-photo-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
}

.real-photo-card span,
.plans-original-card span {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.real-photo-card h3 {
  margin: 8px 0 6px;
  font-family: Oswald, Inter, sans-serif;
  font-size: 1.6rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.real-photo-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.45;
}

.real-photo-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.08) brightness(1.04);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 128px) 0;
}

.section-label {
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.editorial-grid,
.app-section,
.booking-app-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.editorial-copy p,
.section-heading p,
.result-card p,
.app-copy p,
.contact-info p,
.trainer-card p,
.plan-card li,
.class-card p,
.faq-answer {
  color: var(--muted);
  line-height: 1.68;
}

.statement-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.statement {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.statement span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}

.statement strong {
  display: block;
  margin-bottom: 4px;
}

.cinema-frame {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 44px;
  background:
    linear-gradient(180deg, transparent 0 52%, rgba(0, 0, 0, 0.86) 100%),
    radial-gradient(circle at 52% 23%, rgba(255, 255, 255, 0.6) 0 6%, transparent 7%),
    linear-gradient(140deg, rgba(227, 6, 19, 0.18), transparent 38%),
    linear-gradient(135deg, #1a2434, #070a11);
  box-shadow: var(--shadow);
}

.cinema-frame::before,
.cinema-frame::after {
  position: absolute;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(-18deg);
}

.cinema-frame::before {
  top: 28%;
  left: 18%;
  width: 72%;
  height: 12px;
}

.cinema-frame::after {
  top: 56%;
  left: 10%;
  width: 84%;
  height: 8px;
  background: rgba(227, 6, 19, 0.62);
  filter: blur(1px);
}

.frame-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(5, 7, 12, 0.58);
  backdrop-filter: blur(18px);
}

.frame-caption span,
.facility-card span,
.class-card span,
.trainer-card span,
.result-card span,
.contact-details span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.frame-caption strong {
  display: block;
  margin-top: 6px;
  font-size: 1.18rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.facility-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr 0.88fr;
  gap: 18px;
}

.facility-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 34px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84)),
    linear-gradient(135deg, rgba(227, 6, 19, 0.16), transparent 40%),
    #101827;
}

.facility-card:nth-child(1) {
  grid-row: span 2;
  min-height: 620px;
}

.facility-card:nth-child(3n) {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84)),
    linear-gradient(135deg, rgba(31, 200, 106, 0.14), transparent 45%),
    #111827;
}

.facility-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.52) 0 5%, transparent 6%),
    repeating-linear-gradient(115deg, transparent 0 42px, rgba(255, 255, 255, 0.08) 43px 45px);
  opacity: 0.62;
  transition: transform 800ms ease;
}

.facility-card:hover::before {
  transform: scale(1.04);
}

.facility-card.reveal.is-visible:hover,
.class-card.reveal.is-visible:hover,
.trainer-card.reveal.is-visible:hover,
.plan-card.reveal.is-visible:hover,
.result-card.reveal.is-visible:hover {
  transform: translateY(-8px) scale(1.012);
}

.facility-card h3,
.facility-card p,
.facility-card span {
  position: relative;
}

.facility-card h3 {
  font-family: Oswald, Inter, sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.facility-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.classes-grid,
.booking-method-grid,
.comfort-grid,
.trainer-grid,
.plans-grid,
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.class-card,
.booking-card,
.comfort-card,
.trainer-card,
.plan-card,
.result-card,
.schedule-board,
.phone-mockup,
.contact-form,
.map-card,
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.class-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 30px;
}

.booking-section {
  padding-bottom: clamp(42px, 6vw, 82px);
}

.booking-method-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-card,
.comfort-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 12%, rgba(227, 6, 19, 0.22), transparent 16rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.booking-card::before,
.comfort-card::before {
  position: absolute;
  inset: auto -20% -42% 32%;
  height: 210px;
  content: "";
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  transform: rotate(-14deg);
}

.booking-card span,
.comfort-card span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.42);
  border-radius: 50%;
  color: #fff;
  background: rgba(227, 6, 19, 0.2);
  font-weight: 900;
}

.booking-card h3,
.comfort-card h3 {
  max-width: 310px;
  font-family: Oswald, Inter, sans-serif;
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.booking-card p,
.comfort-card p {
  position: relative;
  max-width: 430px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.booking-app-section {
  align-items: center;
  padding-top: clamp(42px, 7vw, 96px);
}

.comfort-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.comfort-card {
  min-height: 260px;
}

.class-visual {
  min-height: 142px;
  margin: -4px -4px 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.55) 0 7%, transparent 8%),
    linear-gradient(145deg, rgba(227, 6, 19, 0.24), rgba(31, 200, 106, 0.08)),
    #151f31;
}

.class-card footer,
.trainer-card footer,
.plan-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.chip {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.schedule-note {
  max-width: 760px;
  margin: -12px 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
}

.filter-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-weight: 900;
}

.filter-button.is-active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.schedule-board {
  overflow: hidden;
  border-radius: 30px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 130px;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row strong {
  color: var(--accent);
  font-family: Oswald, Inter, sans-serif;
  font-size: 1.6rem;
}

.schedule-row span {
  color: var(--muted);
}

.reserve-link,
.select-plan {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #07100b;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.trainer-card,
.result-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--panel-solid);
}

.trainer-photo,
.result-photo {
  min-height: 280px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.54) 0 6%, transparent 7%),
    linear-gradient(140deg, rgba(227, 6, 19, 0.18), rgba(31, 200, 106, 0.1)),
    #182235;
}

.trainer-card:nth-child(2) .trainer-photo,
.result-card:nth-child(2) .result-photo {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.54) 0 6%, transparent 7%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.14), rgba(227, 6, 19, 0.18)),
    #182235;
}

.trainer-content,
.result-content {
  padding: 24px;
}

.plans-grid {
  align-items: stretch;
}

.plans-original-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid rgba(227, 6, 19, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 15%, rgba(227, 6, 19, 0.24), transparent 22rem),
    rgba(11, 16, 27, 0.78);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.plans-original-card img {
  width: 100%;
  max-height: 300px;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
}

.plans-original-card h3 {
  margin: 8px 0 8px;
  font-family: Oswald, Inter, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.plans-original-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 28px;
  border-radius: 30px;
}

.plan-card.featured {
  border-color: rgba(227, 6, 19, 0.48);
  background:
    linear-gradient(180deg, rgba(227, 6, 19, 0.18), transparent 34%),
    var(--panel);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.plan-card > span {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 6px;
  font-family: Oswald, Inter, sans-serif;
  font-size: 3.4rem;
  line-height: 1;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.plan-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--accent);
  font-weight: 900;
}

.plan-card footer {
  margin-top: auto;
}

.plan-card .select-plan {
  width: 100%;
  min-height: 48px;
  background: var(--accent);
}

.results-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: end;
}

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

.result-card {
  min-height: 520px;
}

.result-photo {
  min-height: 250px;
}

.app-showcase {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(227, 6, 19, 0.2);
  border-radius: 48px;
  background:
    radial-gradient(circle at 48% 18%, rgba(227, 6, 19, 0.24), transparent 18rem),
    radial-gradient(circle at 66% 74%, rgba(255, 255, 255, 0.12), transparent 16rem),
    #070b13;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-showcase::before {
  position: absolute;
  inset: -40%;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 47%, rgba(255, 255, 255, 0.12) 48%, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.035) 55px 56px);
  opacity: 0.5;
  animation: appLightSweep 7s ease-in-out infinite;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: min(320px, 74vw);
  border: 10px solid #0c1019;
  border-radius: 42px;
  background: #f7f4fb;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 55px rgba(227, 6, 19, 0.22);
}

.phone-mockup::before {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 20px;
  content: "";
  border-radius: 999px;
  background: #0c1019;
  transform: translateX(-50%);
}

.phone-mockup img {
  display: block;
  width: 100%;
  height: auto;
}

.phone-main {
  transform: rotate(2deg);
  animation: phoneFloatMain 5.4s ease-in-out infinite;
}

.phone-mockup-small {
  position: absolute;
  left: clamp(18px, 5vw, 62px);
  bottom: 58px;
  width: min(220px, 42vw);
  opacity: 0.88;
  transform: rotate(-8deg);
  animation: phoneFloatSide 6.2s ease-in-out infinite;
}

.app-float-badge {
  position: absolute;
  right: -16px;
  bottom: 80px;
  z-index: 3;
  min-width: 138px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.94), rgba(126, 12, 23, 0.9));
  box-shadow: 0 18px 45px rgba(227, 6, 19, 0.34);
}

.app-float-badge strong,
.app-float-badge span {
  display: block;
}

.app-float-badge strong {
  font-family: Oswald, Inter, sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.app-float-badge span {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.app-chips span {
  padding: 10px 12px;
  border: 1px solid rgba(227, 6, 19, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(227, 6, 19, 0.09);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-section {
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(227, 6, 19, 0.28);
  border-radius: 40px;
  background:
    radial-gradient(circle at 20% 0%, rgba(227, 6, 19, 0.14), transparent 23rem),
    rgba(11, 16, 27, 0.74);
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.contact-row {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row strong {
  text-align: right;
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 24px),
    #111827;
}

.map-card-live {
  display: grid;
  min-height: 420px;
  padding: 0;
  background: #05070c;
}

.map-card-live iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(1.08) saturate(0.7);
  opacity: 0.72;
}

.map-card-live::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 7, 12, 0.96), rgba(5, 7, 12, 0.68), rgba(5, 7, 12, 0.22)),
    radial-gradient(circle at 20% 25%, rgba(227, 6, 19, 0.24), transparent 18rem);
}

.map-copy {
  position: relative;
  z-index: 1;
  max-width: 330px;
  padding: 24px;
  align-self: end;
}

.map-copy strong {
  display: block;
  margin: 8px 0 10px;
  color: #fff;
  font-size: 1.08rem;
}

.map-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.map-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: 30px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

input,
select {
  min-height: 52px;
  padding: 0 15px;
}

textarea {
  resize: vertical;
  padding: 14px 15px;
}

select option {
  color: #121826;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact-form small,
.form-status {
  min-height: 16px;
  color: #ffb5c4;
  font-size: 0.76rem;
}

.form-status.is-ok {
  color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 22px;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.faq-question span {
  color: var(--accent);
  font-size: 1.4rem;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 48;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #06100a;
  background: #25d366;
  box-shadow: 0 18px 50px rgba(37, 211, 102, 0.24);
  font-size: 0.82rem;
  font-weight: 900;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
  color: var(--muted);
}

.site-footer p {
  max-width: 420px;
  margin: 16px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav a {
  color: #fff;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes lightSweep {
  0%, 100% {
    transform: translateX(-8%) scaleX(0.72);
    opacity: 0.36;
  }
  50% {
    transform: translateX(8%) scaleX(1);
    opacity: 0.86;
  }
}

@keyframes athleteFloat {
  0%, 100% {
    filter: brightness(0.98);
  }
  50% {
    filter: brightness(1.12);
  }
}

@keyframes fieldDrift {
  from {
    transform: translate3d(-18px, -10px, 0) scale(1.02);
  }
  to {
    transform: translate3d(18px, 10px, 0) scale(1.05);
  }
}

@keyframes lineRun {
  0% {
    transform: translate3d(-24vw, 18vh, 0) rotate(112deg);
    opacity: 0;
  }
  18%,
  76% {
    opacity: 0.58;
  }
  100% {
    transform: translate3d(28vw, -18vh, 0) rotate(112deg);
    opacity: 0;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(0.2);
    opacity: 0;
  }
  45% {
    transform: scale(1);
    opacity: 0.86;
  }
}

@keyframes scanMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 180px;
  }
}

@keyframes titleRise {
  to {
    transform: translateY(0) skewY(0deg);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(227, 6, 19, 0);
  }
  50% {
    box-shadow: 0 0 38px rgba(227, 6, 19, 0.26);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1.04) contrast(1.02);
    box-shadow:
      0 0 0 12px rgba(227, 6, 19, 0.08),
      0 0 54px rgba(227, 6, 19, 0.42),
      0 18px 42px rgba(0, 0, 0, 0.42),
      inset 0 0 22px rgba(255, 255, 255, 0.1);
  }
  50% {
    transform: translate3d(0, -3px, 0) scale(1.035);
    filter: saturate(1.25) contrast(1.12) brightness(1.08);
    box-shadow:
      0 0 0 17px rgba(227, 6, 19, 0.13),
      0 0 82px rgba(227, 6, 19, 0.62),
      0 22px 56px rgba(0, 0, 0, 0.54),
      inset 0 0 30px rgba(255, 255, 255, 0.18);
  }
}

@keyframes logoAura {
  0%,
  100% {
    opacity: 0.62;
    transform: translate(-50%, -50%) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@keyframes logoOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoSweep {
  0%,
  68%,
  100% {
    opacity: 0;
    transform: translateX(-72%) rotate(18deg);
  }
  78% {
    opacity: 0.72;
  }
  92% {
    opacity: 0;
    transform: translateX(72%) rotate(18deg);
  }
}

@keyframes headerLightMove {
  0%,
  100% {
    --header-light-x: 8%;
    transform: translateX(-6%);
    opacity: 0.5;
  }
  45% {
    --header-light-x: 46%;
    opacity: 0.82;
  }
  70% {
    --header-light-x: 90%;
    transform: translateX(6%);
    opacity: 0.66;
  }
}

@keyframes headerGlowLine {
  0%,
  100% {
    transform: scaleX(0.55);
    opacity: 0.26;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.78;
  }
}

@keyframes appLightSweep {
  0%,
  100% {
    transform: translateX(-8%) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translateX(8%) rotate(2deg);
    opacity: 0.68;
  }
}

@keyframes phoneFloatMain {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes phoneFloatSide {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(12px) rotate(-5deg);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 26px;
    background: rgba(5, 7, 12, 0.96);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 44px;
  }

  .hero-badges {
    margin-top: 28px;
  }

  .editorial-grid,
  .app-section,
  .booking-app-section,
  .contact-section,
  .results-section {
    grid-template-columns: 1fr;
  }

  .facility-strip,
  .real-photo-grid,
  .classes-grid,
  .booking-method-grid,
  .comfort-grid,
  .trainer-grid,
  .plans-grid,
  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-original-card {
    grid-template-columns: 180px 1fr;
  }

  .app-showcase {
    min-height: 620px;
  }

  .facility-card:nth-child(1) {
    grid-row: auto;
    grid-column: span 2;
  }

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

  .schedule-row .reserve-link {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    transform: none;
    padding: 10px 10px 10px 10px;
  }

  .brand {
    gap: 10px;
  }

  .brand::before {
    left: 34px;
    width: 118px;
    height: 118px;
    filter: blur(8px);
  }

  .brand-mark {
    width: 72px;
    height: 72px;
    background-size: 123% auto;
    box-shadow:
      0 0 0 8px rgba(227, 6, 19, 0.08),
      0 0 38px rgba(227, 6, 19, 0.36),
      0 16px 34px rgba(0, 0, 0, 0.4);
  }

  .brand-copy strong {
    font-size: 1rem;
    letter-spacing: -0.05em;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    width: auto;
    min-width: 66px;
    height: 40px;
    display: inline-flex;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--accent);
    font-size: 0;
  }

  .nav-toggle::after {
    content: "Menú";
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  .nav-toggle span {
    width: 11px;
  }

  .hero {
    padding: 150px 16px 36px;
  }

  .hero.hero-photo .hero-media {
    background:
      linear-gradient(90deg, rgba(5, 7, 12, 0.9) 0%, rgba(5, 7, 12, 0.58) 44%, rgba(5, 7, 12, 0.78) 100%),
      linear-gradient(180deg, rgba(5, 7, 12, 0.08), rgba(5, 7, 12, 0.72)),
      url("./assets/generated/actitud-fit-hero-people-real-gym.png") center / cover no-repeat,
      #05070c;
  }

  .hero-media::before {
    right: -42vw;
    width: 110vw;
    opacity: 0.72;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 16vw, 4.05rem);
    line-height: 0.84;
    letter-spacing: -0.065em;
  }

  h2 {
    max-width: 100%;
    font-size: clamp(2.1rem, 11vw, 3.2rem);
    line-height: 0.9;
  }

  .hero-inner,
  .page-hero-content,
  .section-heading {
    width: 100%;
    max-width: 100%;
  }

  .hero .eyebrow,
  .page-hero .eyebrow {
    max-width: 100%;
    font-size: 0.66rem;
    line-height: 1.55;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12.5vw, 3.75rem);
    line-height: 0.88;
    overflow-wrap: break-word;
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 24px);
    padding: 70px 0;
  }

  .cinema-frame {
    min-height: 430px;
    border-radius: 30px;
  }

  .facility-strip,
  .real-photo-grid,
  .classes-grid,
  .booking-method-grid,
  .comfort-grid,
  .trainer-grid,
  .plans-grid,
  .results-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .plans-original-card {
    grid-template-columns: 1fr;
  }

  .plans-original-card img {
    max-height: 240px;
  }

  .page-hero {
    min-height: 58svh;
    padding: 150px 16px 54px;
  }

  .route-card {
    min-height: 210px;
  }

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

  .kinetic-title span {
    transform: none;
  }

  .hero-copy,
  .page-hero p:last-child {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.9);
  }

  .hero-actions {
    width: 100%;
  }

  .page-hero {
    background-position: center;
  }

  .page-hero::before {
    background:
      linear-gradient(115deg, transparent 0 58%, rgba(227, 6, 19, 0.16) 58.2% 59%, transparent 59.2%),
      linear-gradient(180deg, rgba(5, 7, 12, 0.1), rgba(5, 7, 12, 0.58));
  }

  .facility-card:nth-child(1) {
    grid-column: auto;
  }

  .facility-card,
  .class-card,
  .booking-card,
  .comfort-card,
  .result-card,
  .plan-card {
    min-height: auto;
  }

  .schedule-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .schedule-row .reserve-link {
    grid-column: auto;
  }

  .app-showcase {
    min-height: 560px;
    border-radius: 34px;
  }

  .phone-main {
    width: min(260px, 70vw);
  }

  .phone-mockup-small {
    left: 10px;
    bottom: 32px;
    width: min(170px, 42vw);
  }

  .app-float-badge {
    right: -8px;
    bottom: 58px;
    min-width: 118px;
    padding: 12px;
  }

  .contact-section {
    width: calc(100% - 24px);
    padding: 20px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 380px) {
  .brand::before {
    left: 31px;
    width: 104px;
    height: 104px;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .nav-toggle {
    min-width: 58px;
    padding: 0 9px;
  }
}

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

  .kinetic-title span {
    transform: none;
  }

  .motion-ticker,
  .kinetic-lines,
  .energy-dots {
    display: none;
  }
}
