/* ============================================
   BARN GYM COMMUNITY - Landing Page Styles
   Mobile-First | Brand: #4A5D23 + #FF6B35
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.6; color: #222; background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }

/* --- UTILITY --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; }

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(12px);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { width: 36px; height: 36px; object-fit: contain; filter: invert(1); }
.nav-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #fff; font-size: 18px; letter-spacing: 1px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: #ccc; font-size: 14px; font-weight: 600; transition: color 0.2s; letter-spacing: 0.5px; }
.nav-links a:hover { color: #FF6B35; }
.nav-cta {
  display: none; padding: 8px 20px; background: #FF6B35; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
  border-radius: 6px; transition: background 0.2s, transform 0.2s; letter-spacing: 0.5px;
}
.nav-cta:hover { background: #e5572a; transform: scale(1.05); }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: all 0.3s; border-radius: 2px; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav Menu */
.nav-links.mobile-open {
  display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
  background: rgba(0,0,0,0.96); padding: 24px 20px; gap: 20px;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- HERO --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: #111 url('/static/images/hero-background.jpg') center/cover no-repeat;
  padding: 80px 0 40px;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 40%, rgba(74,93,35,0.35) 100%);
}
.hero-container {
  position: relative; z-index: 2; width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; gap: 32px;
}
.hero-content { color: #fff; }
.hero-headline {
  font-size: 32px; font-weight: 800; line-height: 1.15;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.hero-subhead {
  font-size: 18px; font-weight: 700; color: #FF6B35;
  font-family: 'Montserrat', sans-serif; margin-bottom: 10px;
}
.hero-desc { font-size: 15px; opacity: 0.92; max-width: 520px; margin-bottom: 20px; }

/* Community proof strip — real member faces */
.community-strip { margin-bottom: 24px; }
.member-avatars { display: flex; align-items: center; margin-bottom: 10px; }
.member-avatars img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid #fff; margin-left: -10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.member-avatars img:first-child { margin-left: 0; }
.avatar-more {
  width: 40px; height: 40px; border-radius: 50%; background: #FF6B35;
  color: #fff; font-size: 11px; font-weight: 700; display: flex;
  align-items: center; justify-content: center; margin-left: -10px;
  border: 2.5px solid #fff; font-family: 'Montserrat', sans-serif;
}
.community-stats {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; opacity: 0.95;
}
.stars { color: #FFD700; font-size: 16px; letter-spacing: 2px; }

/* Hero CTA row */
.hero-cta-row { max-width: 380px; }
.hero-cta-row .btn-cta-big { width: 100%; display: block; text-align: center; font-size: 16px; padding: 18px 24px; }
.hero-cta-sub { font-size: 12px; opacity: 0.7; text-align: center; margin-top: 8px; }

/* Desktop: community showcase grid (hidden on mobile) */
.hero-community-grid { display: none; }

/* --- FORM SECTION (below hero) --- */
.section-form { background: #fff; padding: 48px 0; }
.form-section-inner {
  display: flex; flex-direction: column; gap: 32px;
}
.form-section-text {}
.form-section-headline {
  font-size: 26px; font-weight: 800; margin-bottom: 10px; color: #222;
}
.form-section-text > p { font-size: 15px; color: #555; margin-bottom: 20px; line-height: 1.6; }
.form-section-stats {
  display: flex; gap: 24px; margin-bottom: 8px;
}
.fs-stat { text-align: center; }
.fs-stat strong {
  display: block; font-family: 'Montserrat', sans-serif; font-size: 22px;
  font-weight: 800; color: #4A5D23;
}
.fs-stat span { font-size: 12px; color: #888; font-weight: 600; letter-spacing: 0.3px; }
.form-card-v2 {
  background: #F5F5F5; border-radius: 12px; padding: 24px 20px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: #444;
  margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-group input {
  width: 100%; height: 48px; padding: 0 16px; font-size: 16px;
  border: 1.5px solid #ccc; border-radius: 8px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Open Sans', sans-serif;
}
.form-group input:focus { border-color: #4A5D23; box-shadow: 0 0 0 3px rgba(74,93,35,0.15); }
.form-group input.valid { border-color: #2ecc71; }
.form-group input.invalid { border-color: #e74c3c; }
.field-error { display: block; font-size: 12px; color: #e74c3c; margin-top: 4px; min-height: 16px; }

/* Buttons */
.btn {
  display: inline-block; font-family: 'Montserrat', sans-serif;
  font-weight: 700; text-align: center; border-radius: 8px;
  transition: all 0.25s ease; cursor: pointer; border: none;
}
.btn-cta {
  background: #FF6B35; color: #fff; font-size: 16px;
  padding: 16px 32px; width: 100%; display: block;
}
.btn-cta:hover { background: #e5572a; transform: scale(1.03); }
.btn-cta:active { background: #cc4a20; transform: scale(0.98); }
.btn-cta:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-cta-sm {
  background: #FF6B35; color: #fff; font-size: 14px;
  padding: 12px 24px; display: inline-block;
}
.btn-cta-sm:hover { background: #e5572a; }
.btn-cta-big {
  background: #FF6B35; color: #fff; font-size: 18px;
  padding: 20px 40px; display: inline-block; border-radius: 10px;
}
.btn-cta-big:hover { background: #e5572a; transform: scale(1.05); }
.btn-pulse { animation: pulse 3s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.form-privacy { font-size: 11px; color: #888; text-align: center; margin-top: 12px; }

/* Form Success */
.form-success { text-align: center; padding: 20px 0; }
.success-icon {
  width: 56px; height: 56px; background: #4A5D23; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px; font-weight: 700;
}
.form-success h3 { font-size: 22px; color: #4A5D23; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: #555; margin-bottom: 20px; }

/* --- SECTIONS --- */
.section { padding: 60px 0; }
.section-light { background: #F5F5F5; }
.section-white { background: #fff; }
.section-dark { background: #111; color: #fff; }
.section-headline {
  font-size: 28px; font-weight: 800; text-align: center;
  margin-bottom: 16px; letter-spacing: -0.3px;
}
.section-headline-light { color: #fff; }
.section-subhead {
  font-size: 16px; text-align: center; color: #666;
  max-width: 600px; margin: 0 auto 40px;
}
.section-cta { text-align: center; margin-top: 40px; }
.section-cta .btn-cta { display: inline-block; width: auto; padding: 16px 40px; }

/* --- SECTION 2: WHO THIS IS FOR --- */
.three-col-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px;
}
.avatar-card {
  text-align: center; padding: 32px 24px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.avatar-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.avatar-icon { font-size: 48px; margin-bottom: 16px; }
.avatar-card h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #4A5D23;
}
.avatar-card p { font-size: 15px; color: #555; }

/* --- SECTION 3: BENEFITS --- */
.benefit-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px;
}
.benefit-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.benefit-img-wrap { height: 200px; overflow: hidden; }
.benefit-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.benefit-card:hover .benefit-img-wrap img { transform: scale(1.05); }
.benefit-card h3 { font-size: 20px; font-weight: 700; padding: 20px 20px 8px; color: #222; }
.benefit-card p { font-size: 15px; padding: 0 20px 20px; color: #555; }

/* --- SECTION 4: TESTIMONIALS --- */
.testimonial-carousel { margin-top: 40px; position: relative; overflow: hidden; }
.testimonial-track { position: relative; }
.testimonial-slide {
  display: none; flex-direction: column; gap: 24px; padding: 0 8px;
  animation: fadeSlide 0.6s ease;
}
.testimonial-slide.active { display: flex; }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.testimonial-img { border-radius: 12px; overflow: hidden; }
.testimonial-img img { width: 100%; border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; }
.testimonial-content { padding: 8px 0; }
.testimonial-quote {
  font-size: 18px; font-style: italic; color: #ddd; line-height: 1.6; margin-bottom: 16px;
}
.testimonial-meta { font-size: 16px; color: #FF6B35; font-weight: 600; }
.carousel-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px;
}
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover { background: #FF6B35; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.3); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: #FF6B35; transform: scale(1.3); }
.social-proof-badge {
  text-align: center; font-size: 18px; color: #FFD700;
  margin-top: 32px; font-weight: 600;
}

/* --- SECTION 5: HOW IT WORKS --- */
.steps-row {
  display: flex; flex-direction: column; gap: 32px; margin-top: 40px;
  align-items: center;
}
.step { text-align: center; max-width: 360px; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; background: #FF6B35;
  color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(255,107,53,0.3);
}
.step h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #222; }
.step p { font-size: 15px; color: #555; }
.step-divider {
  width: 2px; height: 40px; background: linear-gradient(to bottom, #FF6B35, transparent);
}

/* --- SECTION 6: PROGRAMS --- */
.program-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px;
}
.program-card { border-radius: 12px; overflow: hidden; cursor: pointer; }
.program-card-inner { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.program-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.5s;
}
.program-card:hover .program-img { transform: scale(1.08); }
.program-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 24px;
  transition: opacity 0.3s;
}
.program-overlay h3 { color: #fff; font-size: 22px; font-weight: 700; }
.program-hover {
  position: absolute; inset: 0;
  background: rgba(74,93,35,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; opacity: 0; transition: opacity 0.3s;
}
.program-card:hover .program-hover { opacity: 1; }
.program-card:hover .program-overlay { opacity: 0; }
.program-hover h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.program-hover p { color: rgba(255,255,255,0.9); font-size: 15px; }

/* --- SECTION 7: APP FEATURES (v2 — compact grid) --- */
.feature-grid-v2 {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px;
}
.feature-card-v2 {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card-v2:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.feature-card-img { overflow: hidden; }
.feature-card-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 0.4s;
}
.feature-card-v2:hover .feature-card-img img { transform: scale(1.04); }
.feature-card-body { padding: 20px; }
.feature-card-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: #222; }
.feature-card-body p { font-size: 14px; color: #555; line-height: 1.6; }
.app-badges { text-align: center; margin-top: 36px; }
.watch-feature { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.watch-img { width: 160px; border-radius: 16px; }
.watch-feature p { font-size: 14px; font-weight: 600; color: #4A5D23; }

/* --- SECTION 8: GALLERY --- */
.gallery-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px;
}
.gallery-item {
  border-radius: 10px; overflow: hidden; cursor: pointer; position: relative;
  transition: transform 0.3s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff; padding: 24px 16px 12px; font-size: 13px; font-weight: 600;
}

/* --- SECTION 9: FAQ --- */
.faq-list { margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid #ddd; overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 16px; font-weight: 600; text-align: left;
  color: #222; font-family: 'Montserrat', sans-serif;
  transition: color 0.2s;
}
.faq-question:hover { color: #4A5D23; }
.faq-icon {
  font-size: 24px; font-weight: 400; color: #FF6B35;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-question { color: #4A5D23; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 15px; color: #555; line-height: 1.7; }

/* --- SECTION 10: FINAL CTA --- */
.section-cta-final {
  background: #4A5D23; color: #fff; padding: 80px 0; text-align: center;
}
.final-headline { font-size: 32px; font-weight: 800; margin-bottom: 16px; color: #fff; }
.final-subhead { font-size: 16px; opacity: 0.9; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.final-note { font-size: 13px; opacity: 0.7; margin-top: 20px; }

/* --- FOOTER --- */
.footer { background: #111; color: #999; padding: 40px 0; }
.footer-grid {
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 16px; color: #fff;
}
.footer-brand img { filter: invert(1); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: #999; transition: color 0.2s; }
.footer-links a:hover { color: #FF6B35; }
.footer-copy { font-size: 12px; }

/* --- STICKY CTA (Mobile) --- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 16px; background: rgba(0,0,0,0.95);
  backdrop-filter: blur(8px); z-index: 999;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.sticky-cta.visible { display: block; transform: translateY(0); }
.btn-cta-sticky {
  display: block; width: 100%; padding: 14px; background: #FF6B35; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 16px;
  text-align: center; border-radius: 8px;
}
.btn-cta-sticky:hover { background: #e5572a; }

/* --- EXIT POPUP --- */
.popup-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.popup-overlay.active { display: flex; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.popup-card {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  max-width: 440px; width: 100%; position: relative;
  animation: popSlide 0.4s ease;
}
@keyframes popSlide { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.popup-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 28px; color: #999; background: none; border: none;
  cursor: pointer; transition: color 0.2s; line-height: 1;
}
.popup-close:hover { color: #222; }
.popup-card h2 {
  font-size: 22px; font-weight: 800; color: #222; margin-bottom: 4px;
}
.popup-card h3 {
  font-size: 18px; font-weight: 700; color: #4A5D23; margin-bottom: 12px;
}
.popup-card > p { font-size: 14px; color: #555; margin-bottom: 20px; }
.popup-card .form-group { margin-bottom: 12px; }
.popup-card input {
  width: 100%; height: 48px; padding: 0 16px; font-size: 16px;
  border: 1.5px solid #ccc; border-radius: 8px; outline: none;
  transition: border-color 0.2s; font-family: 'Open Sans', sans-serif;
}
.popup-card input:focus { border-color: #4A5D23; }
.popup-card .btn-cta { margin-top: 8px; }
.popup-success { text-align: center; padding: 20px 0; }
.popup-success .success-icon { margin-bottom: 16px; }
.popup-success h3 { color: #4A5D23; margin-bottom: 8px; }
.popup-success p { color: #555; font-size: 14px; }

/* --- LIGHTBOX --- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  padding: 20px; cursor: zoom-out;
}
.lightbox.active { display: flex; animation: fadeIn 0.3s; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  font-size: 36px; color: #fff; background: none; border: none;
  cursor: pointer; z-index: 3001; transition: color 0.2s;
}
.lightbox-close:hover { color: #FF6B35; }

/* --- SCROLL ANIMATIONS --- */
.anim-on-scroll {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: var(--delay, 0s);
}
.anim-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Hero animations */
.anim-fade-in { opacity: 0; transform: translateY(20px); animation: heroFade 0.8s ease forwards; }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.7s; }
.anim-slide-up { opacity: 0; transform: translateY(40px); animation: heroSlide 0.9s ease forwards; }
@keyframes heroFade { to { opacity: 1; transform: translateY(0); } }
@keyframes heroSlide { to { opacity: 1; transform: translateY(0); } }

/* ============================================
   TABLET: 768px+
   ============================================ */
@media (min-width: 768px) {
  .section { padding: 80px 0; }
  .hero-headline { font-size: 42px; }
  .hero-subhead { font-size: 22px; }
  .section-headline { font-size: 40px; }

  .member-avatars img { width: 48px; height: 48px; }
  .avatar-more { width: 48px; height: 48px; font-size: 12px; }
  .community-stats { font-size: 14px; }
  .hero-cta-row .btn-cta-big { font-size: 18px; padding: 20px 32px; }

  /* Form section side-by-side */
  .form-section-inner { flex-direction: row; align-items: flex-start; gap: 40px; }
  .form-section-text { flex: 1; padding-top: 16px; }
  .form-section-headline { font-size: 30px; }
  .form-card-v2 { flex: 0 0 380px; }

  .three-col-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-slide { flex-direction: row; align-items: center; }
  .testimonial-img { flex: 0 0 50%; }
  .testimonial-content { flex: 1; padding: 0 24px; }

  .feature-grid-v2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .steps-row { flex-direction: row; align-items: flex-start; gap: 24px; }
  .step-divider { width: 60px; height: 2px; margin-top: 28px; background: linear-gradient(to right, #FF6B35, transparent); }
}

/* ============================================
   DESKTOP: 1024px+
   ============================================ */
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-block; }
  .nav-toggle { display: none; }

  .section { padding: 100px 0; }
  .hero { min-height: 90vh; padding: 100px 0 60px; }
  .hero-container { flex-direction: row; align-items: center; gap: 48px; }
  .hero-content { flex: 1; }
  .hero-headline { font-size: 48px; }
  .hero-subhead { font-size: 24px; }
  .hero-desc { font-size: 17px; }
  .section-headline { font-size: 48px; }
  .final-headline { font-size: 52px; }

  /* Show community grid on desktop */
  .hero-community-grid {
    display: grid; flex: 0 0 420px;
    grid-template-columns: repeat(2, 1fr); gap: 10px;
  }
  .hcg-item {
    position: relative; border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  }
  .hcg-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
  .hcg-item.hcg-large { grid-column: span 2; }
  .hcg-item.hcg-large img { aspect-ratio: 16/9; }
  .hcg-tag {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff; padding: 20px 12px 8px; font-size: 12px; font-weight: 600;
    font-family: 'Montserrat', sans-serif;
  }

  /* Form section */
  .form-section-headline { font-size: 34px; }
  .form-card-v2 { flex: 0 0 420px; }

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid-v2 { gap: 28px; }
  .feature-card-body h3 { font-size: 20px; }
  .feature-card-body p { font-size: 15px; }

  .sticky-cta { display: none !important; }
}

/* ============================================
   LARGE DESKTOP: 1280px+
   ============================================ */
@media (min-width: 1280px) {
  .hero-headline { font-size: 56px; }
  .section-headline { font-size: 56px; }
  .hero-container { gap: 64px; }
  .hero-community-grid { flex: 0 0 480px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .anim-on-scroll { opacity: 1; transform: none; }
}
