﻿:root {
  --red: #ed4f45;
  --red-dark: #b81f20;
  --ink: #171a1f;
  --muted: #59616f;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --line: #dbe1e8;
  --teal: #006f78;
  --yellow: #e1cf00;
  --shadow: 0 18px 45px rgba(12, 18, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: 5rem;
  font-weight: 900;
}

h2 {
  font-size: 3.4rem;
  font-weight: 900;
}

h3 {
  font-size: 1.5rem;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 8px clamp(18px, 4vw, 64px);
  color: #fff;
  background: rgba(237, 79, 69, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.brand img {
  width: 142px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.header-call {
  min-width: 136px;
  padding: 10px 14px;
  border: 2px solid #fff;
  border-radius: 4px;
  text-align: center;
  font-weight: 900;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  min-height: calc(92vh - 78px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 76px);
  color: #fff;
  overflow: hidden;
}

.hero-media,
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.hero-video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-play {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(23, 26, 31, 0.76);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.hero-video-play::before {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
  content: "";
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 16, 21, 0.92) 0%, rgba(13, 16, 21, 0.7) 44%, rgba(13, 16, 21, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 79, 86, 0.2), rgba(0, 0, 0, 0.04));
}

.hero-content {
  max-width: 820px;
}

.video-impact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 7vw, 112px);
  color: #fff;
  background: var(--ink);
}

.video-impact-copy {
  max-width: 720px;
}

.video-impact-copy h2 {
  max-width: 700px;
}

.video-impact-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.video-impact-copy .button {
  margin-top: 28px;
}

.shorts-frame {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 9 / 16;
  justify-self: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  background: #000;
  box-shadow: 18px 18px 0 var(--teal), -10px -10px 0 var(--red);
}

.shorts-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.eyebrow,
.form-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

.hero-lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 160ms ease, filter 160ms ease;
}

.button::after {
  content: ">";
  margin-left: 10px;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow);
}

.button-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.call-button {
  background: #17e274;
  color: #07160d;
  overflow: visible;
  box-shadow: 0 16px 32px rgba(23, 226, 116, 0.3);
}

.hero-call-menu-toggle,
.location-call-menu {
  display: none;
}

.phone-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  margin-right: 9px;
  border-radius: 999px;
  background: #07160d;
  color: #17e274;
  font-size: 0.96em;
  line-height: 1;
  animation: phone-vibrate 1.15s ease-in-out infinite;
  transform-origin: center;
}

.phone-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(23, 226, 116, 0.52);
  border-radius: inherit;
  animation: phone-ring-pulse 1.15s ease-out infinite;
}

@keyframes phone-vibrate {
  0%,
  42%,
  100% {
    transform: rotate(0deg);
  }
  6%,
  18%,
  30% {
    transform: rotate(-12deg);
  }
  12%,
  24%,
  36% {
    transform: rotate(12deg);
  }
}

@keyframes phone-ring-pulse {
  0% {
    opacity: 0.7;
    transform: scale(0.72);
  }
  58%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}

.button-outline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(620px, 100%);
  margin: 24px 0 0;
}

.hero-proof div {
  min-width: 150px;
  padding: 15px 16px;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(5px);
}

.hero-proof dt {
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
}

.hero-proof dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.hero-form-card {
  align-self: center;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-form-card h2 {
  font-size: 2.25rem;
}

.hero-form-card p {
  margin: 12px 0 18px;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.lead-form span {
  font-size: 0.9rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #bfc8d2;
  border-radius: 4px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(0, 111, 120, 0.18);
  border-color: var(--teal);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--red-dark);
}

.span-full {
  grid-column: 1 / -1;
}

.intent-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: var(--teal);
  color: #fff;
}

.intent-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.section {
  scroll-margin-top: 104px;
  padding: clamp(62px, 8vw, 104px) clamp(18px, 4vw, 64px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto clamp(28px, 5vw, 48px);
  text-align: center;
}

.section-heading p,
.conversion-copy p,
.form-intro p,
.location-copy p,
.local-proof p,
.benefit-grid p,
.review-grid p,
.faq-grid p,
.offer-box li,
.check-list li {
  color: var(--muted);
  font-size: 1.06rem;
}

.location-section,
.reviews-section {
  background: var(--soft);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.location-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.location-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(22px, 4vw, 38px);
}

.location-copy ul,
.offer-box ul,
.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.local-proof {
  display: grid;
  gap: 14px;
}

.local-proof article,
.offer-box,
.review-card,
.faq-grid details {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.local-proof article {
  display: grid;
  gap: 10px;
}

.proof-icon {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(237, 79, 69, 0.1);
}

.proof-icon::before,
.proof-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.proof-icon-location::before {
  width: 18px;
  height: 18px;
  border: 4px solid var(--red);
  border-radius: 50% 50% 50% 0;
  background: #fff;
  transform: rotate(-45deg);
}

.proof-icon-location::after {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
}

.proof-icon-training::before {
  width: 26px;
  height: 5px;
  border-radius: 999px;
  background: var(--red);
  transform: rotate(-14deg);
}

.proof-icon-training::after {
  width: 32px;
  height: 16px;
  border-right: 5px solid var(--red);
  border-left: 5px solid var(--red);
  border-radius: 3px;
  transform: rotate(-14deg);
}

.proof-icon-pass::before {
  width: 26px;
  height: 18px;
  border: 3px solid var(--red);
  border-radius: 5px;
  background: #fff;
  transform: rotate(-8deg);
}

.proof-icon-pass::after {
  width: 0;
  height: 13px;
  border-left: 2px dashed var(--red);
  transform: rotate(-8deg);
}

.local-proof strong,
.offer-box strong,
.review-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.benefit-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.benefit-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.benefit-grid h3,
.benefit-grid p {
  padding-inline: 20px;
}

.benefit-grid h3 {
  margin-top: 20px;
}

.benefit-grid p {
  margin-bottom: 22px;
}

.conversion-section,
.final-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.offer-box {
  border-top: 6px solid var(--yellow);
}

.offer-box strong {
  font-size: 2.35rem;
  line-height: 1.08;
}

.offer-box .button {
  margin-top: 22px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.review-carousel {
  display: grid;
  width: min(100%, 1040px);
  gap: 18px;
  margin: 0 auto;
}

.review-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-carousel-header span {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 900;
}

.review-controls {
  display: flex;
  gap: 8px;
}

.review-control {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.review-control:hover {
  border-color: var(--red);
  color: var(--red);
}

.review-track {
  display: grid;
  grid-auto-columns: calc((100% - 20px) / 2);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.review-card {
  display: grid;
  min-height: 214px;
  gap: 12px;
  align-content: start;
  scroll-snap-align: start;
}

.review-stars {
  color: var(--yellow);
  letter-spacing: 0;
}

.review-card p {
  font-size: 1.06rem;
}

.review-card span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.faq-grid summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  float: right;
  margin-left: 16px;
  color: var(--red);
}

.faq-grid details[open] summary::after {
  content: "-";
}

.form-intro {
  max-width: 620px;
}

.site-footer {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 34px 18px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.site-footer img {
  width: 128px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-credit {
  font-size: 0.88rem;
}

.site-credit a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.site-credit a:hover {
  color: var(--yellow);
}

.confirmation-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(23, 26, 31, 0.92), rgba(0, 111, 120, 0.84)),
    url("assets/gimnasio-en-caguas-westside-fitness-club.jpg") center / cover fixed;
}

.confirmation-header {
  position: static;
}

.confirmation-main {
  display: grid;
  min-height: calc(100vh - 78px);
  place-items: center;
  padding: clamp(28px, 6vw, 74px) 18px;
}

.confirmation-card {
  width: min(880px, 100%);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.confirmation-card[hidden] {
  display: none;
}

.confirmation-card h1 {
  max-width: 740px;
  font-size: 3.8rem;
}

.confirmation-lead,
.confirmation-note {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.confirmation-note {
  margin: 18px 0 0;
  font-size: 0.94rem;
  font-weight: 800;
}

.lead-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.lead-review div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.lead-review span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-review strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.confirmation-actions .button {
  min-width: 220px;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-call {
    justify-self: end;
  }

  .hero,
  .location-layout,
  .location-panel,
  .conversion-section,
  .final-form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-form-card {
    max-width: 560px;
  }

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

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    min-height: 68px;
    padding: 8px 16px;
  }

  .brand img {
    width: 116px;
  }

  .header-call {
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 34px 16px;
  }

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button-primary {
    order: -1;
  }

  .hero-direct-call {
    display: none;
  }

  .hero-call-menu-toggle {
    display: inline-flex;
  }

  .hero-call-menu-toggle::after {
    content: none;
  }

  .call-menu-chevron {
    width: 22px;
    height: 22px;
    margin-left: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 160ms ease;
  }

  .hero-call-menu-toggle[aria-expanded="true"] .call-menu-chevron {
    transform: rotate(180deg);
  }

  .location-call-menu {
    width: min(520px, 100%);
    gap: 7px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    background: rgba(12, 18, 26, 0.88);
  }

  .location-call-menu:not([hidden]) {
    display: grid;
  }

  .location-call-option {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
  }

  .location-call-option > svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--teal);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .location-call-option strong,
  .location-call-option small {
    display: block;
  }

  .location-call-option strong {
    font-size: 0.98rem;
  }

  .location-call-option small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
  }

  .location-call-label {
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .intent-strip,
  .benefit-grid,
  .faq-grid,
  .lead-form-large {
    grid-template-columns: 1fr;
  }

  .review-carousel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .review-track {
    grid-auto-columns: minmax(260px, 88%);
  }

  .hero-proof {
    display: none;
  }

  .lead-review,
  .confirmation-actions {
    grid-template-columns: 1fr;
  }

  .confirmation-actions .button {
    width: 100%;
  }

  .section {
    padding: 54px 16px;
  }

  .location-panel img {
    min-height: 260px;
  }

  .benefit-grid {
    display: grid;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: block;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(23, 26, 31, 0.94);
    transition: transform 160ms ease;
  }

  .is-call-menu-open .mobile-sticky-cta {
    transform: translateY(100%);
  }

  .mobile-sticky-cta .button {
    width: 100%;
    min-height: 50px;
  }

  .mobile-sticky-cta .mobile-free-pass {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.24);
    background: linear-gradient(135deg, #ff2d24 0%, #ff4d2d 48%, #ffb000 100%);
    box-shadow: 0 12px 30px rgba(239, 57, 45, 0.36), 0 0 0 0 rgba(255, 176, 0, 0.36);
    font-size: 0.95rem;
    letter-spacing: 0;
    animation: freePassPulse 2.2s ease-in-out infinite;
  }

  .mobile-sticky-cta .mobile-free-pass::after {
    position: absolute;
    top: -55%;
    left: -35%;
    width: 34%;
    height: 210%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    transform: rotate(22deg);
    animation: freePassShine 3s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-icon,
  .phone-icon::after,
  .mobile-free-pass,
  .mobile-free-pass::after {
    animation: none;
  }
}

@keyframes freePassPulse {
  0%,
  100% {
    box-shadow: 0 12px 30px rgba(239, 57, 45, 0.36), 0 0 0 0 rgba(255, 176, 0, 0.34);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 14px 34px rgba(239, 57, 45, 0.44), 0 0 0 8px rgba(255, 176, 0, 0);
    transform: translateY(-1px);
  }
}

@keyframes freePassShine {
  0%,
  46% {
    left: -45%;
  }
  70%,
  100% {
    left: 116%;
  }
}

/* Group classes landing */
.classes-hero {
  grid-template-columns: minmax(0, 900px);
  min-height: calc(88vh - 78px);
}

.classes-hero .hero-content {
  align-self: end;
  padding-bottom: 18px;
}

.schedule-section {
  background: var(--soft);
}

.schedule-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  gap: 36px;
  align-items: end;
  max-width: 1180px;
  text-align: left;
}

.schedule-heading p:last-child {
  margin: 0;
}

.location-tabs,
.day-tabs {
  display: flex;
  width: min(1180px, 100%);
  gap: 8px;
  margin: 0 auto 20px;
}

.location-tab,
.day-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.location-tab {
  flex: 1 1 0;
  padding: 10px 18px;
  font-size: 1rem;
}

.location-tab.is-active,
.day-tab.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.selected-location {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.selected-location > img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.selected-location-copy {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 34px;
}

.selected-location-copy p {
  margin: 0;
  color: var(--muted);
}

.selected-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.selected-location-actions .button {
  min-height: 48px;
  padding: 11px 16px;
  font-size: 0.9rem;
}

.button-map {
  background: var(--teal);
  color: #fff;
}

.button-map::after {
  content: none;
}

.button-map span {
  white-space: nowrap;
}

.button-map img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  object-fit: contain;
}

.day-tabs {
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.day-tabs-shell {
  position: relative;
  width: min(1180px, 100%);
  max-width: 100%;
  margin: 0 auto 20px;
  overflow: hidden;
}

.day-tabs-shell .day-tabs {
  width: 100%;
  margin: 0;
}

.day-scroll-cue {
  display: none;
}

.day-tab {
  flex: 1 0 112px;
  padding: 9px 12px;
  white-space: nowrap;
}

.schedule-list {
  display: grid;
  width: min(1180px, 100%);
  gap: 10px;
  margin: 0 auto;
}

.schedule-row {
  display: grid;
  grid-template-columns: 56px 118px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 4px;
  background: #fff;
}

.schedule-row time {
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 900;
}

.schedule-row h3 {
  font-size: 1.2rem;
}

.schedule-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.schedule-row > span:last-child {
  justify-self: end;
  color: var(--muted);
  font-weight: 900;
}

.class-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  color: var(--teal);
  background: rgba(0, 111, 120, 0.1);
}

.class-icon svg {
  width: 58%;
  height: 58%;
}

.schedule-icon {
  width: 50px;
  height: 50px;
  justify-self: center;
}

.schedule-empty {
  padding: 34px;
  border: 1px dashed #aeb9c4;
  border-radius: 4px;
  background: #fff;
  text-align: center;
}

.schedule-empty strong {
  font-size: 1.35rem;
}

.schedule-empty p {
  max-width: 600px;
  margin: 10px auto 20px;
  color: var(--muted);
}

.class-catalog-section {
  background: #fff;
}

.class-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, 100%);
  gap: 18px;
  margin: 0 auto;
}

.class-card {
  position: relative;
  display: grid;
  min-height: 260px;
  gap: 14px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: 4px;
  background: var(--soft);
}

.class-number {
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
}

.class-card-meta {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.catalog-icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  background: rgba(237, 79, 69, 0.1);
}

.class-card p {
  margin: 0;
  color: var(--muted);
}

.class-interest {
  justify-self: start;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.classes-offer-section {
  color: #fff;
  background: var(--ink);
}

.classes-offer-section .conversion-copy p {
  color: rgba(255, 255, 255, 0.8);
}

.classes-offer-section .offer-box {
  padding: 30px;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.classes-offer-section .offer-box li {
  color: var(--muted);
}

.faq-list {
  display: grid;
  width: min(900px, 100%);
  gap: 10px;
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}

.faq-list summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.admin-access {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-sticky-cta {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
  width: 100%;
  max-width: 100vw;
}

.mobile-sticky-cta > a,
.mobile-sticky-cta > button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-call {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mobile-call > svg:first-child {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
}

.mobile-call .call-menu-chevron {
  flex: 0 0 auto;
  margin-left: 7px;
}

.mobile-call-toggle[aria-expanded="true"] .call-menu-chevron {
  transform: rotate(180deg);
}

.mobile-sticky-cta .mobile-location-call-menu {
  position: absolute;
  right: 14px;
  bottom: calc(100% + 8px);
  left: 14px;
  width: auto;
  max-height: min(50vh, 320px);
  margin: 0;
  overflow-y: auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.mobile-sticky-cta .mobile-location-call-menu:not([hidden]) {
  display: grid;
}

.mobile-location-call-menu .location-call-option {
  min-width: 0;
}

.mobile-form {
  background: var(--red);
  color: #fff;
}

/* Restricted schedule editor */
.admin-body {
  min-height: 100vh;
  background: var(--soft);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 9px 24px;
  border-bottom: 4px solid var(--red);
  background: var(--ink);
  color: #fff;
}

.admin-header img {
  width: 116px;
}

.admin-header h1 {
  font-size: 1.35rem;
}

.admin-header p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions .button {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 0.84rem;
}

.admin-actions .button::after,
.editor-button::after {
  content: none;
}

.editor-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 34px 24px 70px;
}

.editor-intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.editor-intro h2 {
  font-size: 2.25rem;
}

.editor-intro p {
  max-width: 660px;
  margin: 8px 0 0;
  color: var(--muted);
}

.editor-location-tabs {
  margin: 0 0 20px;
}

.editor-status {
  min-height: 24px;
  margin: 0 0 14px;
  color: var(--teal);
  font-weight: 900;
}

.editor-status.is-error {
  color: var(--red-dark);
}

.location-readonly {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--line);
}

.location-readonly div {
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
}

.location-readonly span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.location-readonly strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.editor-canvas {
  display: grid;
  gap: 16px;
}

.editor-class-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(12, 18, 26, 0.08);
}

.editor-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.editor-card-head strong {
  font-size: 1.05rem;
}

.editor-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
}

.editor-field {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.editor-field span {
  font-size: 0.84rem;
}

.editor-field input,
.editor-field textarea,
.session-row select,
.session-row input {
  width: 100%;
  border: 1px solid #bfc8d2;
  border-radius: 4px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.editor-field textarea {
  min-height: 92px;
  resize: vertical;
}

.session-editor {
  margin-top: 18px;
}

.session-editor h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.sessions-list {
  display: grid;
  gap: 8px;
}

.session-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 130px 130px 42px;
  gap: 8px;
  align-items: center;
}

.session-row-labels {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 130px 130px 42px;
  gap: 8px;
  margin: 8px 0 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #e4a7a3;
  border-radius: 4px;
  background: #fff;
  color: var(--red-dark);
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
}

.editor-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.editor-button:hover,
.icon-button:hover {
  border-color: var(--teal);
}

.editor-button.danger {
  border-color: #e4a7a3;
  color: var(--red-dark);
}

.editor-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(110deg, rgba(23, 26, 31, 0.94), rgba(0, 111, 120, 0.72)),
    url("hero-clases-grupales-westside.jpg") center / cover;
}

.login-panel {
  width: min(440px, 100%);
  padding: 30px;
  border-top: 5px solid var(--red);
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-panel img {
  width: 138px;
  margin-bottom: 24px;
}

.login-panel h1 {
  font-size: 2.2rem;
}

.login-panel > p {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.login-error {
  padding: 10px 12px;
  border-left: 4px solid var(--red);
  background: #fff0ef;
  color: var(--red-dark);
  font-weight: 800;
}

@media (max-width: 960px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.8rem;
  }

  .video-impact-section {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: 40px;
  }

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

  .schedule-row {
    grid-template-columns: 52px 108px minmax(0, 1fr);
  }

  .schedule-row > span:last-child {
    grid-column: 3;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  body:not(.admin-body) {
    padding-bottom: 76px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .video-impact-section {
    display: none;
  }

  .video-impact-copy {
    text-align: center;
  }

  .video-impact-copy .button {
    width: 100%;
  }

  .shorts-frame {
    width: min(88vw, 350px);
    box-shadow: 10px 10px 0 var(--teal), -7px -7px 0 var(--red);
  }

  .classes-hero {
    min-height: 76vh;
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .classes-hero .hero-video {
    display: block;
  }

  .classes-hero .hero-video-play:not([hidden]) {
    display: grid;
    place-items: center;
  }

  .classes-hero .hero-shade {
    background:
      linear-gradient(180deg, rgba(13, 16, 21, 0.48) 0%, rgba(13, 16, 21, 0.68) 42%, rgba(13, 16, 21, 0.92) 100%),
      linear-gradient(90deg, rgba(0, 79, 86, 0.25), rgba(0, 0, 0, 0.08));
  }

  .classes-hero .hero-media {
    object-position: 62% center;
    transform: none;
  }

  .hero-lead {
    font-size: 1.06rem;
  }

  .schedule-heading,
  .selected-location,
  .class-catalog,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .schedule-heading {
    gap: 12px;
  }

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

  .location-tab {
    min-width: 0;
    padding: 9px 5px;
    font-size: 0.84rem;
  }

  .day-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .day-tabs::-webkit-scrollbar {
    display: none;
  }

  .day-tab {
    min-width: 0;
    min-height: 48px;
    padding: 9px 5px;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.15;
  }

  .day-scroll-cue {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 4px;
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    transform: translateY(-58%);
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 4px 14px rgba(12, 18, 26, 0.24);
    color: #fff;
    cursor: pointer;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .day-scroll-cue::before {
    position: absolute;
    z-index: -1;
    right: -6px;
    width: 58px;
    height: 64px;
    background: linear-gradient(90deg, rgba(244, 247, 249, 0), var(--soft) 55%);
    content: "";
  }

  .day-scroll-cue svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .day-scroll-cue.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(8px, -58%);
  }

  .selected-location > img {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }

  .selected-location-copy {
    padding: 22px 22px 84px;
  }

  .selected-location-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .selected-location-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.78rem;
  }

  .schedule-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 8px;
    padding: 18px;
  }

  .schedule-icon {
    grid-row: 1 / span 3;
    align-self: start;
  }

  .schedule-row time,
  .schedule-row > div,
  .schedule-row > span:last-child {
    grid-column: 2;
  }

  .schedule-row > span:last-child {
    justify-self: start;
  }

  .class-catalog {
    gap: 12px;
  }

  .class-card {
    min-height: 220px;
  }

  .mobile-sticky-cta {
    display: grid;
  }

  .admin-header {
    grid-template-columns: auto 1fr;
    padding: 8px 14px;
  }

  .admin-header img {
    width: 92px;
  }

  .admin-header h1 {
    font-size: 1rem;
  }

  .admin-header p {
    display: none;
  }

  .admin-actions {
    grid-column: 1 / -1;
  }

  .admin-actions .button {
    flex: 1 1 0;
  }

  .editor-shell {
    padding: 24px 14px 60px;
  }

  .editor-intro {
    display: block;
  }

  .editor-intro h2 {
    font-size: 1.8rem;
  }

  .location-readonly {
    grid-template-columns: 1fr;
  }

  .editor-class-card {
    padding: 17px;
  }

  .session-row {
    grid-template-columns: 1fr 1fr 42px;
  }

  .session-row-labels {
    display: none;
  }

  .session-row select {
    grid-column: 1 / -1;
  }
}

