/* ============================================================
   Franklin Gym — Styles
   Dark Nike-inspired aesthetic
   ============================================================ */

/* ----------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  /* Colors */
  --black: #000000;
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --border: #222222;
  --border-light: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --gold: #c9a84c;
  --gold-light: #daa520;
  --gold-dark: #9e832e;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --gold-glow-strong: rgba(201, 168, 76, 0.3);

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container-width: 1200px;
  --container-pad: clamp(20px, 5vw, 40px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.4s;
  --duration-slow: 0.8s;

  /* Nav */
  --nav-height: 72px;
}

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

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

/* ----------------------------------------------------------
   Container
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ----------------------------------------------------------
   Section Header
   ---------------------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-header__bar {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left var(--duration) var(--ease);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--black);
  border-color: var(--gold);
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn--primary::before {
  background: var(--gold-light);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

.btn--large {
  padding: 18px 48px;
  font-size: 16px;
}

/* ----------------------------------------------------------
   Reveal Animation
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.programs__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.programs__grid .reveal:nth-child(3) { transition-delay: 0.3s; }

/* ----------------------------------------------------------
   NAVIGATION
   ---------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--duration) var(--ease);
  background: transparent;
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  transition: opacity var(--duration) var(--ease);
}

.nav__logo-img:hover {
  opacity: 0.8;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__link.active::after,
.nav__link:hover::after {
  width: 100%;
}

.nav__cta-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 10px 24px;
  transition: all var(--duration) var(--ease);
}

.nav__cta-link:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--gold-glow);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
  pointer-events: none;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.35;
  filter: grayscale(30%);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.2) 30%, rgba(10, 10, 10, 0.3) 60%, rgba(10, 10, 10, 0.95) 100%),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(10, 10, 10, 0.7) 100%);
}

/* Subtle vertical lines */
.hero__lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
  pointer-events: none;
}

.hero__line {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(201, 168, 76, 0.05) 50%, transparent 100%);
}

/* Corner accents */
.hero__corner {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 1;
}

.hero__corner--tl {
  top: 100px;
  left: 40px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  opacity: 0.3;
}

.hero__corner--br {
  bottom: 100px;
  right: 40px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  will-change: transform;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 8px 24px;
  margin-bottom: 32px;
}

.hero__logo {
  max-width: clamp(300px, 50vw, 700px);
  margin: 0 auto 24px;
  filter: brightness(1.1);
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero__divider-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero__divider-icon {
  color: var(--gold);
  font-size: 12px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero__tagline span {
  color: var(--gold);
  font-weight: 600;
}

.hero__cta {
  margin-bottom: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero__scroll span {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ----------------------------------------------------------
   PROGRAMS
   ---------------------------------------------------------- */
.programs {
  padding: var(--section-pad) 0;
  background: var(--bg);
  position: relative;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  position: relative;
  background: var(--bg-card);
  padding: 48px 36px;
  transition: all var(--duration) var(--ease);
  overflow: hidden;
}

.program-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
}

.program-card__border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.program-card:hover .program-card__border {
  transform: scaleX(1);
}

.program-card__number {
  font-family: var(--font-display);
  font-size: 72px;
  color: rgba(201, 168, 76, 0.07);
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.program-card__icon {
  color: var(--gold);
  margin-bottom: 24px;
}

.program-card__title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.program-card__duration {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.program-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: all var(--duration) var(--ease);
}

.program-card__link:hover {
  gap: 14px;
  color: var(--gold-light);
}

/* ----------------------------------------------------------
   MARQUEE
   ---------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.12);
  padding-right: 20px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------------------------------------------------------
   ABOUT / STATS
   ---------------------------------------------------------- */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.about__bg-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.08;
  filter: grayscale(50%);
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.85) 50%, rgba(17, 17, 17, 0.95) 100%),
    linear-gradient(180deg, rgba(17, 17, 17, 1) 0%, transparent 10%, transparent 90%, rgba(17, 17, 17, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

.about .container {
  position: relative;
  z-index: 2;
}

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

.about__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 28px;
}

.about__title span {
  color: var(--gold);
}

.about__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.about__text:last-of-type {
  margin-bottom: 36px;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  background: var(--bg-card);
  padding: 36px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--duration) var(--ease);
}

.stat:hover {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 30px var(--gold-glow);
}

.stat__number {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ----------------------------------------------------------
   TESTIMONIALS
   ---------------------------------------------------------- */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.testimonials__slider {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  transition: transform 0.6s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 clamp(20px, 8vw, 120px);
  text-align: center;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 28px;
}

.testimonial-card__stars span {
  color: var(--gold);
  font-size: 20px;
}

.testimonial-card__quote {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-style: normal;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.testimonials__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--duration) var(--ease);
}

.testimonials__btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
}

.testimonials__dot {
  width: 32px;
  height: 3px;
  background: var(--border-light);
  transition: all var(--duration) var(--ease);
}

.testimonials__dot.active {
  background: var(--gold);
  width: 48px;
}

/* ----------------------------------------------------------
   GALLERY
   ---------------------------------------------------------- */
.gallery {
  padding: var(--section-pad) 0;
  background: var(--bg-elevated);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.gallery__item:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.gallery__item--tall {
  grid-row: span 2;
}

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

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__overlay span {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}

.gallery__placeholder span {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* gallery__note removed — real photos are now in use */

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */
.cta {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}

.cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.15;
  filter: grayscale(40%);
}

.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.95) 100%);
  z-index: 1;
}

.cta__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

.cta__container {
  position: relative;
  z-index: 2;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cta__copy {
  text-align: left;
}

.cta__logo {
  width: 72px;
  margin-bottom: 32px;
  opacity: 0.5;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 24px;
}

.cta__title span {
  color: var(--gold);
}

.cta__text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta__perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta__perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.cta__perk svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* CTA "Your First Visit" Steps — desktop only */
.cta__steps {
  display: none;
}

@media (min-width: 1025px) {
  .cta__steps {
    display: block;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }

  .cta__steps-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;
  }

  .cta__timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .cta__step {
    display: flex;
    gap: 20px;
  }

  .cta__step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
  }

  .cta__step-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--black);
    background: var(--gold);
    border-radius: 50%;
    position: relative;
    z-index: 1;
  }

  .cta__step-line {
    width: 2px;
    flex: 1;
    min-height: 24px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 168, 76, 0.15) 100%);
  }

  .cta__step-content {
    padding-bottom: 28px;
  }

  .cta__step:last-child .cta__step-content {
    padding-bottom: 0;
  }

  .cta__step-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1;
    padding-top: 8px;
  }

  .cta__step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
  }
}

/* CTA Form Card */
.cta__form-wrap {
  position: relative;
}

.cta__form-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(201, 168, 76, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.4);
}

.cta__form-header {
  padding: 32px 32px 0;
  text-align: center;
}

.cta__form-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.cta__form-sub {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.cta__form-body {
  padding: 16px 24px 24px;
  min-height: 820px;
}

.cta__form-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ----------------------------------------------------------
   CONTACT
   ---------------------------------------------------------- */
.contact {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: all var(--duration) var(--ease);
}

.contact__card:hover {
  border-color: rgba(201, 168, 76, 0.3);
}

.contact__card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: var(--gold-glow);
  flex-shrink: 0;
}

.contact__card-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact__card-value {
  font-size: 15px;
  color: var(--text-primary);
  transition: color var(--duration) var(--ease);
  line-height: 1.5;
}

.contact__card-value:hover {
  color: var(--gold);
}

.contact__hours {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.contact__hours .contact__card-label {
  margin-bottom: 16px;
}

.contact__hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: 15px;
}

.contact__hours-grid span:nth-child(odd) {
  color: var(--text-secondary);
}

.contact__hours-grid span:nth-child(even) {
  color: var(--text-primary);
  text-align: right;
}

.contact__map {
  width: 100%;
  height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(1) contrast(0.9) brightness(0.6);
}

/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */
.footer {
  padding: 64px 0 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  width: 56px;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

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

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--duration) var(--ease);
}

.footer__social:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.footer__legal a:hover {
  color: var(--gold);
}

/* ----------------------------------------------------------
   MODAL — Free Class Form Popup
   ---------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.modal.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 40px 20px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

.modal.active .modal__container {
  transform: translateY(0) scale(1);
}

.modal__panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow:
    0 0 60px rgba(201, 168, 76, 0.08),
    0 25px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  z-index: 2;
  transition: all var(--duration) var(--ease);
}

.modal__close:hover {
  color: var(--text-primary);
  border-color: var(--gold);
}

.modal__header {
  text-align: center;
  padding: 36px 32px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.modal__logo {
  width: 48px;
  margin: 0 auto 16px;
  opacity: 0.6;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal__subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.modal__body {
  height: 750px;
}

.modal__body iframe {
  display: block;
}

/* ----------------------------------------------------------
   SCHEDULE PAGE — Hero
   ---------------------------------------------------------- */
.sched-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.sched-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sched-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.2;
  filter: grayscale(40%);
}

.sched-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%);
}

.sched-hero__content {
  position: relative;
  z-index: 1;
}

.sched-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 12px;
}

.sched-hero__date {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ----------------------------------------------------------
   SCHEDULE PAGE — Tabs & Content
   ---------------------------------------------------------- */
.sched {
  padding: 48px 0 var(--section-pad);
  background: var(--bg);
}

.sched__tabs {
  display: flex;
  gap: 4px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sched__tab-indicator {
  position: absolute;
  bottom: 4px;
  height: calc(100% - 8px);
  background: var(--gold);
  transition: all 0.4s var(--ease-out);
  z-index: 0;
  pointer-events: none;
}

.sched__tab {
  flex: 1;
  min-width: 0;
  padding: 14px 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--duration) var(--ease);
  position: relative;
  z-index: 1;
  text-align: center;
  white-space: nowrap;
}

.sched__tab-full { display: inline; }
.sched__tab-short { display: none; }

.sched__tab:hover {
  color: var(--text-primary);
}

.sched__tab.active {
  color: var(--black);
}

.sched__tab--today::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.sched__tab--today.active::after {
  background: var(--black);
}

/* Countdown */
.sched__countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 32px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.sched__countdown strong {
  color: var(--gold);
  font-weight: 600;
}

.sched__countdown-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.5s ease-in-out infinite;
  margin-right: 4px;
}

/* Legend */
.sched__legend {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sched__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.sched__legend-dot {
  width: 12px;
  height: 12px;
}

.sched__legend-dot--boxing { background: var(--gold); }
.sched__legend-dot--kids { background: #38bdf8; }
.sched__legend-dot--fightfit { background: #f97316; }

/* Period Groups */
.sched__period {
  margin-bottom: 40px;
}

.sched__period-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.sched__period-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.sched__period-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Class Cards */
.sched__cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sched__card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
  animation: cardSlideIn 0.4s var(--ease-out) both;
  position: relative;
  overflow: hidden;
}

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.sched__card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.sched__card-bar {
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sched__card-bar--boxing { background: var(--gold); }
.sched__card-bar--kids { background: #38bdf8; }
.sched__card-bar--fightfit { background: #f97316; }

.sched__card-time {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 200px;
}

.sched__card-start {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.sched__card-sep {
  color: var(--text-muted);
  font-size: 14px;
}

.sched__card-end {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.sched__card-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.sched__card-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sched__card-type {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid;
}

.sched__card-type--boxing { color: var(--gold); border-color: rgba(201,168,76,0.3); }
.sched__card-type--kids { color: #38bdf8; border-color: rgba(56,189,248,0.3); }
.sched__card-type--fightfit { color: #f97316; border-color: rgba(249,115,22,0.3); }

.sched__card-status {
  min-width: 80px;
  text-align: right;
}

/* Badges */
.sched__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
}

.sched__badge--live {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.sched__badge--next {
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.sched__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* Live card glow */
.sched__card--live {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.08);
}

.sched__card--next {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* Empty state */
.sched__empty {
  text-align: center;
  padding: 80px 20px;
}

.sched__empty-icon {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.sched__empty-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sched__empty-text {
  font-size: 16px;
  color: var(--text-muted);
}

/* CTA at bottom */
/* Schedule Page — Embedded CTA Form */
.sched__cta-embed {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.sched__cta-card {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(201, 168, 76, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.4);
}

.sched__cta-header {
  text-align: center;
  padding: 32px 32px 0;
}

.sched__cta-logo {
  width: 48px;
  margin: 0 auto 16px;
  opacity: 0.5;
}

.sched__cta-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.sched__cta-sub {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.sched__cta-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 20px 24px 0;
}

.sched__cta-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text-secondary);
}

.sched__cta-perk svg {
  color: var(--gold);
  flex-shrink: 0;
}

.sched__cta-form {
  padding: 16px 24px 24px;
  min-height: 820px;
}

.sched__cta-form iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ----------------------------------------------------------
   TODAY AT FRANKLIN — Home Page Section
   ---------------------------------------------------------- */
.today {
  padding: 64px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.today__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.today__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.today__day-badge {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--gold);
  line-height: 1;
}

.today__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.today__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.today__view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--duration) var(--ease);
}

.today__view-all:hover {
  gap: 14px;
}

.today__classes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.today__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}

.today__card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.today__card-bar {
  width: 3px;
  height: 40px;
  flex-shrink: 0;
}

.today__card-bar--boxing { background: var(--gold); }
.today__card-bar--kids { background: #38bdf8; }
.today__card-bar--fightfit { background: #f97316; }

.today__card-time {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  min-width: 90px;
}

.today__card-name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex: 1;
}

.today__card-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
}

.today__card-badge--live {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.today__card-badge--next {
  background: var(--gold-glow);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.3);
}

.today__card--past {
  opacity: 0.35;
}

.today__empty {
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ----------------------------------------------------------
   RESPONSIVE — Tablet (768px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .programs__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .contact__map {
    height: 360px;
  }

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

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

  .gallery__item--tall {
    grid-row: span 1;
  }

  /* CTA grid tablet — stack vertically */
  .cta__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 560px;
    margin: 0 auto;
  }

  .cta__copy {
    text-align: center;
  }

  .cta__logo {
    margin: 0 auto 32px;
  }

  .cta__perks {
    align-items: center;
  }

  /* Schedule tablet */
  .sched__tab-full { display: none; }
  .sched__tab-short { display: inline; }

  .sched__card-time { min-width: 160px; }
  .sched__card-info { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ----------------------------------------------------------
   RESPONSIVE — Mobile (480px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transition: right 0.4s var(--ease-out);
    z-index: 1000;
  }

  .nav__menu.active {
    right: 0;
  }

  .nav__link {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .nav__cta-link {
    font-size: 16px;
    padding: 14px 36px;
    margin-top: 16px;
  }

  /* Hero mobile */
  .hero__corner { display: none; }
  .hero__lines { display: none; }

  .hero__logo {
    max-width: 280px;
  }

  .hero__tagline {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .btn--large {
    padding: 16px 32px;
    font-size: 14px;
  }

  /* About stats mobile */
  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat {
    padding: 24px;
  }

  .stat__number {
    font-size: 36px;
  }

  /* Gallery mobile */
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  /* Footer mobile */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }

  /* Testimonials mobile */
  .testimonial-card {
    padding: 0 16px;
  }

  .testimonial-card__quote {
    font-size: 16px;
  }

  /* Modal mobile */
  .modal__container { margin: 20px 10px; max-height: calc(100vh - 40px); }
  .modal__header { padding: 28px 24px 16px; }
  .modal__title { font-size: 26px; }
  .modal__body { height: 700px; }

  /* Schedule mobile */
  .sched__tab { padding: 12px 8px; font-size: 13px; }
  .sched__card { flex-wrap: wrap; gap: 12px; padding: 16px 16px 16px 20px; }
  .sched__card-time { min-width: auto; }
  .sched__card-start { font-size: 20px; }
  .sched__card-status { min-width: auto; }
  .sched__card-info { flex-direction: column; align-items: flex-start; gap: 4px; }
  .sched__legend { gap: 16px; }

  /* CTA form mobile */
  .cta__form-header { padding: 24px 20px 0; }
  .cta__form-title { font-size: 26px; }
  .cta__form-body { padding: 12px 16px 16px; min-height: 780px; }

  /* Schedule CTA form mobile */
  .sched__cta-header { padding: 24px 20px 0; }
  .sched__cta-title { font-size: 26px; }
  .sched__cta-perks { gap: 12px 16px; }
  .sched__cta-form { padding: 12px 16px 16px; min-height: 780px; }

  /* Today mobile */
  .today__header { flex-direction: column; align-items: flex-start; }
  .today__classes { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------
   Small phones
   ---------------------------------------------------------- */
@media (max-width: 400px) {
  .hero__badge {
    font-size: 11px;
    padding: 6px 16px;
  }

  .section-header__title {
    font-size: 32px;
  }

  .program-card {
    padding: 36px 24px;
  }

  .program-card__title {
    font-size: 26px;
  }

  .about__title {
    font-size: 32px;
  }

  .cta__title {
    font-size: 36px;
  }
}

/* ----------------------------------------------------------
   Reduced Motion
   ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .marquee__track {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   BOOK PAGE — Post-form calendar booking
   ============================================================ */

/* Header — logo only */
.book-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-header__logo-img {
  height: 40px;
  width: auto;
  transition: opacity var(--duration) var(--ease);
}

.book-header__logo-img:hover {
  opacity: 0.8;
}

/* Step Progress Tracker */
.book-steps {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 24px 8px 8px;
}

.book-steps__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.book-steps__circle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 15px;
  flex-shrink: 0;
}

.book-steps__item--done .book-steps__circle {
  background: var(--gold);
  color: var(--black);
}

.book-steps__item--active .book-steps__circle {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  animation: stepPulse 2s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(201, 168, 76, 0); }
}

.book-steps__text {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.book-steps__item--done .book-steps__text {
  color: var(--text-muted);
}

.book-steps__item--active .book-steps__text {
  color: var(--gold);
  font-weight: 600;
}

.book-steps__connector {
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 12px;
}

/* Hero */
.book-hero {
  position: relative;
  padding: calc(var(--nav-height) + 60px) 0 60px;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.book-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.book-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.15;
  filter: grayscale(40%);
}

.book-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%);
}

.book-hero__content {
  position: relative;
  z-index: 1;
}

.book-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.book-hero__title span {
  color: var(--gold);
}

.book-hero__sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
}

/* Program Selector */
.book-select {
  padding: 64px 0;
  background: var(--bg);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.book-select--hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  transform: translateY(-20px);
}

.book-select__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.book-select__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

/* Program Cards */
.book-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 36px;
  text-align: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.book-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
  pointer-events: none;
}

.book-card:hover .book-card__glow {
  opacity: 1;
}

.book-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(201, 168, 76, 0.06);
}

.book-card__border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--duration) var(--ease);
}

.book-card:hover .book-card__border {
  transform: scaleX(1);
}

.book-card__icon {
  color: var(--gold);
  margin-bottom: 12px;
  transition: transform var(--duration) var(--ease);
}

.book-card:hover .book-card__icon {
  transform: scale(1.1);
}

.book-card__title {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.book-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.book-card__arrow {
  margin-top: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--duration) var(--ease);
}

.book-card:hover .book-card__arrow {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

/* Active / dimmed states after selection */
.book-card--active {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.15);
}

.book-card--active .book-card__border {
  transform: scaleX(1);
}

.book-card--active .book-card__arrow {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
}

.book-card--dimmed {
  opacity: 0.3;
  pointer-events: none;
}

/* Calendar Section */
.book-calendar {
  padding: 0 0 var(--section-pad);
  background: var(--bg);
  display: none;
}

.book-calendar--visible {
  display: block;
  animation: calendarFadeIn 0.5s var(--ease-out) both;
}

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

.book-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.book-calendar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
  background: none;
  border: none;
  padding: 8px 0;
}

.book-calendar__back:hover {
  color: var(--gold);
}

.book-calendar__selected {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.book-calendar__embed {
  min-height: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 24px;
}

.book-calendar__embed iframe {
  width: 100%;
  min-height: 600px;
  border: none;
}

/* Footer */
.book-footer {
  padding: 24px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.book-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.book-footer__contact {
  display: flex;
  gap: 12px;
  align-items: center;
}

.book-footer__contact a {
  color: var(--text-muted);
  transition: color var(--duration) var(--ease);
}

.book-footer__contact a:hover {
  color: var(--gold);
}

/* Book page responsive */
@media (max-width: 768px) {
  .book-hero {
    padding: calc(var(--nav-height) + 40px) 0 40px;
    min-height: auto;
  }

  .book-hero__title {
    font-size: 32px;
  }

  .book-hero__sub {
    font-size: 15px;
  }

  .book-select {
    padding: 48px 0;
  }

  .book-select__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .book-card {
    padding: 36px 24px;
  }

  .book-card__title {
    font-size: 26px;
  }

  .book-calendar__header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .book-calendar__embed {
    padding: 16px;
  }

  .book-footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .book-steps {
    padding: 6px 16px 6px 6px;
    gap: 0;
  }

  .book-steps__circle {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .book-steps__circle svg {
    width: 13px;
    height: 13px;
  }

  .book-steps__text {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .book-steps__connector {
    width: 20px;
    margin: 0 8px;
  }
}

@media (max-width: 400px) {
  .book-hero__title {
    font-size: 28px;
  }

  .book-card {
    padding: 28px 20px;
  }

  .book-card__title {
    font-size: 22px;
  }
}
