/* ============================================
   TEAM MATA MMA — Main Stylesheet
   Color Palette:
     --dark:    #1A1A1A  (Dark Charcoal)
     --darker:  #111111
     --gray:    #2A2A2A
     --light:   #F5F5F5
     --white:   #FFFFFF
     --accent:  #C62828  (Crimson Red)
     --accent2: #D4A017  (Gold)
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #1A1A1A;
  color: #F5F5F5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn--accent {
  background: #C62828;
  color: #fff;
  border-color: #C62828;
}

.btn--accent:hover {
  background: #a11f1f;
  border-color: #a11f1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__tag {
  display: inline-block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #C62828;
  margin-bottom: 12px;
}

.section-header__title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
}

.section-header__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}

.navbar--scrolled {
  background: rgba(17, 17, 17, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

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

.navbar__logo {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}

.navbar__logo span {
  color: #C62828;
}

.navbar__menu {
  display: flex;
  gap: 28px;
}

.navbar__menu a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 4px 0;
}

.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C62828;
  transition: width 0.3s ease;
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: #fff;
}

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

.navbar__cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    url('https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?w=1600&q=80')
    center/cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,17,17,0.7) 0%,
    rgba(17,17,17,0.5) 50%,
    rgba(17,17,17,0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 32px;
  font-size: 0.85rem;
  color: #D4A017;
  font-weight: 600;
}

.hero__stars {
  letter-spacing: 2px;
}

.hero__title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  margin: 8px auto 0;
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ========================================
   3-COLUMN FEATURES
   ======================================== */
.features {
  padding: 80px 0;
  background: #111;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-card {
  padding: 48px 36px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}

.feature-card:last-child {
  border-right: none;
}

.feature-card:hover {
  background: rgba(198, 40, 40, 0.06);
  transform: translateY(-4px);
}

.feature-card--highlight {
  background: rgba(198, 40, 40, 0.08);
  border-right-color: rgba(198, 40, 40, 0.15);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  color: #C62828;
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-card__link {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C62828;
}

.feature-card__link:hover {
  color: #e53935;
}

/* ========================================
   CLASSES
   ======================================== */
.classes {
  padding: 100px 0;
  background: #1A1A1A;
}

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

.class-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #222;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.class-card__image {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.class-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,0.85) 100%);
}

.class-card__body {
  padding: 28px;
}

.class-card__body h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.class-card__body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.class-card__link {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C62828;
}

.class-card__link:hover {
  color: #e53935;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats {
  padding: 60px 0;
  background: #C62828;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 16px;
}

.stat__number {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

.stat__suffix {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
}

.stat__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

/* ========================================
   SCHEDULE
   ======================================== */
.schedule {
  padding: 100px 0;
  background: #111;
}

.schedule__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.schedule__tab {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.schedule__tab:hover {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.schedule__tab--active {
  background: #C62828;
  border-color: #C62828;
  color: #fff;
}

.schedule__table-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.schedule__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.schedule__table thead {
  background: rgba(198, 40, 40, 0.2);
}

.schedule__table th {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 20px;
  text-align: left;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.schedule__table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}

.schedule__day {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
}

.schedule__row:hover {
  background: rgba(255,255,255,0.03);
}

.schedule__class {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
}

.schedule__class--mma {
  background: rgba(198, 40, 40, 0.2);
  color: #ef5350;
  border: 1px solid rgba(198, 40, 40, 0.3);
}

.schedule__class--striking {
  background: rgba(212, 160, 23, 0.15);
  color: #D4A017;
  border: 1px solid rgba(212, 160, 23, 0.3);
}

.schedule__class--grappling {
  background: rgba(56, 142, 60, 0.15);
  color: #66bb6a;
  border: 1px solid rgba(56, 142, 60, 0.3);
}

.schedule__class--youth {
  background: rgba(66, 165, 245, 0.15);
  color: #42a5f5;
  border: 1px solid rgba(66, 165, 245, 0.3);
}

.schedule__class--open {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}

.schedule__class--empty {
  background: transparent;
  color: rgba(255,255,255,0.2);
  border: none;
  padding: 6px 0;
}

.schedule__legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.schedule__legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.schedule__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.schedule__dot--mma { background: #C62828; }
.schedule__dot--striking { background: #D4A017; }
.schedule__dot--grappling { background: #388e3c; }
.schedule__dot--youth { background: #42a5f5; }
.schedule__dot--open { background: rgba(255,255,255,0.3); }

/* ========================================
   TRAINERS
   ======================================== */
.trainers {
  padding: 100px 0;
  background: #1A1A1A;
}

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

.trainer-card {
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.trainer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.trainer-card__image {
  height: 280px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainer-card__placeholder {
  width: 80px;
  height: 80px;
  color: rgba(255,255,255,0.15);
}

.trainer-card__placeholder svg {
  width: 100%;
  height: 100%;
}

.trainer-card__body {
  padding: 28px;
}

.trainer-card__body h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 6px;
}

.trainer-card__role {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C62828;
  margin-bottom: 14px;
}

.trainer-card__body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.trainer-card__socials {
  display: flex;
  gap: 12px;
}

.trainer-card__socials a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  transition: all 0.3s;
}

.trainer-card__socials a:hover {
  color: #fff;
  border-color: #C62828;
  background: rgba(198, 40, 40, 0.15);
}

/* ========================================
   LINEAGE BANNER
   ======================================== */
.lineage-banner {
  background: rgba(198, 40, 40, 0.08);
  border: 1px solid rgba(198, 40, 40, 0.2);
  border-radius: 8px;
  padding: 20px 28px;
  margin-bottom: 48px;
  text-align: center;
  overflow-x: auto;
}

.lineage-banner__label {
  display: block;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #C62828;
  margin-bottom: 8px;
}

.lineage-banner__chain {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}

.lineage-banner__chain strong {
  color: #D4A017;
  font-weight: 700;
}

/* ========================================
   FEATURED TRAINER
   ======================================== */
.trainer-card--featured {
  border: 1px solid rgba(198, 40, 40, 0.3);
  background: linear-gradient(180deg, rgba(198, 40, 40, 0.08) 0%, #222 100%);
  position: relative;
}

.trainer-card--featured::before {
  content: 'FOUNDER';
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: #C62828;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 1;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(198, 40, 40, 0.9), rgba(17, 17, 17, 0.95)),
    url('https://images.unsplash.com/photo-1549719386-74dfcbf7dbed?w=1200&q=60')
    center/cover;
}

.cta-banner__inner {
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* ========================================
   EVENTS
   ======================================== */
.events {
  padding: 100px 0;
  background: #1A1A1A;
}

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

.event-card {
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.event-card__date {
  background: #C62828;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-card__month {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.85);
}

.event-card__day {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.event-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #D4A017;
  margin-bottom: 10px;
}

.event-card__body h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}

.event-card__body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.event-card__link {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C62828;
}

.event-card__link:hover {
  color: #e53935;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #111;
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer__logo {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer__logo span {
  color: #C62828;
}

.footer__tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
}

.footer__socials a:hover {
  border-color: #C62828;
  background: rgba(198, 40, 40, 0.15);
  color: #fff;
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer__contact ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer__contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: #C62828;
}

.footer__contact a {
  color: rgba(255,255,255,0.6);
}

.footer__contact a:hover {
  color: #C62828;
}

.footer__map-embed {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

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

.footer__form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}

.footer__form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.footer__form input:focus {
  border-color: #C62828;
}

.footer__form .btn {
  padding: 12px 20px;
  font-size: 0.85rem;
}

.footer__bottom {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

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

.footer__links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__links a:hover {
  color: rgba(255,255,255,0.7);
}

/* ========================================
   ANIMATIONS (Scroll Reveal)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .feature-card {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .feature-card:last-child {
    border-bottom: none;
  }

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

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

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

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

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

/* Mobile */
@media (max-width: 768px) {
  .navbar__menu,
  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  /* Mobile menu open */
  .navbar--open .navbar__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 17, 17, 0.98);
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
  }

  .navbar--open .navbar__cta {
    display: inline-block;
    position: absolute;
    top: calc(100% + 220px);
    left: 24px;
    right: 24px;
    text-align: center;
  }

  .navbar--open .navbar__toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar--open .navbar__toggle span:nth-child(2) {
    opacity: 0;
  }

  .navbar--open .navbar__toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

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

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

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

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

  .schedule__tabs {
    gap: 4px;
  }

  .schedule__tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero__badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
  }

  .section-header__title {
    font-size: 1.8rem;
  }

  .footer__form {
    flex-direction: column;
  }
}

/* ============================================
   CHATBOT
   ============================================ */

.chatbot__toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chatbot__toggle:hover {
  transform: scale(1.08);
  background: #b71c1c;
}

.chatbot__toggle svg {
  width: 26px;
  height: 26px;
}

.chatbot__icon-close {
  display: none;
}

.chatbot--open .chatbot__icon-chat {
  display: none;
}

.chatbot--open .chatbot__icon-close {
  display: block;
}

.chatbot__window {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 9998;
  width: 360px;
  max-height: 480px;
  background: #1e1e1e;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.chatbot--open .chatbot__window {
  display: flex;
}

.chatbot__header {
  background: var(--accent);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot__header-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.chatbot__header-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}

.chatbot__msg {
  max-width: 85%;
  animation: chatFadeIn 0.3s ease;
}

.chatbot__msg p {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.chatbot__msg--bot {
  align-self: flex-start;
}

.chatbot__msg--bot p {
  background: #2a2a2a;
  color: #e0e0e0;
  border-bottom-left-radius: 4px;
}

.chatbot__msg--user {
  align-self: flex-end;
}

.chatbot__msg--user p {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chatbot__quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chatbot__quick-replies button {
  background: rgba(198, 40, 40, 0.15);
  border: 1px solid rgba(198, 40, 40, 0.4);
  color: #ef9a9a;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chatbot__quick-replies button:hover {
  background: var(--accent);
  color: #fff;
}

.chatbot__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  animation: chatFadeIn 0.3s ease;
}

.chatbot__suggestions button {
  background: rgba(198, 40, 40, 0.15);
  border: 1px solid rgba(198, 40, 40, 0.4);
  color: #ef9a9a;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chatbot__suggestions button:hover {
  background: var(--accent);
  color: #fff;
}

.chatbot__input {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
  gap: 8px;
  background: #1a1a1a;
}

.chatbot__input input {
  flex: 1;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #e0e0e0;
  font-size: 0.88rem;
  outline: none;
}

.chatbot__input input:focus {
  border-color: var(--accent);
}

.chatbot__input button {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.chatbot__input button:hover {
  background: #b71c1c;
}

.chatbot__input button svg {
  width: 18px;
  height: 18px;
}

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

@media (max-width: 480px) {
  .chatbot__window {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 84px;
  }

  .chatbot__toggle {
    bottom: 16px;
    right: 16px;
  }
}
