/* =============================================================
   LUMIVEN CARE — styles.css
   Palette: Teal primary · Deep teal dark · Light surface · White
   Fonts:   Playfair Display + Inter
   ============================================================= */

/* ---------- VARIABLES ---------- */
:root {
  --c-primary:      #007A6E;   /* Lumiven teal */
  --c-primary-dark: #005A52;   /* deep teal — footer, dark sections */
  --c-primary-mid:  #26A69A;   /* mid teal — hover accents */
  --c-surface:      #F4F5F5;   /* neutral light gray — card & section bg */
  --c-text:         #0D1B2A;   /* near-black ink */
  --c-text-muted:   #52697A;
  --c-bg:           #FFFFFF;
  --c-border:       rgba(0, 122, 110, 0.15);

  --radius-pill: 9999px;
  --radius-card: 28px;
  --radius-img:  20px;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:  1200px;
  --nav-h:  80px;

  --shadow-sm:    0 2px 12px rgba(0, 90, 82, 0.08);
  --shadow-card:  0 4px 24px rgba(0, 90, 82, 0.12);
  --shadow-hover: 0 20px 60px rgba(0, 90, 82, 0.22);
  --ease-spring:  cubic-bezier(0.34, 1.06, 0.64, 1);
}

/* ---------- KEYFRAMES ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0    rgba(255,255,255,0.28); }
  70%  { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0    rgba(255,255,255,0); }
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: var(--font-sans); cursor: pointer; }

/* ---------- SKIP LINK ---------- */
.skip-link { position: absolute; left: -9999px; top: auto; z-index: 9999; }
.skip-link:focus {
  position: fixed; top: 0; left: 0;
  background: var(--c-primary); color: white;
  padding: 0.5rem 1.25rem; border-radius: 0 0 8px 0; font-weight: 600;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,90,82,0.14); }

.navbar {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: var(--nav-h); display: flex; align-items: center; gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 80px; width: auto;
  border-radius: 50%;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-logo:hover img {
  transform: scale(1.05);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--c-primary);
  line-height: 1.1;
  white-space: nowrap;
}
.brand-slogan {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  color: var(--c-text-muted);
  font-style: italic;
  white-space: nowrap;
}

.nav-pill {
  display: flex; align-items: center;
  background: var(--c-surface);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem; margin: 0 auto; gap: 0.1rem;
}
.nav-pill a {
  font-size: 0.875rem; font-weight: 500;
  padding: 0.45rem 0.95rem; border-radius: var(--radius-pill);
  color: var(--c-text);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-pill a:hover, .nav-pill a.active { background: var(--c-primary); color: white; }

.nav-cta {
  background: var(--c-primary); color: white;
  border-radius: var(--radius-pill); padding: 0.6rem 1.4rem;
  font-weight: 600; font-size: 0.875rem; white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,90,82,0.3);
}
.nav-staff {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; font-weight: 500; color: var(--c-text-muted);
  border: 1.5px solid var(--c-border); border-radius: var(--radius-pill);
  padding: 0.5rem 1rem; white-space: nowrap; flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-staff svg { width: 14px; height: 14px; stroke: currentColor; flex-shrink: 0; }
.nav-staff:hover { color: var(--c-primary); border-color: var(--c-primary); background: rgba(0,122,110,0.05); }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; padding: 6px;
  margin-left: auto; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   CHIPS
   ===================================================== */
.chip {
  display: inline-block; border-radius: var(--radius-pill);
  padding: 0.35rem 1rem; font-size: 0.825rem; font-weight: 600;
  letter-spacing: 0.01em; margin-bottom: 1.25rem;
}
/* All chip variants unified to teal family */
.chip-sage,
.chip-lavender,
.chip-cream,
.chip-green    { background: rgba(0,122,110,0.12); color: var(--c-primary); }
.chip-dark     { background: rgba(255,255,255,0.18); color: white; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-block; border-radius: var(--radius-pill);
  padding: 0.75rem 2rem; font-family: var(--font-sans);
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
  border: 2px solid transparent; text-align: center;
  transition: all 0.22s var(--ease-spring);
}
.btn:hover  { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,90,82,0.25); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn-primary       { background: var(--c-primary); color: white; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-outline       { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-outline:hover { background: var(--c-primary); color: white; }
.btn-outline-white       { border-color: white; color: white; background: transparent; }
.btn-outline-white:hover { background: white; color: var(--c-primary); }
.btn-sage       { background: var(--c-surface); color: var(--c-primary); }
.btn-sage:hover { background: var(--c-primary); color: white; }

.btn-submit {
  display: inline-block; background: var(--c-primary); color: white;
  border: none; border-radius: var(--radius-pill); padding: 0.8rem 2.5rem;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.22s var(--ease-spring);
}
.btn-submit:hover {
  background: var(--c-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,90,82,0.3);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  display: grid; grid-template-columns: 52% 48%;
  min-height: calc(100vh - var(--nav-h)); overflow: hidden;
}
.hero-card {
  background: var(--c-surface);
  padding: 5rem 3.5rem 5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 1;
}
/* Staggered entrance for hero card children */
.hero-card > *:nth-child(1) { animation: fadeUp 0.65s ease 0.05s both; }
.hero-card > *:nth-child(2) { animation: fadeUp 0.65s ease 0.18s both; }
.hero-card > *:nth-child(3) { animation: fadeUp 0.65s ease 0.32s both; }
.hero-card > *:nth-child(4) { animation: fadeUp 0.65s ease 0.46s both; }
.hero-card > *:nth-child(5) { animation: fadeUp 0.65s ease 0.60s both; }

.hero-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1; color: var(--c-primary); margin-bottom: 1rem;
}
.hero-sub { font-weight: 600; font-size: 1rem; color: var(--c-text); margin-bottom: 0.85rem; max-width: 440px; }
.hero-body { font-size: 0.9rem; color: var(--c-text-muted); margin-bottom: 2rem; max-width: 420px; line-height: 1.7; }

.hero-image { position: relative; overflow: hidden; animation: fadeIn 1s ease 0.2s both; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.hero-image:hover img { transform: scale(1.04); }

/* =====================================================
   ABOUT
   ===================================================== */
.section-about {
  background: var(--c-primary);
  padding: 6rem 0;
}
.about-grid { display: grid; grid-template-columns: 55% 45%; gap: 4rem; align-items: start; }
.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: white; line-height: 1.15; margin-bottom: 1.5rem;
}
.about-content p { color: rgba(255,255,255,0.85); font-size: 0.95rem; max-width: 460px; line-height: 1.7; }
.about-images { display: flex; flex-direction: column; gap: 0.85rem; }
.about-images img {
  border-radius: var(--radius-img); width: 100%; object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-images img:hover { transform: scale(1.02); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.about-images img:nth-child(1) { height: 200px; }
.about-images img:nth-child(2) { height: 150px; }
.about-images img:nth-child(3) { height: 190px; }

/* =====================================================
   SERVICES
   ===================================================== */
.section-services { background: var(--c-bg); padding: 6rem 0; }
.section-services h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--c-primary); margin-bottom: 3rem;
}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { display: flex; flex-direction: column; transition: transform 0.28s var(--ease-spring); }
.service-card:hover { transform: translateY(-10px); }

.service-card-img {
  border-radius: var(--radius-card); overflow: hidden;
  aspect-ratio: 4/3; margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s ease;
}
.service-card:hover .service-card-img { box-shadow: var(--shadow-hover); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.service-card:hover .service-card-img img { transform: scale(1.08); }

.service-card h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--c-primary); margin-bottom: 0.35rem; }
.service-card p  { font-size: 0.875rem; color: var(--c-text-muted); }

/* =====================================================
   BENEFITS / WHY LUMIVEN
   ===================================================== */
.section-benefits-intro {
  background: var(--c-primary);
  padding: 5rem 0 3rem;
}
.section-benefits-intro h2 { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.5vw, 3rem); color: white; margin-bottom: 1.25rem; }
.section-benefits-intro p  { color: rgba(255,255,255,0.82); max-width: 540px; font-size: 0.95rem; line-height: 1.7; }

.section-values {
  background: var(--c-primary);
  padding: 1rem 0 6rem;
}
.value-rows { display: flex; flex-direction: column; gap: 2.5rem; }
.value-row { display: flex; align-items: center; gap: 3rem; }
.value-row.flip .value-icon { order: 2; }
.value-row.flip .value-card { order: 1; }
.value-icon { flex: 0 0 200px; display: flex; align-items: center; justify-content: center; }
.icon-circle {
  width: 170px; height: 170px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  animation: pulse 3.5s ease-out infinite;
}
.icon-circle svg { width: 80px; height: 80px; }

.value-card {
  flex: 1; border-radius: var(--radius-card); padding: 2.75rem;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.value-card.lavender { background: white; }
.value-card.sage     { background: var(--c-surface); }
.value-card.cream    { background: white; }
.value-card h3 { font-family: var(--font-serif); font-size: 1.75rem; color: var(--c-primary); margin-bottom: 0.85rem; }
.value-card p  { font-size: 0.95rem; color: var(--c-text); line-height: 1.7; }

/* =====================================================
   TEAM
   ===================================================== */
.section-team { background: var(--c-surface); padding: 6rem 0; }
.section-team h2 { font-family: var(--font-serif); font-size: clamp(2rem, 3vw, 2.8rem); color: var(--c-primary); margin-bottom: 1rem; }
.team-intro { color: var(--c-text); max-width: 620px; font-size: 0.95rem; margin-bottom: 3rem; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { display: flex; flex-direction: column; transition: transform 0.28s var(--ease-spring); }
.team-card:hover { transform: translateY(-8px); }

.team-card-img {
  border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 1rem;
  position: relative;
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.team-card:hover .team-card-img img { transform: scale(1.06); }
/* Teal vignette overlay on hover */
.team-card-img::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-img);
  background: linear-gradient(to top, rgba(0,90,82,0.65) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.35s ease;
}
.team-card:hover .team-card-img::after { opacity: 1; }

.team-card h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--c-primary); margin-bottom: 0.2rem; }
.team-card p  { font-size: 0.8rem; color: var(--c-text-muted); }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.section-testimonials { background: var(--c-bg); padding: 6rem 0; }
.section-testimonials h2 { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.5vw, 3rem); color: var(--c-primary); margin-bottom: 3rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--c-surface); border-radius: var(--radius-card); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  border: 1px solid transparent;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease, border-color 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--c-border);
}
.testimonial-card blockquote { font-size: 0.9rem; font-style: italic; color: var(--c-text); line-height: 1.75; flex: 1; }
.testimonial-card cite { font-weight: 600; font-style: normal; font-size: 0.875rem; color: var(--c-primary); }

/* =====================================================
   CONTACT PREVIEW
   ===================================================== */
.section-contact-preview { position: relative; min-height: 620px; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact-overlay {
  position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem;
  display: flex; justify-content: flex-end; align-items: center; min-height: 620px;
}
.contact-form-card {
  background: white; border-radius: var(--radius-card); padding: 2.5rem;
  width: 460px; max-width: 100%; box-shadow: 0 20px 80px rgba(0,0,0,0.2);
}
.contact-form-card h2 { font-family: var(--font-serif); font-size: 1.85rem; color: var(--c-primary); margin-bottom: 1.5rem; }

/* =====================================================
   FORMS
   ===================================================== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-group label { font-size: 0.825rem; font-weight: 500; color: var(--c-text); }
.form-group .req { color: var(--c-primary); }
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid rgba(0,0,0,0.12); border-radius: 10px;
  padding: 0.65rem 0.9rem; font-family: var(--font-sans); font-size: 0.9rem;
  color: var(--c-text); background: white; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(0,122,110,0.14);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2352697A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.5rem;
}
.form-note { font-size: 0.78rem; color: var(--c-text-muted); margin-bottom: 1.25rem; font-style: italic; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; cursor: pointer; }
.radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; cursor: pointer; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--c-primary-dark); color: white; padding: 3.5rem 0 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.footer-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12); align-items: center;
}
.footer-wordmark { font-family: var(--font-serif); font-size: clamp(3rem, 5vw, 5rem); color: var(--c-surface); line-height: 0.9; }
.footer-newsletter h3 { font-size: 1rem; font-weight: 600; color: white; margin-bottom: 1rem; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
.newsletter-form input[type="email"] {
  width: 100%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); border-radius: 8px;
  padding: 0.65rem 1rem; font-family: var(--font-sans); font-size: 0.875rem; color: white;
  transition: border-color 0.2s, background 0.2s;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--c-primary-mid); background: rgba(255,255,255,0.12); }
.newsletter-checkbox { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.825rem; color: rgba(255,255,255,0.7); cursor: pointer; }
.newsletter-checkbox input { margin-top: 0.15rem; flex-shrink: 0; }
.newsletter-form .btn-submit { background: var(--c-primary-mid); color: white; padding: 0.65rem 2rem; }
.newsletter-form .btn-submit:hover { background: white; color: var(--c-primary); }

.footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding-top: 2rem; }
.footer-contact p { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 0.4rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.footer-links a, .footer-links p { font-size: 0.825rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--c-surface); }

/* =====================================================
   PAGE HERO (inner pages)
   ===================================================== */
.page-hero {
  background: var(--c-primary);
  padding: 5.5rem 0;
  overflow: hidden;
}
.page-hero .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.page-hero-content { min-width: 0; }
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: white; margin-bottom: 1rem; line-height: 1.15;
  animation: fadeUp 0.65s ease 0.1s both;
}
.page-hero p {
  color: rgba(255,255,255,0.82); max-width: 520px; font-size: 1rem; line-height: 1.7;
  animation: fadeUp 0.65s ease 0.25s both;
}
.page-hero .page-hero-actions {
  margin-top: 1.75rem; display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.65s ease 0.4s both;
}

/* Hero visual panel (right column) */
.page-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-stat-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.65s ease both;
}
.hero-stat-card:nth-child(1) { animation-delay: 0.2s; }
.hero-stat-card:nth-child(2) { animation-delay: 0.35s; }
.hero-stat-card:nth-child(3) { animation-delay: 0.5s; }
.hero-stat-card:nth-child(4) { animation-delay: 0.65s; }
.hero-stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-stat-icon svg { width: 22px; height: 22px; stroke: white; }
.hero-stat-text strong {
  display: block; color: white; font-size: 1rem; font-weight: 700; line-height: 1.2;
}
.hero-stat-text span {
  color: rgba(255,255,255,0.7); font-size: 0.825rem; line-height: 1.4;
}
.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-stat-mini {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  backdrop-filter: blur(8px);
  animation: fadeUp 0.65s ease both;
}
.hero-stat-mini:nth-child(1) { animation-delay: 0.2s; }
.hero-stat-mini:nth-child(2) { animation-delay: 0.35s; }
.hero-stat-mini strong {
  display: block; color: white; font-size: 1.6rem; font-weight: 800; line-height: 1.1;
}
.hero-stat-mini span {
  color: rgba(255,255,255,0.72); font-size: 0.8rem; margin-top: 0.25rem; display: block;
}

/* =====================================================
   GENERIC SECTION UTILITY
   ===================================================== */
.section { padding: 6rem 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section h2 { font-family: var(--font-serif); font-size: clamp(1.9rem, 3vw, 2.6rem); color: var(--c-primary); margin-bottom: 1rem; }
.section h2.on-dark { color: white; }
.section p.lead { font-size: 1rem; color: var(--c-text-muted); max-width: 600px; line-height: 1.75; margin-bottom: 2.5rem; }
.section p.lead.on-dark { color: rgba(255,255,255,0.82); }

/* Background utilities — all teal family */
.bg-cream    { background: var(--c-bg); }
.bg-sage     { background: var(--c-surface); }
.bg-lavender { background: var(--c-surface); }
.bg-primary  { background: var(--c-primary); }
.bg-white    { background: white; }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.leadership-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }

/* Generic cards */
.card {
  border-radius: var(--radius-card); padding: 2rem;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card.sage     { background: var(--c-surface); }
.card.lavender { background: var(--c-surface); }
.card.cream    { background: white; border: 1px solid var(--c-border); }
.card.white    { background: white; border: 1px solid rgba(0,0,0,0.07); }
.card h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--c-primary); margin-bottom: 0.6rem; }
.card p  { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.65; }

/* Icon card */
.icon-card {
  border-radius: var(--radius-card); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease;
}
.icon-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.icon-card .card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.icon-card:hover .card-icon { transform: scale(1.12) rotate(-5deg); }
.icon-card .card-icon svg { width: 26px; height: 26px; }
.icon-card h3 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--c-primary); margin: 0; }
.icon-card p  { font-size: 0.875rem; color: var(--c-text-muted); margin: 0; }

/* =====================================================
   FAQ ACCORDION (smooth max-height transition)
   ===================================================== */
.faq-list { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.1rem 0; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  color: var(--c-text); display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; cursor: pointer; transition: color 0.2s;
}
.faq-question:hover { color: var(--c-primary); }
.faq-question svg {
  flex-shrink: 0; width: 18px; height: 18px;
  color: var(--c-primary); transition: transform 0.3s ease;
}
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer {
  font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.75;
  max-height: 0; overflow: hidden; display: block; padding-bottom: 0;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
}
.faq-answer.open { max-height: 500px; padding-bottom: 1.25rem; }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  background: var(--c-primary);
  padding: 4.5rem 0; text-align: center;
}
.cta-banner h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: white; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 1rem; margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   APPLY PAGE
   ===================================================== */
.roles-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; }
.role-card {
  background: white; border: 1.5px solid var(--c-border); border-radius: var(--radius-card);
  padding: 1.75rem 2rem; display: flex; justify-content: space-between; align-items: center;
  gap: 2rem; transition: transform 0.28s var(--ease-spring), box-shadow 0.28s ease, border-color 0.25s;
}
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--c-primary-mid); }
.role-info h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--c-primary); margin-bottom: 0.25rem; }
.role-meta { font-size: 0.8rem; color: var(--c-text-muted); margin-bottom: 0.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.role-meta span { display: flex; align-items: center; gap: 0.25rem; }
.role-info p { font-size: 0.875rem; color: var(--c-text); max-width: 560px; line-height: 1.65; }

.requirements-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 2rem; }
.requirements-list li { font-size: 0.9rem; color: var(--c-text); display: flex; align-items: flex-start; gap: 0.5rem; }
.requirements-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-primary); flex-shrink: 0; margin-top: 0.55rem;
}

.apply-form-section { background: var(--c-surface); padding: 6rem 0; }
.apply-form-card {
  background: white; border-radius: var(--radius-card); padding: 3rem;
  box-shadow: var(--shadow-card); max-width: 760px; margin: 0 auto;
}
.apply-form-card h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--c-primary); margin-bottom: 0.5rem; }
.apply-form-card .form-subtitle { font-size: 0.875rem; color: var(--c-text-muted); margin-bottom: 2rem; }
.eeo-notice {
  text-align: center; padding: 2rem 1rem 0; font-size: 0.8rem; color: var(--c-text-muted); line-height: 1.7;
  border-top: 1px solid rgba(0,0,0,0.08); margin-top: 1.5rem;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info-block h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--c-primary); margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--c-surface); border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.25s, transform 0.25s;
}
.contact-detail:hover .contact-detail-icon { background: var(--c-primary); transform: scale(1.1); }
.contact-detail-icon svg { width: 20px; height: 20px; color: var(--c-primary); transition: color 0.25s; }
.contact-detail:hover .contact-detail-icon svg { color: white; }
.contact-detail-text strong { display: block; font-size: 0.8rem; color: var(--c-text-muted); margin-bottom: 0.15rem; }
.contact-detail-text span  { font-size: 0.95rem; color: var(--c-text); }
.contact-form-full { background: var(--c-surface); border-radius: var(--radius-card); padding: 2.5rem; }
.contact-form-full h3 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--c-primary); margin-bottom: 1.5rem; }

/* Glossary */
.glossary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.glossary-term {
  background: white; border-radius: 16px; padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--c-primary);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.glossary-term:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.glossary-term dt { font-weight: 700; font-size: 0.875rem; color: var(--c-primary); margin-bottom: 0.3rem; }
.glossary-term dd { font-size: 0.85rem; color: var(--c-text-muted); line-height: 1.6; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; transition: transform 0.28s var(--ease-spring); }
.step-card:hover { transform: translateY(-4px); }
.step-number {
  width: 48px; height: 48px; border-radius: 50%; background: var(--c-primary); color: white;
  font-family: var(--font-serif); font-size: 1.25rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover .step-number { transform: scale(1.15); box-shadow: 0 8px 24px rgba(0,90,82,0.35); }
.step-card h3 { font-family: var(--font-serif); font-size: 1.15rem; color: var(--c-primary); }
.step-card p  { font-size: 0.875rem; color: var(--c-text-muted); line-height: 1.65; }

/* =====================================================
   404
   ===================================================== */
.not-found {
  min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 4rem 2rem; background: var(--c-surface);
}
.not-found h1 { font-family: var(--font-serif); font-size: clamp(4rem, 10vw, 8rem); color: var(--c-primary); line-height: 1; margin-bottom: 0.5rem; }
.not-found h2 { font-family: var(--font-serif); font-size: 1.75rem; color: var(--c-primary); margin-bottom: 1rem; }
.not-found p  { color: var(--c-text-muted); margin-bottom: 2rem; max-width: 400px; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4    { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-images { flex-direction: row; gap: 0.75rem; overflow-x: auto; }
  .about-images img:nth-child(1),
  .about-images img:nth-child(2),
  .about-images img:nth-child(3) { height: 180px; min-width: 200px; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .glossary-grid { grid-template-columns: 1fr; }
  .requirements-list { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  /* ---- Nav ---- */
  .nav-pill {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--c-surface); border-radius: 0 0 20px 20px;
    flex-direction: column; align-items: stretch;
    padding: 1rem; gap: 0.25rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 100;
  }
  .nav-pill.open { display: flex; }
  .nav-pill a { padding: 0.7rem 1rem; border-radius: 10px; font-size: 0.9rem; }
  .nav-cta    { display: none; }
  .nav-staff  { padding: 0.45rem 0.6rem; gap: 0; font-size: 0; }
  .nav-staff svg { width: 18px; height: 18px; }
  .nav-toggle { display: flex; }
  .navbar     { position: relative; flex-wrap: wrap; padding: 0 1.25rem; }
  .nav-logo img { height: 56px; }
  .brand-slogan { display: none; }
  .brand-name   { font-size: 0.95rem; }

  /* ---- Global spacing ---- */
  .section                  { padding: 3.5rem 0; }
  .section-inner            { padding: 0 1.25rem; }
  .section-about            { padding: 3.5rem 0; }
  .section-services         { padding: 3.5rem 0; }
  .section-benefits-intro   { padding: 3rem 0 1.5rem; }
  .section-values           { padding: 0 0 3.5rem; }
  .section-team             { padding: 3.5rem 0; }
  .apply-form-section       { padding: 3.5rem 0; }
  .footer-inner             { padding: 0 1.25rem; }

  /* ---- Hero ---- */
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { height: 260px; order: -1; }
  .hero-card  { padding: 2.5rem 1.5rem; }
  .hero-card h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-sub  { font-size: 0.9rem; }
  .hero-body { font-size: 0.85rem; }

  /* ---- Page heroes ---- */
  .page-hero { padding: 3rem 0; }
  .page-hero .section-inner { grid-template-columns: 1fr; }
  .page-hero-visual { display: none; }
  .page-hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }

  /* ---- Content grids ---- */
  .services-grid     { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .grid-3            { grid-template-columns: 1fr; }
  .grid-2            { grid-template-columns: 1fr; }
  .steps-grid        { grid-template-columns: 1fr; }

  /* ---- Value section ---- */
  .value-row, .value-row.flip { flex-direction: column; }
  .value-icon { flex: none; width: 100%; }
  .icon-circle { width: 100px; height: 100px; }
  .icon-circle svg { width: 46px; height: 46px; }
  .value-card { padding: 1.75rem; }

  /* ---- Team ---- */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* ---- Contact preview ---- */
  .section-contact-preview { min-height: auto; }
  .contact-overlay { justify-content: center; min-height: auto; padding: 2.5rem 1.25rem; }
  .contact-form-card { width: 100%; }

  /* ---- Contact page form ---- */
  .contact-form-full { padding: 1.5rem; }
  .contact-page-grid { gap: 2rem; }

  /* ---- Apply form ---- */
  .apply-form-card { padding: 1.75rem 1.25rem; }

  /* ---- Leadership badge ---- */
  .leader-badge { transform: translate(8%, 20%); min-width: 82px; padding: 0.7rem 0.9rem; }
  .leader-badge strong { font-size: 1.4rem; }

  /* ---- Footer ---- */
  .footer-top    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { grid-template-columns: 1fr; gap: 1rem; }
  .footer-links  { align-items: flex-start; }
  .footer-wordmark { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  /* ---- Forms ---- */
  .form-row { grid-template-columns: 1fr; }
  .role-card { flex-direction: column; align-items: flex-start; }

  /* ---- Tab buttons scroll ---- */
  .tab-buttons { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 2px; }
  .tab-btn { white-space: nowrap; }

  /* ---- Cards ---- */
  .card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .section-inner    { padding: 0 1rem; }
  .footer-inner     { padding: 0 1rem; }
  .navbar           { padding: 0 1rem; }
  .brand-name       { display: none; }

  .team-grid        { grid-template-columns: 1fr; }
  .grid-4           { grid-template-columns: 1fr; }

  .hero-card        { padding: 2rem 1rem; }
  .hero-card h1     { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
  .hero-image       { height: 220px; }

  .page-hero        { padding: 2.5rem 0; }
  .page-hero h1     { font-size: clamp(1.75rem, 7vw, 2.2rem); }

  .apply-form-card  { padding: 1.25rem 1rem; }
  .contact-form-full { padding: 1.25rem; }
  .contact-form-card { padding: 1.5rem 1.25rem; }
  .value-card       { padding: 1.5rem; }

  .about-images     { flex-direction: column; }
  .about-images img:nth-child(1),
  .about-images img:nth-child(2),
  .about-images img:nth-child(3) { height: 200px; min-width: unset; }

  .cta-banner       { padding: 3rem 0; }
  .section          { padding: 3rem 0; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   LEADER PHOTO BADGE
   ===================================================== */
.leader-photo-wrap {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 420px;
  width: 100%;
}
.leader-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}
.leader-badge {
  position: absolute;
  bottom: 0; right: 0;
  transform: translate(25%, 25%);
  background: var(--c-primary);
  color: white;
  border-radius: 18px;
  padding: 0.9rem 1.15rem;
  text-align: center;
  min-width: 100px;
  box-shadow: 0 8px 28px rgba(0, 90, 82, 0.38);
}
.leader-badge strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
}
.leader-badge em {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.85;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =====================================================
   TAB SWITCHER (About / Services / Families)
   ===================================================== */
@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.tab-section { padding: 5rem 0; }

.tab-bar {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: 2.5rem;
}
.tab-btn {
  background: none; border: none; padding: 0.85rem 1.75rem;
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 600;
  color: var(--c-text-muted); cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.tab-btn:hover  { color: var(--c-primary); }
.tab-btn.active { color: var(--c-primary); border-bottom-color: var(--c-primary); }

.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: tabFadeIn 0.4s ease both;
}
.tab-panel .tab-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.tab-panel .tab-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}

/* Tab feature card (inside panels) */
.tab-feature {
  background: var(--c-surface); border-radius: var(--radius-card); padding: 2rem;
  height: 100%;
}
.tab-feature h3 { font-family: var(--font-serif); font-size: 1.25rem; color: var(--c-primary); margin-bottom: 0.75rem; }
.tab-feature p  { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.7; }
.tab-bullet { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.875rem; color: var(--c-text); margin-top: 0.65rem; }
.tab-bullet::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-primary); flex-shrink: 0; margin-top: 0.42rem;
}

.tab-highlight {
  border-left: 4px solid var(--c-primary);
  padding-left: 1.25rem; margin-top: 1.25rem;
}
.tab-highlight p { font-size: 0.9rem; color: var(--c-text); line-height: 1.7; font-style: italic; }

@media (max-width: 768px) {
  .tab-panel .tab-grid  { grid-template-columns: 1fr; gap: 1.5rem; }
  .tab-panel .tab-grid-3 { grid-template-columns: 1fr; }
  .tab-btn { padding: 0.65rem 1rem; font-size: 0.825rem; }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
