/* =====================
   DESIGN TOKENS
   ===================== */
:root {
  --bg: #050505;
  --bg-soft: #101010;
  --bg-elevated: #151515;
  --fg: #f5f5f5;
  --muted: #9ca3af;
  --border: #262626;
  --border-soft: #1a1a1a;

  --accent: #f5b648;      /* warm amber accent */
  --accent-soft: rgba(245, 182, 72, 0.12);
  --accent-strong: #f0a41f;

  --pill-bg: #111827;
  --pill-border: #1f2933;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.55);

  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease;

  --nav-height: 68px;
}

/* =====================
   GLOBAL
   ===================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* =====================
   PROGRESS BAR
   ===================== */
.progress-bar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffffff);
  width: 0%;
  z-index: 60;
  transition: width 0.2s ease-out;
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med), transform 0.2s ease-out;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.98);
  border-color: #111;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover {
  background: #18181b;
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  margin-left: 0.3rem;
  padding-inline: 1rem;
}

.nav-links .nav-cta:hover {
  background: var(--accent);
  color: #000000;
}

/* Menu button (mobile) */
.menu-btn {
  display: none !important; /* ensure hidden on desktop, overrides .btn */
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  --btn-bg: #ffffff;
  --btn-color: #000000;
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.btn .icon {
  font-size: 1.05rem;
  line-height: 1;
}

.btn-primary {
  --btn-bg: var(--accent);
  --btn-color: #111111;
  --btn-border: transparent;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  --btn-bg: transparent;
  --btn-color: #e5e7eb;
  --btn-border: #2a2a2a;
}

.btn-ghost:hover {
  background: #111827;
  border-color: #4b5563;
  transform: translateY(-1px);
}

.btn-outline {
  --btn-bg: transparent;
  --btn-color: #e5e7eb;
  --btn-border: #374151;
}

.btn-outline:hover {
  background: #111827;
  border-color: #6b7280;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.4rem;
  font-size: 1.02rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #27272a;
  background: #0b0b0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #e5e7eb;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-icon:hover {
  background: #18181b;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn-icon:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

/* =====================
   HERO
   ===================== */
.hero {
  padding-block: 3.2rem 3.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #1f2933;
  font-size: 0.8rem;
}

.chip-icon {
  font-size: 0.9rem;
}

.hero h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-top: 1rem;
  margin-bottom: 0.7rem;
  line-height: 1.12;
  letter-spacing: 0.03em;
}

.accent {
  color: var(--accent);
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block: 1rem 1.2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #1f2933;
  background: #111827;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #020617;
  box-shadow: var(--shadow-card);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease-out;
}

.hero-visual:hover img {
  transform: scale(1.05);
}

/* =====================
   STRIP / HIGHLIGHTS
   ===================== */
.strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.6rem;
}

@media (max-width: 720px) {
  .strip {
    grid-template-columns: 1fr;
  }
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-md);
  background: #0b0b0b;
  border: 1px solid var(--border);
  transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.strip-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  font-size: 1rem;
}

.strip-text {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.strip-item:hover {
  border-color: #3f3f46;
  transform: translateY(-1px);
}

/* =====================
   SECTIONS
   ===================== */
section {
  padding-block: 3.3rem;
  border-top: 1px solid var(--border-soft);
}

section h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* =====================
   GRID & CARDS
   ===================== */
.grid {
  display: grid;
  gap: 1rem;
}

.g-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .g-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .g-3,
  .g-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: #3f3f46;
  background: #111111;
}

.card-img {
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.8s ease-out;
}

.card:hover .card-img img {
  transform: scale(1.06);
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
  opacity: 0.8;
}

.card-body h4 {
  margin: 0.25rem 0 0.4rem;
  font-size: 1.1rem;
}

.card-body p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.price {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
}

/* =====================
   ACADEMY
   ===================== */
.academy {
  background: #020617;
}

.academy .lead {
  max-width: 58ch;
}

.academy-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.6rem;
  margin-top: 1.8rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .academy-grid {
    grid-template-columns: 1fr;
  }
}

.academy-left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.academy-intro {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: #030712;
  border: 1px solid #111827;
}

.academy-intro-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

.academy-intro p {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.academy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #020617;
  font-size: 0.78rem;
  color: #e5e7eb;
}

.tag:hover {
  border-color: #374151;
}

.academy-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

@media (max-width: 720px) {
  .academy-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat {
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius-md);
  background: #020617;
  border: 1px solid #111827;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

.academy-checklist {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: #020617;
  border: 1px solid #111827;
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.checklist li + li {
  margin-top: 0.25rem;
}

.academy-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

/* Academy media */
.academy-media {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.academy-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #111827;
}

.academy-main-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.academy-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.academy-thumbs img {
  border-radius: var(--radius-md);
  border: 1px solid #111827;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* =====================
   COACHES SECTION
   ===================== */
.coaches-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.coaches-title {
  margin-bottom: 0.2rem;
}

.coaches-lead {
  margin: 0;
}

.coach-slider {
  position: relative;
}

.coach-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 0.1rem 0.8rem;
  scrollbar-width: thin;
  scrollbar-color: #27272a transparent;
}

.coach-track::-webkit-scrollbar {
  height: 6px;
}
.coach-track::-webkit-scrollbar-track {
  background: transparent;
}
.coach-track::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 999px;
}

.coach-card {
  min-width: min(280px, 80vw);
  max-width: 320px;
  scroll-snap-align: start;
}

.coach-card img {
  aspect-ratio: 1;
  object-fit: cover;
}

.coach-card .card-body h4 {
  margin-top: 0.3rem;
}

/* =====================
   SAFETY
   ===================== */
#safety .card-body h4 {
  margin-bottom: 0.2rem;
}

/* =====================
   FORM / REGISTER
   ===================== */
form {
  margin-top: 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

label {
  font-size: 0.9rem;
  color: #e5e7eb;
  display: block;
  margin-bottom: 0.2rem;
}

label.required::after {
  content: " *";
  color: var(--accent);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid #27272a;
  background: #020617;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: #4b5563;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: #030712;
  box-shadow: 0 0 0 1px rgba(245, 182, 72, 0.45);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-hint {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-summary {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: #020617;
  border: 1px solid #111827;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-summary strong {
  color: #e5e7eb;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.form-message {
  font-size: 0.9rem;
}

/* Ensure white text for selects in dark areas */
#sessionTime,
#programme {
  color: var(--fg);
}

/* =====================
   FAQ
   ===================== */
#faq {
  background: #050505;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

@media (max-width: 720px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

details {
  background: #020617;
  border-radius: var(--radius-md);
  border: 1px solid #111827;
  padding: 0.7rem 0.85rem;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

details:hover {
  border-color: #374151;
  transform: translateY(-1px);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-weight: 500;
  color: #e5e7eb;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  font-size: 1.1rem;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

details[open] .faq-toggle {
  transform: rotate(45deg);
}

details p {
  margin: 0.6rem 0 0.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* =====================
   CONTACT
   ===================== */
#contact .contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.1rem;
  margin-top: 1.2rem;
}

/* 3-column layout for the main contact section */
#contact .contact-grid.contact-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Tablet / small laptop: 2 columns for 3-card layout */
@media (max-width: 1100px) {
  #contact .contact-grid.contact-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: everything stacks into a single column */
@media (max-width: 720px) {
  #contact .contact-grid,
  #contact .contact-grid.contact-grid-3 {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.contact-title {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-item strong {
  color: #e5e7eb;
}

.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.contact-note,
.contact-map-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.8rem 0 1rem;
}

.contact-map img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

/* =====================
   FOOTER
   ===================== */
footer {
  padding-block: 2.2rem;
  background: #020617;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  cursor: pointer;
}

/* =====================
   FLOATING ACTIONS
   ===================== */
.float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 60;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.float.hidden {
  transform: translateY(80px);
  opacity: 0;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.fab:hover {
  background: #111827;
  border-color: #374151;
  transform: translateY(-2px);
}

.fab-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.fab-whatsapp {
  background: var(--accent);
  color: #000000;
  border-color: transparent;
}

.fab-whatsapp .fab-icon {
  background: #000000;
  color: var(--accent);
}

.fab-whatsapp:hover {
  background: var(--accent-strong);
}

/* =====================
   BACK TO TOP
   ===================== */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #27272a;
  background: #020617;
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  z-index: 55;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #111827;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* =====================
   MODALS
   ===================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.8);
  z-index: 80;
}

.modal.open {
  display: flex;
}

.modal-dialog {
  width: min(960px, 100%);
  max-height: 90vh;
  background: #020617;
  border-radius: 20px;
  border: 1px solid #111827;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #111827;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.modal-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.modal-title {
  margin: 0.1rem 0;
  font-size: 1.3rem;
  color: var(--fg);
}

.modal-close {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.1rem;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 1rem 1.1rem 1.1rem;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr;
  gap: 1rem;
  overflow-y: auto;
}

@media (max-width: 840px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
}

.modal-media {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.modal-media > img {
  border-radius: var(--radius-md);
  border: 1px solid #111827;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.modal-thumbs img {
  border-radius: var(--radius-md);
  border: 1px solid #111827;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.modal-section-title {
  margin-top: 0.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
}

.modal-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.modal-meta {
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.modal-meta strong {
  color: #e5e7eb;
}

.modal-cta {
  margin-top: 0.5rem;
}

/* Coach chips in modals */
.coach-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.coach-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.coach-chip img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
}

.coach-chip:hover {
  border-color: #374151;
  background: #0b1120;
  transform: translateY(-1px);
}

/* Coach modals layout */
.coach-modal-body {
  padding: 1rem 1.1rem 1.1rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  overflow-y: auto;
}

@media (max-width: 840px) {
  .coach-modal-body {
    grid-template-columns: 1fr;
  }
}

.coach-modal-photo {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.coach-modal-photo > img {
  border-radius: var(--radius-md);
  border: 1px solid #111827;
  aspect-ratio: 1;
  object-fit: cover;
}

.coach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.coach-tag {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #020617;
  font-size: 0.75rem;
  color: #e5e7eb;
}

.coach-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.coach-gallery img {
  border-radius: var(--radius-md);
  border: 1px solid #111827;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.coach-programs-list {
  margin: 0 0 0.6rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.coach-programs-list li + li {
  margin-top: 0.2rem;
}

/* =====================
   RESPONSIVE NAV
   ===================== */
@media (max-width: 900px) {
  .menu-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    padding: 0.9rem 1rem 1.2rem;
    background: #020617;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-120%);
    transition: transform 0.2s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }
}

/* =====================
   RESPONSIVE TWEAKS / MOBILE ENHANCEMENTS
   ===================== */

/* Mobile hero + sections + CTAs */
@media (max-width: 720px) {
  .hero {
    padding-block: 2.4rem 2.6rem;
  }

  section {
    padding-block: 2.6rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .lead {
    font-size: 0.96rem;
  }
}

/* Contact specific mobile tweaks (stacking, tap targets, map image) */
@media (max-width: 720px) {
  #contact {
    padding-bottom: 5rem; /* so floating buttons / back-to-top don’t overlap the last card */
  }

  .contact-card {
    padding: 0.9rem 1rem;
  }

  .contact-item {
    align-items: center;
  }

  .contact-icon {
    flex-shrink: 0;
  }

  /* Make contact buttons full-width on mobile */
  #contact .btn.btn-ghost.btn-sm {
    width: 100%;
    justify-content: center;
  }

  .contact-map img {
    width: 100%;
    max-height: 220px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* Footer / floating buttons on very small screens */
@media (max-width: 600px) {
  .float {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .fab {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

/* =====================
   MISC
   ===================== */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
