/* =====================================================
   EVO GYM CENTER — Design System
   ===================================================== */

:root {
  --bg: #E9E6DD;
  --bg-warm: #EFEBE3;
  --surface: #C4AD9D;
  --surface-25: rgba(196, 173, 157, 0.25);
  --surface-50: rgba(196, 173, 157, 0.5);
  --surface-12: rgba(196, 173, 157, 0.12);
  --accent: #F57251;
  --accent-soft: rgba(245, 114, 81, 0.15);
  --ink: #000000;
  --ink-70: rgba(0, 0, 0, 0.7);
  --ink-50: rgba(0, 0, 0, 0.5);
  --ink-30: rgba(0, 0, 0, 0.3);
  --ink-08: rgba(0, 0, 0, 0.08);
  --line: rgba(196, 173, 157, 0.45);
  --line-soft: rgba(196, 173, 157, 0.25);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Space Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max: 1240px;
  --pad: clamp(16px, 4vw, 56px);

  --nav-h: 76px;
  --topbar-h: 38px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
body.no-cursor { cursor: auto; }
body.no-cursor * { cursor: auto !important; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: 0; cursor: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

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

/* ===== Custom cursor (desktop) ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s var(--ease);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: rgba(245, 114, 81, 0.06);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  margin: -18px 0 0 -18px;
}
body.cursor-hover .cursor-dot { width: 0; height: 0; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(245, 114, 81, 0.12); }
body.cursor-down .cursor-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; }

@media (hover: none), (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none; }
  body, button, a { cursor: auto; }
}

/* ===== Containers & layout ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section__head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 18px;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}
.section__title--center { margin: 0 auto; }
.section__title-accent {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.section__sub {
  margin-top: 18px;
  color: var(--ink-70);
  font-size: 16px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
.section__line {
  width: 1px;
  height: 0;
  margin: 32px auto 0;
  background: var(--accent);
  transition: height 1.4s var(--ease);
}
.section__line.is-drawn { height: 60px; }

/* ===== Top bar (contact strip) ===== */
.topbar {
  background: var(--ink);
  color: var(--bg);
  font-size: 12px;
  letter-spacing: 0.04em;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 110;
}
.topbar__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(233, 230, 221, 0.85);
  transition: color 0.2s var(--ease);
}
.topbar__item a { color: inherit; }
.topbar__item:hover { color: var(--accent); }
.topbar__dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245, 114, 81, 0.25);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245, 114, 81, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(245, 114, 81, 0); }
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(233, 230, 221, 0.75);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(233, 230, 221, 0.88); }
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.nav__logo span { color: var(--accent); font-weight: 600; }
.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav__links a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  letter-spacing: 0.01em;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 2;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.mobile-menu__links a {
  font-family: var(--font-head);
  font-size: clamp(36px, 7vw, 50px);
  font-weight: 600;
  color: var(--ink);
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s var(--ease), color 0.3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__links a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu__links a:hover { color: var(--accent); }
.mobile-menu__foot {
  position: absolute;
  bottom: 40px;
  left: 40px; right: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.4s;
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-h) - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--pad) 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(255,255,255,0.4) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 80%, rgba(245, 114, 81, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-soft);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.hero__eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 114, 81, 0.2);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero__intro {
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--ink-70);
  max-width: 60ch;
  margin: 0 auto 24px;
  letter-spacing: 0.02em;
  font-style: italic;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(42px, 6.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__title span.reveal-line {
  display: block;
  overflow: hidden;
}
.hero__title span.reveal-line > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: lineUp 1.1s var(--ease-out) forwards;
}
.hero__title span.reveal-line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__title span.reveal-line:nth-child(2) > span { animation-delay: 0.32s; }
.hero__title span.reveal-line:nth-child(3) > span { animation-delay: 0.49s; }
.hero__title-accent { color: var(--accent); font-style: italic; }
@keyframes lineUp {
  to { transform: translateY(0); opacity: 1; }
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-70);
  max-width: 55ch;
  margin: 0 auto 40px;
  line-height: 1.5;
}
.hero__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* Floating stat cards */
.hero__stats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.stat-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)));
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  min-width: 160px;
  text-align: left;
}
.stat-card__num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat-card__num span { color: var(--accent); margin: 0 2px; font-weight: 500; }
.stat-card__label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  z-index: 2;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hero__scroll span {
  display: block;
  width: 2px; height: 6px;
  background: var(--ink);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}
.hero__scroll:hover { transform: translateX(-50%) scale(1.05); border-color: var(--accent); }
.hero__scroll:hover span { background: var(--accent); }

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  transform: translate(0, 0);
  transition: color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 12px 30px -12px rgba(245, 114, 81, 0.5);
}
.btn--primary .btn__bg { display: none; }
.btn--primary:hover { color: #000; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost .btn__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.btn--ghost:hover { color: var(--bg); }
.btn--ghost:hover .btn__bg { transform: translateY(0); }
.btn--block { width: 100%; }
.btn--ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.7s var(--ease);
  pointer-events: none;
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.hero__stats .reveal,
.hero__stats .reveal.is-in {
  transform: translate(calc(-50% + var(--tx, 0px)), calc(-50% + var(--ty, 0px) + 0px));
}
.hero__stats .reveal { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.hero__stats .reveal.is-in { opacity: 1; transition: opacity 0.9s var(--ease) var(--reveal-delay, 0s), transform 0.9s var(--ease) var(--reveal-delay, 0s); }

[data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ===== About ===== */
.about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  position: relative;
}
.about__lede {
  font-size: 19px;
  color: var(--ink);
  margin: 28px 0 18px;
  line-height: 1.5;
  font-weight: 400;
}
.about__body {
  color: var(--ink-70);
  font-size: 15px;
  margin-bottom: 32px;
  max-width: 48ch;
}
.about__bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 48px;
}
.about__bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-70);
}
.about__bullet-dot {
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 12px;
  background: var(--accent-soft);
  border-radius: 50%;
}
.about__bullet-dot::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.counter__num {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.counter__label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
}

.about__visual {
  position: relative;
  will-change: transform;
}
.about__frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface-12);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.12);
}
.about__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05));
  pointer-events: none;
}
.about__frame img { width: 100%; height: 100%; }
.about__chip {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about__chip-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 114, 81, 0.2);
}

.about__rule {
  position: absolute;
  left: var(--pad);
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent);
  transition: height 1.4s var(--ease);
}
.about__rule.is-drawn { height: 100%; }

/* ===== Classes (Disciplinas) ===== */
.classes { background: var(--bg-warm); }
.classes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.class-card {
  position: relative;
  padding: 36px 24px 32px;
  background: var(--surface-25);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
}
.class-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(245, 114, 81, 0.0) 0%, rgba(245, 114, 81, 0) 100%);
  transition: background 0.5s var(--ease);
  pointer-events: none;
}
.class-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  background: rgba(196, 173, 157, 0.18);
}
.class-card:hover::before {
  background: radial-gradient(80% 60% at 50% 0%, rgba(245, 114, 81, 0.18) 0%, rgba(245, 114, 81, 0) 100%);
}
.class-card--featured {
  background: rgba(245, 114, 81, 0.1);
  border-color: var(--accent);
}
.class-card--featured::before {
  background: radial-gradient(80% 60% at 50% 0%, rgba(245, 114, 81, 0.25) 0%, rgba(245, 114, 81, 0) 100%);
}
.class-card__flag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245, 114, 81, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
}
.class-card__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  margin-bottom: 24px;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.class-card:hover .class-card__icon { transform: scale(1.2); color: var(--accent); }
.class-card__icon svg { width: 32px; height: 32px; }
.class-card__title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.class-card__body {
  color: var(--ink-70);
  font-size: 14.5px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.class-card__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.class-card__meta li {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink-70);
  background: rgba(255, 255, 255, 0.4);
}
.class-card__cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.class-card__cta::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.class-card:hover .class-card__cta { color: var(--accent); transform: translateX(4px); }
.class-card:hover .class-card__cta::after { width: 100%; }

/* ===== Schedule (Horarios) ===== */
.schedule { background: var(--bg); }
.schedule__grid {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.schedule__row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  align-items: center;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
  position: relative;
}
.schedule__row:last-child { border-bottom: 0; }
.schedule__row:hover { background: rgba(255, 255, 255, 0.5); }
.schedule__row--closed { opacity: 0.55; }
.schedule__day {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.schedule__time {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.schedule__row--closed .schedule__time { font-style: italic; color: var(--ink-50); font-size: 16px; }
.schedule__tag {
  justify-self: end;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.schedule__tag--open {
  color: var(--accent);
  background: var(--accent-soft);
}
.schedule__tag--closed {
  color: var(--ink-50);
  background: var(--surface-12);
}
.schedule__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  background: var(--surface-12);
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 14px;
  color: var(--ink-70);
}
.schedule__note-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(245, 114, 81, 0.2);
}

/* ===== Trainers ===== */
.trainers {
  background: var(--bg-warm);
  overflow: hidden;
}
.trainers__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 28px,
    rgba(196, 173, 157, 0.18) 28px,
    rgba(196, 173, 157, 0.18) 29px
  );
}
.trainers .container { position: relative; z-index: 1; }

.trainer-rail {
  position: relative;
  margin-top: 16px;
}
.trainer-rail__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 4px;
  scrollbar-width: none;
}
.trainer-rail__track::-webkit-scrollbar { display: none; }

.trainer-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 280px;
  scroll-snap-align: start;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.trainer-card:hover {
  border-color: var(--accent);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.12);
}
.trainer-card__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--g1, var(--accent)), var(--g2, var(--ink)));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.trainer-card__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 50%);
  pointer-events: none;
}
.trainer-card__name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}
.trainer-card__role {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.trainer-card__bio {
  font-size: 14px;
  color: var(--ink-70);
  margin-bottom: 22px;
  line-height: 1.55;
}
.trainer-card__social {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.trainer-card__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.trainer-card__social a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.trainer-rail__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 18px;
  color: var(--ink);
  z-index: 2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.trainer-rail__nav:hover { background: var(--ink); color: var(--bg); }
.trainer-rail__nav--prev { left: -8px; }
.trainer-rail__nav--next { right: -8px; }

.trainer-rail__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}
.trainer-rail__dots button {
  width: 28px; height: 3px;
  background: var(--ink-30);
  border-radius: 2px;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.trainer-rail__dots button.is-active { background: var(--accent); width: 40px; }

/* ===== Testimonials ===== */
.testimonials {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.quotes {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 16px 20px;
}
.quotes__mark {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: clamp(220px, 30vw, 360px);
  line-height: 1;
  color: var(--ink);
  opacity: 0.08;
  font-weight: 700;
  pointer-events: none;
  user-select: none;
  font-style: italic;
}
.quotes__viewport {
  position: relative;
  min-height: 280px;
}
.quotes__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  pointer-events: none;
}
.quotes__slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}
.quotes__text {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 30ch;
  margin: 0 auto 32px;
}
.quotes__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.quotes__name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.quotes__role {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.quotes__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}
.quotes__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink-30);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.quotes__dots button.is-active { background: var(--accent); transform: scale(1.4); }
.testimonials__rating {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 16px; /* Prevents edge-clipping on small screens */
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* Enables graceful wrapping on smaller mobile devices */
  gap: 12px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line-soft, rgba(196, 173, 157, 0.4));
  border-radius: 20px; /* Modern soft rounded pill instead of broken 999px */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Wrapper for stars + score number */
.rating__stars-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Perfect alignment for half-star */
.rating__stars {
  color: var(--accent, #F57251);
  font-size: 16px;
  letter-spacing: 2px;
  display: inline-flex;
}

.rating__stars .star-half {
  opacity: 0.4; /* Creates a clean half-star visual without text distortion */
}

.rating__num {
  font-family: var(--font-head, 'Space Grotesk', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #000000);
  line-height: 1;
}

/* Divider line between stars and metadata */
.rating__divider {
  width: 1px;
  height: 16px;
  background-color: var(--line, rgba(0, 0, 0, 0.15));
}

/* Metadata Text container */
.rating__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap; /* Prevents awkward multi-line text wrapping */
}

.rating__count {
  font-size: 13px;
  color: var(--ink-70, rgba(0, 0, 0, 0.7));
  font-weight: 500;
}

.rating__pct {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #F57251);
  font-weight: 700;
  padding-left: 12px;
  border-left: 1px solid var(--line, rgba(0, 0, 0, 0.15));
}

/* Desktop Polish (Single inline bar) */
@media (min-width: 640px) {
  .rating {
    border-radius: 999px; /* Reverts to smooth pill on desktop */
    padding: 10px 24px;
  }
}

/* Mobile Tweaks */
@media (max-width: 480px) {
  .rating {
    gap: 8px 12px;
  }
  .rating__divider {
    display: none; /* Hides middle divider so content flows onto 2 clean centered lines on tiny screens */
  }
}

/* ===== Pricing ===== */
.pricing { background: var(--bg); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease);
}
.pricing__grid:hover .price-card { opacity: 0.6; }
.pricing__grid:hover .price-card:hover { opacity: 1; }

.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.price-card--pro {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--accent);
  transform: scale(1.05);
  border-top: 4px solid var(--accent);
  padding-top: 40px;
  z-index: 2;
}
.pricing__grid:hover .price-card--pro { transform: scale(1.08); }
.price-card--pro:hover { transform: scale(1.08) translateY(-6px); }

.price-card__badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 6px 16px -4px rgba(245, 114, 81, 0.5);
}
.price-card__name {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}
.price-card--pro .price-card__name { color: var(--accent); }
.price-card__tagline {
  font-size: 13px;
  color: var(--ink-70);
  margin-bottom: 28px;
  min-height: 36px;
}
.price-card__price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-soft);
}
.price-card__currency {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 6px;
}
.price-card__amount {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.price-card__period {
  font-size: 13px;
  color: var(--ink-70);
  margin-top: auto;
  margin-bottom: 6px;
  font-weight: 500;
}
.price-card__features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.price-card__features li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14.5px;
  color: var(--ink-70);
  border-bottom: 1px dashed var(--line-soft);
}
.price-card__features li:last-child { border-bottom: 0; }
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F57251' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>");
  background-position: center;
  background-size: 70%;
  background-repeat: no-repeat;
}
.price-card__cta { width: 100%; margin-top: auto; }

.pricing__extras {
  margin-top: 80px;
  text-align: center;
}
.pricing__extras h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-bottom: 28px;
}
.pricing__extras-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.extra-card {
  padding: 20px 16px;
  background: var(--surface-12);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.extra-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(245, 114, 81, 0.06);
}
.extra-card__name {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-70);
  font-weight: 500;
}
.extra-card__price {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ===== Location (Ubicación) ===== */
.location { background: var(--bg-warm); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: stretch;
}
.location__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.location__card {
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.location__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.location__value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 500;
}
.location__value a { border-bottom: 1px solid var(--line-soft); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.location__value a:hover { color: var(--accent); border-color: var(--accent); }
.location__cta { margin-top: auto; }
.location__map {
  border-radius: 20px;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line-soft);
  background: var(--surface-12);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
}
.location__map iframe { width: 100%; height: 100%; min-height: 460px; display: block; }

/* ===== Contact ===== */
.contact {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: radial-gradient(closest-side, rgba(245, 114, 81, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.contact .container { position: relative; z-index: 1; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.contact__head .section__title { font-size: clamp(36px, 4.6vw, 56px); }
.contact__sub {
  color: var(--ink-70);
  font-size: 16px;
  margin-top: 18px;
  max-width: 40ch;
}
.contact__quick {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.contact__quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.contact__quick-btn:hover { background: var(--ink); color: var(--bg); }
.contact__quick-btn svg { flex-shrink: 0; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.field {
  position: relative;
  padding-top: 18px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s var(--ease);
  appearance: none;
}
.field textarea { resize: vertical; min-height: 60px; font-family: var(--font-body); }
.field select { cursor: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px; }
.field label {
  position: absolute;
  left: 0; top: 32px;
  font-size: 16px;
  color: var(--ink-50);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--accent);
}
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field--select select:valid + label,
.field--select select:focus + label {
  top: 0;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.field--select select { color: transparent; }
.field--select select:valid { color: var(--ink); }
.field--select select option { color: var(--ink); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact__form-status,
.footer__news-status {
  font-size: 13px;
  color: var(--accent);
  min-height: 18px;
  margin-top: -8px;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer__logo span { color: var(--accent); }
.footer__brand p {
  color: rgba(233, 230, 221, 0.7);
  font-size: 14px;
  max-width: 32ch;
  margin-bottom: 24px;
  line-height: 1.5;
}
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(233, 230, 221, 0.25);
  color: var(--bg);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.footer__social a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: var(--bg);
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(233, 230, 221, 0.7);
  margin-bottom: 12px;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer__col a:hover { color: var(--accent); padding-left: 4px; }

.footer__col--news p {
  color: rgba(233, 230, 221, 0.7);
  font-size: 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.footer__news {
  position: relative;
  display: flex;
  border-bottom: 1px solid rgba(233, 230, 221, 0.25);
  padding-bottom: 6px;
}
.footer__news input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--bg);
  padding: 8px 0;
  font-size: 14px;
}
.footer__news input::placeholder { color: rgba(233, 230, 221, 0.4); }
.footer__news button {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
  margin-bottom: -10px;
}
.footer__news button:hover { transform: translateX(4px); background: var(--bg); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(233, 230, 221, 0.15);
  font-size: 12px;
  color: rgba(233, 230, 221, 0.5);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 80;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--accent); color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .trainer-card { flex: 0 0 calc((100% - 24px) / 2); }
  .pricing__extras-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body, button, a { cursor: auto; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .topbar__item--hide-md { display: none; }
  .topbar { font-size: 11px; }

  .hero { padding: 40px var(--pad) 80px; }
  .hero__title { font-size: clamp(48px, 14vw, 96px); }
  .stat-card { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 480px; margin: 0 auto; }
  .about__bullets { grid-template-columns: 1fr; }

  .classes__grid { grid-template-columns: 1fr; }
  .schedule__row { grid-template-columns: 1fr 1fr 1fr; padding: 16px 20px; gap: 12px; }
  .schedule__day, .schedule__time { font-size: 16px; }
  .schedule__tag { font-size: 10px; padding: 4px 10px; }

  .pricing__grid { grid-template-columns: 1fr; }
  .price-card--pro { transform: none; }
  .pricing__grid:hover .price-card--pro { transform: translateY(-6px); }
  .pricing__extras-grid { grid-template-columns: repeat(2, 1fr); }

  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 360px; }
  .location__map iframe { min-height: 360px; }

  .trainer-rail__nav { display: none; }
  .trainer-card { flex: 0 0 80%; }

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

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__col--news { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }

  .topbar__item--hide-sm { display: none; }
}
@media (max-width: 540px) {
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .pricing__extras-grid { grid-template-columns: 1fr 1fr; }
  .about__rule  {
    display: none;
  }
  .counters{
    grid-template-columns: 1fr 1fr;
  }
}
