/* jandJ Fit — mobile-first stylesheet */

:root {
  --navy: #0b2340;
  --navy-deep: #071829;
  --cream: #faf7f0;
  --coral: #ff5a3c;
  --coral-dark: #e14526;
  --ink: #16202c;
  --gray: #5a6472;
  --border: #e4e0d6;
  --radius: 10px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.eyebrow {
  font-family: var(--font-head);
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.section-lead {
  max-width: 640px;
  color: var(--gray);
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.contact .btn-outline { border-color: var(--navy); color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.logo span { color: var(--coral); }
.logo em { font-style: normal; font-weight: 300; opacity: 0.85; }

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy-deep);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.main-nav.open { max-height: 320px; }
.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.main-nav a:hover { color: var(--coral); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.phone-pill {
  display: none;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,24,41,0.75) 0%, rgba(7,24,41,0.88) 60%, rgba(11,35,64,0.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 1.25rem 3rem;
  color: #fff;
  text-align: center;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 0.6rem; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.88); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }
.trust-badge {
  margin-top: 1.75rem;
  font-weight: 600;
  color: #ffd9a0;
  letter-spacing: 0.02em;
}

/* About / trainers */
.about { background: var(--cream); }
.trainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.trainer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.trainer-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  border: 4px solid var(--cream);
  outline: 2px solid var(--coral);
}
.trainer-title { color: var(--coral-dark); font-weight: 600; font-size: 0.92rem; margin: 0 0 0.6rem; }

/* Services */
.services { background: var(--navy); color: #fff; }
.services .eyebrow { color: #ffb08a; }
.services h2 { color: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.service-icon { width: 44px; height: 44px; color: var(--coral); margin-bottom: 1rem; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card p { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.95rem; }

/* Testimonials (React island) */
.testimonials { background: var(--cream); }
.tc-root { margin-top: 2.5rem; }
.tc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tc-quote-icon { color: var(--coral); margin-bottom: 1rem; }
.tc-quote { font-size: 1.15rem; line-height: 1.55; color: var(--ink); margin: 0 0 1.25rem; }
.tc-attrib { display: flex; flex-direction: column; gap: 0.15rem; margin: 0; }
.tc-name { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); }
.tc-detail { color: var(--gray); font-size: 0.9rem; }
.tc-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.tc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
}
.tc-btn:hover { background: var(--navy); color: #fff; }
.tc-dots { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; max-width: 220px; }
.tc-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}
.tc-dot.active { background: var(--coral); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.gallery-grid img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius); }

/* Contact */
.contact { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.contact-list a { color: var(--coral-dark); text-decoration: none; font-weight: 600; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 2.5rem 1.25rem; text-align: center; }
.footer-name { font-family: var(--font-head); color: #fff; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.1rem; margin: 0 0 0.5rem; }
.footer-inner a { color: #fff; text-decoration: none; }
.footer-copy { font-size: 0.85rem; margin-top: 0.75rem; opacity: 0.7; }

/* Tablet+ */
@media (min-width: 640px) {
  .trainer-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .main-nav {
    position: static;
    flex-direction: row;
    max-height: none;
    overflow: visible;
    background: transparent;
  }
  .main-nav a {
    color: rgba(255,255,255,0.85);
    border-top: none;
    padding: 0.5rem 0.9rem;
    min-height: auto;
  }
  .phone-pill { display: inline-flex; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid img { height: 220px; }
}
