*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --vanilla: #F0E7D5;
  --cream: #F0E7D5;
  --warm-white: #f7efe3;
  --blue-light: #d4dae8;
  --blue-mid: #687894;
  --blue-deep: #343e66;
  --blue-dark: #212842;
  --terra: #c4896a;
  --terra-light: #e8c4ac;
  --text-dark: #212842;
  --text-mid: #4a5568;
  --text-light: #7a8494;
  --border: rgba(33, 40, 66, 0.16);
  --on-indigo: #faf9f6;
}

html { scroll-behavior: smooth; }

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

::selection {
  background: var(--blue-light);
  color: var(--text-dark);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  line-height: 1;
}

.glass-card,
.glass-badge {
  background: rgba(240, 231, 213, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(240, 231, 213, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--blue-dark);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav-logo .brand-accent { color: var(--terra); }

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}

.nav-links a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-mid);
  text-decoration: none; transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue-deep); }

.nav-links a.nav-link-current {
  color: var(--blue-dark);
}

.nav-cta {
  background: var(--blue-dark);
  color: var(--on-indigo) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
}

.nav-cta:hover { background: var(--blue-deep); color: var(--on-indigo) !important; }

/* ─── HERO ─── */
#hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 8rem 5% 5rem;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(104, 120, 148, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(196,137,106,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-text { position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue-light); color: var(--blue-dark);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.4rem 1rem;
  border-radius: 2rem; margin-bottom: 1.8rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--terra); border-radius: 50%;
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 400; line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 1.6rem;
  animation: fadeUp 0.7s 0.1s ease both;
}

h1 em { font-style: italic; color: var(--blue-deep); }

.hero-sub {
  font-size: 1.05rem; color: var(--text-mid);
  line-height: 1.75; max-width: 560px;
  margin-bottom: 2.4rem;
  font-weight: 300;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  background: var(--blue-dark); color: var(--on-indigo);
  padding: 0.9rem 2rem; border-radius: 2rem;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(33, 40, 66, 0.28);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(33, 40, 66, 0.32);
}

.btn-outline {
  background: transparent; color: var(--blue-dark);
  padding: 0.9rem 2rem; border-radius: 2rem;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border: 2px solid var(--blue-mid);
  cursor: pointer; transition: all 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--blue-dark);
  background: var(--blue-light);
}

.hero-visual {
  position: relative;
  animation: fadeUp 0.8s 0.15s ease both;
}

/* Sanctuary-inspired photo collage + stat card */
.hero-collage {
  position: relative;
  min-height: 280px;
  margin-bottom: 1.5rem;
}

.hero-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(33, 40, 66, 0.2);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img--primary {
  aspect-ratio: 4 / 5;
  max-width: 88%;
  margin-left: auto;
  transform: rotate(3deg);
}

.hero-img--overlap {
  position: absolute;
  bottom: -2rem;
  left: 0;
  width: 66%;
  aspect-ratio: 1;
  border: 8px solid var(--cream);
  transform: rotate(-6deg);
  z-index: 1;
}

.hero-collage-glow {
  position: absolute;
  top: 40%;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: var(--blue-light);
  opacity: 0.35;
  filter: blur(48px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hc-icon .material-symbols-outlined {
  font-size: 1.75rem;
  color: var(--blue-dark);
}

.hero-card {
  background: var(--vanilla);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(33, 40, 66, 0.12), 0 4px 12px rgba(33, 40, 66, 0.07);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--terra));
}

.hero-card-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}

.hc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

.hc-title { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text-dark); }
.hc-title .brand-accent { color: var(--terra); }
.hc-sub { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

.stat-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem; margin-bottom: 2rem;
}

.stat-box {
  background: var(--cream); border-radius: 14px;
  padding: 1rem; text-align: center;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 600;
  color: var(--blue-dark); display: block;
}

.stat-label { font-size: 0.72rem; color: var(--text-light); margin-top: 2px; }

.care-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  background: var(--blue-light); color: var(--blue-dark);
  font-size: 0.78rem; padding: 0.35rem 0.85rem;
  border-radius: 2rem; font-weight: 500;
}

.tag.warm { background: #f5e6dc; color: #8c4a28; }

/* ─── SECTION SHARED ─── */
section { padding: 6rem 5%; }

.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--terra);
  margin-bottom: 0.8rem;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

h2 em { font-style: italic; color: var(--blue-deep); }

.section-intro {
  font-size: 1rem; color: var(--text-mid);
  line-height: 1.8; max-width: 560px; font-weight: 300;
}

/* ─── SERVICES ─── */
.section-tonal {
  background: #e8dfd2;
  margin: 0 2.5%;
  border-radius: 24px;
  padding: 6rem 4%;
}

.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1.5rem;
}

.services-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card--span-2 { grid-column: span 2; }

.service-card--accent {
  border-color: rgba(196, 137, 106, 0.35);
  background: linear-gradient(145deg, var(--warm-white) 0%, var(--cream) 100%);
}

.service-card--soft {
  border-color: rgba(143, 180, 200, 0.4);
  background: linear-gradient(180deg, var(--vanilla) 0%, var(--blue-light) 120%);
}

.service-icon--round {
  border-radius: 999px;
  width: 64px;
  height: 64px;
}

.service-icon--round .material-symbols-outlined {
  font-size: 1.75rem;
  color: var(--blue-dark);
}

.service-icon--terra {
  background: rgba(196, 137, 106, 0.2) !important;
}

.service-icon--terra .material-symbols-outlined {
  color: #7a4a32;
}

.service-checklist {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.service-checklist .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--blue-deep);
}

.service-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-deep));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(33, 40, 66, 0.11);
  border-color: transparent;
}

.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  font-size: 2rem; margin-bottom: 1.2rem;
  width: 56px; height: 56px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 500;
  margin-bottom: 0.7rem; color: var(--text-dark);
}

.service-card__title-long {
  font-size: 1.1rem !important;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.88rem; color: var(--text-mid);
  line-height: 1.7; font-weight: 300;
}

/* ─── ABOUT ─── */
#about {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 3rem 4rem;
  align-items: start;
}

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

.about-visual--stack {
  grid-template-columns: 1fr;
  justify-self: end;
  width: 100%;
  max-width: 360px;
}

.about-block {
  border-radius: 20px;
  padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.ab-2 { background: var(--terra-light); }
.ab-3 { background: var(--blue-light); }

.about-block-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 500;
  color: var(--on-indigo);
}

.ab-2 .about-block-label,
.ab-3 .about-block-label { color: var(--text-dark); }

.about-block-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 600;
  color: rgba(255,255,255,0.15);
  position: absolute; top: 1rem; right: 1.2rem;
  line-height: 1;
}

.ab-2 .about-block-num,
.ab-3 .about-block-num { color: rgba(0,0,0,0.08); }

.about-text .section-intro { max-width: 100%; margin-bottom: 0; }

.about-text .section-intro + .section-intro.about-text__follow {
  margin-top: 1.25rem;
}

.value-list--about {
  margin-top: 2rem;
}

.value-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }

.value-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.6;
}

.value-list li::before {
  content: '✦';
  color: var(--terra); font-size: 0.7rem; margin-top: 4px; flex-shrink: 0;
}

/* ─── TEAM ─── */
#team { background: var(--blue-dark); }

#team .section-label { color: var(--terra-light); }
#team h2 { color: var(--on-indigo); }
#team h2 em { color: var(--on-indigo); }
#team .section-intro { color: rgba(255,255,255,0.65); }

.team-header { margin-bottom: 3.5rem; }

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

.team-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  border: 3px solid rgba(255,255,255,0.15);
}

.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; color: var(--on-indigo); margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.8rem; color: var(--blue-mid);
  font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}

.team-bio {
  font-size: 0.83rem; color: rgba(255,255,255,0.55);
  line-height: 1.65; font-weight: 300;
}

.team-card--photo {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.team-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card--photo:hover .team-photo-wrap img {
  transform: scale(1.06);
}

.glass-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(33, 40, 66, 0.1);
}

.team-card--photo .team-name,
.team-card--photo .team-role,
.team-card--photo .team-bio {
  padding: 0 1.25rem;
}

.team-card--photo .team-bio {
  padding-bottom: 1.75rem;
}

.team-card--clickable {
  cursor: pointer;
  text-align: left;
}

.team-card--clickable:focus {
  outline: 2px solid var(--terra-light);
  outline-offset: 3px;
}

.team-card--clickable:focus:not(:focus-visible) {
  outline: none;
}

.team-card--clickable:focus-visible {
  outline: 2px solid var(--terra-light);
  outline-offset: 3px;
}

/* ─── TEAM PROFILE MODAL ─── */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.team-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 40, 66, 0.55);
  backdrop-filter: blur(4px);
}

.team-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, 720px);
  overflow: auto;
  background: var(--vanilla);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(33, 40, 66, 0.28);
  animation: teamModalIn 0.3s ease both;
}

@keyframes teamModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.team-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(33, 40, 66, 0.08);
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.team-modal__close:hover {
  background: rgba(33, 40, 66, 0.15);
}

.team-modal__close .material-symbols-outlined {
  font-size: 1.5rem;
}

.team-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
  min-height: 380px;
}

.team-modal__photo {
  position: relative;
  min-height: 280px;
  background: var(--blue-dark);
}

.team-modal__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-modal__panel {
  padding: 2rem 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.team-modal__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.15;
  padding-right: 2.5rem;
}

.team-modal__role {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 0.25rem;
}

.team-modal__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.team-modal__contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.team-modal__icon {
  font-size: 1.25rem;
  color: var(--blue-dark);
  flex-shrink: 0;
}

.team-modal__link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.team-modal__link:hover {
  color: var(--blue-deep);
  border-bottom-color: var(--blue-mid);
}

.team-modal__bio {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin: 0.5rem 0 0;
  font-weight: 300;
}

.team-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.team-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.team-modal__btn:active {
  transform: scale(0.98);
}

.team-modal__btn--primary {
  background: var(--blue-dark);
  color: var(--on-indigo);
}

.team-modal__btn--primary:hover {
  opacity: 0.92;
}

.team-modal__btn--secondary {
  background: #96f996;
  color: #004a13;
}

.team-modal__btn--secondary:hover {
  filter: brightness(0.97);
}

@media (max-width: 720px) {
  .team-modal__layout {
    grid-template-columns: 1fr;
  }

  .team-modal__photo {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .team-modal__panel {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .team-modal__name {
    padding-right: 0;
  }
}

/* ─── REVIEWS (Families Say) ─── */
#reviews {
  background: var(--blue-dark);
  padding: 6rem 5%;
  overflow: hidden;
}

#reviews .section-label {
  color: var(--terra-light);
}

#reviews h2 {
  color: var(--on-indigo);
  margin-bottom: 1rem;
}

#reviews h2 em {
  color: var(--terra-light);
}

.reviews-lead {
  color: rgba(255, 255, 255, 0.7);
  max-width: 22rem;
  margin-bottom: 0;
}

.reviews-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.reviews-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.reviews-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--on-indigo);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.reviews-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
}

.reviews-panel {
  position: relative;
}

.reviews-slides {
  position: relative;
  min-height: 260px;
}

.review-quote {
  display: none;
  margin: 0;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.review-quote.is-active {
  display: block;
  animation: fadeQuote 0.45s ease both;
}

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

.review-quote-icon {
  font-size: 3rem !important;
  color: var(--blue-light);
  margin-bottom: 1rem;
  display: block;
}

.review-quote p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.review-attrib {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 0;
  padding: 0;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra-light), var(--terra));
  flex-shrink: 0;
}

.review-avatar--b {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-light));
}

.review-avatar--c {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
}

.review-name {
  font-style: normal;
  font-weight: 700;
  color: var(--on-indigo);
  font-size: 1rem;
}

.review-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.2rem;
}

.reviews-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.reviews-dot.is-active {
  background: var(--on-indigo);
  transform: scale(1.15);
}

/* ─── CUSTOMER REVIEWS & SUBMIT FORM ─── */
.reviews-community {
  max-width: 1100px;
  margin: 3.5rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.reviews-community__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reviews-community__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 500;
  color: var(--on-indigo);
  margin: 0;
}

.reviews-community__jump {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terra-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 196, 172, 0.5);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.reviews-community__jump:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.customer-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  min-height: 1.5rem;
}

.customer-reviews-empty {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  font-style: italic;
  margin: 0;
}

.customer-review-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.customer-review-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.customer-review-card__name {
  font-weight: 600;
  color: var(--on-indigo);
  font-size: 1rem;
}

.customer-review-card__date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.review-stars {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--terra-light);
  margin-bottom: 0.35rem;
}

.customer-review-card__text {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 300;
}

.review-submit-card {
  background: var(--vanilla);
  color: var(--text-dark);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(33, 40, 66, 0.08);
  box-shadow: 0 16px 48px rgba(33, 40, 66, 0.14);
}

.review-submit-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
}

.review-submit-card__hint {
  font-size: 0.8rem;
  color: var(--text-mid);
  margin: 0 0 1.5rem;
  line-height: 1.55;
  max-width: 52ch;
}

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

.review-form .form-group {
  margin-bottom: 1rem;
}

.review-form .form-group label {
  color: var(--text-mid);
}

.review-form .form-group input,
.review-form .form-group select,
.review-form .form-group textarea {
  background: #fff;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

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

.review-form__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.95rem 1rem;
  background: var(--blue-dark);
  color: var(--on-indigo);
  border: none;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.review-form__submit:hover {
  background: var(--blue-deep);
}

.review-form__submit:active {
  transform: scale(0.99);
}

.review-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.review-form-status {
  font-size: 0.88rem;
  margin: 1rem 0 0;
  min-height: 1.25em;
}

.review-form-status.is-success {
  color: #2d6a4a;
}

.review-form-status.is-error {
  color: #a83836;
}

@media (max-width: 640px) {
  .review-form__row {
    grid-template-columns: 1fr;
  }
}

/* ─── CONTACT ─── */
#contact {
  background: var(--cream);
  padding: 6rem 5%;
}

.contact-shell {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(33, 40, 66, 0.15);
}

.contact-aside {
  background: var(--blue-dark);
  color: var(--on-indigo);
  padding: 2.75rem 2.25rem;
}

.contact-aside h2 {
  color: var(--on-indigo);
  margin-bottom: 1rem;
}

.contact-aside .section-label {
  color: var(--terra-light);
}

.contact-aside-lead {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-aside-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-aside .ci-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-indigo);
}

.contact-aside .ci-icon .material-symbols-outlined {
  font-size: 1.15rem;
}

.contact-aside .ci-label {
  color: rgba(255, 255, 255, 0.45);
}

.contact-aside .ci-value {
  color: var(--on-indigo);
}

.contact-form--panel {
  background: var(--vanilla);
  border: none;
  border-radius: 0;
  margin: 0;
  align-self: stretch;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info .section-intro { margin-bottom: 2.5rem; }

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

.contact-item {
  display: flex; gap: 1rem; align-items: flex-start;
}

.ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-light); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}

.ci-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.ci-value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; margin-top: 2px; }

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

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: var(--text-dark);
  margin-bottom: 1.8rem;
}

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

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block; font-size: 0.78rem; font-weight: 500;
  color: var(--text-mid); margin-bottom: 0.5rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--text-dark);
  background: var(--vanilla);
  transition: border-color 0.2s;
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
}

.form-group textarea { height: 100px; }

.form-submit {
  width: 100%; padding: 1rem;
  background: var(--blue-dark); color: var(--on-indigo);
  border: none; border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500;
  cursor: pointer; transition: all 0.25s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(33, 40, 66, 0.28);
}

/* ─── FOOTER ─── */
footer {
  background: var(--text-dark); color: rgba(255,255,255,0.55);
  padding: 3rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  border-radius: 32px 32px 0 0;
  margin-top: 2rem;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--on-indigo);
  text-decoration: none;
}

.footer-logo .brand-accent { color: var(--terra-light); }

.footer-copy { font-size: 0.82rem; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  text-decoration: none; transition: color 0.2s;
}

.footer-links a:hover { color: var(--on-indigo); }

/* ─── SERVICE DETAIL PAGES ─── */
.service-page-main {
  padding-top: 7.5rem;
}

.service-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 4rem;
}

.service-hero-inner {
  background: linear-gradient(140deg, var(--vanilla) 0%, var(--warm-white) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 16px 48px rgba(33, 40, 66, 0.12);
}

.service-hero .hero-sub {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.service-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 5rem;
}

.service-section-head {
  margin-bottom: 1.8rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.impact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}

.impact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.impact-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.impact-copy {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: var(--on-indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
  color: var(--text-dark);
}

.step-copy {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
}

.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.offer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.offer-copy {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.service-testimonials {
  background: var(--blue-dark);
  border-radius: 24px;
  padding: 2rem;
}

.service-testimonials h2 {
  color: var(--on-indigo);
}

.service-testimonials h2 em {
  color: var(--terra-light);
}

.service-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-quote {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.25rem;
}

.service-quote p {
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.service-quote cite {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  font-style: normal;
}

.service-cta {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
}

.service-cta .section-intro {
  margin: 0.5rem auto 1.3rem;
}

.service-learn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(33, 40, 66, 0.25);
  padding-bottom: 2px;
}

.service-learn-link:hover {
  color: var(--blue-deep);
  border-bottom-color: rgba(52, 62, 102, 0.45);
}

/* ─── CAREERS PAGE ─── */
.careers-hero-inner {
  max-width: 760px;
}

.careers-opening-section {
  margin-top: 0;
}

.careers-opening-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.careers-job-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: 0 16px 48px rgba(33, 40, 66, 0.08);
}

.careers-job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.careers-job-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-light);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.careers-job-icon .material-symbols-outlined {
  font-size: 1.75rem;
}

.careers-job-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(212, 218, 232, 0.65);
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
}

.careers-job-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.careers-job-dept {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.careers-job-location {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.careers-job-location .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.careers-job-lead {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.careers-job-subheading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  margin: 1.25rem 0 0.65rem;
}

.careers-job-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
}

.careers-job-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.careers-job-list .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 0.12rem;
}

.careers-job-footnote {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 1.5rem 0 1.25rem;
  font-weight: 300;
}

.careers-job-cta {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  margin-top: 0.25rem;
}

.careers-perks-section {
  padding-top: 2rem;
}

.careers-apply-section {
  padding: 4rem 5% 6rem;
  background: var(--cream);
}

.careers-apply-panel {
  max-width: 640px;
  margin: 0 auto;
}

.careers-apply-panel.contact-form.contact-form--panel {
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 28px 64px rgba(33, 40, 66, 0.12);
}

.careers-apply-lead {
  margin-bottom: 1.5rem;
  max-width: none;
}

.careers-upload {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: var(--vanilla);
  transition: border-color 0.2s, background 0.2s;
}

.careers-upload:hover {
  border-color: var(--blue-mid);
  background: var(--warm-white);
}

.careers-upload-icon {
  font-size: 2.25rem;
  color: var(--blue-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.careers-upload-text {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.careers-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

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

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ─── MOBILE ─── */
@media (max-width: 820px) {
  #hero { grid-template-columns: 1fr; padding-top: 7rem; gap: 2.5rem; }
  #about { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-shell { grid-template-columns: 1fr; }
  .about-visual--stack {
    justify-self: stretch;
    max-width: none;
  }
  .nav-links { display: none; }
  .nav-logo { font-size: 1.35rem; line-height: 1.2; max-width: 78%; }
  .form-row { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; }
  .section-tonal { margin: 0; border-radius: 0; padding: 4rem 5%; }
  .services-bento { grid-template-columns: 1fr 1fr; }
  .service-card--span-2 { grid-column: span 2; }
  .hero-img--overlap { width: 55%; bottom: -1rem; }
  .reviews-layout { grid-template-columns: 1fr; gap: 2rem; }
  .review-quote p { font-size: 1.05rem; }
  .impact-grid,
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .service-testimonials-grid { grid-template-columns: 1fr; }
  .service-hero-inner { padding: 2rem 1.35rem; }
  .service-testimonials,
  .service-cta { padding: 1.5rem; }
}

@media (max-width: 520px) {
  .hero-img--primary { transform: none; max-width: 100%; }
  .hero-img--overlap {
    width: 72%;
    left: 0;
    bottom: -1.25rem;
    border-width: 6px;
  }
}

@media (max-width: 560px) {
  .services-bento { grid-template-columns: 1fr; }
  .service-card--span-2 { grid-column: 1 / -1; }
  .impact-grid,
  .offer-grid,
  .steps-grid { grid-template-columns: 1fr; }
}
