/* ==========================================================================
   Grit Club Co — Shared Stylesheet
   ========================================================================== */

@font-face {
  font-family: 'Kenyan Coffee';
  src: url('fonts/KenyanCoffee-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kenyan Coffee';
  src: url('fonts/KenyanCoffee-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kenyan Coffee';
  src: url('fonts/KenyanCoffee-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Kenyan Coffee';
  src: url('fonts/KenyanCoffee-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B3630;
  --teal: #005147;
  --teal-dark: #023B33;
  --green: #93DD12;
  --green-dark: #7BC00C;
  --bg: #F7F6F0;
  --card: #ECEBE1;
  --card-line: #DCDBCF;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
h1 {
  font-family: 'Kenyan Coffee', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.08;
}
h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
nav.links { display: flex; gap: 32px; font-size: 0.92rem; font-weight: 600; }
nav.links a { opacity: 0.7; transition: opacity 0.2s; }
nav.links a.active { opacity: 1; color: var(--teal); }
nav.links a:hover { opacity: 1; }

.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
.mobile-links {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--card-line);
  background: var(--bg);
}
.mobile-links a {
  padding: 12px 4px;
  font-weight: 600;
  font-size: 1rem;
  border-bottom: 1px solid var(--card-line);
}
.mobile-links a:last-child { border-bottom: none; }
.mobile-links.open { display: flex; }

/* ---------- BUTTONS ---------- */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 15px 26px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost {
  padding: 15px 24px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1.5px solid var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.btn-ghost:hover { opacity: 1; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 72px 0 110px; overflow: hidden; }
.hero-path { position: absolute; top: -60px; left: -140px; width: 520px; opacity: 0.5; z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 560px; }
.hero .eyebrow { margin-bottom: 18px; display: block; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p.lead { font-size: 1.12rem; max-width: 480px; opacity: 0.85; margin-bottom: 36px; font-weight: 500; }
.hero-stats { display: flex; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.stat .num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--teal); }
.stat .label { font-size: 0.8rem; opacity: 0.65; margin-top: 2px; font-weight: 600; }

.hero-photo-wrap { position: relative; }
.hero-photo-frame {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--card); border: 1px solid var(--card-line);
  box-shadow: 0 20px 44px rgba(11, 54, 48, 0.16);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-badge {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--green); color: var(--teal-dark);
  padding: 14px 20px; border-radius: 16px;
  font-size: 0.8rem; box-shadow: 0 12px 24px rgba(11, 54, 48, 0.2); line-height: 1.4;
}
.hero-photo-badge strong { display: block; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.05rem; margin-bottom: 2px; }

/* ---------- SECTIONS ---------- */
section { padding: 88px 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 16px; opacity: 0.78; font-size: 1.05rem; }

.intro { background: var(--white); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.intro-grid p { font-size: 1.08rem; opacity: 0.85; margin-bottom: 18px; }
.credential-card { background: var(--bg); border: 1px solid var(--card-line); border-radius: 18px; padding: 28px; }
.credential-card .eyebrow { margin-bottom: 16px; display: block; }
.credential-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.credential-list li { display: flex; gap: 10px; font-size: 0.94rem; align-items: flex-start; font-weight: 500; }
.credential-list .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-top: 7px; flex-shrink: 0; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card {
  position: relative; display: block; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4 / 3; isolation: isolate;
  box-shadow: 0 1px 0 rgba(11,54,48,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover, .service-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,54,48,0.16); }
.service-card > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform 0.6s ease;
}
.service-card:hover > img, .service-card:focus-within > img { transform: scale(1.06); }
.sc-overlay {
  position: absolute; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; color: var(--white);
  background: linear-gradient(to top, rgba(2,59,51,0.95) 0%, rgba(2,59,51,0.62) 42%, rgba(2,59,51,0.05) 78%);
}
.sc-tag {
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
  color: var(--green); margin-bottom: 8px; display: block;
}
.sc-overlay h3 { color: var(--white); font-size: 1.1rem; }
.sc-detail {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
}
.service-card:hover .sc-detail, .service-card:focus-within .sc-detail {
  max-height: 180px; opacity: 1; margin-top: 10px;
}
.sc-detail p { font-size: 0.86rem; opacity: 0.94; line-height: 1.5; font-weight: 500; margin-bottom: 10px; }
.sc-link { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green); }

.testimonials { background: var(--white); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial-card { background: var(--bg); border: 1px dashed var(--card-line); border-radius: 18px; padding: 30px; }
.testimonial-card .quote-mark { font-family: 'Kenyan Coffee', sans-serif; font-size: 2.6rem; color: var(--green-dark); line-height: 0.4; display: block; margin-bottom: 18px; }
.testimonial-card p.quote { font-size: 1rem; opacity: 0.7; font-style: italic; margin-bottom: 18px; }
.testimonial-card .who { font-size: 0.78rem; opacity: 0.55; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.closing { text-align: center; padding: 100px 0; }
.closing h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 620px; margin: 0 auto 18px; }
.closing p { opacity: 0.75; font-size: 1.02rem; margin-bottom: 36px; }
.closing .cta-row { justify-content: center; }

/* ---------- PAGE HEADER ---------- */
.page-header { padding: 76px 0 56px; position: relative; overflow: hidden; }
.page-header-path { position: absolute; top: -50px; right: -140px; width: 460px; opacity: 0.3; z-index: 0; pointer-events: none; }
.page-header .wrap { position: relative; z-index: 1; max-width: 700px; }
.page-header h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin: 16px 0 18px; }
.page-header p { font-size: 1.1rem; opacity: 0.82; font-weight: 500; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; margin-bottom: 60px; }
.about-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid var(--card-line); box-shadow: 0 16px 36px rgba(11,54,48,0.14); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 20px; font-weight: 500; }
.about-copy p.pull { font-size: 1.25rem; font-family: 'Montserrat', sans-serif; color: var(--teal); opacity: 1; font-weight: 800; }
.about-block { background: var(--white); border: 1px solid var(--card-line); border-radius: 20px; padding: 32px; margin-bottom: 24px; }
.about-block h3 { font-size: 1.25rem; margin-bottom: 14px; }
.about-block p { font-size: 1rem; opacity: 0.85; font-weight: 500; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.badge { background: var(--card); border: 1px solid var(--card-line); border-radius: 100px; padding: 10px 16px; font-size: 0.86rem; font-weight: 600; }
.athlete-photo { border-radius: 24px; overflow: hidden; margin: 56px 0; box-shadow: 0 16px 36px rgba(11,54,48,0.14); }
.athlete-photo img { width: 100%; display: block; }

/* ---------- ALL PROGRAMS GRID ---------- */
.all-programs { background: var(--white); border-top: 1px solid var(--card-line); border-bottom: 1px solid var(--card-line); padding: 72px 0; }
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.program-card {
  background: var(--bg); border: 1px solid var(--card-line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,54,48,0.12); }
.program-card.featured-card { border-color: var(--teal); }
.pc-media { position: relative; aspect-ratio: 9 / 16; max-height: 480px; background: var(--teal-dark); overflow: hidden; }
.pc-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-tag {
  position: absolute; top: 14px; left: 14px; background: var(--green); color: var(--teal-dark);
  font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 12px; border-radius: 100px;
}
.pc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body h3 { font-size: 1.2rem; }
.pc-body .ptag { color: var(--teal); font-weight: 700; font-size: 0.88rem; }
.pc-body .desc { font-size: 0.92rem; opacity: 0.82; line-height: 1.55; font-weight: 500; margin: 6px 0 2px; }
.pc-body .best { font-size: 0.82rem; opacity: 0.65; font-weight: 500; margin-bottom: 8px; }
.pc-body .best strong { color: var(--teal); opacity: 1; }
.pc-link { margin-top: auto; font-size: 0.86rem; font-weight: 700; color: var(--teal); transition: color 0.2s ease; }
.pc-link:hover { color: var(--green-dark); }

/* ---------- INSIDE EVERY PROGRAM ---------- */
.included { padding: 88px 0; }
.components-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.component-card { background: var(--bg); border: 1px solid var(--card-line); border-radius: 18px; padding: 26px 24px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.component-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,54,48,0.08); }
.component-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; color: var(--green-dark); margin-bottom: 12px; display: block; }
.component-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.component-card p { font-size: 0.9rem; opacity: 0.78; line-height: 1.55; font-weight: 500; }
.ongoing-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 52px; }
.ongoing-card { background: var(--teal); color: var(--white); border-radius: 18px; padding: 26px 24px; }
.ongoing-card .eyebrow { color: var(--green); margin-bottom: 10px; display: block; }
.ongoing-card p { font-size: 0.94rem; opacity: 0.92; line-height: 1.55; font-weight: 500; }
.week-block { background: var(--bg); border: 1px solid var(--card-line); border-radius: 20px; padding: 36px; }
.week-block-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.week-block-head h3 { font-size: 1.2rem; }
.week-block-head span.note { font-size: 0.72rem; opacity: 0.55; font-weight: 700; letter-spacing: 0.04em; }
.week-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.week-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; padding-bottom: 14px; border-bottom: 1px dashed var(--card-line); font-weight: 500; }
.week-list li:last-child { border-bottom: none; padding-bottom: 0; }
.week-list .wk-tag { font-size: 0.72rem; font-weight: 700; background: var(--card); padding: 4px 10px; border-radius: 100px; white-space: nowrap; flex-shrink: 0; margin-top: 2px; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--card-line); border-radius: 20px; padding: 36px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 18px; }
.contact-option { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px dashed var(--card-line); }
.contact-option:last-child { border-bottom: none; }
.contact-option .label { font-size: 0.95rem; opacity: 0.8; font-weight: 600; }
.contact-option .value { font-size: 0.9rem; font-weight: 700; }
.contact-option .value a { color: var(--teal); }
.contact-note { background: var(--card); border-radius: 16px; padding: 22px; font-size: 0.92rem; opacity: 0.85; font-weight: 500; }
.whatsapp-btn { background: var(--green); color: var(--teal-dark); }
.whatsapp-btn:hover { background: var(--green-dark); }

/* ---------- FOOTER ---------- */
footer { background: var(--teal-dark); color: var(--white); padding: 56px 0 32px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.14); }
footer .brand img { height: 50px; filter: brightness(0) invert(1); }
.footer-tag { opacity: 0.65; font-size: 0.9rem; margin-top: 14px; max-width: 280px; font-weight: 500; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.55; margin-bottom: 14px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; opacity: 0.85; margin-bottom: 10px; font-weight: 500; }
.footer-bottom { padding-top: 24px; font-size: 0.8rem; opacity: 0.5; font-weight: 500; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  nav.links { display: none; }
  .menu-toggle { display: flex; }
  .intro-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-path { opacity: 0.35; width: 380px; top: -30px; left: -180px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo-wrap { max-width: 380px; order: -1; }
  .hero-copy { max-width: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 340px; }
  .components-grid { grid-template-columns: 1fr 1fr; }
  .ongoing-row { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .page-header-path { width: 320px; opacity: 0.2; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
  section { padding: 56px 0; }
  .hero-stats { gap: 24px; }
  .footer-top { flex-direction: column; }
  .hero-path { width: 260px; }
  .hero-photo-badge { left: 0; bottom: -14px; padding: 12px 16px; font-size: 0.72rem; }
  .components-grid { grid-template-columns: 1fr; }
  .page-header { padding: 56px 0 40px; }
  .all-programs { padding: 56px 0; }
  .included { padding: 56px 0; }
  .week-block { padding: 24px; }
}
