:root {
  --bg: #0b0b0d;
  --bg-alt: #141417;
  --card: #1a1a1f;
  --accent: #cc2a20;
  --accent-2: #ffb703;
  --text: #f4f4f5;
  --text-dim: #a3a3ad;
  --border: #2a2a30;
  --font-display: 'Oswald', 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,13,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: var(--text);
  display: flex;
  align-items: center;
}
.brand .brand-fitness { color: var(--accent); margin-left: 4px; }
.brand img { height: 50px; width: auto; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a { color: var(--text-dim); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-links .cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-links .cta:hover { background: var(--accent-2); color: #111; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}

/* Generic layout helpers */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-2); color: #111; border-color: var(--accent-2); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(204,42,32,0.15), transparent 60%), var(--bg);
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  max-width: 680px;
  margin: 0 auto 36px;
  color: var(--text-dim);
  font-size: 1.15rem;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Pitch / pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pain-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
}
.pain-card h3 { margin-top: 0; color: var(--accent-2); font-size: 1.05rem; }
.pain-card p { color: var(--text-dim); margin-bottom: 0; }

h2.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
p.section-sub {
  text-align: center;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 30px;
}

/* Nutrition / partner promo */
.promo-card {
  background: linear-gradient(135deg, #1e1e24, #161619);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.promo-card .code {
  display: inline-block;
  background: var(--bg);
  border: 2px dashed var(--accent-2);
  color: var(--accent-2);
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 10px;
  margin: 12px 0;
}

/* Socials */
.social-row { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.social-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 30px;
  text-align: center;
  min-width: 200px;
}
.social-card a { color: var(--text); font-weight: 700; }
.social-card p { color: var(--text-dim); font-size: 0.9rem; margin: 6px 0 0; }

/* Schedule page */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0 36px;
}
.slot-btn {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}
.slot-btn:hover, .slot-btn.selected {
  border-color: var(--accent);
  background: rgba(204,42,32,0.08);
}
.slot-btn .day { color: var(--text-dim); font-size: 0.8rem; display: block; margin-bottom: 4px; }

/* Monthly calendar */
.calendar { max-width: 640px; margin: 0 auto; }
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-header h3 { margin: 0; font-size: 1.3rem; }
.cal-nav {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 700;
}
.cal-nav:hover { border-color: var(--accent); color: var(--accent-2); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-dow {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 6px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
}
.cal-day-muted { color: var(--text-dim); opacity: 0.45; }
.cal-day-disabled {
  color: var(--text-dim);
  opacity: 0.35;
  background: transparent;
  border-color: transparent;
  cursor: not-allowed;
}
.cal-day-open {
  cursor: pointer;
  border-color: var(--accent);
  color: var(--text);
}
.cal-day-open:hover { background: rgba(204,42,32,0.12); }
.cal-day-selected {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

@media (max-width: 480px) {
  .cal-day { font-size: 0.85rem; }
}

.booking-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.booking-form label, .login-box label { display: block; margin: 16px 0 6px; font-weight: 600; font-size: 0.9rem; }
.booking-form input, .booking-form textarea, .booking-form select, .login-box input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
.booking-form input:focus, .booking-form textarea:focus, .booking-form select:focus, .login-box input:focus { outline: 2px solid var(--accent); }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.alert-success { background: rgba(60,180,90,0.15); border: 1px solid #3cb45a; color: #8fe3a6; }
.alert-error { background: rgba(204,42,32,0.15); border: 1px solid var(--accent); color: #ffb3a3; }
.alert-info { background: rgba(255,183,3,0.12); border: 1px solid var(--accent-2); color: var(--accent-2); }

.empty-state { text-align: center; color: var(--text-dim); padding: 40px 0; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-table th, .admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.92rem;
}
.admin-table th { color: var(--text-dim); font-weight: 700; text-transform: uppercase; font-size: 0.78rem; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge-pending { background: rgba(255,183,3,0.15); color: var(--accent-2); }
.badge-approved { background: rgba(60,180,90,0.15); color: #8fe3a6; }
.badge-declined { background: rgba(204,42,32,0.15); color: #ffb3a3; }

.admin-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}

.login-box {
  max-width: 400px;
  margin: 100px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0; margin-top: 60px; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-brand { font-weight: 800; margin-bottom: 14px; display: flex; justify-content: center; }
.footer-brand .brand-fitness { color: var(--accent); }
.footer-brand img { height: 70px; width: auto; border-radius: 10px; }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--text-dim); font-weight: 600; font-size: 0.9rem; }
.footer-copy { color: var(--text-dim); font-size: 0.82rem; }

/* Services page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.service-card h3 { margin: 0 0 6px; font-size: 1.3rem; }
.service-tag { color: var(--accent); font-weight: 700; font-size: 0.85rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.service-price { color: var(--accent-2); font-weight: 800; font-size: 1.4rem; margin: 0 0 14px; }
.service-card p { color: var(--text-dim); }
.service-list { list-style: none; padding: 0; margin: 18px 0 0; }
.service-list li { color: var(--text); padding: 8px 0 8px 28px; position: relative; font-size: 0.95rem; border-top: 1px solid var(--border); }
.service-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent-2); font-weight: 800; }

/* About page */
.about-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
}
.about-img { border-radius: 16px; width: 100%; }
.about-text p { color: var(--text-dim); margin-bottom: 16px; }
@media (max-width: 768px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-img { max-width: 280px; margin: 0 auto; }
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  text-align: center;
}
.cert-img {
  width: 100%;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-card a:hover .cert-img { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.45); }
.cert-seal {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(204,42,32,0.35);
}
.cert-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.cert-org { color: var(--accent-2); font-weight: 600; margin: 0 0 4px; font-size: 0.9rem; }
.cert-date { color: var(--text-dim); font-size: 0.82rem; margin: 0 0 10px; }

/* Transformations */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.transform-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}
.transform-images { display: flex; gap: 10px; margin-bottom: 16px; }
.transform-img-wrap { position: relative; flex: 1; border-radius: 10px; overflow: hidden; background: var(--bg); }
.transform-img-wrap img { width: 100%; height: 440px; object-fit: contain; display: block; }
.transform-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
}
.transform-card h3 { margin: 0 0 6px; }
.transform-card p { color: var(--text-dim); margin: 0; font-size: 0.92rem; }

/* Before / After comparison slider (drag the handle to wipe between photos) */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg);
  height: 460px;
  margin-bottom: 16px;
  touch-action: pan-y;
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.ba-handle::before, .ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.ba-handle::before { left: 9px; transform: translateY(-50%); border-right: 7px solid var(--accent); }
.ba-handle::after { right: 9px; transform: translateY(-50%); border-left: 7px solid var(--accent); }
.ba-slider .transform-label { z-index: 3; pointer-events: none; bottom: 12px; }
/* Labels ride with the divider (left is set to the divider % in JS). */
.ba-tag-before { left: 50%; transform: translateX(calc(-100% - 10px)); }
.ba-tag-after { left: 50%; transform: translateX(10px); }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
  touch-action: pan-y;
}
@media (max-width: 640px) {
  .ba-slider { height: 66vh; max-height: 560px; min-height: 380px; }
}

/* Photo galleries (Bailey / Coaching) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.gallery-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.gallery-item img { width: 100%; height: 380px; object-fit: contain; display: block; background: var(--bg); }
.gallery-caption { padding: 14px 16px; color: var(--text-dim); font-size: 0.92rem; text-align: center; }

/* FAQ */
.faq-wrap { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { color: var(--accent-2); }
.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Admin image previews */
.admin-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }

/* Quick Plan Builder */
.builder-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}
.builder-card-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.day-label, .meal-label {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-weight: 600;
}
.builder-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; align-items: center; }
.builder-row input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
}
.builder-row input:focus { outline: 2px solid var(--accent); }
.bld-wide { flex: 2; min-width: 140px; }
.bld-narrow { flex: 1; min-width: 66px; }
.row-x {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 8px;
  padding: 9px 13px;
  cursor: pointer;
  font-weight: 700;
}
.row-x:hover { border-color: var(--accent); color: var(--accent); }
.bld-add { padding: 8px 16px; font-size: 0.9rem; margin-top: 4px; }

/* ===== Mobile (phones) ===== */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 44px; }
  .section { padding: 46px 0; }

  /* Stack before/after vertically so they're full-width, not cramped strips */
  .transform-images { flex-direction: column; gap: 14px; }
  .transform-img-wrap img { height: auto; }   /* natural full-width, no crop, no letterbox */

  /* Gallery photos show at natural full-width on phones */
  .gallery-item img { height: auto; }

  /* Promo / multi-column cards stack cleanly */
  .promo-card { padding: 26px; flex-direction: column; align-items: stretch; text-align: center; }

  /* Booking time-slot buttons go full width for easy tapping */
  .slot-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

  /* Keep wide admin tables usable: allow horizontal scroll instead of breaking layout */
  .admin-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ===== Branding & polish ===== */

/* Athletic display font on the big headings */
.hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
}
h2.section-title { font-family: var(--font-display); letter-spacing: 0.5px; }
.nav-links .cta, .btn { font-family: var(--font-display); letter-spacing: 0.5px; }

/* Smooth interactions everywhere */
a,
.btn,
.nav-links a,
.nav-links .cta,
.pain-card,
.service-card,
.social-card,
.cert-card,
.transform-card,
.step-card,
.cal-nav,
.slot-btn,
.faq-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

/* Card hover lift */
.pain-card:hover,
.service-card:hover,
.social-card:hover,
.cert-card:hover,
.transform-card:hover,
.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Button glow on the primary action */
.btn-solid:hover { box-shadow: 0 8px 24px rgba(204,42,32,0.32); }

/* Trust bar under the hero */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.92rem;
}
.trust-items span { white-space: nowrap; }
.trust-items b { color: var(--accent-2); margin-right: 6px; }

/* How It Works steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.step-card p { color: var(--text-dim); margin: 0; }

/* Scroll reveal (fade + rise). Only active when JS is on, so no-JS users
   still see all content. Disabled for reduced-motion preferences. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   2026 redesign: accessibility, mobile conversion, request form.
   Kept as one block so it is easy to review or roll back.
   ===================================================================== */
:root {
  /* Brand red is kept for solid fills (white text on it passes 4.5:1).
     A brighter red is used wherever red is the TEXT colour on dark backgrounds. */
  --accent-text: #ff5d4f;
  --radius: 14px;
  --sticky-h: 76px;
}

a { color: var(--accent-text); }
.btn { color: var(--accent-text); border-color: var(--accent); min-height: 48px; }
.btn:hover { color: #fff; }
.btn-solid { color: #fff; }
.service-tag, .faq-item summary::after { color: var(--accent-text); }

/* Visible keyboard focus everywhere (never remove it). */
:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent-2); color: #111; font-weight: 700;
  padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #111; }

/* Navigation */
.nav-links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-links .cta[aria-current="page"] { box-shadow: none; }
.nav-toggle {
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 10px;
}
.nav-toggle:hover { background: var(--card); }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { top: 78px; padding: 8px 20px 20px; gap: 0; box-shadow: 0 18px 30px rgba(0,0,0,0.5); }
  .nav-links a { width: 100%; padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav-links a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav-links .cta { margin-top: 14px; text-align: center; border-bottom: 0; padding: 14px 20px; }
}

/* Shared page hero for inner pages (replaces inline padding styles) */
.page-hero { padding: 76px 0 44px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.hero-note { color: var(--text-dim); font-size: 0.92rem; margin-top: 18px; }

/* Home: coach intro */
.coach-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 48px;
  align-items: center;
}
.coach-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%; /* tall stage photos: frame the person, not the curtain */
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
}
.coach-text h2.section-title { text-align: left; }
.coach-text p { color: var(--text-dim); }
.coach-points { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.coach-points li { position: relative; padding-left: 30px; }
.coach-points li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px var(--accent), inset 0 0 0 6px #fff;
}
@media (max-width: 768px) {
  .coach-wrap { grid-template-columns: 1fr; gap: 28px; }
  .coach-photo { max-width: 360px; margin: 0 auto; }
  .coach-text h2.section-title { text-align: center; }
}

/* Home: results teaser + services teaser */
.results-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 36px; }
.results-teaser .ba-slider { height: 420px; }
.section-cta { text-align: center; margin-top: 36px; }
.services-teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.services-teaser .service-card { padding: 26px 24px; }
.services-teaser .service-price { font-size: 1.2rem; margin: 6px 0 0; }

/* Request form (Book a Free Consultation) */
.request-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px);
  gap: 48px;
  align-items: start;
}
.request-aside h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 10px; }
.request-aside p { color: var(--text-dim); }
.request-steps { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; counter-reset: rs; }
.request-steps li { position: relative; padding-left: 44px; color: var(--text); }
.request-steps li::before {
  counter-increment: rs; content: counter(rs);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.request-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
}
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; color: var(--text); }
.field .hint { color: var(--text-dim); font-size: 0.85rem; margin: 6px 0 0; }
.field .req { color: var(--accent-text); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #3a3a42;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-2); outline-offset: 1px; border-color: transparent; }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--accent-text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  border: 1px solid #3a3a42; border-radius: 999px;
  cursor: pointer; font-weight: 600; font-size: 0.95rem;
}
.choice input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(204,42,32,0.12); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fineprint { color: var(--text-dim); font-size: 0.82rem; margin: 14px 0 0; text-align: center; }
.form-status { margin-top: 16px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status-ok { padding: 18px; border-radius: 12px; background: rgba(60,180,90,0.14); border: 1px solid #3cb45a; color: #a6eebb; }
.form-status-err { padding: 14px 16px; border-radius: 12px; background: rgba(204,42,32,0.15); border: 1px solid var(--accent); color: #ffc2b8; }
@media (max-width: 900px) {
  .request-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .request-card { padding: 22px 18px; }
}

/* Footer */
.footer-area { color: var(--text-dim); font-size: 0.9rem; margin: 0 0 14px; }
.footer-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border); color: var(--text);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent-2); }

/* Sticky "Free Consultation" bar on phones (not on the booking page itself) */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(11,11,13,0.94);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--border);
  }
  body:not(.no-sticky-cta) { padding-bottom: var(--sticky-h); }
  .hero-actions .btn { width: 100%; text-align: center; }
  .trust-items { gap: 10px 22px; font-size: 0.88rem; }
  .trust-items span { white-space: normal; }
}

/* Never let anything force sideways scrolling on small screens. */
html, body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; }
