/* ===== FIRM FOUNDATION OT — styles.css ===== */

/* 1. Variables & Reset */
:root {
  --brand:        #A12706;
  --brand-hover:  #8B1F04;
  --brand-light:  rgba(161,39,6,0.08);
  --text:         #1A1A1A;
  --text-muted:   #5C5C5C;
  --text-light:   #999;
  --bg:           #FFFFFF;
  --bg-warm:      #F9F6F3;
  --bg-dark:      #1C1009;
  --border:       #E8E0D8;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --shadow:       0 2px 20px rgba(0,0,0,0.08);
  --shadow-md:    0 6px 40px rgba(0,0,0,0.12);
  --transition:   0.25s ease;
  --font-head:    'DM Sans', sans-serif;
  --font-body:    'Inter', sans-serif;
  --max-w:        1140px;
  --section-pad:  96px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* 2. Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text-muted); line-height: 1.75; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* 3. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(161,39,6,0.3); }
.btn--ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--white { background: #fff; color: var(--brand); font-weight: 700; }
.btn--white:hover { background: var(--bg-warm); transform: translateY(-1px); }
.btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); }
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* 4. Navigation */
.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 40px);
  max-width: 920px;
}
.nav-inner {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  padding: 10px 14px 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  transition: box-shadow var(--transition);
}
.nav-inner.scrolled { box-shadow: 0 6px 40px rgba(0,0,0,0.15); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: 4px;
}
.nav-logo-icon { width: 34px; height: 34px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.25;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-light); }
.nav-cta { flex-shrink: 0; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 74px;
  left: 20px; right: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.mobile-menu a:hover { background: var(--bg-warm); color: var(--brand); }
.mobile-menu .btn { margin-top: 8px; text-align: center; justify-content: center; }

/* 5. Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,16,9,0.72) 0%, rgba(28,16,9,0.42) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 130px 40px 80px;
  color: #fff;
  width: 100%;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}
.hero-label .dot { color: var(--brand); }
.hero h1 { color: #fff; margin-bottom: 18px; max-width: 680px; }
.hero p  { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 500px; margin-bottom: 36px; }
.hero-dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }

/* 6. Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
section { padding: var(--section-pad) 0; }
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 560px; }
.section-header.centered p { margin: 0 auto; }

/* 7. Stats Strip */
.stats-strip {
  padding: 40px 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 16px 12px; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; margin-top: 6px; display: block; }

/* 8. Purpose Section */
.purpose-section { background: var(--bg); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.purpose-text .section-label { margin-bottom: 8px; }
.purpose-text h2 { margin: 8px 0 20px; }
.purpose-text p { margin-bottom: 20px; }
.purpose-logo-inline {
  width: 26px; height: 26px;
  display: inline-block; vertical-align: middle;
  margin-right: 4px; margin-bottom: 2px;
  object-fit: contain;
}
.purpose-photo { border-radius: var(--radius-lg); overflow: hidden; }
.purpose-photo img { width: 100%; height: 480px; object-fit: cover; }

/* 9. Modalities */
.modalities-section { background: var(--bg-warm); }
.modalities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modality-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 14px;
  transition: all var(--transition);
}
.modality-card:hover { border-color: var(--brand); box-shadow: 0 4px 20px rgba(161,39,6,0.08); transform: translateY(-2px); }
.modality-icon {
  width: 42px; height: 42px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--brand);
}
.modality-icon svg { width: 20px; height: 20px; }
.modality-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 3px; }
.modality-card p  { font-size: 0.81rem; color: var(--text-muted); line-height: 1.5; }

/* 10. Services Grid (Homepage) */
.services-section-home { position: relative; overflow: hidden; }
.services-watermark {
  position: absolute; top: 50%; right: -60px;
  transform: translateY(-50%);
  opacity: 0.035; pointer-events: none;
}
.services-watermark svg { width: 420px; height: 420px; }
.services-grid-home { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover { border-color: rgba(161,39,6,0.3); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand); transform: scaleX(0);
  transition: transform var(--transition); transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 50px; height: 50px;
  background: rgba(161,39,6,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); margin-bottom: 16px;
}
.service-card-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p  { font-size: 0.88rem; line-height: 1.65; margin-bottom: 20px; }
.service-link {
  font-family: var(--font-head);
  font-size: 0.84rem; font-weight: 600;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* 11. Approach Bento (Homepage) */
.approach-section { background: var(--bg-warm); }
.approach-bento {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 520px;
}
.approach-card {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background var(--transition);
}
.approach-card:hover { background: var(--brand-hover); }
.approach-card h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.approach-card p  { color: rgba(255,255,255,0.80); font-size: 0.83rem; line-height: 1.6; }
.approach-card-num {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: auto;
}
.approach-card-1 { grid-row: 1; grid-column: 1; }
.approach-card-2 { grid-row: 1; grid-column: 3; }
.approach-card-3 { grid-row: 2; grid-column: 1; }
.approach-card-4 { grid-row: 2; grid-column: 3; }
.approach-photo { grid-row: 1 / 3; grid-column: 2; border-radius: var(--radius-lg); overflow: hidden; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }

/* 12. Testimonials */
.testimonials-section { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.testimonial-card:hover { border-color: rgba(161,39,6,0.18); box-shadow: var(--shadow); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--brand); font-size: 0.9rem; }
.testimonial-text { font-size: 0.88rem; color: var(--text-muted); line-height: 1.72; margin-bottom: 4px; flex: 1; }
.testimonial-expand {
  background: none; border: none;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  color: var(--brand); cursor: pointer; padding: 8px 0 12px; display: block; text-align: left;
}
.testimonial-author {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--brand);
  flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; color: var(--text); display: block; }
.testimonial-role { font-size: 0.76rem; color: var(--text-muted); }
.testimonials-more { text-align: center; margin-top: 36px; }
.hidden-row { display: none; }

/* 13. Director */
.director-section { background: var(--bg-warm); }
.director-grid { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
.director-photo { border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 100px; }
.director-photo img { width: 100%; height: 540px; object-fit: cover; object-position: top center; }
.director-content .section-label { margin-bottom: 8px; }
.director-content h2 { margin: 4px 0 20px; }
.director-content p { margin-bottom: 14px; }
.director-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.director-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-light);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; color: var(--brand);
}
.director-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* 14. FAQ Section */
.faq-section { background: var(--bg); }
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.faq-cta-card {
  background: var(--brand);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #fff;
  position: sticky; top: 100px;
}
.faq-cta-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; color: #fff;
}
.faq-cta-icon svg { width: 22px; height: 22px; }
.faq-cta-card h3 { color: #fff; font-size: 1.25rem; line-height: 1.3; margin-bottom: 20px; }
.faq-cta-card .btn {
  width: 100%; justify-content: center;
  background: rgba(255,255,255,0.14);
  color: #fff; border: 1.5px solid rgba(255,255,255,0.35);
  margin-bottom: 12px;
}
.faq-cta-card .btn:hover { background: rgba(255,255,255,0.24); }
.faq-cta-email { font-size: 0.8rem; color: rgba(255,255,255,0.72); text-align: center; display: block; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-head); font-size: 0.96rem; font-weight: 600; color: var(--text);
  background: none; border: none; width: 100%; text-align: left; gap: 20px;
  transition: color var(--transition);
}
.faq-question:hover, .faq-question.open { color: var(--brand); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-warm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem; color: var(--brand); font-weight: 400;
  transition: all var(--transition);
}
.faq-question.open .faq-icon { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 20px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; max-width: 560px; }
.faq-answer.open { display: block; }

/* 15. "Lets Explore" CTA */
.explore-section { background: var(--bg-warm); text-align: center; padding: 80px 0 0; }
.explore-section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.explore-section h2 span { color: var(--brand); }
.explore-arrow-wrap { padding: 40px 0 0; }
.explore-arrow-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  transition: all var(--transition);
}
.explore-arrow-btn:hover { background: var(--brand-hover); transform: scale(1.06); }
.explore-arrow-btn svg { width: 20px; height: 20px; }
.explore-gallery { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.explore-gallery-item { aspect-ratio: 4/3; overflow: hidden; }
.explore-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.explore-gallery-item:hover img { transform: scale(1.04); }

/* 16. Footer */
.site-footer { background: var(--bg); padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: flex-end; margin-bottom: 40px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--brand); color: var(--brand); }
.footer-social a svg { width: 15px; height: 15px; }
.footer-grid { display: grid; grid-template-columns: 220px 1fr 220px; gap: 48px; margin-bottom: 48px; }
.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand-logo img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-head); font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); line-height: 1.3;
}
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); }
.footer-nav h5, .footer-info h5 {
  font-family: var(--font-head); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 0.86rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--brand); }
.footer-nav a::before { content: '→'; color: var(--brand); font-size: 0.78rem; }
.footer-info ul { display: flex; flex-direction: column; gap: 12px; }
.footer-info li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }
.footer-info li a:hover { color: var(--brand); }
.footer-info-icon { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.76rem; color: var(--text-muted);
}
.footer-edenic { color: var(--brand); font-weight: 600; }

/* 17. Page Hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 52vh;
  display: flex; align-items: flex-end;
  background: var(--bg-dark);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,16,9,0.72) 0%, rgba(28,16,9,0.4) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 130px 40px 72px;
  color: #fff;
}
.page-hero-content h1 { color: #fff; }
.page-hero-content p { color: rgba(255,255,255,0.80); max-width: 520px; margin: 14px 0 28px; }

/* 18. Services Page */
.services-layout { display: grid; grid-template-columns: 248px 1fr; gap: 48px; align-items: start; }
.services-sidebar { position: sticky; top: 100px; }
.services-sidebar h5 {
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.service-nav-link {
  display: block; padding: 11px 14px;
  border-radius: var(--radius);
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 500;
  color: var(--text-muted); transition: all var(--transition);
  margin-bottom: 2px; cursor: pointer; border: none; background: none;
  width: 100%; text-align: left;
  border-left: 3px solid transparent;
}
.service-nav-link:hover { color: var(--brand); background: var(--brand-light); }
.service-nav-link.active { color: var(--brand); background: var(--brand-light); border-left-color: var(--brand); font-weight: 600; }
.service-panel { display: none; animation: fadeUp 0.3s ease; }
.service-panel.active { display: block; }
.service-panel-header { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; margin-bottom: 28px; }
.service-panel-photo { border-radius: var(--radius-lg); overflow: hidden; }
.service-panel-photo img { width: 100%; height: 290px; object-fit: cover; }
.service-panel h2 { font-size: 1.9rem; margin-bottom: 14px; }
.service-panel-intro { font-size: 0.97rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.view-details-btn {
  background: none; border: 2px solid var(--brand);
  color: var(--brand); font-family: var(--font-head); font-size: 0.86rem; font-weight: 600;
  padding: 9px 20px; border-radius: var(--radius-pill); cursor: pointer;
  transition: all var(--transition);
}
.view-details-btn:hover { background: var(--brand); color: #fff; }
.service-details { display: none; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); animation: fadeUp 0.3s ease; }
.service-details.open { display: block; }
.service-details h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 10px; color: var(--text); margin-top: 20px; }
.service-details h4:first-child { margin-top: 0; }
.service-details p  { font-size: 0.9rem; line-height: 1.78; margin-bottom: 14px; }
.service-details ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.service-details ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.service-details ul li::before {
  content: '';
  display: block; width: 18px; height: 18px; flex-shrink: 0;
  background: var(--brand-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23A12706' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}
.service-price-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light); border-radius: var(--radius);
  padding: 10px 16px;
  font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; color: var(--brand);
  margin-bottom: 20px;
}

/* 19. Our Approach page */
.values-section { background: var(--bg); }
.values-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.values-header { margin-bottom: 36px; }
.value-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0; cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.value-item:first-child { border-top: 1px solid var(--border); }
.value-check { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); opacity: 0.3; transition: opacity var(--transition); }
.value-item.active .value-check { opacity: 1; }
.value-item h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 500; color: var(--text-muted); transition: all var(--transition); }
.value-item.active h4 { font-weight: 700; color: var(--text); }
.value-item:hover h4 { color: var(--text); }
.values-display { position: sticky; top: 120px; }
.value-panel { display: none; border-radius: var(--radius-lg); overflow: hidden; position: relative; animation: fadeUp 0.35s ease; }
.value-panel.active { display: block; }
.value-panel img { width: 100%; height: 430px; object-fit: cover; }
.value-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.76) 0%, transparent 100%);
  padding: 36px 24px 22px;
  color: #fff; font-size: 0.87rem; line-height: 1.66;
}

.evidence-section { background: var(--bg-warm); }
.evidence-layout { display: grid; grid-template-columns: 360px 1fr; gap: 72px; align-items: start; }
.evidence-photo { border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 120px; }
.evidence-photo img { width: 100%; height: 480px; object-fit: cover; }
.evidence-principles { display: flex; flex-direction: column; gap: 28px; }
.principle-item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; }
.principle-number {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.principle-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.principle-item p  { font-size: 0.87rem; line-height: 1.72; }

/* 20. Contact Page */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h2 { margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-info-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--text-muted); }
.contact-info-item a:hover { color: var(--brand); }
.contact-form-wrap h2 { margin-bottom: 24px; }
.contact-submit-btn {
  width: 100%; padding: 15px;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition); letter-spacing: 0.02em;
}
.contact-submit-btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.contact-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* 21. Referrals Page */
.referral-form-section { background: var(--bg-warm); }
.referral-intro { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.referral-intro h2 { margin-bottom: 14px; }
.referral-form-card {
  background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; max-width: 740px; margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-section-hdr {
  background: var(--brand); color: #fff; padding: 14px 28px;
  font-family: var(--font-head); font-size: 0.88rem; font-weight: 600;
}
.form-section-body { padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; color: #374151; }
.form-group input, .form-group select, .form-group textarea {
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 11px 15px;
  width: 100%; transition: border-color 0.18s, box-shadow 0.18s; outline: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(161,39,6,0.09);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #BBBBBB; }
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-required { color: var(--brand); }
.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-group label, .radio-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-muted); cursor: pointer;
}
.checkbox-group input, .radio-group input { width: 16px; height: 16px; accent-color: var(--brand); flex-shrink: 0; }
.yn-group { display: flex; gap: 20px; }
.yn-group label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.other-text-input { display: none; margin-top: 8px; margin-left: 26px; }
.other-text-input.show { display: block; }
.other-text-input input {
  font-family: var(--font-body); font-size: 0.88rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 7px 12px; width: 100%; outline: none;
}
.other-text-input input:focus { border-color: var(--brand); }
.referral-submit-wrap { padding: 24px 28px; border-top: 1px solid var(--border); }
.referral-submit-btn {
  width: 100%; padding: 15px;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
}
.referral-submit-btn:hover { background: var(--brand-hover); transform: translateY(-1px); }
.referral-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* 22. Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-warm); border: 1px solid var(--border); transition: all var(--transition); display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img-wrap { overflow: hidden; height: 200px; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 22px; }
.blog-card-date { font-size: 0.76rem; color: var(--text-light); margin-bottom: 8px; }
.blog-card-title { font-family: var(--font-head); font-size: 0.98rem; font-weight: 700; line-height: 1.35; color: var(--text); margin-bottom: 8px; transition: color var(--transition); }
.blog-card:hover .blog-card-title { color: var(--brand); }
.blog-card-excerpt { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; }

/* Blog post */
.blog-post-wrap { max-width: 720px; margin: 0 auto; padding: var(--section-pad) 0; }
.blog-post-wrap .section-label { margin-bottom: 12px; }
.blog-post-wrap h1 { margin-bottom: 14px; }
.blog-post-date { font-size: 0.86rem; color: var(--text-light); margin-bottom: 40px; display: block; }
.blog-post-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 48px; }
.blog-post-body p { margin-bottom: 20px; line-height: 1.82; font-size: 1rem; }
.blog-post-body h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.blog-post-body h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.blog-post-body ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.blog-post-body li { font-size: 0.95rem; line-height: 1.7; }
.blog-post-nav { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); margin-top: 16px; }
.blog-post-nav a { font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; color: var(--brand); }

/* 23. 404 */
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.not-found h1 { font-size: clamp(3rem, 8vw, 6rem); color: var(--brand); }
.not-found h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 16px 0 12px; }
.not-found p { margin-bottom: 32px; }

/* 24. Scroll Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 25. Responsive */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .approach-bento { grid-template-columns: 1fr 240px 1fr; }
  .director-grid { grid-template-columns: 340px 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 180px 1fr 200px; gap: 32px; }
  .evidence-layout { grid-template-columns: 300px 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .site-nav { width: calc(100% - 32px); top: 14px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-text { display: none; }
  .container { padding: 0 20px; }
  .hero-content { padding: 100px 20px 64px; }
  .page-hero-content { padding: 100px 20px 56px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .purpose-grid { grid-template-columns: 1fr; gap: 36px; }
  .purpose-photo img { height: 320px; }
  .modalities-grid { grid-template-columns: 1fr 1fr; }
  .services-grid-home { grid-template-columns: 1fr; }
  .approach-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
  .approach-photo { grid-column: 1/3; grid-row: 1; }
  .approach-photo img { height: 260px; }
  .approach-card-1 { grid-row: 2; grid-column: 1; }
  .approach-card-2 { grid-row: 2; grid-column: 2; }
  .approach-card-3 { grid-row: 3; grid-column: 1; }
  .approach-card-4 { grid-row: 3; grid-column: 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .director-grid { grid-template-columns: 1fr; gap: 32px; }
  .director-photo { position: static; }
  .director-photo img { height: 380px; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-cta-card { position: static; }
  .explore-gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .services-layout { grid-template-columns: 1fr; }
  .services-sidebar { position: static; display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
  .service-nav-link { border-left: none; border-bottom: 3px solid transparent; flex: none; }
  .service-nav-link.active { border-bottom-color: var(--brand); border-left: none; }
  .service-panel-header { grid-template-columns: 1fr; }
  .values-layout { grid-template-columns: 1fr; gap: 40px; }
  .values-display { position: static; }
  .evidence-layout { grid-template-columns: 1fr; gap: 40px; }
  .evidence-photo { position: static; }
  .evidence-photo img { height: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --section-pad: 48px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.8rem; }
  .modalities-grid { grid-template-columns: 1fr; }
  .approach-bento { grid-template-columns: 1fr; }
  .approach-photo { grid-column: 1; }
  .approach-card-1,.approach-card-2,.approach-card-3,.approach-card-4 { grid-column: 1; grid-row: auto; }
  .blog-grid { grid-template-columns: 1fr; }
  .explore-gallery { grid-template-columns: 1fr; }
}
