/* ===================== RESET & BASE ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0d0d10;
  --bg-alt: #16161b;
  --text: #f2f2f2;
  --text-dim: #a8a8b3;
  --accent: #ff4d2e;
  --accent-dark: #d43a1e;
  --border: #26262e;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .price-card__price {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn--outline {
  border-color: #fff;
  color: #fff;
  background: transparent;
}
.btn--outline:hover {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
}
.btn--block { width: 100%; text-align: center; }

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease;
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(13,13,16,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  padding: 12px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 1.8rem;
  color: #fff;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav__list {
  display: flex;
  gap: 28px;
}
.nav__link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color .2s ease;
}
.nav__link:hover, .nav__link.active { color: #fff; }
.nav__link.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
}
.header__cta { flex-shrink: 0; padding: 10px 22px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}
.burger span {
  width: 26px; height: 2px;
  background: #fff;
  transition: all .3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(10,10,12,.55), rgba(10,10,12,.85)),
              url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}
.hero__content { position: relative; z-index: 2; padding-top: 90px; }
.hero__kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: .85rem;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 22px;
}
.hero__title span { color: var(--accent); }
.hero__text {
  max-width: 560px;
  color: var(--text-dim);
  font-size: 1.05rem;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-down {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-down span {
  width: 4px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 1.6s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ===================== FEATURES ===================== */
.features { background: var(--bg-alt); padding: 60px 0; border-bottom: 1px solid var(--border); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.feature { text-align: center; }
.feature__icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; }
.feature p { color: var(--text-dim); font-size: .9rem; }

/* ===================== SECTION GENERIC ===================== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section__kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 3px;
  font-size: .82rem;
  margin-bottom: 10px;
}
.section__title { font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; }

/* ===================== GALLERY ===================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: '🔍';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  color: transparent;
  font-size: 1.6rem;
  transition: all .3s ease;
}
.gallery__item:hover::after {
  background: rgba(0,0,0,.35);
  color: #fff;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center; justify-content: center;
  z-index: 2000;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none;
  color: #fff; font-size: 2.4rem;
  cursor: pointer;
}

/* ===================== CARDS (Programs) ===================== */
.cards { display: grid; gap: 26px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card__icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: .88rem; }

/* ===================== TRAINERS ===================== */
.trainer { text-align: center; }
.trainer__photo {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 3/4;
}
.trainer__photo img { width: 100%; height: 100%; object-fit: cover; }
.trainer h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0; }
.trainer__role { color: var(--accent); font-size: .85rem; margin-top: 4px; }

/* ===================== PRICING ===================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: start;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  position: relative;
}
.price-card--featured {
  background: linear-gradient(160deg, #1c1c22, #131316);
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: var(--shadow);
}
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 20px;
}
.price-card h3 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.2rem; letter-spacing: 0; margin-bottom: 10px; }
.price-card__price { font-size: 3rem; color: var(--accent); margin-bottom: 22px; }
.price-card__price span { font-size: 1rem; color: var(--text-dim); font-family: 'Poppins', sans-serif; }
.price-card__list { text-align: left; margin-bottom: 26px; }
.price-card__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  font-size: .9rem;
}
.price-card__list li::before { content: '✔ '; color: var(--accent); }

/* ===================== SCHEDULE ===================== */
.table-wrap { overflow-x: auto; }
.schedule { width: 100%; border-collapse: collapse; min-width: 700px; }
.schedule th, .schedule td {
  padding: 14px 12px;
  text-align: center;
  border: 1px solid var(--border);
  font-size: .88rem;
}
.schedule thead th {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.schedule tbody tr:nth-child(odd) { background: var(--bg-alt); }
.schedule td:first-child { font-weight: 600; color: var(--accent); }
.schedule__note { text-align: center; margin-top: 20px; color: var(--text-dim); font-size: .9rem; }

/* ===================== TESTIMONIALS ===================== */
.testimonials { position: relative; max-width: 700px; margin: 0 auto; min-height: 160px; }
.testimonial {
  display: none;
  text-align: center;
  animation: fadeIn .5s ease;
}
.testimonial.active { display: block; }
.testimonial__text { font-size: 1.2rem; font-style: italic; color: #fff; margin-bottom: 18px; }
.testimonial__author { color: var(--accent); font-weight: 600; }
.testimonials__dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.testimonials__dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s ease;
}
.testimonials__dots span.active { background: var(--accent); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== SIGNUP FORM ===================== */
.signup__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.signup__info p { color: var(--text-dim); margin: 18px 0; }
.signup__points li { color: var(--text); padding: 6px 0; }
.signup__form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-dim);
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .92rem;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-note { text-align: center; margin-top: 14px; font-size: .88rem; color: #4ade80; min-height: 1.2em; }

/* ===================== CONTACT ===================== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact__details p { color: var(--text-dim); margin: 10px 0; }
.contact__details strong { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  transition: all .2s ease;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.contact__map iframe {
  width: 100%; height: 320px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(.3) invert(.92) contrast(.9);
}

/* ===================== FOOTER ===================== */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p { color: var(--text-dim); font-size: .85rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .price-card--featured { transform: none; }
  .signup__inner, .contact__inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
    background: #131316; padding: 100px 30px; transition: right .35s ease; box-shadow: -10px 0 30px rgba(0,0,0,.4); }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 24px; }
  .header__cta { display: none; }
  .burger { display: flex; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }
}

@media (max-width: 560px) {
  .features__grid, .cards--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
}
