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

:root {
  /* Original palette – preserved */
  --sage:       #526243;
  --sage-dark:  #3d4a32;
  --sage-light: #6b7f58;
  --tan:        #d8d6b0;
  --tan-light:  #e8e6d0;
  --cream:      #f8f5f0;
  --cream-dark: #f0ece4;
  --teal:       #066aab;
  --teal-dark:  #05578d;
  --white:      #ffffff;
  --text:       #2c2c2c;
  --text-light: #5a5a5a;
  --border:     #e0ddd5;

  /* NEW accent colors */
  --coral:      #c4705a;
  --gold:       #b8943e;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container:   1200px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 2.25rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .3s var(--ease);
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(82, 98, 67, .2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82, 98, 67, .35);
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 98, 67, .2);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
}
.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 106, 171, .3);
}

.btn-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* White button for dark backgrounds */
.btn-white {
  background: var(--white);
  color: var(--sage-dark);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,.25);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all .4s var(--ease);
}

.navbar.scrolled {
  background: rgba(248, 245, 240, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: .75rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--sage);
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color .3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage);
  transition: width .3s var(--ease);
}

.nav-links a:hover { color: var(--sage); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: .6rem 1.5rem !important;
  background: linear-gradient(135deg, #d4764e, #c4605a) !important;
  color: var(--white) !important;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(212, 118, 78, .3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 4px 16px rgba(212, 118, 78, .45); color: var(--white); transform: translateY(-1px); }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sage);
  transition: all .3s var(--ease);
}

/* ===== ILLUSTRATION BANNER (shared) ===== */
.illust-banner {
  background: url('../images/background-original.jpg') center / cover no-repeat;
  pointer-events: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 2rem;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-dark) 40%, var(--tan-light) 100%);
  position: relative;
  overflow: hidden;
}

/* Top illustration strip */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: url('../images/background-original.jpg') top center / 140% auto no-repeat;
  opacity: .18;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

/* Bottom illustration strip (flipped) */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('../images/background-original.jpg') bottom center / 140% auto no-repeat;
  opacity: .12;
  transform: scaleY(-1);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

/* Floating decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-shape--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(82, 98, 67, .08) 0%, transparent 70%);
}

.hero-shape--2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(196, 112, 90, .08) 0%, transparent 70%);
}

.hero-shape--3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 25%;
  background: radial-gradient(circle, rgba(184, 148, 62, .06) 0%, transparent 70%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 560px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.25rem;
  background: var(--sage-dark);
  border: none;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--tan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge--accent {
  background: linear-gradient(135deg, var(--coral), #d4876e);
}

.hero-badge--accent .dot {
  background: rgba(255,255,255,.6);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--sage-dark);
  letter-spacing: -.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sage) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Colored accent shape behind card */
.hero-card-stack::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--tan), var(--tan-light));
  transform: rotate(15deg);
  z-index: -1;
  opacity: .6;
}

.hero-card-stack::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -15px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196, 112, 90, .2), rgba(196, 112, 90, .05));
  z-index: -1;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
  border: 1px solid rgba(255,255,255,.8);
}

.hero-card .stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(160deg, var(--sage-dark) 0%, var(--sage) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* Faint illustration texture behind each stat */
.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/background-original.jpg') center / 300% auto no-repeat;
  opacity: .06;
  filter: brightness(3) grayscale(.5);
  pointer-events: none;
}

.stat-item:nth-child(1)::before { background-position: 0% 0%; }
.stat-item:nth-child(2)::before { background-position: 100% 0%; }
.stat-item:nth-child(3)::before { background-position: 0% 100%; }
.stat-item:nth-child(4)::before { background-position: 100% 100%; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--white);
  position: relative;
  line-height: 1;
}

.stat-label {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  position: relative;
}

.hero-card .card-tagline {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.hero-floating-badge {
  position: absolute;
  bottom: -2.5rem;
  right: -1rem;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  border-radius: 16px;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 12px 32px rgba(6, 106, 171, .35);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.hero-floating-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SECTION DIVIDER — illustration strip ===== */
.section-divider {
  width: 100%;
  height: 80px;
  background: url('../images/background-original.jpg') center / 120% auto no-repeat;
  position: relative;
  overflow: hidden;
}

.section-divider--sage {
  filter: sepia(.4) saturate(.6) hue-rotate(60deg);
  opacity: .35;
}

.section-divider--warm {
  filter: sepia(.3) saturate(.5) hue-rotate(10deg) brightness(1.05);
  opacity: .3;
  transform: scaleX(-1);
}

.section-divider--teal {
  filter: sepia(.5) saturate(.5) hue-rotate(160deg);
  opacity: .25;
}

.section-divider--muted {
  filter: grayscale(.4) brightness(1.1);
  opacity: .2;
  transform: scaleX(-1) scaleY(-1);
}

/* ===== ABOUT / PHILOSOPHY ===== */
.about {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Decorative illustration behind the quote card */
.about-card::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -20px;
  right: -20px;
  height: 100px;
  background: url('../images/background-original.jpg') bottom center / 130% auto no-repeat;
  opacity: .1;
  filter: sepia(.4) saturate(.5) hue-rotate(60deg);
  pointer-events: none;
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}

/* Bold accent shape behind card */
.about-visual::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  opacity: .15;
  transform: rotate(-10deg);
  z-index: -1;
}

.about-card .quote {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--sage);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.about-card .quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--sage);
  opacity: .15;
  line-height: 0;
  display: block;
  margin-bottom: .75rem;
}

.about-card .attribution {
  font-size: .85rem;
  color: var(--text-light);
  font-style: italic;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 2rem;
}

.value-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .75rem 1rem;
  min-height: 48px;
  background: var(--white);
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sage);
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.value-chip:hover {
  border-color: var(--sage-light);
  box-shadow: 0 4px 12px rgba(82, 98, 67, .1);
  transform: translateY(-2px);
}

.value-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--sage));
  flex-shrink: 0;
}

.about-text h2 { margin-bottom: 1.5rem; color: var(--sage-dark); }

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.about-text .highlight-box {
  background: linear-gradient(135deg, var(--cream) 0%, var(--tan-light) 100%);
  border-left: 4px solid var(--sage);
  padding: 1.5rem 1.75rem;
  border-radius: 0 16px 16px 0;
  margin: 2rem 0;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-pad) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Subtle illustration watermark behind services */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: -5%;
  width: 110%;
  height: 100%;
  background: url('../images/background-original.jpg') center / 100% auto no-repeat;
  opacity: .04;
  filter: sepia(.5) saturate(.3) hue-rotate(60deg);
  pointer-events: none;
}

.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.services-header .section-label { justify-content: center; }
.services-header h2 { margin-bottom: 1rem; color: var(--sage-dark); }
.services-header p  { color: var(--text-light); font-size: 1.05rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all .4s var(--ease);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Bold top accent bar — always visible */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
  transition: height .3s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.08);
  border-color: transparent;
}

.service-card:hover::before { height: 5px; }

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--tan-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: all .3s var(--ease);
  border: 1px solid var(--border);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(82, 98, 67, .15), rgba(82, 98, 67, .05));
  border-color: rgba(82, 98, 67, .2);
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: .75rem;
  color: var(--sage-dark);
}

.service-card p {
  font-size: .92rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .3s var(--ease);
}

.service-link:hover { gap: .7rem; }

/* ===== BOLD CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, var(--sage-light) 100%);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/background-original.jpg') center / 100% auto no-repeat;
  opacity: .06;
  filter: brightness(3) grayscale(.5);
  pointer-events: none;
}

/* Geometric accent shapes */
.cta-banner .shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner .shape--1 {
  width: 200px;
  height: 200px;
  top: -60px;
  right: 10%;
  border: 2px solid rgba(255,255,255,.1);
}

.cta-banner .shape--2 {
  width: 120px;
  height: 120px;
  bottom: -30px;
  left: 8%;
  background: rgba(255,255,255,.04);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--white);
  margin-bottom: .75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-banner p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== TEAM — DARK SECTION ===== */
.team {
  padding: var(--section-pad) 0;
  background: linear-gradient(165deg, var(--sage-dark) 0%, #2f3825 60%, #252e1d 100%);
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,.85);
}

/* Illustration accent */
.team::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/background-original.jpg') center / 100% auto no-repeat;
  opacity: .03;
  filter: brightness(3) grayscale(.5);
  pointer-events: none;
}

.team .container { position: relative; z-index: 1; }

.team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.team-header .section-label {
  color: var(--tan);
  justify-content: center;
}

.team-header .section-label::before {
  background: linear-gradient(90deg, var(--tan), var(--tan-light));
}

.team-header h2 { margin-bottom: 1rem; color: var(--white); }
.team-header p  { color: rgba(255,255,255,.65); font-size: 1.05rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all .4s var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.1);
  box-shadow: 0 20px 48px rgba(0,0,0,.15);
  border-color: rgba(255,255,255,.2);
}

.team-photo-wrap {
  width: 180px;
  height: 210px;
  border-radius: 20px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.15);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: all .4s var(--ease);
}

.team-card:hover .team-photo-wrap {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  border-color: rgba(255,255,255,.3);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dr. Erin — photo is zoomed out (arms crossed), need to zoom in on face */
.team-card:nth-child(1) .team-avatar {
  object-position: 55% 5%;
  transform: scale(1.35);
  transform-origin: 55% 12%;
}

/* Dr. Tessa — shows lots of torso, zoom into face area */
.team-card:nth-child(2) .team-avatar {
  object-position: 50% 0%;
  transform: scale(1.25);
  transform-origin: 50% 10%;
}

/* Salem — source photo is already a tight chest-up crop, so no additional zoom */
.team-card:nth-child(3) .team-avatar {
  object-position: 50% 15%;
  transform: none;
}

.team-card h3 { margin-bottom: .25rem; color: var(--white); }

.team-role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--tan);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.team-credentials {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  width: 100%;
  margin-top: auto;
}

.team-credentials span {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  padding: .45rem .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
}

/* ===== FAQ ===== */
.faq {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.faq .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.faq-intro h2 { margin-bottom: 1rem; color: var(--sage-dark); }
.faq-intro p  { color: var(--text-light); font-size: 1.05rem; margin-bottom: 2rem; }

/* Decorative accent in FAQ intro */
.faq-intro {
  position: relative;
}

.faq-intro::after {
  content: '?';
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: var(--font-heading);
  font-size: 12rem;
  line-height: 1;
  color: var(--sage);
  opacity: .04;
  pointer-events: none;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s var(--ease);
  border: 1px solid var(--border);
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.faq-item.active {
  border-color: var(--sage-light);
  box-shadow: 0 8px 24px rgba(82, 98, 67, .08);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.faq-question .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s var(--ease);
  font-size: .9rem;
  font-weight: 700;
  color: var(--sage);
}

.faq-item.active .faq-question .icon {
  background: linear-gradient(135deg, var(--sage), var(--sage-light));
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* ===== INLINE ILLUSTRATION DIVIDER (thin) ===== */
/* Removed the full-width banner — illustration is now woven into
   section backgrounds and divider strips instead */

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Illustration accent along top edge of contact */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: url('../images/background-original.jpg') center / 120% auto no-repeat;
  opacity: .4;
  filter: sepia(.4) saturate(.6) hue-rotate(60deg);
  pointer-events: none;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; color: var(--sage-dark); }
.contact-info > p { color: var(--text-light); margin-bottom: 2.5rem; font-size: 1.05rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}

.contact-detail:hover {
  border-color: var(--sage-light);
  box-shadow: 0 4px 16px rgba(82, 98, 67, .06);
  transform: translateX(4px);
}

.contact-detail .detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  border: 2px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  color: var(--text);
  margin-bottom: .15rem;
}

.contact-detail p, .contact-detail a {
  font-size: .9rem;
  color: var(--text-light);
}

.contact-detail a:hover { color: var(--sage); }

.contact-form-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Illustration accent on the contact form */
.contact-form-card::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: -10px;
  width: 200px;
  height: 80px;
  background: url('../images/background-original.jpg') right bottom / auto 100% no-repeat;
  opacity: .12;
  filter: sepia(.3) saturate(.4) hue-rotate(60deg);
  pointer-events: none;
  mask-image: radial-gradient(ellipse at bottom right, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at bottom right, black 20%, transparent 70%);
}

.contact-form-card h3 {
  margin-bottom: .5rem;
  color: var(--sage-dark);
}

.contact-form-card > p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: .95rem 1.15rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(82, 98, 67, .1);
}

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

.form-submit {
  margin-top: 1.5rem;
  grid-column: 1 / -1;
}

.form-hint {
  margin: -.5rem 0 0;
  font-size: .85rem;
  color: var(--text-light);
  font-style: italic;
}

.form-hint.is-invalid {
  color: #9f2d2d;
  font-style: normal;
  font-weight: 500;
}

.form-required {
  color: #9f2d2d;
  margin-left: 2px;
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c0392b;
  background: #fdf6f5;
}

.form-field-error {
  margin: .25rem 0 0;
  font-size: .8rem;
  color: #9f2d2d;
  min-height: 0;
}

.form-field-error:not(:empty) {
  min-height: 1rem;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  margin: .25rem 0 0;
  font-size: .9rem;
  color: var(--text-light);
}

.form-legal {
  grid-column: 1 / -1;
  margin: .5rem 0 0;
  font-size: .75rem;
  color: var(--text-light);
  line-height: 1.5;
}

.form-legal a {
  color: var(--sage);
  text-decoration: underline;
}

.form-status.is-success {
  color: var(--sage-dark);
}

.form-status.is-error {
  color: #9f2d2d;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--sage-dark);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Illustration at top of footer, light on dark */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: url('../images/background-original.jpg') top center / 130% auto no-repeat;
  opacity: .08;
  filter: brightness(2) grayscale(.6);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: .75rem;
}

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: .88rem;
  padding: .3rem 0;
  transition: color .2s var(--ease);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual       { order: -1; }
  .hero-card-stack    { max-width: 400px; margin: 0 auto; }
  .about .container   { grid-template-columns: 1fr; gap: 3rem; }
  .faq .container     { grid-template-columns: 1fr; gap: 2rem; }
  .contact .container { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid          { grid-template-columns: 1fr 1fr; }
  .footer-top         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links     { display: none; }
  .nav-toggle    { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    gap: 1rem;
  }

  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-shape { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .form-grid     { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .faq-intro::after { display: none; }
}

/* ===== 2026 HOMEPAGE REFRESH ===== */
:root {
  --sage: #678a6f;
  --sage-dark: #2f5b52;
  --sage-light: #8ab596;
  --tan: #f1d28d;
  --tan-light: #fbf1d8;
  --cream: #fff9f0;
  --cream-dark: #f7efdf;
  --teal: #3f9db1;
  --teal-dark: #2f8191;
  --white: #ffffff;
  --text: #24333a;
  --text-light: #5e7178;
  --border: #e8ddcd;
  --coral: #ef8d73;
  --gold: #dea74c;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

.home-page {
  background:
    radial-gradient(circle at top left, rgba(239, 141, 115, .13), transparent 26%),
    radial-gradient(circle at 82% 12%, rgba(63, 157, 177, .14), transparent 22%),
    linear-gradient(180deg, #fffaf3 0%, #fff6ea 40%, #fffdf8 100%);
}

.home-page .navbar {
  padding: 1rem 0;
}

.home-page .navbar:not(.scrolled) .nav-logo {
  padding: .48rem 1rem .48rem .48rem;
  border-radius: 999px;
  background: rgba(255, 252, 247, .94);
  border: 1px solid rgba(47, 91, 82, .14);
  box-shadow:
    0 16px 38px rgba(33, 53, 61, .14),
    0 1px 0 rgba(255, 255, 255, .8) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #24473f;
}

.home-page .navbar.scrolled {
  background: rgba(255, 250, 243, .9);
  box-shadow: 0 10px 30px rgba(33, 53, 61, .08);
}

.home-page .nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .92),
    0 3px 12px rgba(255, 250, 243, .7);
}

.home-page .nav-logo .logo-icon {
  background: linear-gradient(135deg, #24473f 0%, #2f5b52 100%);
  border-radius: 16px;
  box-shadow:
    0 14px 28px rgba(36, 71, 63, .28),
    0 0 0 1px rgba(255, 255, 255, .2) inset;
}

.home-page .nav-links a {
  font-weight: 600;
}

.home-page .nav-cta {
  background: linear-gradient(135deg, #ef8d73, #dd735f) !important;
  box-shadow: 0 12px 24px rgba(239, 141, 115, .28);
}

.home-page .btn {
  font-weight: 700;
}

.home-page .btn-primary {
  background: linear-gradient(135deg, #ef8d73 0%, #f0af66 100%);
  box-shadow: 0 14px 28px rgba(239, 141, 115, .24);
}

.home-page .btn-outline {
  color: var(--sage-dark);
  border-color: rgba(47, 91, 82, .24);
  background: rgba(255, 255, 255, .55);
}

.home-page .hero {
  min-height: auto;
  padding: 9.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(241, 210, 141, .48), transparent 24%),
    radial-gradient(circle at 84% 24%, rgba(122, 184, 196, .22), transparent 18%),
    linear-gradient(180deg, #fffaf3 0%, #fff4e8 54%, #fffaf3 100%);
  isolation: isolate;
}

.home-page .hero::before,
.home-page .hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.home-page .hero::before {
  top: 1.5rem;
  right: clamp(1rem, 3vw, 2.5rem);
  width: min(32vw, 360px);
  height: 120px;
  border-radius: 28px;
  background: rgba(255, 253, 248, .88) url('../images/motif-strip.jpg') center / cover no-repeat;
  border: 1px solid rgba(47, 91, 82, .08);
  box-shadow: 0 18px 34px rgba(35, 52, 59, .07);
  transform: rotate(-4deg);
  opacity: .78;
}

.home-page .hero::after {
  left: -2.5rem;
  bottom: 1.75rem;
  width: min(26vw, 250px);
  height: min(26vw, 250px);
  border-radius: 50%;
  background: url('../images/motif-frame.jpg') left center / cover no-repeat;
  opacity: .12;
  filter: saturate(.92);
}

.home-page .hero-shape--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle, rgba(239, 141, 115, .16) 0%, transparent 68%);
}

.home-page .hero-shape--2 {
  width: 300px;
  height: 300px;
  bottom: -40px;
  left: -70px;
  background: radial-gradient(circle, rgba(63, 157, 177, .14) 0%, transparent 68%);
}

.home-page .hero-shape--3 {
  width: 180px;
  height: 180px;
  top: 14%;
  right: 38%;
  background: radial-gradient(circle, rgba(241, 210, 141, .34) 0%, transparent 70%);
}

.home-page .hero .container {
  gap: 4.5rem;
  align-items: center;
  z-index: 1;
}

.home-page .hero-content {
  max-width: 620px;
}

.home-page .hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1.25rem;
}

.home-page .hero-badge {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--sage-dark);
  letter-spacing: .06em;
  box-shadow: none;
}

.home-page .hero-badge--accent {
  color: #b85d4a;
}

.home-page .hero-badge .dot {
  width: 9px;
  height: 9px;
  background: rgba(222, 167, 76, .95);
  animation: none;
}

.home-page .hero-badge--accent .dot {
  background: rgba(239, 141, 115, .65);
}

.home-page .hero h1 {
  font-size: clamp(3.1rem, 6vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}

.home-page .hero h1 em {
  background: linear-gradient(135deg, #ef8d73 0%, #3f9db1 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.home-page .hero p {
  max-width: 560px;
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.trust-pill {
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(47, 91, 82, .1);
  box-shadow: 0 8px 18px rgba(34, 53, 60, .05);
  font-size: .84rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.home-page .hero-card-stack {
  max-width: 540px;
}

.home-page .hero-card-stack::before {
  width: 190px;
  height: 190px;
  top: -24px;
  right: -28px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(241, 210, 141, .92), rgba(239, 141, 115, .42));
}

.home-page .hero-card-stack::after {
  width: 120px;
  height: 120px;
  bottom: -20px;
  left: -14px;
  background: radial-gradient(circle, rgba(63, 157, 177, .32), rgba(63, 157, 177, .05));
}

.hero-card--playful {
  padding: 2rem;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 248, 239, .96)),
    var(--white);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 24px 60px rgba(35, 52, 59, .12);
}

.story-label {
  display: inline-flex;
  align-items: center;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(63, 157, 177, .12);
  color: var(--teal-dark);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-card--playful h3 {
  color: var(--sage-dark);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  margin-bottom: 1.2rem;
}

.story-grid {
  display: grid;
  gap: .85rem;
}

.story-item {
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(47, 91, 82, .08);
}

.story-item strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .98rem;
  color: var(--sage-dark);
}

.story-item span {
  display: block;
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.hero-card-footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
  margin-top: 1rem;
}

.mini-stat {
  padding: 1rem;
  border-radius: 18px;
  background: #f4f8f7;
  color: var(--sage-dark);
  border: 1px solid rgba(47, 91, 82, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.mini-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--sage-dark);
}

.mini-stat-label {
  display: block;
  margin-top: .35rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(47, 91, 82, .68);
}

.home-page .hero-floating-badge {
  right: -1.25rem;
  bottom: -1.5rem;
  background: #ffffff;
  color: var(--sage-dark);
  border-radius: 18px;
  border: 1px solid rgba(47, 91, 82, .1);
  box-shadow: 0 20px 40px rgba(35, 52, 59, .14);
}

.home-page .hero-floating-badge .badge-icon {
  background: #eef6f5;
}

.home-page .hero-floating-badge .badge-icon svg {
  stroke: var(--teal-dark);
}

.pathway {
  padding: 0 0 4.5rem;
}

.pathway .container {
  position: relative;
}

.pathway .container::before {
  content: '';
  display: block;
  width: 100%;
  height: 82px;
  margin: 0 0 1.75rem;
  border-radius: 28px;
  background: #fffdf8 url('../images/motif-strip.jpg') center / cover no-repeat;
  border: 1px solid rgba(47, 91, 82, .08);
  box-shadow: 0 16px 34px rgba(35, 52, 59, .05);
}

.pathway-intro {
  max-width: 620px;
  margin-bottom: 1.8rem;
}

.pathway-intro .section-label {
  justify-content: flex-start;
}

.pathway-intro h2 {
  color: var(--sage-dark);
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pathway-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(47, 91, 82, .08);
  box-shadow: 0 18px 34px rgba(35, 52, 59, .06);
}

.pathway-step {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ef8d73, #f0af66);
  color: var(--white);
  font-weight: 800;
}

.pathway-card h3 {
  margin-bottom: .6rem;
  color: var(--sage-dark);
}

.pathway-card p {
  color: var(--text-light);
  font-size: .92rem;
}

.home-page .about {
  background: linear-gradient(180deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .85));
}

.home-page .about-card {
  background: linear-gradient(180deg, #fffefb 0%, #fff4e8 100%);
  border-radius: 30px;
  box-shadow: 0 20px 42px rgba(35, 52, 59, .06);
}

.home-page .about-card::before {
  opacity: .16;
  filter: none;
}

.home-page .about-visual::before {
  width: 160px;
  height: 160px;
  top: -22px;
  left: -28px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(63, 157, 177, .26), rgba(239, 141, 115, .18));
}

.home-page .about-card .quote {
  font-size: 1.85rem;
}

.home-page .about-text .highlight-box {
  border-left: none;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(241, 210, 141, .32), rgba(255, 255, 255, .92));
  box-shadow: inset 0 0 0 1px rgba(222, 167, 76, .15);
}

.home-page .services {
  background:
    radial-gradient(circle at 10% 0%, rgba(63, 157, 177, .12), transparent 18%),
    linear-gradient(180deg, #fff5e8 0%, #fffdf8 100%);
}

.home-page .services::before {
  opacity: .03;
}

.home-page .services-header {
  margin-bottom: 3rem;
}

.service-eyebrow {
  margin-bottom: .55rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral);
}

.home-page .service-card {
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 16px 30px rgba(35, 52, 59, .04);
}

.home-page .service-card::before {
  height: 6px;
  background: linear-gradient(90deg, #ef8d73, #f0af66, #3f9db1);
}

.home-page .service-card:hover {
  transform: translateY(-8px) rotate(-.4deg);
}

.home-page .service-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7e8 0%, #ffe7d5 100%);
}

.home-page .cta-banner {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .18), transparent 18%),
    linear-gradient(135deg, #3a7f7d 0%, #3f9db1 45%, #ef8d73 100%);
  padding: 4.75rem 0;
}

.home-page .cta-banner::before {
  background: url('../images/motif-frame.jpg') center / cover no-repeat;
  opacity: .08;
  filter: saturate(.9) brightness(1.04);
}

.home-page .cta-banner .shape--1 {
  border-color: rgba(255, 255, 255, .16);
}

.home-page .team {
  background:
    radial-gradient(circle at top right, rgba(241, 210, 141, .16), transparent 22%),
    linear-gradient(180deg, #fffdf8 0%, #fff5eb 100%);
  color: var(--text);
}

.home-page .team::after {
  opacity: .025;
  filter: sepia(.3) saturate(.2);
}

.home-page .team-header .section-label {
  color: var(--coral);
}

.home-page .team-header .section-label::before {
  background: linear-gradient(90deg, #ef8d73, #f0af66);
}

.home-page .team-header h2 {
  color: var(--sage-dark);
}

.home-page .team-header p {
  color: var(--text-light);
}

.home-page .team-grid {
  gap: 1.5rem;
}

.home-page .team-card {
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(47, 91, 82, .08);
  box-shadow: 0 18px 34px rgba(35, 52, 59, .06);
}

.home-page .team-card:hover {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(63, 157, 177, .2);
}

.home-page .team-photo-wrap {
  border: 5px solid rgba(255, 244, 232, .96);
  box-shadow: 0 18px 28px rgba(35, 52, 59, .12);
}

.home-page .team-card h3 {
  color: var(--sage-dark);
}

.home-page .team-role {
  color: var(--coral);
}

.home-page .team-card p {
  color: var(--text-light);
}

.home-page .team-credentials span {
  color: var(--text-light);
  background: rgba(255, 247, 232, .9);
  border-color: rgba(222, 167, 76, .16);
}

.home-page .faq {
  background: linear-gradient(180deg, #fff9f0 0%, #fffdf9 100%);
}

.home-page .faq-item.active {
  border-color: rgba(63, 157, 177, .25);
  box-shadow: 0 16px 30px rgba(35, 52, 59, .06);
}

.home-page .faq-item.active .faq-question .icon {
  background: linear-gradient(135deg, #3f9db1, #52b0a5);
}

.home-page .contact {
  background:
    radial-gradient(circle at 88% 12%, rgba(239, 141, 115, .13), transparent 20%),
    linear-gradient(180deg, #fffefb 0%, #fff5e8 100%);
}

.home-page .contact::before {
  height: 84px;
  background: url('../images/motif-strip.jpg') center / cover no-repeat;
  opacity: .18;
  filter: saturate(.9);
}

.contact-reassurance {
  display: grid;
  gap: .75rem;
  margin: 0 0 1.8rem;
}

.reassurance-item {
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(47, 91, 82, .08);
  color: var(--sage-dark);
  font-size: .88rem;
  font-weight: 700;
}

.home-page .contact-detail {
  background: rgba(255, 255, 255, .82);
}

.home-page .contact-detail .detail-icon {
  background: linear-gradient(135deg, #fff8e7, #ffe8d4);
  border-color: rgba(239, 141, 115, .4);
}

.home-page .contact-detail .detail-icon svg {
  stroke: var(--coral);
}

.home-page .contact-form-card {
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 244, 232, .94));
  box-shadow: 0 24px 54px rgba(35, 52, 59, .08);
}

.home-page .form-group input:focus,
.home-page .form-group textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 141, 115, .14);
}

.home-page .footer {
  background:
    radial-gradient(circle at 80% 20%, rgba(239, 141, 115, .2), transparent 18%),
    linear-gradient(180deg, #254b49 0%, #203f3d 100%);
}

.home-page .footer::before {
  opacity: .03;
}

@media (max-width: 1024px) {
  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .home-page .hero .container {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .home-page .hero {
    padding: 8rem 0 3.5rem;
  }

  .home-page .hero::before {
    top: 1rem;
    right: 1rem;
    width: 180px;
    height: 64px;
    border-radius: 18px;
    opacity: .62;
  }

  .home-page .hero::after {
    width: 140px;
    height: 140px;
    left: -2.25rem;
    bottom: 1rem;
    opacity: .1;
  }

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

  .home-page .hero-floating-badge {
    position: static;
    margin-top: 1rem;
    width: fit-content;
  }

  .pathway {
    padding-bottom: 3.5rem;
  }

  .pathway .container::before {
    height: 62px;
    border-radius: 22px;
    margin-bottom: 1.25rem;
  }

  .home-page .nav-links.open {
    background: rgba(255, 250, 243, .96);
    backdrop-filter: blur(20px);
  }
}

/* ===== MOBILE OPTIMIZATION ===== */

/* Prevent any element from causing horizontal scroll on narrow screens */
html, body { overflow-x: clip; }

@media (max-width: 768px) {
  /* CSS Grid default min-width: auto lets items grow to their min-content width,
     which pushes the grid (and the body) wider than the viewport on mobile.
     Force shrink on all grid children in single-column layouts. */
  .hero .container > *,
  .about .container > *,
  .contact .container > *,
  .faq .container > *,
  .pathway-grid > *,
  .services-grid > *,
  .team-grid > *,
  .form-grid > *,
  .footer-top > *,
  .hero-card-stack,
  .about-card {
    min-width: 0;
  }

  /* Headings: break long words only when unavoidable, don't hyphenate */
  h1, h2, h3, h4 {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* Home hero H1 on mobile: 3.1rem min was too big for 390px viewports */
  .home-page .hero h1 {
    font-size: clamp(2.4rem, 8.5vw, 3.2rem);
    letter-spacing: -.03em;
  }

  .home-page .hero p {
    font-size: 1rem;
  }

  .home-page .hero-content { max-width: 100%; }

  /* Hero decorative shapes often overflow; let the hero clip them. */
  .hero { overflow: hidden; }

  /* Hero card stack decoratives clamp to card edges on mobile */
  .home-page .hero-card-stack::before {
    width: 110px;
    height: 110px;
    top: -18px;
    right: -12px;
  }

  .home-page .hero-card-stack::after {
    width: 80px;
    height: 80px;
    left: -8px;
    bottom: -14px;
  }

  /* Hero card padding feels cramped on phones */
  .hero-card--playful { padding: 1.5rem; border-radius: 24px; }
  .hero-card--playful h3 { font-size: 1.4rem; }

  /* About card — trim padding so content has room */
  .home-page .about-card { padding: 2rem 1.5rem; border-radius: 24px; }
  .home-page .about-card .quote { font-size: 1.35rem; line-height: 1.4; }
  .about-card .quote::before { font-size: 4.5rem; margin-bottom: .5rem; }
  .about-values { grid-template-columns: 1fr; gap: .5rem; margin-top: 1.5rem; }
  .value-chip { white-space: normal; min-height: 44px; font-size: .8rem; }
  .about-visual::before { display: none; }
  .home-page .about-visual::before { display: none; }

  /* About text sizing */
  .about-text h2 { font-size: clamp(1.75rem, 6.5vw, 2.2rem); }
  .about-text p { font-size: .98rem; }
  .about-text .highlight-box { padding: 1.1rem 1.25rem; font-size: .92rem; margin: 1.5rem 0; }

  /* Section headings */
  .services-header h2,
  .pathway-intro h2,
  .faq-intro h2,
  .contact-info h2,
  .team-header h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.3rem);
  }

  /* Services — card padding + heading size for readability */
  .home-page .service-card { padding: 1.5rem; border-radius: 22px; }
  .service-card h3 { font-size: 1.2rem; }

  /* Pathway cards */
  .pathway-card { padding: 1.35rem; border-radius: 20px; }
  .pathway-card h3 { font-size: 1.15rem; }
  .pathway .container::before { height: 56px; border-radius: 20px; margin-bottom: 1rem; }

  /* CTA banner */
  .cta-banner { padding: 3rem 0; }
  .cta-banner h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .cta-banner p { font-size: 1rem; }
  .cta-banner .shape--1 { width: 140px; height: 140px; top: -40px; right: -30px; }
  .cta-banner .shape--2 { width: 80px; height: 80px; left: -20px; }

  /* Team cards — shrink photo + padding */
  .team-card { padding: 2rem 1.5rem; border-radius: 22px; }
  .team-photo-wrap { width: 150px; height: 175px; border-radius: 18px; }

  /* FAQ */
  .faq-question { font-size: .95rem; padding: 1.1rem 1.25rem; }
  .faq-answer-inner { padding: 0 1.25rem 1.1rem; font-size: .9rem; }

  /* Contact form */
  .home-page .contact-form-card { padding: 1.75rem 1.5rem; border-radius: 22px; }
  .contact-form-card::after { display: none; }
  .contact-detail { padding: 1rem; gap: .85rem; }
  .contact-detail .detail-icon { width: 42px; height: 42px; border-radius: 12px; }

  /* Buttons get full-width rows where they stack */
  .hero-buttons .btn,
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .hero-buttons, .cta-buttons { width: 100%; }

  /* Footer tidy */
  .footer { padding: 3rem 0 1.25rem; }
  .footer-brand p { max-width: 100%; }

  /* Buttons: don't let long labels trigger horizontal scroll */
  .btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* Very narrow phones (e.g., iPhone SE ~375px and below) */
@media (max-width: 380px) {
  .home-page .hero h1 { font-size: 2.25rem; }
  .hero-card--playful { padding: 1.25rem; }
  .home-page .about-card { padding: 1.75rem 1.25rem; }
  .contact-detail .detail-icon { width: 40px; height: 40px; }
  .container { padding: 0 1rem; }
}
