/* ============================================================
   KRAV MAGA RENTON — Global Design System
   Military Green / Charcoal / Black
   ============================================================ */

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

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  /* Colors */
  --black:        #0a0a0a;
  --charcoal:     #1a1a1a;
  --dark-grey:    #242424;
  --mid-grey:     #3a3a3a;
  --steel:        #555555;
  --light-grey:   #888888;
  --off-white:    #e8e4de;
  --white:        #f5f2ed;

  --kmr-green:    #4a6741;
  --kmr-green-dk: #344d2e;
  --kmr-green-lt: #6a8f65;
  --accent:       #c8a84b;   /* tactical gold — CTAs, highlights */
  --accent-dk:    #a08030;
  --danger:       #8b2020;   /* for urgency elements */

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Barlow', sans-serif;

  /* Spacing */
  --section-pad:  5rem 2rem;
  --container:    1160px;

  /* Effects */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-btn:   0 2px 12px rgba(200,168,75,0.3);
  --transition:   0.25s ease;
  --radius:       3px;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}

.section-title span { color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: #dfc060;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.45);
}

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

.btn-green {
  background: var(--kmr-green);
  color: var(--white);
}
.btn-green:hover {
  background: var(--kmr-green-lt);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

/* ── Navigation ──────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74,103,65,0.3);
  transition: all var(--transition);
}

#site-nav.scrolled {
  border-bottom-color: var(--kmr-green);
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  /* The transparent PNG is white — shows perfectly on dark nav */
  filter: brightness(1);
  transition: opacity var(--transition);
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
  border-radius: var(--radius);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--accent);
}

/* Dropdown arrow */
.nav-links > li > a .arrow {
  font-size: 0.6rem;
  transition: transform var(--transition);
}
.nav-links > li:hover > a .arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--charcoal);
  border: 1px solid var(--mid-grey);
  border-top: 2px solid var(--kmr-green);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  z-index: 10000;
}
.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--off-white);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  background: var(--dark-grey);
  color: var(--accent);
  padding-left: 1.4rem;
}

/* Nav CTA */
.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  overflow-y: auto;
  padding: 2rem 1.5rem;
  z-index: 9998;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open {
  transform: translateX(0);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--mid-grey);
  color: var(--off-white);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .sub-link {
  font-size: 0.9rem;
  padding-left: 1rem;
  color: var(--light-grey);
}
.mobile-nav .mobile-cta {
  margin-top: 1.5rem;
  display: block;
  text-align: center;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(26,26,26,0.75) 50%, rgba(10,10,10,0.88) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(74,103,65,0.04) 40px,
      rgba(74,103,65,0.04) 80px
    );
  background-color: var(--dark-grey);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(74,103,65,0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  width: 100%;
  padding: 2rem 0;
}

.hero-text .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,103,65,0.2);
  border: 1px solid var(--kmr-green);
  color: var(--kmr-green-lt);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-text .tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--kmr-green-lt);
  border-radius: 50%;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-headline .line-green { color: var(--kmr-green-lt); }
.hero-headline .line-gold  { color: var(--accent); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(232,228,222,0.75);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.hero-badge .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.hero-badge .label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-grey);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero form card */
.hero-form-card {
  background: var(--charcoal);
  border: 1px solid var(--mid-grey);
  border-top: 3px solid var(--kmr-green);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(74,103,65,0.2) 0%, transparent 70%);
}
.hero-form-card .form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}
.hero-form-card .form-subtitle {
  font-size: 0.85rem;
  color: var(--light-grey);
  margin-bottom: 1.2rem;
}
.hero-form-card .form-subtitle strong { color: var(--accent); }

.iframe-holder {
  width: 100%;
  border: none;
  background: transparent;
  display: block;
}
.iframe-holder.ghl-form { height: 400px; }
.iframe-holder.ghl-schedule { height: 500px; }
.iframe-holder.acuity { height: 600px; }

.iframe-placeholder {
  background: var(--dark-grey);
  border: 2px dashed var(--mid-grey);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--light-grey);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}
.iframe-placeholder strong {
  color: var(--off-white);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--kmr-green-dk);
  border-top: 1px solid rgba(106,143,101,0.3);
  border-bottom: 1px solid rgba(106,143,101,0.3);
  padding: 1rem 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,242,237,0.85);
}
.trust-item .icon {
  font-size: 1rem;
}

/* ── Section Defaults ────────────────────────────────────── */
.section {
  padding: var(--section-pad);
}
.section-dark { background: var(--charcoal); }
.section-darker { background: var(--black); }
.section-green { background: var(--kmr-green-dk); }

.section-header {
  margin-bottom: 3rem;
}
.section-header.centered { text-align: center; }

/* ── Program Cards ───────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--dark-grey);
  border: 1px solid var(--mid-grey);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}
.program-card:hover {
  border-color: var(--kmr-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.program-card-top {
  height: 200px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background: var(--mid-grey);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.program-card-top .card-icon {
  font-size: 3rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  opacity: 0.15;
}
.program-badge {
  background: var(--kmr-green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}
.program-card-body {
  padding: 1.25rem;
}
.program-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.program-card-body p {
  font-size: 0.88rem;
  color: rgba(232,228,222,0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.program-card-body .card-link {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
}
.program-card:hover .card-link { gap: 0.7rem; }

/* ── Why KMR ─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(74,103,65,0.2);
  border: 1px solid var(--kmr-green);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-item h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.why-item p { font-size: 0.88rem; color: rgba(232,228,222,0.7); margin: 0; }

.why-visual {
  background: var(--dark-grey);
  border: 1px solid var(--mid-grey);
  border-left: 4px solid var(--kmr-green);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}
.why-visual .big-stat {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: block;
}
.why-visual .stat-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--light-grey);
  display: block;
  margin-top: 0.5rem;
}
.why-visual .divider {
  width: 40px;
  height: 2px;
  background: var(--kmr-green);
  margin: 1.5rem auto;
}
.kww-badge {
  display: inline-block;
  background: rgba(74,103,65,0.15);
  border: 1px solid var(--kmr-green);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kmr-green-lt);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark-grey);
  border: 1px solid var(--mid-grey);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--kmr-green);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  line-height: 1;
}
.testimonial-card .stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 0.9rem;
  color: rgba(232,228,222,0.85);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--kmr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-info .name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.author-info .role {
  font-size: 0.75rem;
  color: var(--light-grey);
}

/* ── IG Feed ─────────────────────────────────────────────── */
.ig-section { padding: var(--section-pad); }
.ig-embed-placeholder {
  background: var(--dark-grey);
  border: 2px dashed var(--mid-grey);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--light-grey);
}
.ig-embed-placeholder .ig-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.ig-embed-placeholder p { font-size: 0.85rem; }
.ig-embed-placeholder code {
  display: block;
  background: var(--black);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--kmr-green-lt);
  margin-top: 0.75rem;
  font-family: monospace;
}

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background:
    linear-gradient(135deg, var(--kmr-green-dk) 0%, var(--dark-grey) 100%);
  border-top: 1px solid var(--kmr-green);
  border-bottom: 1px solid var(--kmr-green);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.cta-banner h2 span { color: var(--accent); }
.cta-banner p {
  color: rgba(232,228,222,0.7);
  max-width: 500px;
  margin: 0 auto 2rem;
}
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
#site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--mid-grey);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--light-grey);
  line-height: 1.7;
  max-width: 260px;
}
.footer-brand .footer-contact {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--light-grey);
}
.footer-brand .footer-contact a:hover { color: var(--accent); }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.85rem;
  color: var(--light-grey);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--mid-grey);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--steel);
  margin: 0;
}
.footer-bottom a { color: var(--light-grey); }
.footer-bottom a:hover { color: var(--accent); }

.kmw-badge-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(74,103,65,0.15);
  border: 1px solid rgba(74,103,65,0.4);
  border-radius: 2px;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kmr-green-lt);
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.95) 0%, rgba(52,77,46,0.4) 100%),
    var(--dark-grey);
  padding: 7rem 0 3rem;
  border-bottom: 1px solid var(--mid-grey);
  margin-top: 70px;
}
.page-hero .eyebrow { margin-bottom: 0.5rem; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: rgba(232,228,222,0.7);
  max-width: 520px;
  font-size: 1rem;
  margin: 0;
}

/* ── Utility ─────────────────────────────────────────────── */
.text-gold   { color: var(--accent); }
.text-green  { color: var(--kmr-green-lt); }
.text-muted  { color: var(--light-grey); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.divider-line {
  width: 48px;
  height: 3px;
  background: var(--kmr-green);
  margin: 1rem 0;
}
.divider-line.centered { margin: 1rem auto; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-form-card { max-width: 480px; }

  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section-pad: 3.5rem 1.25rem; }

  .hero-headline { font-size: 3rem; }
  .hero-badges { gap: 1rem; }

  .trust-bar-inner { gap: 1.25rem; }
  .trust-item span:not(.icon) { display: none; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  animation: fadeUp 0.6s ease both;
}
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   STICKY FREE TRIAL CTA BAR
   Appears after user scrolls 400px — stays fixed at top
   below the nav
══════════════════════════════════════════════════════════ */
#sticky-cta {
  position: fixed;
  top: 70px; /* sits right below nav */
  left: 0; right: 0;
  z-index: 995;
  background: var(--accent);
  color: var(--black);
  padding: 0.55rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  flex-wrap: wrap;
}
#sticky-cta.visible {
  transform: translateY(0);
}
#sticky-cta .cta-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#sticky-cta .cta-sub {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.75;
}
#sticky-cta .btn-sticky {
  background: var(--black);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--transition);
  border: 2px solid var(--black);
}
#sticky-cta .btn-sticky:hover {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
#sticky-cta .cta-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--black);
  opacity: 0.5;
  line-height: 1;
  padding: 0.25rem;
  transition: opacity var(--transition);
}
#sticky-cta .cta-close:hover { opacity: 1; }

@media (max-width: 600px) {
  #sticky-cta { gap: 0.75rem; padding: 0.6rem 2.5rem 0.6rem 1rem; }
  #sticky-cta .cta-sub { display: none; }
}

/* ══════════════════════════════════════════════════════════
   ACUITY SCHEDULING — Custom Theme Override
   Wraps the Acuity iframe with branded styles injected
   via postMessage where supported, plus surrounding UI
══════════════════════════════════════════════════════════ */
.acuity-wrapper {
  background: var(--charcoal);
  border: 1px solid var(--mid-grey);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.acuity-wrapper .acuity-header {
  background: var(--dark-grey);
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--mid-grey);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.acuity-wrapper .acuity-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.acuity-wrapper .acuity-header p {
  font-size: 0.82rem;
  color: var(--light-grey);
  margin: 0;
}
.acuity-wrapper .acuity-badge {
  background: rgba(74,103,65,0.2);
  border: 1px solid var(--kmr-green);
  border-radius: 2px;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--kmr-green-lt);
  white-space: nowrap;
}
.acuity-iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 700px;
  background: var(--charcoal);
  /* Acuity injects its own styles — we inject overrides via URL params */
}
.acuity-footer-note {
  padding: 0.75rem 1.75rem;
  background: var(--dark-grey);
  border-top: 1px solid var(--mid-grey);
  font-size: 0.75rem;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ══════════════════════════════════════════════════════════
   SCHEDULE PAGE — Password Gate (GHL redirect method)
══════════════════════════════════════════════════════════ */
.pw-gate {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}
.pw-gate-card {
  background: var(--charcoal);
  border: 1px solid var(--mid-grey);
  border-top: 4px solid var(--kmr-green);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.pw-gate-card .lock-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.pw-gate-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.pw-gate-card p { font-size:0.88rem; color:var(--light-grey); margin-bottom:1.5rem; }
.pw-input {
  width: 100%;
  background: var(--dark-grey);
  border: 1px solid var(--mid-grey);
  border-radius: var(--radius);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
  outline: none;
  transition: border-color var(--transition);
  text-align: center;
  letter-spacing: 0.2em;
}
.pw-input:focus { border-color: var(--kmr-green); }
.pw-error {
  color: #e08080;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  display: none;
}
.pw-error.show { display: block; }
.pw-hint {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--steel);
}
.pw-hint a { color: var(--kmr-green-lt); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE SYSTEM — Mobile First
   Breakpoints: 
   xs: <480px (iPhone SE, small phones)
   sm: 480-640px (iPhone 17, standard phones) 
   md: 640-768px (large phones, small tablets)
   lg: 768-960px (tablets, iPad)
   xl: 960-1280px (laptops)
   2xl: 1280px+ (desktops)
══════════════════════════════════════════════════════════ */

/* iPhone 17 specific — 393px wide, 852px tall */
@media (max-width: 480px) {
  :root { --section-pad: 2.5rem 1rem; }
  
  /* Nav */
  .nav-logo-img { height: 38px; }
  .nav-inner { height: 60px; }
  #sticky-cta { top: 60px; padding: 0.5rem 2.5rem 0.5rem 1rem; }
  .mobile-nav { top: 60px; }
  
  /* Hero */
  .hero { padding-top: 60px; min-height: auto; padding-bottom: 2rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
  .hero-headline { font-size: 2.6rem; }
  .hero-badges { gap: 1rem; }
  .hero-badge .num { font-size: 1.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-form-card { padding: 1.25rem; }
  
  /* Trust bar */
  .trust-bar-inner { gap: 0.75rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 1rem; }
  .trust-item { white-space: nowrap; flex-shrink: 0; }
  
  /* Programs grid */
  .programs-grid { grid-template-columns: 1fr; }
  .program-card-top { height: 120px; }
  
  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }
  
  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  
  /* Page heroes */
  .page-hero { padding: 5rem 0 2rem; }
  .page-hero h1 { font-size: 2rem; }
  
  /* Forms */
  .field-row { grid-template-columns: 1fr; }
  .trial-grid, .schedule-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { position: static; padding: 1.5rem 1.25rem; }
  
  /* Section title */
  .section-title { font-size: 2rem; }
  
  /* CTA banner */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }
}

/* Standard phones 480-640px */
@media (min-width: 480px) and (max-width: 640px) {
  :root { --section-pad: 3rem 1.25rem; }
  .hero-headline { font-size: 3rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .trial-grid, .contact-grid, .schedule-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablets 768-960px */
@media (min-width: 768px) and (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-form-card { max-width: 520px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trial-grid, .contact-grid, .schedule-grid { grid-template-columns: 1fr; }
}

/* Smooth image rendering */
img { image-rendering: -webkit-optimize-contrast; }

/* Touch targets - minimum 44px for mobile */
@media (max-width: 768px) {
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-links a, .dropdown a { min-height: 44px; display: flex; align-items: center; }
  input, select, textarea { font-size: 16px !important; /* Prevent iOS zoom */ }
  .float-input, .float-select, .float-textarea { font-size: 16px !important; }
}

/* Video embed responsive */
.video-embed-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}
.video-embed-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Hero background image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(26,26,26,0.7) 50%, rgba(10,10,10,0.88) 100%);
}

/* Logo bar */
.logo-bar {
  background: var(--charcoal);
  border-top: 1px solid var(--mid-grey);
  border-bottom: 1px solid var(--mid-grey);
  padding: 1.75rem 0;
}
.logo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity 0.2s;
  filter: grayscale(100%) brightness(2);
}
.logo-bar-item:hover { opacity: 1; filter: grayscale(0%); }
.logo-bar-item img { height: 48px; width: auto; object-fit: contain; }

@media(max-width:640px){
  .logo-bar-inner { gap: 1.5rem; }
  .logo-bar-item img { height: 36px; }
}

/* Belt color indicators */
.belt-yellow { background: #f4b942; }
.belt-orange  { background: #e8731a; }
.belt-green   { background: #4a7c3f; }
.belt-blue    { background: #3a5fa0; }
.belt-brown   { background: #7a4a2a; }
.belt-black   { background: #1a1a1a; border: 1px solid #555; }

/* Collapsible accordion */
.accordion-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.accordion-trigger {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: none;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.accordion-trigger:hover { background: rgba(255,255,255,0.06); }
.accordion-trigger.open { background: rgba(255,255,255,0.05); }
.accordion-belt {
  width: 28px; height: 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.accordion-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--off-white);
  flex: 1;
}
.accordion-chevron {
  color: var(--light-grey);
  font-size: 0.8rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.accordion-trigger.open .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body.open { max-height: 1000px; }
.accordion-content {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Corporate intake popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup-card {
  background: var(--charcoal);
  border: 1px solid var(--mid-grey);
  border-top: 3px solid var(--accent);
  border-radius: 10px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.popup-overlay.open .popup-card { transform: translateY(0); }
.popup-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--light-grey);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.popup-close:hover { color: var(--off-white); }


/* ══════════════════════════════════════════════════════════
   MOBILE FIX — Complete overhaul for phones
   iPhone 17: 393px wide
══════════════════════════════════════════════════════════ */

/* ── Global mobile resets ── */
@media (max-width: 768px) {
  * { -webkit-text-size-adjust: 100%; }

  .container { padding: 0 1rem; }

  /* Nav */
  #site-nav .nav-inner { height: 60px; padding: 0 1rem; }
  .nav-logo-img { height: 44px; }
  #sticky-cta { top: 60px; flex-wrap: nowrap; padding: 0.5rem 2.5rem 0.5rem 1rem; gap: 0.75rem; }
  #sticky-cta .cta-sub { display: none; }
  #sticky-cta .cta-text { font-size: 0.78rem; }
  #sticky-cta .btn-sticky { font-size: 0.72rem; padding: 0.4rem 0.85rem; white-space: nowrap; }

  /* Mobile nav */
  .mobile-nav { top: 60px; }

  /* Hero */
  .hero { padding-top: 60px; min-height: auto; }
  .hero-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 2rem 0;
  }
  .hero-headline { font-size: 2.8rem !important; line-height: 0.95; }
  .hero-sub { font-size: 0.95rem; }
  .hero-badges { gap: 1rem; }
  .hero-badge .num { font-size: 1.4rem; }
  .hero-badge .label { font-size: 0.6rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; padding: 0.9rem 1rem; }
  .hero-form-card { padding: 1.25rem; }
  .hero-form-card .form-title { font-size: 1.1rem; }

  /* Trust bar */
  .trust-bar-inner {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 1rem;
    gap: 1.25rem;
    scrollbar-width: none;
  }
  .trust-bar-inner::-webkit-scrollbar { display: none; }
  .trust-item { flex-shrink: 0; font-size: 0.7rem; }

  /* Section titles */
  .section-title { font-size: 2rem !important; }
  .eyebrow { font-size: 0.65rem; }

  /* Credentials grid */
  [style*="grid-template-columns:repeat(auto-fit,minmax(230px"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Video section */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Programs */
  .programs-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .program-card-top { height: 100px; }
  .program-card-body { padding: 0.85rem; }
  .program-card-body h3 { font-size: 1rem; }
  .program-card-body p { font-size: 0.8rem; display: none; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .why-visual { padding: 1.5rem; }
  .why-visual .big-stat { font-size: 3.5rem; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* IG placeholder */
  .ig-embed-placeholder { padding: 2rem 1rem; }

  /* CTA banner */
  .cta-banner { padding: 2.5rem 1rem; }
  .cta-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
  .cta-actions .btn { width: 100%; max-width: 300px; text-align: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .footer-brand p { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; font-size: 0.72rem; }
  .kmw-badge-footer { font-size: 0.65rem; }

  /* Page heroes */
  .page-hero { padding: 5rem 0 2rem; }
  .page-hero h1 { font-size: 2rem !important; }
  .page-hero p { font-size: 0.88rem; }

  /* Trial page */
  .trial-page { padding: 2.5rem 0 3rem; }
  .trial-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .trial-headline { font-size: 2.8rem !important; }
  .form-card { position: static !important; padding: 1.5rem 1.25rem; }
  .field-row { grid-template-columns: 1fr !important; gap: 0.6rem; }
  .cred-strip { gap: 0.75rem; }
  .cred-item { font-size: 0.65rem; }

  /* Schedule page */
  .schedule-page { padding: 2.5rem 0 3rem; }
  .schedule-grid { grid-template-columns: 1fr !important; gap: 2rem; }

  /* Contact page */
  .contact-page { padding: 2.5rem 0 3rem; }
  .contact-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .contact-headline { font-size: 2.5rem !important; }
  .info-cards { gap: 0.75rem; }

  /* Programs page */
  .prog-hero { padding: 4rem 0 2rem; }
  .class-card { grid-template-columns: 1fr !important; gap: 1.25rem; }
  .class-badge-col { position: static !important; }
  .class-badge { padding: 1rem 1.25rem; flex-direction: row; align-items: center; gap: 1rem; text-align: left; }
  .class-level-num { font-size: 3rem; margin-bottom: 0; }
  .class-content h2 { font-size: 1.6rem !important; }
  .jump-nav { overflow-x: auto; }
  .jump-nav-inner { flex-wrap: nowrap; gap: 0.25rem; }
  .jump-link { font-size: 0.65rem; padding: 0.3rem 0.6rem; }

  /* Team page */
  .team-hero { padding: 4rem 0 2rem; }
  .instructors-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem; }
  .instructors-grid.featured { grid-template-columns: 1fr !important; }
  .instructor-name { font-size: 1rem; }
  .instructor-title { font-size: 0.7rem; }
  .cred-row { gap: 0.5rem; }
  .cred-badge { font-size: 0.65rem; padding: 0.35rem 0.7rem; }

  /* Testing page */
  .accordion-trigger { padding: 0.9rem 1rem; }
  .accordion-title { font-size: 0.88rem; }
  .register-banner { flex-direction: column; text-align: center; gap: 1rem; padding: 1.25rem; }

  /* Forms - prevent iOS zoom */
  input, select, textarea,
  .float-input, .float-select, .float-textarea {
    font-size: 16px !important;
    border-radius: 6px;
  }

  /* Video embeds */
  .video-embed-wrap { border-radius: 6px; }

  /* Logo bar */
  .logo-bar-inner { gap: 1.25rem; justify-content: center; }
  .logo-bar-item img { height: 32px; }

  /* Section padding */
  .section { padding: 2.5rem 1rem !important; }
  .team-section { padding: 2.5rem 0 !important; }
  .prog-section { padding: 2.5rem 0 !important; }

  /* Accordion */
  .accordion-content { padding: 1rem; }
  .accordion-content .btn { font-size: 0.75rem; padding: 0.5rem 0.85rem; width: 100%; text-align: center; }
  [style*="display:flex;gap:1rem;flex-wrap:wrap"] { flex-direction: column; gap: 0.5rem; }
}

/* ── Small phones under 400px ── */
@media (max-width: 400px) {
  .hero-headline { font-size: 2.3rem !important; }
  .programs-grid { grid-template-columns: 1fr !important; }
  .instructors-grid { grid-template-columns: 1fr !important; }
  .hero-badges { gap: 0.75rem; }
  .hero-badge .num { font-size: 1.2rem; }
  .trial-headline { font-size: 2.3rem !important; }
}

/* ── Tablets 768-960px ── */
@media (min-width: 769px) and (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr !important; gap: 2rem; }
  .hero-form-card { max-width: 500px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr !important; }
  .trial-grid, .schedule-grid, .contact-grid { grid-template-columns: 1fr !important; }
  .form-card { position: static !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .class-card { grid-template-columns: 220px 1fr; gap: 2rem; }
  .instructors-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════════════
   KMR CUSTOM CLASS SCHEDULER
══════════════════════════════════════════════════════════ */
#kmr-scheduler { display:none; margin-top:3rem; padding-top:3rem; border-top:1px solid rgba(255,255,255,0.06); }
#kmr-scheduler.visible { display:block; animation:fadeUp 0.5s ease; }

.sch-wrap { max-width:860px; margin:0 auto; }

.sch-header { text-align:center; margin-bottom:2.5rem; }
.sch-step {
  display:inline-block;
  background:rgba(200,168,75,0.15);
  border:1px solid rgba(200,168,75,0.3);
  border-radius:20px;
  padding:0.3rem 1rem;
  font-family:var(--font-display);
  font-size:0.7rem;
  font-weight:700;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:0.75rem;
}
.sch-title {
  font-family:var(--font-display);
  font-size:clamp(2rem,4vw,3rem);
  font-weight:900;
  text-transform:uppercase;
  line-height:1;
  margin-bottom:0.6rem;
}
.sch-title span { color:var(--accent); }
.sch-sub { font-size:0.95rem; color:rgba(232,228,222,0.7); line-height:1.7; max-width:520px; margin:0 auto; }

/* Slot grid */
.sch-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:0.85rem;
  margin-bottom:1.5rem;
}

.sch-slot {
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:8px;
  padding:1.25rem 1rem;
  cursor:pointer;
  text-align:left;
  display:flex;
  flex-direction:column;
  gap:0.25rem;
  position:relative;
  transition:all 0.2s ease;
  outline:none;
}
.sch-slot:hover {
  background:rgba(200,168,75,0.06);
  border-color:rgba(200,168,75,0.3);
  transform:translateY(-2px);
}
.sch-slot.selected {
  background:rgba(200,168,75,0.12);
  border-color:var(--accent);
  box-shadow:0 0 0 1px var(--accent);
}
.sch-day {
  font-family:var(--font-display);
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
}
.sch-time {
  font-family:var(--font-display);
  font-size:1.4rem;
  font-weight:900;
  color:var(--off-white);
  line-height:1.1;
}
.sch-type {
  font-size:0.75rem;
  color:var(--light-grey);
  line-height:1.4;
}
.sch-check {
  position:absolute;
  top:0.75rem; right:0.75rem;
  width:22px; height:22px;
  background:var(--accent);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:0.65rem;
  color:var(--black);
  font-weight:700;
  opacity:0;
  transition:opacity 0.2s;
}
.sch-slot.selected .sch-check { opacity:1; }

/* Confirm row */
.sch-confirm-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  background:rgba(200,168,75,0.07);
  border:1px solid rgba(200,168,75,0.2);
  border-radius:8px;
  padding:1.1rem 1.5rem;
  flex-wrap:wrap;
}
.sch-selected-info {
  display:flex;
  align-items:center;
  gap:0.6rem;
  font-size:0.95rem;
  color:var(--off-white);
}
.sch-sel-check {
  color:var(--accent);
  font-size:1.1rem;
  font-weight:700;
}
.sch-confirm-btn {
  background:var(--accent);
  color:var(--black);
  border:none;
  border-radius:6px;
  padding:0.85rem 2rem;
  font-family:var(--font-heading);
  font-size:0.95rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.12em;
  cursor:pointer;
  transition:all 0.2s;
  white-space:nowrap;
  box-shadow:0 4px 16px rgba(200,168,75,0.25);
}
.sch-confirm-btn:hover { background:#dfc060; transform:translateY(-1px); }
.sch-confirm-btn:disabled { opacity:0.6; cursor:not-allowed; transform:none; }

/* Booked confirmation */
.sch-booked {
  text-align:center;
  padding:2.5rem 1.5rem;
  background:rgba(74,103,65,0.08);
  border:1px solid rgba(74,103,65,0.25);
  border-radius:10px;
}
.sch-booked-icon { font-size:3rem; display:block; margin-bottom:1rem; }
.sch-booked-title {
  font-family:var(--font-display);
  font-size:2.2rem;
  font-weight:900;
  text-transform:uppercase;
  color:var(--kmr-green-lt);
  margin-bottom:0.5rem;
}
.sch-booked-sub { font-size:1rem; color:rgba(232,228,222,0.8); line-height:1.7; margin-bottom:1.5rem; }

.sch-cal-btns { display:flex; gap:0.75rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.25rem; }
.sch-cal-btn {
  display:inline-flex;
  align-items:center;
  gap:0.4rem;
  padding:0.65rem 1.25rem;
  border-radius:6px;
  font-family:var(--font-heading);
  font-size:0.82rem;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  text-decoration:none;
  transition:all 0.2s;
  border:1px solid rgba(255,255,255,0.12);
  color:var(--off-white);
  background:rgba(255,255,255,0.05);
}
.sch-cal-btn:hover { background:rgba(255,255,255,0.1); color:#fff; }
.sch-cal-btn.gcal { border-color:rgba(66,133,244,0.4); }
.sch-cal-btn.gcal:hover { background:rgba(66,133,244,0.15); }
.sch-cal-btn.ical { border-color:rgba(255,255,255,0.2); }

.sch-location {
  display:flex; align-items:center; justify-content:center; gap:0.5rem;
  font-size:0.88rem; color:var(--light-grey); margin-bottom:0.75rem;
}
.sch-location a { color:var(--accent); }
.sch-location a:hover { text-decoration:underline; }
.sch-note { font-size:0.78rem; color:var(--steel); }

@media(max-width:600px){
  .sch-grid { grid-template-columns:1fr 1fr; }
  .sch-confirm-row { flex-direction:column; text-align:center; }
  .sch-confirm-btn { width:100%; }
}
@media(max-width:380px){
  .sch-grid { grid-template-columns:1fr; }
}

/* Member RSVP nav item — gold accent */
.dropdown a[href*="class-rsvp"] {
  color: var(--accent) !important;
  border-top: 1px solid rgba(200,168,75,0.15);
  margin-top: 0.25rem;
  padding-top: 0.75rem !important;
}
.dropdown a[href*="class-rsvp"]:hover {
  background: rgba(200,168,75,0.08) !important;
  color: #dfc060 !important;
  padding-left: 1.4rem;
}
