/* ==========================================================================
   IRONHAUS — styles
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f2;
  --muted: #9a9a9f;
  --accent: #d4ff3a;
  --accent-ink: #0b0b0c;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html { overflow-x: clip; }

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent); }
  100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

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

.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary::before { background: #fff; }

.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.25); color: var(--text); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover { color: var(--bg); border-color: var(--text); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  background: var(--bg);
  transition: clip-path 1s var(--ease) 0.1s;
  clip-path: inset(0 0 0 0);
}

.loader.done { clip-path: inset(0 0 100% 0); }

.loader__brand {
  min-height: 1em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  font-family: var(--font-display);
  font-size: clamp(56px, 12vw, 140px);
  letter-spacing: 0.04em;
  line-height: 1;
}

.loader__brand span { color: var(--accent); }
.loader.has-brand .loader__brand { opacity: 1; transform: none; }

.loader__bar { width: 220px; height: 2px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }

.loader__count {
  position: absolute;
  right: 40px; bottom: 30px;
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--muted);
}

/* ---------- Cursor ---------- */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor {
  width: 38px; height: 38px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, opacity 0.3s;
}

.cursor-dot { width: 6px; height: 6px; background: var(--accent); }

.cursor.hover { width: 70px; height: 70px; background: color-mix(in srgb, var(--accent) 12%, transparent); }

@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot { opacity: 1; }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s, transform 0.5s var(--ease);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.4s;
}

.header.scrolled { padding: 12px 0; }
.header.scrolled::before { opacity: 1; }

.header.hidden { transform: translateY(-100%); }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo, .footer__brand {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.logo span, .footer__brand span { color: var(--accent); }

/* Optional uploaded logo (general.logo) — replaces or sits beside the brand name */
.logo.has-logo, .footer__brand.has-logo, .loader__brand.has-logo { display: inline-flex; align-items: center; gap: 0.35em; }
.footer__brand.has-logo, .loader__brand.has-logo { flex-wrap: wrap; justify-content: center; max-width: 92vw; }
.footer__brand.has-logo { justify-content: flex-start; }
.loader__brand.has-logo { font-size: clamp(44px, 10vw, 120px); }
.brand-logo { display: block; width: auto; height: 44px; max-width: 200px; object-fit: contain; }
.logo .brand-name, .footer__brand .brand-name, .loader__brand .brand-name { color: inherit; }
.brand-name span { color: var(--accent); }
.footer__brand .brand-logo { height: clamp(64px, 9vw, 120px); max-width: min(420px, 80vw); }
.loader__brand .brand-logo { height: clamp(64px, 14vw, 140px); max-width: 80vw; }
@media (max-width: 640px) { .logo .brand-logo { height: 36px; max-width: 150px; } }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__cta { display: none; }

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 40px; height: 40px; position: relative; }

.burger span {
  position: absolute;
  left: 8px; right: 8px; height: 2px;
  background: var(--text);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}

.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger.open span:first-child { top: 19px; transform: rotate(45deg); }
.burger.open span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.25);
  transition: transform 2.4s var(--ease);
}

body.loaded .hero__bg img { transform: scale(1.05); animation: kenburns 24s ease-in-out 2.4s infinite alternate; }

@keyframes kenburns {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.15) translate(-2%, -1%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.92) 0%, rgba(11, 11, 12, 0.55) 55%, rgba(11, 11, 12, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}

.hero__content { position: relative; z-index: 2; padding-top: 100px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 168px);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin: 22px 0 28px;
  text-transform: uppercase;
}

.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }

.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s var(--ease);
}

.hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.24s; }

.hero__title .outline { color: transparent; -webkit-text-stroke: 2px var(--text); }
.hero__title em { font-style: normal; color: var(--accent); }

.hero__eyebrow, .hero__text, .hero__actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.hero__text { max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.75); transition-delay: 0.45s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; transition-delay: 0.6s; }

body.loaded .hero__title .line > span { transform: translateY(0); }
body.loaded .hero__eyebrow,
body.loaded .hero__text,
body.loaded .hero__actions { opacity: 1; transform: none; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll i { width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden; }

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.hero__badge {
  position: absolute;
  right: 6%; bottom: 14%;
  z-index: 2;
  width: 150px; height: 150px;
  display: grid;
  place-items: center;
}

.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__badge text { fill: var(--text); font-size: 15px; letter-spacing: 3.5px; font-weight: 600; }
.hero__badge-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.spin { animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 18px 0;
  transform: rotate(-1.5deg);
  margin: 40px -10px 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1;
  text-transform: uppercase;
}

.marquee__track i { font-style: normal; font-size: 26px; }

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

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 110px 0 40px;
}

.stat { border-top: 1px solid var(--line); padding-top: 22px; }

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(54px, 6vw, 88px);
  line-height: 1;
}

.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }

.section__head { max-width: 720px; margin-bottom: 64px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__head--row .section__lead { max-width: 380px; }
.section__head--center { margin-inline: auto; text-align: center; }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 16px 0 20px;
}

.section__lead { color: var(--muted); font-size: 17px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}

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

/* Image reveal: a cover panel shrinks away. (Not clip-path on the observed element itself:
   a fully clipped target never reports as intersecting, so it would never reveal.) */
.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--reveal-bg, var(--bg-2));
  transform-origin: top;
  transition: transform 1.4s var(--ease);
  transition-delay: var(--d, 0s);
  pointer-events: none;
}
.img-reveal img { transform: scale(1.3); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.img-reveal.in::after { transform: scaleY(0); }
.img-reveal.in img { transform: scale(1); }

/* ---------- Programs ---------- */
.programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4.4;
  background: var(--surface);
  transform-style: preserve-3d;
  will-change: transform;
}

.card.tilt-ready { transition: transform 0.2s ease-out; }

.card__img, .card__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__img img { object-fit: cover; transition: transform 1.2s var(--ease), filter 0.8s; filter: grayscale(35%) brightness(0.8); }
.card:hover .card__img img { transform: scale(1.1); filter: grayscale(0) brightness(0.9); }

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11, 11, 12, 0.95) 100%);
}

.card__body { position: absolute; inset: auto 0 0; z-index: 2; padding: 28px; }

.card__num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
}

.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; margin-bottom: 10px; }

.card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.6s var(--ease);
}

.card:hover p { max-height: 100px; opacity: 1; }

.card__link {
  display: inline-flex;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.card__link span { transition: transform 0.4s var(--ease); }
.card:hover .card__link span { transform: translateX(6px); }

/* ---------- About ---------- */
.about { background: var(--bg-2); }

.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }

.about__media { position: relative; padding: 0 60px 80px 0; }

.about__img { border-radius: var(--radius); overflow: hidden; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { position: relative; aspect-ratio: 4 / 5; }
.about__img--main img { position: absolute; top: 0; left: 0; height: 116%; }

.about__img--small {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 8px solid var(--bg-2);
  transition-delay: 0.3s;
}

.about__tag {
  position: absolute;
  left: -24px; top: 40px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 18px 24px;
  border-radius: 14px;
  animation: float 5s ease-in-out infinite;
}

.about__tag strong { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; font-weight: 400; }
.about__tag span { font-size: 13px; font-weight: 700; }

@keyframes float { 50% { translate: 0 -12px; } }

.about__content > p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

.features { display: grid; gap: 22px; margin-bottom: 40px; }
.features li { display: flex; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.features li:last-child { border-bottom: 0; padding-bottom: 0; }
.features__icon { color: var(--accent); font-size: 14px; padding-top: 4px; }
.features h4 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.features p { color: var(--muted); font-size: 15px; }

/* ---------- Trainers ---------- */
.trainers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.trainer:nth-child(even) { margin-top: 60px; }

.trainer__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.trainer__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.trainer__img::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s, transform 0.6s var(--ease);
}

.trainer:hover .trainer__img img { filter: grayscale(0); transform: scale(1.06); }
.trainer:hover .trainer__img::after { opacity: 1; transform: scale(1); }

.trainer figcaption { padding-top: 18px; }
.trainer h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; }
.trainer span { color: var(--muted); font-size: 14px; }

/* ---------- Schedule ---------- */
.schedule { background: var(--bg-2); }

.tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 6px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 40px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  position: relative;
  z-index: 1;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.4s;
  flex-shrink: 0;
}

.tab.active { color: var(--accent-ink); }

.tabs__indicator {
  position: absolute;
  top: 6px; bottom: 6px;
  left: 0;
  border-radius: 100px;
  background: var(--accent);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

.timetable { display: grid; gap: 12px; }
.timetable__empty { color: var(--muted); padding: 22px 0; }

.class-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 120px;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  animation: rowIn 0.6s var(--ease) both;
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
}

.class-row:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateX(8px); background: #1c1c20; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.class-row__time { font-family: var(--font-display); font-size: 28px; color: var(--accent); line-height: 1; }
.class-row__name { font-weight: 700; font-size: 18px; }
.class-row__coach { color: var(--muted); font-size: 15px; }

.class-row__level {
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
}

/* ---------- Gallery ---------- */
.gallery { padding: 0; overflow: hidden; }

.gallery__track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.gallery__item {
  width: clamp(260px, 30vw, 420px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

.gallery__item:nth-child(even) { margin-top: 60px; }

.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
  filter: brightness(0.85);
}

.gallery__item:hover img { transform: scale(1.08); filter: brightness(1); }

/* ---------- Pricing ---------- */

.pricing__grid { display: grid; grid-template-columns: repeat(var(--plans, 3), 1fr); gap: 22px; align-items: center; }

.plan {
  position: relative;
  padding: 44px 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.4s, opacity 1s var(--ease);
}

.plan.in:hover { transform: translateY(-10px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

.plan--featured {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--surface)) 0%, var(--surface) 60%);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  padding: 60px 36px;
}

.plan__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan h3 { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; }
.plan__desc { color: var(--muted); font-size: 15px; margin: 6px 0 26px; }

.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 10px; }
.pricing__grid--many { align-items: stretch; }
.pricing__grid--many .plan { display: flex; flex-direction: column; }
.pricing__grid--many .plan ul { flex: 1; align-content: start; }
.plan__total { color: var(--muted); font-size: 14px; margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 26px; }
.plan__total em { font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 0.04em; color: #0b0b0c; background: var(--accent); padding: 4px 9px; border-radius: 999px; }
.plan__price .currency { font-size: 26px; font-weight: 600; color: var(--muted); }
.plan__price .amount { font-family: var(--font-display); font-size: 84px; line-height: 0.9; display: inline-block; transition: transform 0.4s var(--ease), opacity 0.4s; }
.plan__price .per { color: var(--muted); }

.plan ul { display: grid; gap: 14px; margin-bottom: 34px; }
.plan li { display: flex; gap: 12px; font-size: 15px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan li.off { color: #5a5a5f; text-decoration: line-through; }
.plan li.off::before { content: "×"; color: #5a5a5f; }

/* ---------- Testimonials ---------- */
.testimonials { text-align: center; }

.slider { display: grid; max-width: 960px; margin: 30px auto 0; }

.slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition: opacity 0.8s var(--ease) 0.35s, transform 0.8s var(--ease) 0.35s;
}
.slide blockquote {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.slide cite { font-style: normal; color: var(--muted); }
.slide cite strong { color: var(--text); }

.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 44px; }

.slider__dots button {
  width: 34px; height: 4px;
  border-radius: 4px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.slider__dots button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.slider__dots button.active::after { animation: progress 6s linear forwards; }

@keyframes progress { to { transform: scaleX(1); } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 140px 0; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 125%; object-fit: cover; }

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(11, 11, 12, 0.96) 30%, rgba(11, 11, 12, 0.75) 100%);
}

.cta__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }

.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 16px 0 24px;
}

.cta__grid > div > p { color: rgba(255, 255, 255, 0.72); font-size: 17px; max-width: 460px; }

.contact__info { display: grid; gap: 14px; margin-top: 40px; }
.contact__info div { display: flex; gap: 20px; font-size: 16px; }
.contact__info a { transition: color 0.3s; }
.contact__info a:hover { color: var(--accent); }
.contact__info span {
  width: 64px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 3px;
}

.form {
  padding: 44px;
  border-radius: 24px;
  background: rgba(24, 24, 27, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
}

.form h3 { font-family: var(--font-display); font-weight: 400; font-size: 36px; margin-bottom: 26px; }

.field { position: relative; margin-bottom: 18px; }

.field input,
.field select {
  width: 100%;
  padding: 24px 18px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
  appearance: none;
  transition: border-color 0.3s, background 0.3s;
}

.field select option { background: var(--surface); }

.field input:focus,
.field select:focus { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 4%, transparent); }

.field label {
  position: absolute;
  left: 18px; top: 17px;
  color: var(--muted);
  font-size: 15px;
  pointer-events: none;
  transform-origin: left;
  transition: transform 0.3s var(--ease), color 0.3s;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label { transform: translateY(-11px) scale(0.78); color: var(--accent); }

/* Mobile number: fixed +91 before 10 digits; the label stays floated so it never covers the prefix */
.field--phone .field__cc { position: absolute; left: 18px; top: 24px; font-size: 16px; line-height: 1.5; color: var(--muted); pointer-events: none; }
.field--phone input { padding-left: 56px; letter-spacing: 0.04em; }
.field--phone input::placeholder { color: transparent; }
.field--phone input:focus::placeholder { color: rgba(255, 255, 255, 0.25); }
.field--phone label { transform: translateY(-11px) scale(0.78); }
.field--phone input:focus + label { color: var(--accent); }

/* Per-field validation messages */
.field__err { display: block; color: #ff7a7a; font-size: 13px; line-height: 1.4; margin-top: 6px; padding-left: 4px; }
.field__err:empty { display: none; }
.field.invalid input,
.field.invalid select { border-color: #ff7a7a; background: rgba(255, 122, 122, 0.06); }
.field.invalid input:focus,
.field.invalid select:focus { border-color: #ff7a7a; }
.field.invalid input + label,
.field.invalid select + label { color: #ff7a7a; }

.form .btn { margin-top: 8px; }

.form__msg {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  transition: max-height 0.5s var(--ease), opacity 0.5s, margin 0.5s;
}

.form__msg.show { max-height: 80px; opacity: 1; margin-top: 18px; }
.form__msg.error { color: #ff7a7a; }
.form .btn:disabled { opacity: 0.7; cursor: progress; }

/* Free pass card (replaces the form after claiming; kept on the visitor's device) */
.pass {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, rgba(24, 24, 27, 0.92)), rgba(24, 24, 27, 0.92) 55%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline: none;
  animation: passIn 0.6s var(--ease) both;
}
@keyframes passIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.pass__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pass__brand { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.06em; line-height: 1; }
.pass__brand span { color: var(--accent); }
.pass__status { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #0b0b0c; background: var(--accent); padding: 5px 11px; border-radius: 999px; }
.pass--expired .pass__status { background: #5a5a5f; color: var(--text); }
.pass__msg { color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.pass__title { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.05; margin-bottom: 18px; }
.pass__code {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 14px 18px; margin-bottom: 20px;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
}
.pass__code small { color: var(--muted); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.pass__code strong { font-family: var(--font-display); font-weight: 400; font-size: 38px; letter-spacing: 0.14em; line-height: 1; color: var(--accent); }
.pass__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin-bottom: 18px; }
.pass__grid dt { color: var(--muted); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 3px; }
.pass__grid dd { font-size: 15px; overflow-wrap: anywhere; }
.pass__note { color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.pass__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pass__actions .btn { flex: 1 1 160px; justify-content: center; }
.pass__again { display: block; margin: 16px auto 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.pass__again:hover { color: var(--text); }
@media (max-width: 640px) {
  .pass { padding: 26px 20px; }
  .pass__grid { grid-template-columns: 1fr; }
  .pass__code strong { font-size: 32px; }
}

/* Honeypot: hidden from people, filled in by spam bots */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Footer ---------- */
.footer { padding: 90px 0 36px; border-top: 1px solid var(--line); }

.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; padding-bottom: 60px; }
.footer__brand { font-size: clamp(64px, 10vw, 140px); }

.footer__cols { display: flex; gap: 80px; flex-wrap: wrap; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols h5 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__cols a { transition: color 0.3s; }
.footer__cols a:hover { color: var(--accent); }
.footer__cols p { color: var(--muted); font-size: 15px; max-width: 240px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 20px;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- WhatsApp / Call buttons ---------- */
/* Stacked bottom-right; back-to-top moves to bottom-left so they never overlap */
.quick-contact {
  position: fixed;
  right: calc(24px + env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.quick-contact[hidden] { display: none; }
body.has-qc .to-top { right: auto; left: calc(24px + env(safe-area-inset-left)); }
body.is-loading .quick-contact { opacity: 0; pointer-events: none; }
.qc {
  display: inline-flex;
  align-items: center;
  height: 56px;
  min-width: 56px;
  padding: 0 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: qc-in 0.6s var(--ease) both;
}
.qc + .qc { animation-delay: 0.1s; }
.qc svg { width: 24px; height: 24px; flex-shrink: 0; }
.qc__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width 0.35s var(--ease), margin 0.35s var(--ease); }
.qc:hover, .qc:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.qc:hover .qc__label, .qc:focus-visible .qc__label { max-width: 120px; margin-left: 10px; }
.qc:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.qc--wa { background: #25d366; color: #fff; }
.qc--call { background: var(--accent); color: var(--accent-ink); }
@keyframes qc-in { from { opacity: 0; transform: translateY(16px) scale(0.85); } }
@media (prefers-reduced-motion: reduce) { .qc { animation: none; } }
@media (max-width: 560px) {
  .quick-contact { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); gap: 10px; }
  body.has-qc .to-top { left: calc(16px + env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .qc { height: 52px; min-width: 52px; padding: 0 14px; }
}

/* ---------- Responsive ---------- */

/* Touch devices: no hover, so show what hover would reveal */
@media (hover: none) {
  .card p { max-height: 100px; opacity: 1; }
  .card__img img { filter: brightness(0.75); }
  .trainer__img img { filter: grayscale(0); }
  .class-row:hover { transform: none; }
  .plan.in:hover { transform: none; }
}

/* Small laptops / tablet landscape */
@media (max-width: 1180px) {
  .pricing__grid--many { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-inline: auto; align-items: stretch; }
  .nav { gap: 24px; }
  .about__grid { gap: 60px; }
  .plan { padding: 40px 28px; }
  .plan--featured { padding: 52px 28px; }
}

@media (max-width: 1080px) {
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .card { aspect-ratio: 4 / 3.8; }
  .about__grid { gap: 48px; }
  .about__media { padding: 0 36px 60px 0; }
  .about__tag { left: -16px; }
  .cta__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__badge { width: 120px; height: 120px; right: 4%; bottom: 10%; }
  .section { padding: 100px 0; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 56px; }
  .about__media { padding: 0 40px 60px 0; }
  .about__img--main { aspect-ratio: 4 / 3; }
  .about__img--small { width: 38%; }
  .about__tag { left: -12px; }
  .trainers__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .trainer:nth-child(even) { margin-top: 0; }
  .trainer__img { aspect-ratio: 4 / 4.4; }
  .plan, .plan--featured { padding: 40px 22px; }
  .plan__price .amount { font-size: 68px; }
  .plan li { font-size: 14px; }
  .plan .btn { padding-inline: 12px; font-size: 14px; }
  .cta { padding: 110px 0; }
}

@media (max-width: 760px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 30px; }
  .plan--featured { order: -1; }
  .plan, .plan--featured { padding: 40px 32px; }
  .plan__price .amount { font-size: 80px; }
  .plan li { font-size: 15px; }
}

@media (max-width: 860px) {
  .burger { display: block; z-index: 101; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    inset: 0;
    height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 80px 24px calc(40px + env(safe-area-inset-bottom));
    background: var(--bg);
    clip-path: circle(0 at calc(100% - 44px) 40px);
    visibility: hidden;
    transition: clip-path 0.8s var(--ease), visibility 0s linear 0.8s;
  }

  .nav.open {
    clip-path: circle(150% at calc(100% - 44px) 40px);
    visibility: visible;
    transition: clip-path 0.8s var(--ease), visibility 0s;
  }

  .nav a {
    font-family: var(--font-display);
    font-size: clamp(40px, 9vw, 60px);
    line-height: 1.1;
    color: var(--text);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
  }

  .nav a::after { display: none; }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(1) { transition-delay: 0.15s; }
  .nav.open a:nth-child(2) { transition-delay: 0.2s; }
  .nav.open a:nth-child(3) { transition-delay: 0.25s; }
  .nav.open a:nth-child(4) { transition-delay: 0.3s; }
  .nav.open a:nth-child(5) { transition-delay: 0.35s; }
  .nav.open a:nth-child(6) { transition-delay: 0.4s; }
  .nav.open a:nth-child(7) { transition-delay: 0.45s; }
  .nav a.active { color: var(--accent); }

  .nav .nav__cta {
    display: inline-flex;
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--accent-ink);
  }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; padding-top: 80px; }
  .section { padding: 90px 0; }
  .section__head { margin-bottom: 44px; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 0; }
  .tabs { display: grid; grid-template-columns: repeat(var(--days, 6), 1fr); width: 100%; }
  .tab { padding: 10px 0; }
  .class-row { grid-template-columns: 90px 1.2fr 1fr auto; padding: 20px 22px; }
  .gallery__item:nth-child(even) { margin-top: 36px; }
  .footer__cols { gap: 48px; }
}

@media (max-width: 640px) {
  .class-row { grid-template-columns: 90px 1fr; row-gap: 4px; padding: 18px 20px; }
  .class-row__coach { grid-column: 2; }
  .class-row__level { grid-column: 2; justify-self: start; margin-top: 6px; }
  .class-row__time { grid-row: span 3; font-size: 24px; }
}

/* Phones */
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }

  .hero__content { padding-top: 90px; padding-bottom: 40px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.12em; }
  .hero__title { font-size: clamp(54px, 17vw, 80px); margin: 18px 0 20px; }
  .hero__text { font-size: 16px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll, .hero__badge { display: none; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0.75) 60%, var(--bg) 100%);
  }

  .marquee { padding: 14px 0; margin-top: 24px; }
  .marquee__track { gap: 24px; }
  .marquee__track i { font-size: 18px; }

  .stats { padding: 64px 0 20px; }
  .stat strong { font-size: 52px; }

  .section { padding: 72px 0; }
  .section__title { font-size: clamp(42px, 12vw, 56px); }
  .section__lead { font-size: 16px; }

  /* Programs become a swipeable carousel */
  .programs__grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: -16px;
    padding: 0 16px 8px;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .programs__grid::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 82%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
  .card p { max-height: 100px; opacity: 1; }
  .card__body { padding: 22px; }
  .card h3 { font-size: 30px; }

  .about__media { padding: 0 28px 56px 0; }
  .about__img--main { aspect-ratio: 4 / 4.2; }
  .about__img--small { width: 46%; }
  .about__tag { left: -8px; top: 24px; padding: 14px 18px; }
  .about__tag strong { font-size: 34px; }
  .about__content > p { font-size: 16px; }

  .trainers__grid { gap: 22px 12px; }
  .trainer__img { aspect-ratio: 3 / 4; }
  .trainer figcaption { padding-top: 12px; }
  .trainer h3 { font-size: 22px; }
  .trainer span { font-size: 12px; }

  .tabs { padding: 4px; margin-bottom: 28px; }
  .tab { font-size: 13px; }
  .tabs__indicator { top: 4px; bottom: 4px; }
  .class-row { grid-template-columns: 72px 1fr; padding: 16px; gap: 2px 14px; }
  .class-row__time { font-size: 22px; }
  .class-row__name { font-size: 16px; }
  .class-row__coach { font-size: 14px; }

  .gallery__item { width: 68vw; }
  .gallery__item:nth-child(even) { margin-top: 24px; }

  .plan, .plan--featured { padding: 36px 24px; }
  .plan__price .amount { font-size: 72px; }


  .cta { padding: 80px 0; }
  .cta__grid { gap: 44px; }
  .cta__title { font-size: clamp(52px, 15vw, 72px); }
  .contact__info div { font-size: 15px; }
  .form { padding: 28px 20px; }
  .form h3 { font-size: 30px; }

  .footer { padding: 64px 0 28px; }
  .footer__top { gap: 40px; padding-bottom: 40px; }
  .footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; width: 100%; }
  .footer__cols > div:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .footer__cols p { max-width: none; }
  .footer__bottom { font-size: 13px; }

  .to-top { width: 44px; height: 44px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .loader__count { font-size: 48px; right: 20px; }
}

/* Short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 560px; }
  .hero__title { font-size: clamp(48px, 9vw, 80px); }
  .hero__scroll, .hero__badge { display: none; }
  .nav { justify-content: flex-start; overflow-y: auto; gap: 8px; padding-top: 70px; }
  .nav a { font-size: 32px; }
}

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