/* =============================================
   MACXFIT 24 — MAIN STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --primary:       #1c1c1c;
  --primary-hover: #333333;
  --white:         #ffffff;
  --light-bg:      #f4f4f4;
  --mid-bg:        #e8e8e8;
  --text-dark:     #1c1c1c;
  --text-body:     #4a4a4a;
  --text-muted:    #888888;
  --gold:          #f0c040;
  --border:        #ddd;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
iframe { max-width: 100%; }
a { color: inherit; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Impact', Arial Narrow, sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* ---------- NAVIGATION ---------- */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  display: flex;
  align-items: center;
  line-height: 0;
}
.logo-badge img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-sub {
  font-size: 0.55rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: stretch;
  height: 72px;
}

.nav-menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu > li > a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-menu > li > a:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

.nav-menu > li > a.btn-nav {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
  padding: 0 20px;
  margin: 15px 0 15px 10px;
  height: auto;
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-menu > li > a.btn-nav:hover {
  background: #e0b030;
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown-toggle::after {
  content: " ▾";
  font-size: 0.7rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--primary);
  min-width: 210px;
  list-style: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 13px 20px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover { background: rgba(255,255,255,0.12); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26,35,64,0.4);
}

.btn-gold {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
}
.btn-gold:hover {
  background: #e0b030;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.btn-white {
  background: white;
  color: var(--primary);
}
.btn-white:hover {
  background: #eee;
}

/* ---------- SECTION BASE ---------- */
section { padding: 75px 20px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.section-heading .overline {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 620px;
  background:
    linear-gradient(rgba(28,24,18,0.62), rgba(28,24,18,0.62)),
    url('../images/hero-spin.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  color: white;
}

.hero-content { max-width: 850px; }

.hero-overline {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 2px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 4.2rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 22px;
  line-height: 1.0;
  font-weight: 700;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 32px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  line-height: 1.55;
}

.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ---------- PAIN POINTS ---------- */
.pain-points {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.pain-points .section-heading h2 { color: white; font-size: 2.2rem; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.pain-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 35px 25px;
  border-radius: 4px;
  transition: background 0.3s;
}
.pain-card:hover { background: rgba(255,255,255,0.12); }

.pain-card .icon { font-size: 2.4rem; margin-bottom: 18px; }
.pain-card svg.icon {
  width: 52px;
  height: 52px;
  stroke: var(--gold);
  stroke-width: 1.8;
  margin-bottom: 18px;
  display: inline-block;
}

.pain-card h3 {
  color: var(--gold);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.pain-card p { color: rgba(255,255,255,0.78); font-size: 0.92rem; }

.pain-closing {
  font-family: 'Oswald', sans-serif;
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 20px;
}

/* ---------- SERVICES ---------- */
.services { background: white; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  text-align: center;
  padding: 35px 20px;
  border: 1px solid var(--border);
  border-radius: 5px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.service-card .icon { font-size: 2.8rem; margin-bottom: 18px; }
.service-card svg.icon {
  width: 56px;
  height: 56px;
  stroke: var(--gold);
  stroke-width: 1.8;
  margin-bottom: 14px;
  display: inline-block;
}
.service-card .card-photo {
  margin: -35px -20px 22px -20px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: var(--light-bg);
}
.service-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s;
}
.service-card:hover .card-photo img { transform: scale(1.05); }

.service-card h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-bg);
}

.service-card p { font-size: 0.87rem; color: var(--text-body); margin-bottom: 16px; }

.service-benefits {
  list-style: none;
  text-align: left;
  font-size: 0.82rem;
}
.service-benefits li {
  padding: 4px 0;
  color: var(--text-body);
}
.service-benefits li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}

.service-freq {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { background: var(--light-bg); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 35px;
}

.t-card {
  background: white;
  padding: 28px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}

.t-card .stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; }

.t-card .quote {
  font-size: 0.88rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 18px;
}

.t-card .author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  margin: 0 auto;
  text-decoration: none;
}
.rating-chip .stars { color: var(--gold); font-size: 1rem; margin: 0; }

.testimonials-center { text-align: center; }

/* ---------- GETTING STARTED ---------- */
.getting-started { background: white; text-align: center; }

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

.step-card {
  padding: 40px 28px;
  background: var(--light-bg);
  border-radius: 6px;
  position: relative;
  text-align: center;
}

.step-num {
  width: 64px;
  height: 64px;
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 auto 22px;
}

.step-card h3 {
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 14px;
}

.step-card p { font-size: 0.88rem; }

/* ---------- SCHEDULE ---------- */
.schedule-section { background: var(--light-bg); }

.schedule-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 11px 20px;
  background: rgba(26,35,64,0.15);
  color: var(--primary);
  border: none;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
}
.tab-btn:hover { background: rgba(26,35,64,0.25); }
.tab-btn.active {
  background: var(--primary);
  color: white;
}

.tab-pane { display: none; }
.tab-pane.active { display: block; }

.schedule-list { display: flex; flex-direction: column; gap: 8px; }

.sched-item {
  background: white;
  padding: 16px 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.sched-time {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  color: var(--primary);
  min-width: 170px;
  font-size: 0.92rem;
}

.sched-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.sched-tag {
  margin-left: auto;
  background: var(--light-bg);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.sched-tag.crossfit  { background: #e8f0ff; color: #3356bb; }
.sched-tag.macxzone  { background: #fff3e0; color: #b85e00; }
.sched-tag.spin      { background: #fce4ec; color: #b71c1c; }
.sched-tag.circuit   { background: #e8f5e9; color: #2e7d32; }
.sched-tag.bootcamp  { background: #f3e5f5; color: #6a1b9a; }
.sched-tag.wod       { background: #e3f2fd; color: #0d47a1; }
.sched-tag.strongher { background: #fce4f5; color: #ad1457; }

/* ---------- LOCATION ---------- */
.location-section { background: white; }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-info h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contact-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-row .icon {
  font-size: 1.25rem;
  color: var(--primary);
  min-width: 28px;
  margin-top: 3px;
}
.contact-row svg.icon {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  min-width: 22px;
  margin-top: 2px;
}

.contact-row p { font-size: 0.92rem; line-height: 1.55; }

.contact-row a { text-decoration: none; color: var(--primary); font-weight: 600; }
.contact-row a:hover { text-decoration: underline; }

.social-row { display: flex; gap: 12px; margin-top: 22px; }

.social-btn {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background 0.3s;
}
.social-btn:hover { background: var(--primary-hover); }

.map-placeholder {
  background: var(--mid-bg);
  height: 380px;
  border-radius: 6px;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--gold);
  color: var(--primary);
  text-align: center;
  padding: 80px 20px;
}

.cta-banner h2 {
  color: var(--primary);
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.cta-banner p {
  font-size: 1.1rem;
  color: rgba(28,28,28,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(rgba(28,24,18,0.65), rgba(28,24,18,0.65)),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1400&q=80') center/cover no-repeat;
  padding: 90px 20px;
  text-align: center;
  color: white;
}

.page-hero h1 {
  color: white;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 600px; margin: 0 auto; }

/* ---------- FORM STYLES ---------- */
.form-section { background: var(--light-bg); }

.form-card {
  background: white;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.ghl-form-wrap {
  width: 100%;
  min-height: 720px;
}
.ghl-form-wrap iframe {
  width: 100%;
  min-height: 720px;
  border: none;
  display: block;
}

.form-card h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 0.92rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: white;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { height: 120px; resize: vertical; }

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

.form-submit { width: 100%; margin-top: 8px; }

/* ---------- BLOG STYLES ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.blog-thumb {
  height: 220px;
  background: var(--mid-bg);
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s;
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-single-hero {
  width: 100%;
  height: 360px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 35px;
  background: var(--mid-bg);
}
.blog-single-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.blog-body { padding: 24px; }

.blog-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.blog-body h3 { font-size: 1.1rem; line-height: 1.35; margin-bottom: 10px; }

.blog-body h3 a { text-decoration: none; color: var(--text-dark); transition: color 0.2s; }
.blog-body h3 a:hover { color: var(--primary); }

.blog-body p { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 18px; }

.blog-read-more {
  font-family: 'Oswald', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
}
.blog-read-more:hover { text-decoration: underline; }

/* ---------- BLOG SINGLE ---------- */
.blog-single {
  max-width: 800px;
  margin: 0 auto;
}

.blog-single h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.blog-single .blog-meta { margin-bottom: 25px; font-size: 0.82rem; }

.blog-single p { margin-bottom: 18px; line-height: 1.8; font-size: 0.97rem; }
.blog-single h2 { font-size: 1.6rem; margin: 30px 0 14px; text-transform: uppercase; }
.blog-single h3 { font-size: 1.2rem; margin: 22px 0 10px; }
.blog-single ul { margin: 12px 0 18px 24px; }
.blog-single ul li { margin-bottom: 8px; font-size: 0.95rem; }

/* ---------- REVIEWS PAGE ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ---------- POLICY ---------- */
.policy-content {
  max-width: 820px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.7rem;
  text-transform: uppercase;
  margin: 35px 0 14px;
  padding-top: 35px;
  border-top: 1px solid var(--border);
}
.policy-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.policy-content p { margin-bottom: 16px; line-height: 1.8; font-size: 0.95rem; }

/* ---------- KICKSTART PAGE ---------- */
.kickstart-includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.ki-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: white;
  padding: 26px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.ki-card .icon { font-size: 2rem; min-width: 44px; }

.ki-card h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 6px; }
.ki-card p { font-size: 0.87rem; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 22px 20px 18px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-contact-row {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-link-row {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  line-height: 1.4;
}
a.footer-link-row { transition: color 0.2s; }
a.footer-link-row:hover { color: var(--gold); }
.footer-link-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-meta { text-align: center; }
.footer-meta .copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 3px;
}
.footer-meta .powered {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 8px;
}
.footer-meta .powered a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-meta .powered a:hover { color: white; }

.footer-meta .footer-social {
  justify-content: center;
  gap: 16px;
  margin: 4px 0 6px;
}

.footer-meta .privacy-link {
  display: inline-block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-meta .privacy-link:hover { color: var(--gold); }

.footer-social { display: flex; gap: 16px; }

.fsoc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.fsoc-btn svg {
  width: 24px;
  height: 24px;
  transition: color 0.2s;
}
.fsoc-btn:hover { color: var(--gold); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    height: auto;
    padding: 10px 0 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-menu.is-open { display: flex; }

  .nav-menu > li > a {
    height: auto;
    padding: 13px 20px;
  }

  .nav-menu > li > a.btn-nav {
    margin: 10px 20px 0;
    padding: 13px 20px;
    text-align: center;
    height: auto;
  }

  .has-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.06);
    min-width: unset;
  }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .has-dropdown:hover .dropdown-menu { display: none; }
  .has-dropdown.is-open .dropdown-menu { display: block; }

  section { padding: 55px 20px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-tagline { font-size: 1.05rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-contact-row { gap: 18px; flex-direction: column; }
  .blog-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .kickstart-includes { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner h2 { font-size: 2rem; }
  .section-heading h2 { font-size: 1.9rem; }
  .schedule-tabs { gap: 4px; }
  .tab-btn { padding: 9px 14px; font-size: 0.78rem; }
  .sched-item { flex-wrap: wrap; gap: 8px; }
  .sched-time { min-width: unset; }
  .sched-tag { margin-left: 0; }
}

/* ---------- COMMUNITY / PHOTO BANNER ---------- */
.community-banner {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(rgba(28,24,18,0.55), rgba(28,24,18,0.55)),
    url('../images/strength.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 80px 20px;
}
.community-banner h2 {
  color: white;
  font-size: 2.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.community-banner p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* getting-started gallery — three portraits */
.getting-started .gs-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.getting-started .gs-tile {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--light-bg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.getting-started .gs-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s;
}
.getting-started .gs-tile:hover img { transform: scale(1.04); }

/* community banner background — center on the subject */
.community-banner { background-position: center center; }

/* location social buttons (circular) — Instagram keeps inline fill="none" */
.social-btn svg { width: 18px; height: 18px; }
.social-btn svg[fill="currentColor"] { fill: currentColor; }

@media (max-width: 768px) {
  .community-banner h2 { font-size: 1.6rem; }
  .service-card .card-photo { aspect-ratio: 3 / 4; }
  .getting-started .gs-gallery { grid-template-columns: 1fr; gap: 14px; }
  .getting-started .gs-tile { aspect-ratio: 4 / 5; max-height: 70vh; }
}

/* =========================================================
   MOBILE OPTIMISATIONS — leave desktop untouched
   ========================================================= */
@media (max-width: 768px) {
  /* Section spacing */
  section { padding: 50px 16px; }
  .container { padding: 0; }

  /* Nav: smaller logo so hamburger has room */
  .nav-inner { height: 64px; padding: 0 14px; }
  .nav-menu { top: 64px; }
  .logo-badge img { height: 38px; }
  .logo-sub { display: none; }

  /* HERO */
  .hero { min-height: 480px; padding: 60px 16px; }
  .hero h1 { font-size: 2.4rem; letter-spacing: 1.5px; line-height: 1.05; }
  .hero-overline { font-size: 0.68rem; padding: 6px 14px; letter-spacing: 2px; margin-bottom: 18px; }
  .hero p { font-size: 0.85rem; letter-spacing: 0.6px; line-height: 1.5; margin-bottom: 26px; }
  .hero-buttons { gap: 10px; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-buttons .btn { width: 100%; padding: 12px 24px; font-size: 0.85rem; letter-spacing: 1.5px; }

  /* Section headings */
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { font-size: 1.65rem; letter-spacing: 1px; }
  .section-heading p { font-size: 0.92rem; }

  /* Pain points */
  .pain-points { padding: 50px 16px; }
  .pain-card { padding: 28px 22px; }
  .pain-closing { font-size: 1.2rem; letter-spacing: 1.4px; }

  /* Service cards: shorter photo so card isn't a giant tower */
  .service-card { padding: 28px 18px; }
  .service-card .card-photo { aspect-ratio: 4 / 5; margin: -28px -18px 18px -18px; }
  .service-card h3 { font-size: 1.05rem; }

  /* Steps */
  .step-card { padding: 32px 22px; }
  .step-num { width: 54px; height: 54px; font-size: 1.4rem; margin-bottom: 16px; }

  /* Community / Train Hard banner */
  .community-banner { min-height: 380px; padding: 60px 18px; }
  .community-banner h2 { font-size: 1.55rem; letter-spacing: 1.4px; }
  .community-banner p { font-size: 0.92rem; margin-bottom: 22px; }

  /* Getting Started gallery: single tall column is too much, keep grid 3-up but tiny */
  .getting-started .gs-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 100%; }
  .getting-started .gs-tile { aspect-ratio: 3 / 4; max-height: none; }

  /* Schedule */
  .schedule-section { padding: 50px 12px; }
  .schedule-tabs { gap: 6px; flex-wrap: wrap; justify-content: center; }
  .tab-btn { padding: 8px 12px; font-size: 0.74rem; letter-spacing: 1px; }
  .sched-item { padding: 10px 12px; align-items: center; }
  .sched-time { font-size: 0.78rem; flex-basis: 100%; }
  .sched-name { font-size: 0.92rem; }
  .sched-tag { font-size: 0.62rem; padding: 2px 9px; }

  /* Pricing cards (inline grid on pricing.html) */
  .pricing-cards-grid { grid-template-columns: 1fr !important; }

  /* Location section */
  .location-grid { gap: 30px; }
  .location-info h3 { font-size: 1.25rem; }
  .map-placeholder { height: 260px; }

  /* CTA banner */
  .cta-banner { padding: 55px 18px; }
  .cta-banner h2 { font-size: 1.7rem; letter-spacing: 1.4px; }
  .cta-banner p { font-size: 0.95rem; }

  /* Page hero (inner pages) */
  .page-hero { padding: 60px 16px; }
  .page-hero h1 { font-size: 1.85rem; letter-spacing: 1px; }
  .page-hero p { font-size: 0.92rem; }

  /* Form / GHL iframe */
  .form-card { padding: 24px 18px; }
  .form-section { padding: 50px 12px; }
  .form-card h3 { font-size: 1.2rem; letter-spacing: 1.5px; }
  .ghl-form-wrap, .ghl-form-wrap iframe { min-height: 780px; }

  /* Pricing gate modal */
  .gate-modal { max-height: 96vh; }
  .gate-modal-header { padding: 20px 22px 16px; }
  .gate-modal-header h2 { font-size: 1.2rem; letter-spacing: 1.4px; }
  .gate-modal-header p { font-size: 0.82rem; }

  /* Blog */
  .blog-thumb { height: 180px; }
  .blog-single h1 { font-size: 1.55rem; letter-spacing: 0.8px; }
  .blog-single h2 { font-size: 1.2rem; }
  .blog-single p { font-size: 0.92rem; line-height: 1.7; }
  .blog-single-hero { height: 240px; margin-bottom: 24px; }

  /* Footer */
  footer { padding: 22px 14px 16px; }
  .footer-contact-row { padding-bottom: 12px; margin-bottom: 12px; }
  .footer-link-row { font-size: 0.85rem; justify-content: center; text-align: center; }
  .footer-meta .copyright { font-size: 0.78rem; }
  .footer-meta .powered { font-size: 0.82rem; }
}

/* Very small phones */
@media (max-width: 380px) {
  .hero h1 { font-size: 2rem; }
  .section-heading h2 { font-size: 1.4rem; }
  .community-banner h2 { font-size: 1.3rem; }
  .cta-banner h2 { font-size: 1.4rem; }
  .getting-started .gs-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile overflow guards */
@media (max-width: 768px) {
  /* Prevent any element from forcing horizontal scroll */
  body, .container, section, footer, nav { max-width: 100vw; }
  /* Long words / URLs / emails wrap instead of overflowing */
  p, h1, h2, h3, a, span, li { overflow-wrap: anywhere; word-break: break-word; }
  /* Reputation widget — ensure iframe stays inside viewport */
  .lc_reviews_widget { width: 100% !important; min-width: 0 !important; }
  /* GHL form iframe */
  .ghl-form-wrap iframe, .ghl-frame-wrap iframe { width: 100% !important; max-width: 100%; }
  /* Map iframe */
  .map-placeholder iframe { width: 100%; max-width: 100%; }
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.reveal-left  { transform: translate(-44px, 0); }
.reveal.reveal-right { transform: translate(44px, 0); }
.reveal.reveal-zoom  { transform: scale(0.92); }
.reveal.reveal-fade  { transform: none; }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- WALKTHROUGH POPUP MODAL ---------- */
.wt-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.wt-modal.is-open { display: flex; }

.wt-modal-box {
  position: relative;
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}

.wt-modal-header {
  background: var(--primary);
  color: white;
  padding: 16px 22px 12px;
  flex-shrink: 0;
}

.wt-modal-header h2 {
  color: white;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}

.wt-modal-header p {
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  line-height: 1.35;
}

.wt-modal-close {
  position: absolute;
  top: 6px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}
.wt-modal-close:hover { color: white; }

.wt-modal-body {
  padding: 0;
  flex: 1;
  min-height: 0;
}

.wt-modal-body .wt-frame-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.wt-modal-body .wt-frame-wrap iframe {
  width: 100%;
  border: none;
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
}

@media (max-width: 480px) {
  .wt-modal-header { padding: 14px 18px 10px; }
  .wt-modal-header h2 { font-size: 1.05rem; letter-spacing: 1px; }
  .wt-modal-header p { font-size: 0.72rem; }
}
