/* ══════════════════════════════════════
   RESET & CSS VARIABLES
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #f5f0e8;
  --dark:       #1a1a2e;
  --olive:      #4a5240;
  --gold:       #c9a84c;
  --rust:       #b85c3a;
  --sage:       #8a9e7e;
  --light-sage: #d4e0ce;
  --white:      #fdfcf9;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--dark); overflow-x: hidden; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 72px;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: background 0.3s;
}
.navbar.scrolled { background: var(--dark); }
.nav-logo {
  font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700;
  color: var(--white); text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: #aaa; text-decoration: none; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--rust) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: 4px; font-size: 0.8rem !important;
}
.nav-cta:hover { background: #a04d2e !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#home {
  min-height: 100vh; background: var(--dark);
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 50% at 10% 80%, rgba(138,158,126,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 700px;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px 6% 60px;
}
.hero-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; animation: fadeUp 0.7s ease both; }
.eyebrow-line { width: 40px; height: 1px; background: var(--gold); }
.eyebrow-text { font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; color: var(--white); line-height: 1.05; margin-bottom: 24px; animation: fadeUp 0.7s ease 0.1s both; }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-desc { color: #8888aa; font-size: 1.05rem; line-height: 1.75; max-width: 520px; margin-bottom: 40px; animation: fadeUp 0.7s ease 0.2s both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.7s ease 0.3s both; }
.btn-primary-hero {
  background: var(--rust); color: var(--white); padding: 14px 32px; border-radius: 4px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; transition: background 0.2s, transform 0.2s;
}
.btn-primary-hero:hover { background: #a04d2e; transform: translateY(-2px); }
.btn-outline-hero {
  border: 1.5px solid rgba(255,255,255,0.2); color: var(--white); padding: 14px 32px;
  border-radius: 4px; text-decoration: none; font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; transition: border-color 0.2s, background 0.2s;
}
.btn-outline-hero:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

/* Stats bar — sits naturally BELOW hero content, never overlaps */
.hero-stats-bar {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  width: 100%;
  animation: fadeUp 0.7s ease 0.4s both;
}
.hero-stat { flex: 1; padding: 22px 4%; border-right: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; gap: 14px; }
.hero-stat:last-child { border-right: none; }
.stat-icon { font-size: 1.5rem; flex-shrink: 0; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-lbl { font-size: 0.72rem; color: #666; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; }

/* ══════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════ */
section { scroll-margin-top: 72px; }
.section-wrap { padding: 90px 6%; max-width: 1200px; margin: 0 auto; }
.sec-label {
  font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rust); margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; display: block; width: 30px; height: 1px; background: var(--rust); }
.sec-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; color: var(--dark); margin-bottom: 16px; }
.sec-title em { font-style: italic; color: var(--rust); }
.sec-sub { color: #777; font-size: 0.98rem; line-height: 1.7; max-width: 520px; }

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 60px; }
.about-img-placeholder { width: 100%; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--light-sage) 0%, var(--sage) 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 5rem; border-radius: 8px; }
.about-badge { display: inline-block; margin-top: 16px; background: var(--dark); color: var(--white); padding: 18px 22px; border-radius: 8px; text-align: center; border: 3px solid var(--gold); }
.about-badge-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--gold); display: block; }
.about-badge-txt { font-size: 0.72rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.08em; }
.about-text .sec-sub { max-width: 100%; margin-bottom: 24px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.pillar { background: var(--cream); border-radius: 8px; padding: 18px; border-left: 3px solid var(--gold); }
.pillar-icon { font-size: 1.3rem; margin-bottom: 7px; }
.pillar h4 { font-family: 'Playfair Display', serif; font-size: 0.92rem; font-weight: 700; margin-bottom: 4px; }
.pillar p { font-size: 0.78rem; color: #777; line-height: 1.5; }
.mission-box { margin-top: 28px; background: var(--dark); border-radius: 8px; padding: 26px; position: relative; overflow: hidden; }
.mission-box::before { content: '"'; position: absolute; top: -20px; left: 16px; font-family: 'Playfair Display', serif; font-size: 8rem; color: rgba(201,168,76,0.12); line-height: 1; pointer-events: none; }
.mission-box p { font-family: 'Playfair Display', serif; font-size: 1rem; font-style: italic; color: var(--white); line-height: 1.65; position: relative; }
.mission-box cite { display: block; margin-top: 10px; font-family: 'DM Sans', sans-serif; font-style: normal; font-size: 0.75rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

/* ══════════════════════════════════════
   PROGRAMS
══════════════════════════════════════ */
#programs { background: var(--cream); }
.programs-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.programs-link { color: var(--rust); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 1px solid var(--rust); padding-bottom: 2px; transition: opacity 0.2s; }
.programs-link:hover { opacity: 0.7; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); transition: transform 0.3s, box-shadow 0.3s; }
.program-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.program-top { padding: 28px 24px 20px; position: relative; }
.program-num { position: absolute; top: 16px; right: 18px; font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: rgba(0,0,0,0.04); line-height: 1; }
.program-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.program-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.program-card p { font-size: 0.82rem; color: #777; line-height: 1.6; }
.program-bottom { padding: 14px 24px; border-top: 1px solid rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: space-between; }
.program-stat { font-size: 0.75rem; color: #aaa; }
.program-stat strong { color: var(--dark); font-weight: 600; }
.program-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #e0ddd6; display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 0.85rem; transition: all 0.2s; }
.program-card:hover .program-arrow { border-color: var(--rust); color: var(--rust); background: rgba(184,92,58,0.06); }

/* ══════════════════════════════════════
   IMPACT
══════════════════════════════════════ */
#impact { background: var(--dark); }
#impact .sec-title { color: var(--white); }
#impact .sec-sub { color: #666; }
.impact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 56px; }
.impact-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: 10px; overflow: hidden; }
.impact-num-card { background: rgba(255,255,255,0.03); padding: 32px 24px; border: 1px solid rgba(255,255,255,0.05); transition: background 0.3s; }
.impact-num-card:hover { background: rgba(201,168,76,0.06); }
.impact-num-card .big-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.impact-num-card .big-label { font-size: 0.78rem; color: #666; line-height: 1.4; }
.impact-story { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.impact-story:first-child { padding-top: 0; }
.impact-story:last-child { border-bottom: none; }
.story-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; margin-top: 6px; }
.story-text h4 { font-family: 'Playfair Display', serif; font-size: 0.98rem; color: var(--white); margin-bottom: 5px; }
.story-text p { font-size: 0.82rem; color: #666; line-height: 1.6; }
.story-tag { display: inline-block; margin-top: 7px; background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); color: var(--gold); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }

/* ══════════════════════════════════════
   REVIEWS — with real photos
══════════════════════════════════════ */
#reviews { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.review-card { background: var(--cream); border-radius: 10px; padding: 28px 24px; border: 1px solid rgba(0,0,0,0.05); position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.review-card.featured { background: var(--dark); border-color: rgba(201,168,76,0.2); grid-row: span 2; }
.review-quote-mark { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: var(--gold); line-height: 0.8; margin-bottom: 14px; opacity: 0.6; }
.review-card.featured .review-quote-mark { opacity: 1; }
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; font-size: 0.85rem; }
.review-text { font-family: 'Playfair Display', serif; font-size: 0.92rem; font-style: italic; line-height: 1.7; color: var(--dark); margin-bottom: 18px; }
.review-card.featured .review-text { color: var(--white); font-size: 1rem; }
.review-author { display: flex; align-items: center; gap: 12px; }

/* Real photo avatar */
.review-avatar-wrap {
  width: 44px; height: 44px;
  border-radius: 50%; overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.review-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.author-name { font-size: 0.83rem; font-weight: 600; color: var(--dark); }
.review-card.featured .author-name { color: var(--white); }
.author-location { font-size: 0.72rem; color: #aaa; }
.review-program-tag { position: absolute; top: 18px; right: 18px; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); background: rgba(184,92,58,0.1); padding: 3px 9px; border-radius: 20px; }
.review-card.featured .review-program-tag { color: var(--gold); background: rgba(201,168,76,0.15); }

/* ══════════════════════════════════════
   SUCCESS CHAT SECTION
══════════════════════════════════════ */
.success-chat-wrap { margin-top: 30px; }

.chat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chat-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.07);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.chat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.chat-avatar-wrap {
  width: 42px; height: 42px;
  border-radius: 50%; overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.chat-avatar-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.chat-person-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.chat-program-badge {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.chat-verified {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--sage);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(138,158,126,0.15);
  padding: 3px 8px;
  border-radius: 20px;
}

.chat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f6f1;
  min-height: 220px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  position: relative;
}
.chat-bubble p { font-size: 0.83rem; line-height: 1.55; margin: 0; }
.chat-bubble .chat-time { font-size: 0.65rem; color: #aaa; display: block; margin-top: 5px; }

.chat-bubble.them {
  background: var(--white);
  border: 1px solid #e8e5de;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--dark);
}
.chat-bubble.us {
  background: var(--dark);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  color: var(--white);
}
.chat-bubble.us .chat-time { color: #666; }

.chat-outcome {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(201,168,76,0.08);
  border-top: 1px solid rgba(201,168,76,0.2);
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}
.chat-outcome strong { color: var(--dark); }
.outcome-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

/* ══════════════════════════════════════
   SOCIAL MEDIA — Footer
══════════════════════════════════════ */
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #888;
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: translateY(-2px); }

.footer-bottom-socials {
  display: flex;
  gap: 20px;
}
.footer-bottom-socials a {
  font-size: 0.76rem;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-socials a:hover { color: var(--gold); }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.team-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); transition: transform 0.3s; }
.team-card:hover { transform: translateY(-4px); }
.team-avatar { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; }
.team-info { padding: 18px; }
.team-info h4 { font-family: 'Playfair Display', serif; font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.72rem; color: var(--rust); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 9px; }
.team-bio { font-size: 0.78rem; color: #777; line-height: 1.5; }

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#contact { background: var(--dark); }
#contact .sec-title { color: var(--white); }
#contact .sec-sub { color: #666; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 56px; }
.contact-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.contact-item:last-of-type { border-bottom: none; }
.contact-icon { width: 42px; height: 42px; border-radius: 8px; background: rgba(201,168,76,0.1); border: 1px solid rgba(201,168,76,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-detail h4 { font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-detail p { color: var(--white); font-size: 0.9rem; }
.contact-detail a { color: var(--gold); text-decoration: none; }
.mini-field { margin-bottom: 14px; }
.mini-field label { display: block; font-size: 0.72rem; color: #666; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 5px; }
.mini-field input, .mini-field textarea, .mini-field select { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 11px 13px; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.88rem; outline: none; transition: border-color 0.2s; }
.mini-field input::placeholder, .mini-field textarea::placeholder { color: #444; }
.mini-field input:focus, .mini-field textarea:focus, .mini-field select:focus { border-color: var(--gold); }
.mini-field textarea { resize: vertical; min-height: 90px; }
.mini-field select { cursor: pointer; }
.mini-field select option { background: var(--dark); color: var(--white); }
.btn-send { width: 100%; background: var(--rust); color: var(--white); border: none; border-radius: 6px; padding: 13px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.2s; margin-top: 6px; }
.btn-send:hover { background: #a04d2e; transform: translateY(-1px); }

/* ══════════════════════════════════════
   APPLY / FORM SECTION
══════════════════════════════════════ */
#apply { background: var(--cream); }
.apply-intro { text-align: center; max-width: 600px; margin: 0 auto 56px; }
.apply-intro .sec-label { justify-content: center; }
.apply-intro .sec-label::before { display: none; }
.apply-intro .sec-title { color: var(--dark); }
.apply-intro .sec-sub { margin: 0 auto; text-align: center; }

.form-card { background: var(--white); border-radius: 12px; border: 1px solid rgba(0,0,0,0.07); box-shadow: 0 4px 40px rgba(0,0,0,0.06); overflow: hidden; max-width: 860px; margin: 0 auto; }
.form-progress { background: var(--dark); padding: 20px 36px; display: flex; align-items: center; }
.f-step { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #555; transition: color 0.3s; flex: 1; }
.f-step.active { color: var(--gold); }
.f-step.done   { color: var(--sage); }
.f-step-num { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #444; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; flex-shrink: 0; transition: all 0.3s; }
.f-step.active .f-step-num { border-color: var(--gold); background: var(--gold); color: var(--dark); }
.f-step.done   .f-step-num { border-color: var(--sage); background: var(--sage); color: var(--white); }
.f-step-connector { flex: 1; height: 1px; background: #333; margin: 0 8px; }

.form-body { padding: 38px 36px; }
.form-step { display: none; animation: fadeUp 0.4s ease both; }
.form-step.active { display: block; }
.step-heading { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.step-sub-text { color: #888; font-size: 0.86rem; margin-bottom: 28px; }

.form-grid        { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid.single { grid-template-columns: 1fr; }
.field            { display: flex; flex-direction: column; gap: 5px; }
.field.full       { grid-column: span 2; }
.field label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: #555; }
.field label .req { color: var(--rust); margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: 'DM Sans', sans-serif; font-size: 0.93rem; color: var(--dark);
  background: var(--cream); border: 1.5px solid #e0ddd6; border-radius: 6px;
  padding: 11px 13px; width: 100%; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive); background: var(--white); box-shadow: 0 0 0 3px rgba(74,82,64,0.1); }
.field input::placeholder, .field textarea::placeholder { color: #bbb; }
.field textarea { resize: vertical; min-height: 100px; }
.field select { cursor: pointer; }

.checkbox-group { display: flex; flex-direction: column; gap: 9px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.88rem; color: var(--dark); text-transform: none; letter-spacing: 0; font-weight: 400; padding: 10px 13px; border: 1.5px solid #e0ddd6; border-radius: 6px; background: var(--cream); transition: all 0.2s; }
.checkbox-label:hover { border-color: var(--olive); background: var(--light-sage); }
.checkbox-label input[type="checkbox"] { width: 17px; height: 17px; border-radius: 3px; accent-color: var(--olive); cursor: pointer; flex-shrink: 0; }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.85rem; color: var(--dark); text-transform: none; letter-spacing: 0; font-weight: 400; padding: 9px 16px; border: 1.5px solid #e0ddd6; border-radius: 40px; background: var(--cream); transition: all 0.2s; }
.radio-label:hover { border-color: var(--olive); }
.radio-label input[type="radio"] { accent-color: var(--olive); }
.radio-label.selected { border-color: var(--olive); background: var(--light-sage); font-weight: 500; }

.urgency-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.urgency-card { border: 1.5px solid #e0ddd6; border-radius: 8px; padding: 15px 12px; cursor: pointer; transition: all 0.2s; background: var(--cream); text-align: center; }
.urgency-card:hover { border-color: var(--gold); }
.urgency-card.selected { border-color: var(--rust); background: rgba(184,92,58,0.06); }
.urgency-card .u-icon { font-size: 1.4rem; margin-bottom: 5px; }
.urgency-card .u-label { font-size: 0.78rem; font-weight: 500; }
.urgency-card .u-desc { font-size: 0.68rem; color: #888; margin-top: 2px; }

.form-footer-bar { display: flex; justify-content: space-between; align-items: center; padding: 22px 36px; border-top: 1px solid #eeece7; background: #faf8f4; }
.btn { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 11px 26px; border-radius: 6px; border: none; cursor: pointer; transition: all 0.2s; }
.btn-ghost { background: transparent; color: #888; border: 1.5px solid #ddd; }
.btn-ghost:hover { border-color: #aaa; color: var(--dark); }
.btn-next { background: var(--dark); color: var(--white); }
.btn-next:hover { background: var(--olive); transform: translateY(-1px); }
.btn-submit-form { background: var(--rust); color: var(--white); }
.btn-submit-form:hover { background: #a04d2e; transform: translateY(-1px); }
.progress-bar-outer { flex: 1; height: 4px; background: #e8e5de; border-radius: 2px; margin: 0 22px; overflow: hidden; }
.progress-bar-inner { height: 100%; background: var(--gold); border-radius: 2px; transition: width 0.4s ease; width: 33%; }

.result-screen { display: none; padding: 56px 36px; text-align: center; }
.result-screen.show { display: block; animation: fadeUp 0.5s ease both; }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 22px; }
.result-screen h2 { font-family: 'Playfair Display', serif; font-size: 1.9rem; color: var(--dark); margin-bottom: 11px; }
.result-screen p { color: #777; font-size: 0.93rem; line-height: 1.6; max-width: 420px; margin: 0 auto 28px; }
.ref-box { display: inline-block; background: var(--cream); border: 1.5px dashed var(--gold); border-radius: 6px; padding: 13px 26px; font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--dark); letter-spacing: 0.1em; margin-bottom: 28px; }
.ref-box small { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #aaa; margin-bottom: 4px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: #12121f; padding: 50px 6% 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer-brand .nav-logo { font-size: 1.15rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.8rem; color: #555; line-height: 1.7; max-width: 240px; }
.footer-col h5 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #555; margin-bottom: 14px; }
.footer-col a { display: block; color: #444; text-decoration: none; font-size: 0.81rem; margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.76rem; color: #333; }
.footer-bottom a { color: var(--gold); text-decoration: none; }

/* ══════════════════════════════════════
   TEAM
══════════════════════════════════════ */
#team { background: var(--cream); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.team-card { background: var(--white); border-radius: 10px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); transition: transform 0.3s; }
.team-card:hover { transform: translateY(-4px); }
.team-avatar-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; }
.team-real-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.team-info { padding: 18px; }
.team-info h4 { font-family: 'Playfair Display', serif; font-size: 0.98rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.72rem; color: var(--rust); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 9px; }
.team-bio { font-size: 0.78rem; color: #777; line-height: 1.5; }

/* ══════════════════════════════════════
   ABOUT IMAGE
══════════════════════════════════════ */
.about-img-col { display: flex; flex-direction: column; gap: 16px; }
.about-img-wrap { border-radius: 8px; overflow: hidden; }
.about-real-img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center;
  display: block; border-radius: 8px;
}

/* ══════════════════════════════════════
   TEAM PHOTOS
══════════════════════════════════════ */
.team-avatar-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; }
.team-real-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}

/* ══════════════════════════════════════
   SSN FIELD
══════════════════════════════════════ */
.ssn-wrap { display: flex; gap: 8px; align-items: center; }
.ssn-wrap input { flex: 1; font-family: 'DM Mono', monospace; letter-spacing: 0.1em; }
.ssn-toggle {
  background: var(--dark); color: var(--white);
  border: none; border-radius: 6px; padding: 11px 14px;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  white-space: nowrap; transition: background 0.2s; flex-shrink: 0;
}
.ssn-toggle:hover { background: var(--olive); }
.field-note { font-size: 0.74rem; color: #999; margin-top: 6px; display: block; }

/* ══════════════════════════════════════
   ID CARD UPLOAD
══════════════════════════════════════ */
.id-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }

.id-upload-box {
  border: 2.5px dashed #c0bbb2;
  border-radius: 12px;
  background: var(--cream);
  cursor: pointer;
  min-height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s;
}
.id-upload-box:hover,
.id-upload-box:active { border-color: var(--olive); background: var(--light-sage); }

.id-upload-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.id-upload-icon {
  font-size: 2rem;
  margin-bottom: 4px;
  line-height: 1;
}
.id-upload-prompt strong { font-size: 0.92rem; color: var(--dark); font-weight: 600; display: block; }
.id-upload-prompt span   { font-size: 0.78rem; color: #999; display: block; }

@media (max-width: 480px) {
  .id-upload-grid { grid-template-columns: 1fr; }
  .id-upload-box  { min-height: 130px; }
}

/* ══════════════════════════════════════
   GALLERY
══════════════════════════════════════ */
#gallery { background: var(--dark); }
#gallery .sec-title { color: var(--white); }
#gallery .sec-sub   { color: #666; }

/* Filter Buttons */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 40px;
}
.gallery-filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 40px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #777;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.gallery-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 600;
}

/* Gallery Grid — Masonry-style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s, opacity 0.4s;
}
.gallery-item.hidden {
  display: none;
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row:    span 2; }

.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.06);
}

/* Overlay on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-content {
  padding: 20px;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay-content { transform: translateY(0); }

.gallery-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.gallery-overlay-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: 5px;
}
.gallery-overlay-content p {
  font-size: 0.76rem;
  color: #bbb;
  line-height: 1.5;
}

/* ── LIGHTBOX ── */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,10,20,0.96);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.gallery-lightbox.open { display: flex; }

.lightbox-img-wrap {
  position: relative;
  max-width: 860px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: var(--dark);
}
.lightbox-img-wrap img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}
.lightbox-caption {
  padding: 20px 24px;
}
.lightbox-caption span {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.lightbox-caption h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 6px;
}
.lightbox-caption p { font-size: 0.85rem; color: #888; line-height: 1.6; }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.2s;
  z-index: 1001;
}
.lightbox-close { top: 20px; right: 20px; font-size: 0.9rem; }
.lightbox-prev  { left: 16px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--rust); border-color: var(--rust); }

/* Gallery responsive */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-overlay { opacity: 1; }
  .gallery-overlay-content { transform: translateY(0); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item--wide { grid-column: span 1; }
  .gallery-filters { gap: 8px; }
  .gallery-filter-btn { font-size: 0.72rem; padding: 7px 14px; }
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (max 900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  /* Mobile nav */
  .nav-links {
    display: none;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px 6%; gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a { display: block; padding: 13px 0; font-size: 0.88rem; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
══════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── HERO FIX — most important ── */
  #home {
    min-height: auto;
    flex-direction: column;
    padding: 0;
  }

  .hero-content {
    padding: 100px 5% 40px;
    text-align: left;
  }

  .hero-title {
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  /* Stack buttons vertically, full width */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .btn-primary-hero,
  .btn-outline-hero {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  /* Stats bar — normal flow below content, 2x2 grid */
  .hero-stats-bar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .hero-stat {
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 18px 5%;
    gap: 10px;
  }
  .hero-stat:nth-child(2)  { border-right: none; }
  .hero-stat:nth-child(3)  { border-bottom: none; }
  .hero-stat:nth-child(4)  { border-right: none; border-bottom: none; }
  .stat-icon { font-size: 1.3rem; }
  .stat-val  { font-size: 1.3rem; }
  .stat-lbl  { font-size: 0.65rem; }

  /* ── SECTIONS ── */
  .section-wrap { padding: 60px 5%; }

  .about-grid,
  .impact-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .about-pillars  { grid-template-columns: 1fr; }
  .programs-grid  { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }
  .chat-grid      { grid-template-columns: 1fr; }
  .impact-numbers { grid-template-columns: 1fr 1fr; }

  .review-card.featured { grid-row: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; }

  .programs-header { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* ── FOOTER ── */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* ── FORM ── */
  .form-grid   { grid-template-columns: 1fr; }
  .field.full  { grid-column: span 1; }
  .form-body   { padding: 24px 18px; }
  .form-progress { padding: 16px 18px; }
  .f-step span { display: none; } /* hide step text, keep number only */
  .form-footer-bar { flex-direction: column; gap: 12px; padding: 18px; }
  .progress-bar-outer { display: none; }
  .urgency-selector { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }

  /* ── CONTACT ── */
  .mini-field input,
  .mini-field textarea,
  .mini-field select { font-size: 16px; } /* prevents iOS zoom on focus */
}

/* ══════════════════════════════════════
   RESPONSIVE — SMALL PHONES (max 480px)
══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-content { padding: 90px 5% 32px; }
  .hero-title   { font-size: 2rem; }
  .hero-eyebrow { margin-bottom: 18px; }

  /* Stats — single column on very small screens */
  .hero-stats-bar { grid-template-columns: 1fr; }
  .hero-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .hero-stat:last-child { border-bottom: none; }

  .team-grid   { grid-template-columns: 1fr; }
  .footer-top  { grid-template-columns: 1fr; }
  .section-wrap { padding: 50px 5%; }

  /* Impact numbers — single column */
  .impact-numbers { grid-template-columns: 1fr; }
  .impact-num-card { padding: 22px 18px; }
  .impact-num-card .big-num { font-size: 2rem; }

  /* Form progress — smaller */
  .form-progress { padding: 14px; }
  .f-step-num { width: 24px; height: 24px; font-size: 0.65rem; }
}