/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --off-white: #FAFBF9;
  --cream: #F5F7F0;
  --green-deep: #2D4A3E;
  --green-mid: #4A7C59;
  --green-light: #7BB68A;
  --green-pale: #C5E0CB;
  --green-wash: #E8F3EA;
  --yellow-rich: #E8A817;
  --yellow-bright: #F5C518;
  --yellow-light: #FCEAB0;
  --yellow-pale: #FFF8E1;
  --text-dark: #1A2E25;
  --text-mid: #3D5A4A;
  --text-light: #6B8A76;
  --shadow-sm: 0 2px 8px rgba(45,74,62,0.06);
  --shadow-md: 0 8px 32px rgba(45,74,62,0.08);
  --shadow-lg: 0 16px 48px rgba(45,74,62,0.12);
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45,74,62,0.06);
}

.nav.scrolled {
  padding: 10px 40px;
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  height: 52px;
  transition: var(--transition);
}

.nav.scrolled .nav-logo {
  height: 42px;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 10px 22px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--green-deep);
  background: var(--green-wash);
}

.nav-link.active {
  color: var(--green-deep);
  background: var(--green-wash);
  font-weight: 600;
}

.nav-cta {
  padding: 10px 28px;
  border: 2px solid var(--green-mid);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-mid);
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition);
  margin-left: 12px;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--green-mid);
  color: var(--white);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== SVG WAVE DIVIDERS ===== */
.wave-divider {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

.wave-divider.flip {
  transform: scaleY(-1);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(74,124,89,0.3);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,124,89,0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--green-mid);
  border: 2px solid var(--green-pale);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--green-mid);
  background: var(--green-wash);
}

/* ===== SHARED SECTION STYLES ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--green-wash);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--yellow-bright);
  border-radius: 50%;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.8;
  font-weight: 300;
}

/* ===== HERO (HOME) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 40px 80px;
  background: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(245,197,24,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 320px;
  max-width: 80vw;
  margin-bottom: 32px;
  animation: floatIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 24px;
  animation: fadeUp 1s 0.3s both;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeUp 1s 0.5s both;
}

.hero-headline .accent {
  background: linear-gradient(135deg, var(--yellow-rich), var(--yellow-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 620px;
  margin: 0 auto 44px;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeUp 1s 0.7s both;
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.9s both;
}

/* ===== PILLARS SECTION ===== */
.pillars-section {
  padding: 80px 40px 100px;
  background: var(--cream);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid rgba(45,74,62,0.04);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--yellow-bright));
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.pillar-icon.mental { background: linear-gradient(135deg, var(--green-wash), var(--green-pale)); }
.pillar-icon.financial { background: linear-gradient(135deg, var(--yellow-pale), var(--yellow-light)); }
.pillar-icon.physical { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.pillar-icon.legal { background: linear-gradient(135deg, #F0F4E8, #DCE5CC); }

.pillar-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: 100px 40px;
  background: var(--white);
  text-align: center;
}

.mission-inner {
  max-width: 800px;
  margin: 0 auto;
}

.mission-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.5;
  position: relative;
  padding: 0 20px;
}

.mission-quote::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: -10px;
  font-size: 120px;
  color: var(--yellow-light);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}

.mission-quote::after {
  content: '\201D';
  position: absolute;
  bottom: -60px;
  right: 20px;
  font-size: 120px;
  color: var(--yellow-light);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}

.mission-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow-rich), var(--green-light));
  margin: 32px auto;
  border-radius: 2px;
}

.mission-attribution {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--green-wash);
  padding: 60px 40px 80px;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 80px;
  background: linear-gradient(180deg, var(--green-wash) 0%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-text {
  position: relative;
  z-index: 2;
}

.about-hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 16px auto 0;
  font-weight: 300;
  line-height: 1.8;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 100px;
}

.about-section {
  margin-bottom: 64px;
}

.about-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 24px;
}

.about-section p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-founder-role {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 20px;
}

.about-highlight {
  background: linear-gradient(135deg, var(--yellow-pale), var(--cream));
  border-left: 4px solid var(--yellow-rich);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}

.about-highlight p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.7;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow-bright), var(--green-light), var(--green-mid));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 8px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 3px solid var(--green-mid);
  border-radius: 50%;
}

.timeline-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.timeline-item .year {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow-rich);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 40px 80px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  text-align: center;
}

.contact-hero-sub {
  font-size: 18px;
  color: var(--text-light);
  max-width: 550px;
  margin: 16px auto 0;
  font-weight: 300;
  line-height: 1.8;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-wash);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 15px;
  color: var(--text-mid);
}

.contact-detail-text strong {
  display: block;
  color: var(--green-deep);
  font-weight: 600;
  margin-bottom: 2px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,74,62,0.04);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--green-pale);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(74,124,89,0.08);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(74,124,89,0.25);
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(74,124,89,0.35);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 40px 30px;
}

.footer-wave-top {
  background: var(--green-wash);
}

.footer-wave-top svg {
  display: block;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 16px;
  max-width: 360px;
}

.footer-logo {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer h4 {
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--yellow-bright);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-content { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav { padding: 12px 20px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(45,74,62,0.08);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero-logo { width: 240px; }
  .pillars-section { padding: 60px 24px 80px; }
  .about-content { padding: 0 24px 60px; }
  .contact-content { padding: 0 24px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .footer { padding: 40px 24px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}