:root {
  --bg: #08090b;
  --panel: #12151b;
  --panel-2: #191d24;
  --text: #f7f7f2;
  --muted: #a8adb8;
  --accent: #0d92e1;
  --accent-2: #ff6b2c;
  --health: #18b26b;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(8,9,11,.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-transform: uppercase; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.nav { justify-self: end; display: flex; gap: 22px; color: var(--muted); font-weight: 700; font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav-socials { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-socials a, .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.nav-socials a svg, .footer-socials a svg {
  width: 13px;
  height: 13px;
  display: block;
}
.nav-socials a[aria-label="Facebook"],
.footer-socials a[aria-label="Facebook"] {
  background: #1877F2;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.4);
}
.nav-socials a[aria-label="Facebook"]:hover,
.footer-socials a[aria-label="Facebook"]:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 10px rgba(24, 119, 242, 0.6);
}
.nav-socials a[aria-label="Instagram"],
.footer-socials a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 2px 6px rgba(220, 39, 67, 0.4);
}
.nav-socials a[aria-label="Instagram"]:hover,
.footer-socials a[aria-label="Instagram"]:hover {
  transform: scale(1.18);
  box-shadow: 0 4px 10px rgba(220, 39, 67, 0.6);
}
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}
.header-cta, .btn-primary { background: var(--accent); border-color: var(--accent); color: white; }
.btn-secondary { background: transparent; color: var(--text); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.66) 42%, rgba(8,9,11,.25) 100%), url("assets/img/hero-1.jpg") center/cover;
}
.hero-content { position: relative; max-width: 780px; }
.eyebrow { margin: 0 0 12px; color: var(--accent-2); font-weight: 900; text-transform: uppercase; }
h1, h2, h3 { font-family: Oswald, Impact, sans-serif; line-height: 1.02; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(58px, 11vw, 148px); text-transform: uppercase; }
h1 strong { color: var(--accent); }
h2 { font-size: clamp(36px, 6vw, 72px); text-transform: uppercase; }
h3 { font-size: 24px; text-transform: uppercase; }
.hero-line { margin: 18px 0 0; color: var(--muted); font-size: clamp(20px, 3vw, 32px); font-weight: 800; text-transform: uppercase; }
.hero-subtitle { margin: 6px 0 28px; font-size: clamp(24px, 4vw, 48px); font-family: Oswald, Impact, sans-serif; text-transform: uppercase; }
.hero-subtitle strong { color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 32px;
  width: min(360px, calc(100% - 36px));
  padding: 22px;
  background: rgba(18,21,27,.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-panel span, .hero-panel a { color: var(--accent-2); font-weight: 800; }
.hero-panel strong { display: block; margin: 8px 0; }

.section { padding: 96px clamp(18px, 5vw, 72px); }
.section-heading { display: grid; gap: 4px; margin-bottom: 38px; }
.feature-grid, .service-grid, .plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .service-grid article, .plan-card, .team-strip article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--accent); font-weight: 900; }
.feature-card p, .service-grid p, .plan-card li, .team-strip p, .contact-list p { color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--panel-2);
}
.split-image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.split-copy { display: grid; align-content: center; gap: 18px; padding: clamp(40px, 6vw, 96px); }
.split-copy p:not(.eyebrow) { color: var(--muted); font-size: 24px; font-weight: 800; text-transform: uppercase; }

.classes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.class-card {
  position: relative;
  min-height: 330px;
  grid-column: span 2;
  overflow: hidden;
  border-radius: 8px;
  background: var(--panel);
}
.class-card.wide { grid-column: span 3; }
.class-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.08); }
.class-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
}
.class-card span { color: var(--accent-2); font-weight: 900; }

/* Schedule Table Styling */
.schedule-container {
  margin-top: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.schedule-heading {
  margin-bottom: 24px;
}
.schedule-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  margin-top: 4px;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.schedule-table th {
  color: var(--accent-2);
  font-family: Oswald, Impact, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.schedule-table tbody tr {
  transition: background-color 0.2s ease;
}
.schedule-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}
.schedule-table tbody tr:last-child td {
  border-bottom: none;
}
.class-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.class-info strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.class-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.zumba-dot {
  background-color: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
}
.hiit-dot {
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-morning {
  background-color: rgba(13, 146, 225, 0.12);
  color: var(--accent);
  border: 1px solid rgba(13, 146, 225, 0.25);
}
.badge-evening {
  background-color: rgba(24, 178, 107, 0.12);
  color: var(--health);
  border: 1px solid rgba(24, 178, 107, 0.25);
}
.time-col {
  font-family: Inter, sans-serif;
  font-weight: 600;
  color: var(--text);
}
.days-col {
  color: var(--muted);
  font-weight: 500;
}
@media (max-width: 640px) {
  .schedule-container {
    padding: 20px 14px;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
  .class-info strong {
    font-size: 14px;
  }
}

.services { background: #0d1015; }
.service-grid article { min-height: 220px; display: grid; align-content: space-between; }
.service-grid a { color: var(--accent-2); font-weight: 900; text-transform: uppercase; }

.plans { background: var(--panel-2); }
.plans .plan-grid { grid-template-columns: repeat(3, minmax(260px, 1fr)); align-items: stretch; }
.plan-card { position: relative; display: grid; align-content: start; gap: 22px; overflow: hidden; }
.plan-card > h3 { font-size: clamp(28px, 3vw, 42px); text-align: center; }
.plan-note {
  margin: -8px 0 4px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}
.price-list { list-style: none; display: grid; gap: 14px; padding: 0; margin: 0; }
.price-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}
.price-list li::before {
  content: "\2713";
  color: var(--health);
  font-weight: 900;
}
.price-list span { margin-right: auto; }
.price-list strong { color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 20px; white-space: nowrap; }
.plan-card.featured { border-color: var(--accent); transform: translateY(-10px); }
.plan-ribbon {
  position: absolute;
  top: 20px;
  right: -42px;
  width: 170px;
  padding: 8px 0;
  background: var(--accent);
  color: white;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
}
.training-tier { display: grid; gap: 10px; }
.training-tier p { margin: 0; color: var(--accent-2); font-weight: 900; }

.team { display: grid; gap: 24px; }
.team-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.person-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.person-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  background: #0b0d11;
}
.person-card h3, .person-card p { margin-left: 22px; margin-right: 22px; }
.person-card h3 { margin-top: 20px; }
.person-card p { color: var(--muted); }
.person-card p:last-child { margin-bottom: 24px; }
.gallery { background: #0d1015; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.gallery-grid a:hover {
  transform: scale(1.03);
  border-color: var(--accent);
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid a:hover img {
  transform: scale(1.05);
}
.gallery-cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.instagram-flashy-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50px;
  color: #fff;
  font-family: Oswald, Impact, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(220, 39, 67, 0.4);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-glow 2s infinite alternate;
}
.instagram-flashy-btn:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.6);
  color: #fff;
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(220, 39, 67, 0.4), 0 0 5px rgba(240, 148, 51, 0.2);
  }
  100% {
    box-shadow: 0 0 25px rgba(220, 39, 67, 0.8), 0 0 15px rgba(240, 148, 51, 0.5);
  }
}

.bmi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bmi-grid > div, .bmi-form {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.bmi table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
}
.bmi th, .bmi td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.bmi th { color: var(--accent-2); }
.bmi-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bmi-form h3, .bmi-form button, .bmi-result { grid-column: 1 / -1; }
.bmi-form input, .bmi-form select {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0d11;
  color: var(--text);
  font: inherit;
}
.bmi-result { margin: 0; color: var(--health); font-weight: 900; }

.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
}
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-list span { display: block; color: var(--accent-2); font-weight: 900; text-transform: uppercase; }
.contact-list a { display: block; color: var(--text); }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b0d11;
  color: var(--text);
  font: inherit;
}
.contact-form textarea { grid-column: 1 / -1; min-height: 150px; resize: vertical; }
.contact-form button { justify-self: start; }
.form-status { grid-column: 1 / -1; min-height: 24px; margin: 0; color: var(--accent-2); font-weight: 800; }
.contact-map {
  grid-column: 1 / -1;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
}
.map-heading h3 { margin-top: 0; }
.contact-map iframe { display: block; filter: grayscale(.1) contrast(1.05); }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #050607;
  color: var(--muted);
}
.site-footer img { width: 70px; }
.site-footer h3 { color: var(--text); font-size: 18px; margin-bottom: 12px; }
.site-footer a, .site-footer p { display: block; margin: 6px 0; color: var(--muted); }
.footer-socials { display: flex; align-items: center; gap: 10px; margin-top: 14px; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: auto auto; }
  .menu-toggle {
    justify-self: end;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255,255,255,.04);
  }
  .menu-toggle span { display: block; height: 2px; background: var(--text); }
  .nav {
    grid-column: 1 / -1;
    display: none;
    justify-self: stretch;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
  }
  .nav.open { display: grid; }
  .nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-socials { padding: 12px; border-top: 1px solid var(--line); margin-left: 0; justify-content: center; }
  .header-cta { display: none; }
  .feature-grid, .service-grid, .plan-grid, .team-strip, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans .plan-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .plan-card.featured { transform: none; }
  .split-section, .contact, .bmi-grid { grid-template-columns: 1fr; }
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .class-card, .class-card.wide { grid-column: span 1; }
}

@media (max-width: 640px) {
  .hero { min-height: 920px; align-items: start; padding-top: 118px; }
  .hero-panel { left: 18px; right: 18px; }
  .feature-grid, .service-grid, .plan-grid, .team-strip, .classes-grid, .site-footer, .gallery-grid, .bmi-form { grid-template-columns: 1fr; }
  .section { padding-block: 72px; }
  .plan-card { padding: 24px 20px; }
  .plan-card > h3 { padding-inline: 20px; font-size: 30px; }
  .price-list { gap: 8px; }
  .price-list li { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
  .price-list strong { grid-column: 2; font-size: 19px; }
  .plan-ribbon { top: 14px; right: -48px; width: 160px; font-size: 13px; }
  .contact-form { grid-template-columns: 1fr; }
  .map-heading { align-items: flex-start; flex-direction: column; }
}
