/* ============================================================
   Dr Angela Colquhoun Incorporated — Site Stylesheet
   ============================================================ */

:root {
  /* Brand colours */
  --teal: #5d9c91;
  --teal-dark: #45756c;
  --teal-darker: #345650;
  --teal-light: #e7f0ee;
  --beige: #f4efe6;
  --beige-dark: #e8dfcf;
  --grey: #6b6f6d;
  --grey-dark: #3d403f;
  --white: #ffffff;

  /* Type */
  --font-display: 'Valley Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --shadow: 0 12px 32px rgba(52, 86, 80, 0.1);
}

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

/* ============================================================
   Scroll reveal animations
   ============================================================ */

.reveal {
  opacity: 0;
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(18px);
}

.reveal-left {
  transform: translateX(-22px);
}

.reveal-right {
  transform: translateX(22px);
}

.reveal-scale {
  transform: scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--grey-dark);
  background: var(--teal-light);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 300;
  color: var(--teal-darker);
  line-height: 1.15;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
  scroll-margin-top: 88px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  max-width: 640px;
}

.section-intro {
  max-width: 620px;
  color: var(--grey);
  font-size: 1.05rem;
  margin-top: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-darker);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-darker);
  margin-top: 20px;
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--teal-darker);
}

.btn-light:hover {
  background: var(--beige);
}

.btn-beige {
  background: var(--beige-dark);
  color: var(--teal-darker);
}

.btn-beige:hover {
  background: var(--teal-light);
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(52, 86, 80, 0.08);
  overflow: visible;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 34px;
}

.brand-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  width: 180px;
  height: 180px;
  padding: 14px;
  box-sizing: border-box;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: start;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a {
    position: relative;
    color: var(--grey-dark);
    padding: 4px 0;
    transition: color 0.2s ease;
    text-transform: uppercase;
    font-weight: 300;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--teal-darker);
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a.is-active::after {
  width: 100%;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.submenu-toggle .caret {
  width: 10px;
  height: 7px;
  color: var(--grey);
  transition: transform 0.2s ease;
}

.has-submenu {
  position: relative;
}

@media (min-width: 861px) {
  .has-submenu:hover .submenu-toggle .caret,
  .has-submenu:focus-within .submenu-toggle .caret {
    transform: rotate(180deg);
    color: var(--teal-darker);
  }
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

@media (min-width: 861px) {
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.submenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--grey-dark);
  white-space: normal;
}

.submenu a::after {
  content: none;
}

.submenu a::before {
  content: '';
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background-color: var(--teal);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color 0.2s ease;
  /* stethoscope (default / comprehensive care) */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 3v6a4.5 4.5 0 0 0 9 0V3'/%3E%3Cpath d='M9 9v3a5 5 0 0 0 10 0v-2.5'/%3E%3Ccircle cx='19.5' cy='7.5' r='1.5'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Cpath d='M6 17v-2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 3v6a4.5 4.5 0 0 0 9 0V3'/%3E%3Cpath d='M9 9v3a5 5 0 0 0 10 0v-2.5'/%3E%3Ccircle cx='19.5' cy='7.5' r='1.5'/%3E%3Ccircle cx='6' cy='19' r='2'/%3E%3Cpath d='M6 17v-2'/%3E%3C/svg%3E");
}

/* Newborn & Infant Care — baby bottle */
.submenu a[href*="newborn-and-infant-care"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2h4'/%3E%3Cpath d='M10 2v3.2c0 .4-.15.78-.44 1.06A4.5 4.5 0 0 0 8 9.5V19a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V9.5a4.5 4.5 0 0 0-1.56-3.24A1.5 1.5 0 0 1 14 5.2V2'/%3E%3Cpath d='M8 13h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 2h4'/%3E%3Cpath d='M10 2v3.2c0 .4-.15.78-.44 1.06A4.5 4.5 0 0 0 8 9.5V19a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V9.5a4.5 4.5 0 0 0-1.56-3.24A1.5 1.5 0 0 1 14 5.2V2'/%3E%3Cpath d='M8 13h8'/%3E%3C/svg%3E");
}

/* Well-Child & Developmental Assessments — growth chart */
.submenu a[href*="well-child-and-developmental-assessments"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16l4-5 3 3 5-7'/%3E%3Ccircle cx='19' cy='7' r='1.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 16l4-5 3 3 5-7'/%3E%3Ccircle cx='19' cy='7' r='1.5'/%3E%3C/svg%3E");
}

/* Acute Childhood Illnesses — thermometer */
.submenu a[href*="acute-childhood-illnesses"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4a2 2 0 0 0-4 0v10.5a4 4 0 1 0 4 0z'/%3E%3Cpath d='M12 8v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4a2 2 0 0 0-4 0v10.5a4 4 0 1 0 4 0z'/%3E%3Cpath d='M12 8v6'/%3E%3C/svg%3E");
}

/* Recurrent Infections & Immune Concerns — shield */
.submenu a[href*="recurrent-infections-and-immune-concerns"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9.5 12l1.8 1.8L14.5 10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3Cpath d='M9.5 12l1.8 1.8L14.5 10'/%3E%3C/svg%3E");
}

/* Asthma/Allergies & Respiratory Health — lungs */
.submenu a[href*="asthma-allergies-and-respiratory-health"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M12 11c-1-2-3-2.5-4.5-1.5C5.5 10.8 5 13 5 15c0 2.5 1 4.5 2.8 4.5 1.7 0 2.2-1.3 2.2-3v-3'/%3E%3Cpath d='M12 11c1-2 3-2.5 4.5-1.5 2 1.3 2.5 3.5 2.5 5.5 0 2.5-1 4.5-2.8 4.5-1.7 0-2.2-1.3-2.2-3v-3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v8'/%3E%3Cpath d='M12 11c-1-2-3-2.5-4.5-1.5C5.5 10.8 5 13 5 15c0 2.5 1 4.5 2.8 4.5 1.7 0 2.2-1.3 2.2-3v-3'/%3E%3Cpath d='M12 11c1-2 3-2.5 4.5-1.5 2 1.3 2.5 3.5 2.5 5.5 0 2.5-1 4.5-2.8 4.5-1.7 0-2.2-1.3-2.2-3v-3'/%3E%3C/svg%3E");
}

/* Growth/Nutrition & Digestive Health — apple */
.submenu a[href*="growth-nutrition-and-digestive-health"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7c-3.5-3-8-1-8 3.5C4 15 8 20 11 20c.7 0 1.3-.2 1.9-.5.5.3 1.1.5 1.9.5 3 0 7-5 7-9.5C21.8 6 17.3 4 13.8 7'/%3E%3Cpath d='M12 7V3'/%3E%3Cpath d='M12 3c1.5 0 2.5 1 2.5 2.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7c-3.5-3-8-1-8 3.5C4 15 8 20 11 20c.7 0 1.3-.2 1.9-.5.5.3 1.1.5 1.9.5 3 0 7-5 7-9.5C21.8 6 17.3 4 13.8 7'/%3E%3Cpath d='M12 7V3'/%3E%3Cpath d='M12 3c1.5 0 2.5 1 2.5 2.5'/%3E%3C/svg%3E");
}

/* Hospital & Inpatient Care — hospital building */
.submenu a[href*="hospital-and-inpatient-care"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9' width='16' height='12' rx='1'/%3E%3Cpath d='M9 21v-5h6v5'/%3E%3Cpath d='M12 3v6'/%3E%3Cpath d='M9 6h6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9' width='16' height='12' rx='1'/%3E%3Cpath d='M9 21v-5h6v5'/%3E%3Cpath d='M12 3v6'/%3E%3Cpath d='M9 6h6'/%3E%3C/svg%3E");
}

.submenu a:hover {
  background: var(--teal-light);
  color: var(--teal-darker);
}

.submenu a:hover::before {
  background-color: var(--teal-darker);
}

.header-cta {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta-mobile {
  display: none;
}

.header-phone-pill {
  display: none;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal-darker);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.header-phone-pill:hover {
  background: var(--beige-dark);
}

.btn-book {
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 15px 26px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal-darker);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: auto;
  overflow: hidden;
  color: var(--grey-dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* inject-pictures.js wraps <img> in <picture>; let the img size against its
   original parent so the existing img rules still apply. */
picture {
  display: contents;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* background: var(--white); */
  /* border-radius: 16px; */
  /* box-shadow: var(--shadow); */
  margin:0;
  padding: 36px 48px;
}

.hero-content .eyebrow {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-content h1 {
  color: var(--teal);
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero-content h1 .h1-lead {
  display: block;
  color: var(--teal);
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 440px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--grey);
}

.hero-rating .stars {
  color: #f4c95d;
  letter-spacing: 2px;
}

.hero-border {
  position: relative;
  z-index: 1;
  margin-top: -8px;
  background: var(--beige);
  line-height: 0;
  pointer-events: none;
}

.hero-border svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ============================================================
   Trust strip
   ============================================================ */

.trust-strip {
  background: var(--teal-light);
  padding: 20px 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 40px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--teal-darker);
  font-weight: 500;
}

.trust-strip span {
  opacity: 0.5;
}

/* ============================================================
   Split content sections
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-reverse .split-media {
  order: 2;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split-text p {
  color: var(--grey);
  margin-top: 20px;
  font-size: 1.02rem;
}

.split-divider {
  width: 100px;
  height: auto;
  margin-top: 20px;
  display: block;
}

.split-text .btn {
  margin-top: 32px;
}

.section-beige {
  background: var(--beige);
}

.section-teal-band {
  background: linear-gradient(135deg, var(--teal-darker), var(--teal));
  overflow: hidden;
}

.section-teal-band .eyebrow {
  color: var(--teal-light);
}

.section-teal-band .section-heading {
  color: var(--white);
}

.section-teal-band .split-text p {
  color: rgba(255, 255, 255, 0.88);
}

.section-beige-band {
  background: var(--beige);
}

.section-beige-band .split-media {
  position: relative;
}

.section-beige-band .split-media::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -6px;
  width: 103%;
  height: 103%;
  border: 8px solid var(--grey-dark);
  border-radius: 50%;
  opacity: 0.8;
  pointer-events: none;
}

img.circle-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

.band-with-bleed {
  position: relative;
}

.band-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: center;
  margin: 0 0 0 200px;
}

.band-baby-outline {
  position: absolute;
  left: -200px;
  bottom: 0;
  width: 500px;
  height: auto;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.band-content p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 18px;
  font-size: 1.02rem;
}

.band-content .btn {
  margin-top: 30px;
}

.band-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 0;
}

.band-divider span {
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}

.band-divider i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
}

.band-media-circle {
  position: absolute;
  /* Centred with auto margins, not transform: the reveal animation resets transform */
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 480px;
  height: 480px;
}

.band-media-circle::after {
    content: '';
    position: absolute;
    top: -17px;
    left: -10px;
    width: 103%;
    height: 103%;
    border: 6px solid var(--grey-dark);
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
}

.band-media-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.band-media-circle-right {
  right: -100px;
}

/* ============================================================
   Services
   ============================================================ */

.services {
  background: var(--white);
}

.services-header {
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-divider {
  width: 150px;
  height: auto;
  margin: 20px auto 0;
  display: block;
}

.services-header .section-intro {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 64px 32px;
  padding-top: 84px;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--beige-dark);
  border-radius: 22px;
  margin-top: 84px;
  padding: 100px 26px 44px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  scroll-margin-top: 96px;
}

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

.service-photo {
  position: absolute;
  top: -84px;
  left: 50%;
  transform: translateX(-50%);
  width: 168px;
  height: 168px;
}

.service-photo::before {
  content: '';
  position: absolute;
  top: -7px;
  left: -2px;
  width: 103%;
  height: 103%;
  border: 3px solid var(--grey-dark);
  border-radius: 50%;
  opacity: 0.8;
}

.service-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--beige);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--grey-dark);
  margin-bottom: 14px;
}

.service-card p {
  color: var(--grey);
  font-size: 0.94rem;
}

.service-link {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-link:hover {
  background: var(--teal-darker);
}

.service-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   CTA banner
   ============================================================ */

.cta-banner {
  /* background: var(--white); */
  position: relative;
  z-index: 2;
  padding-top: 0px;
  padding-bottom: 0;
  margin-bottom: -70px;
}

.cta-banner-on-map {
  margin-top: -95px;
}

.cta-banner-inner {
  width: 80%;
  margin-left: auto;
  background: linear-gradient(120deg, var(--teal-darker), var(--teal));
  color: var(--white);
  border-radius: 999px 0 0 999px;
  padding: 48px 5% 48px 8%;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.cta-banner-text h2 {
  color: var(--white);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.cta-banner-divider {
  align-self: stretch;
  width: 1px;
  flex-shrink: 0;
  border-left: 1px dashed rgba(255, 255, 255, 0.55);
  position: relative;
}

.cta-banner-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-light);
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-cta-phone {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-cta-phone:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: var(--white);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--grey-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 150px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
}

.footer-cta-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.footer-logo {
  display: inline-block;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 22px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 54px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
  padding-bottom: 14px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.footer-col ul li {
  margin-bottom: 13px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-col address {
  font-style: normal;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal-light);
}

.footer-contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-light);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-contact-list span,
.footer-contact-list address,
.footer-contact-list a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-legal {
  display: flex;
  gap: 8px;
}

.footer-legal span {
  opacity: 0.5;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-credit img {
  height: 14px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-credit a:hover img {
  opacity: 1;
}

/* ============================================================
   Reviews
   ============================================================ */

.reviews-section {
  background: var(--teal-light);
}

.reviews-summary {
  margin-top: 18px;
  color: var(--grey);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-summary-stars {
  color: #f4c95d;
  letter-spacing: 2px;
}

.reviews-slider {
  position: relative;
  margin-top: 56px;
}

.reviews-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 24px;
  padding: 68px 4px 30px;
}

.review-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--white);
  border: 1.5px solid var(--beige-dark);
  border-radius: 22px;
  padding: 66px 26px 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.review-photo {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
}

.review-photo::before {
  content: '';
  position: absolute;
  top: -7px;
  left: -2px;
  width: 103%;
  height: 103%;
  border: 3px solid var(--grey-dark);
  border-radius: 50%;
  opacity: 0.8;
}

.review-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-name {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--grey-dark);
  margin-bottom: 6px;
}

.review-meta {
  color: var(--grey);
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.review-stars {
  color: #f4c95d;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  color: var(--grey);
  font-size: 0.92rem;
  flex: 1;
}

.review-date {
  color: var(--grey);
  font-size: 0.78rem;
  margin-top: 16px;
}

.review-quote-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.review-quote-badge svg {
  width: 20px;
  height: 20px;
}

.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-darker);
  border: 1px solid var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, color 0.2s ease;
}

.review-nav svg {
  width: 20px;
  height: 20px;
}

.review-nav:hover {
  background: var(--teal);
  color: var(--white);
}

.review-prev {
  left: -23px;
}

.review-next {
  right: -23px;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.review-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--beige-dark);
  border: none;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

/* Invisible larger tap area; the visible dot stays 9px */
.review-dots button {
  position: relative;
}

.review-dots button::after {
  content: '';
  position: absolute;
  inset: -5px;
}

.review-dots button.is-active {
  background: var(--teal);
  transform: scale(1.2);
}

/* ============================================================
   Inner Pages
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--teal-darker), var(--teal));
  padding: 64px 0 48px;
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--teal-light);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 1.02rem;
}

.container.narrow {
  max-width: 760px;
}

.split-hero {
  position: relative;
  overflow: hidden;
  background: var(--teal-dark);
  padding: 130px 6vw 64px;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.split-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 46%;
}

.split-hero-content .eyebrow {
  font-size: 1rem;
  font-weight: 800;
  color: var(--beige-dark);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.split-hero-content .eyebrow span {
  color: var(--beige-dark);
}

.split-hero-content h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  margin: 6px 0 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.split-hero-content h1 span {
  color: var(--beige-dark);
}

.split-hero-content p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.85);
}

.split-hero-card {
  display: none;
}

.split-hero-image {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 40px;
  width: 48%;
  z-index: 1;
}

.split-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 320px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
}

@media (max-width: 860px) {
  .split-hero {
    padding: 96px 24px 40px;
    min-height: 0;
  }

  .split-hero-content {
    max-width: none;
    width: 100%;
    min-width: 0;
  }

  .split-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    z-index: 1;
  }

  .split-hero-image {
    position: absolute;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
    z-index: 0;
  }

  .split-hero-image img {
    border-radius: 0;
    box-shadow: none;
  }

  .split-hero-content h1 {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
  }
}

.page-content {
  background: var(--white);
}

.page-content h1,
.page-content h2.bio-heading {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--teal-darker);
  margin: 0 0 20px;
}

.page-content h1 span {
  color: var(--olive, #8fa646);
}

.page-content .container.narrow {
  max-width: 1000px;
}

.page-content .bio-photo-wrap {
  position: relative;
  float: left;
  width: 340px;
  max-width: 55%;
  aspect-ratio: 1 / 1;
  margin: 4px 32px 20px 0;
  shape-outside: circle(50%);
  shape-margin: 20px;
}

.page-content .bio-photo-wrap::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--grey-dark);
  border-radius: 50%;
  opacity: 0.8;
}

.page-content .bio-photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

@media (max-width: 600px) {
  .page-content .bio-photo-wrap {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px;
    display: block;
  }
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-darker);
  margin-top: 44px;
  margin-bottom: 16px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.bio-video {
  clear: both;
  margin: 48px 0 40px;
  padding: 48px 56px 64px;
  background: var(--beige);
  border-radius: 24px;
}

.bio-video-header {
  text-align: center;
  margin-bottom: 36px;
}

.bio-video-header .eyebrow {
  margin-bottom: 10px;
}

.page-content .bio-video-header h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
}

.bio-video-header .services-divider {
  margin-top: 16px;
}

.video-embed {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
  background: var(--teal-darker);
  box-shadow: 0 18px 40px rgba(52, 86, 80, 0.22);
}

@media (max-width: 600px) {
  .bio-video {
    margin: 32px 0;
    padding: 32px 20px 40px;
    border-radius: 16px;
  }
}

/* ============================================================
   Service page — intro / expect sections
   ============================================================ */

.svc-intro {
  background: var(--white);
}

.svc-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.svc-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 12px;
}

.svc-quote {
  margin: 0 0 28px;
  padding-left: 20px;
  border-left: 3px solid var(--teal);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--grey-dark);
}

.svc-intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.svc-intro-right {
  padding-top: 8px;
  color: var(--grey);
}

.svc-intro-right p {
  margin-bottom: 18px;
}

.svc-intro-right h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-darker);
  margin: 24px 0 10px;
}

.svc-intro-right a,
.centered-section p a,
.svc-media-text p a {
  color: var(--teal-dark);
  text-decoration: underline;
}

.svc-intro-right ul,
.centered-section ul,
.svc-media-text ul {
  margin: 0 0 18px;
  padding-left: 0;
  max-width: 520px;
  text-align: left;
}

.centered-section ul {
  margin-left: auto;
  margin-right: auto;
}

.svc-intro-right ul li,
.centered-section ul li,
.svc-media-text ul li {
  position: relative;
  color: var(--grey);
  padding-left: 26px;
  margin-bottom: 10px;
  text-align: left;
  list-style: none;
}

.svc-intro-right ul li::before,
.centered-section ul li::before,
.svc-media-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.svc-expect {
  background: var(--beige);
}

.svc-expect-card {
  margin-top: 48px;
  background: var(--teal-darker);
  border-radius: 20px;
  padding: 48px;
}

.svc-expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.svc-expect-grid:has(.svc-expect-item:only-child) {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

.svc-expect-item {
  display: flex;
  gap: 20px;
}

.svc-expect-num {
  flex: 0 0 auto;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
}

.svc-expect-item h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.svc-expect-item p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  margin: 0;
}

.svc-expect-item p a {
  color: var(--teal-light);
  text-decoration: underline;
}

.svc-expect-actions {
  margin-top: 40px;
  justify-content: center;
}

.centered-section {
  background: var(--beige);
  text-align: center;
}

.curve-bottom {
  position: relative;
  /* clip (not hidden) so the 105%-wide curve below stays visible vertically
     but can't push the page wider than the viewport */
  overflow-x: clip;
  overflow-y: visible;
  z-index: 1;
  padding-bottom: 48px;
}

.curve-bottom + section {
  padding-top: 150px;
}

.curve-bottom::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 105%;
  height: 60px;
  background: var(--beige);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  border-bottom: 5px solid var(--grey-dark);
  z-index: 2;
}

@media (max-width: 860px) {
  .curve-bottom + section {
    padding-top: 100px;
  }

  .curve-bottom::after {
    height: 36px;
  }
}

.centered-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
}

.centered-eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal);
}

.centered-section h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--teal-darker);
  max-width: 760px;
  margin: 0 auto;
}

.centered-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--beige-dark);
  margin: 28px auto 32px;
  border-radius: 2px;
}

.centered-section .services-divider {
  margin-bottom: 32px;
}

.centered-section p {
  max-width: 720px;
  margin: 0 auto 18px;
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.75;
}

.centered-section p strong {
  color: var(--teal-darker);
  font-weight: 600;
}

.svc-media {
  background: var(--white);
}

.svc-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.svc-media-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.svc-media-text h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--teal-darker);
  margin-bottom: 18px;
}

.svc-media-text p {
  color: var(--grey);
}

.svc-media-text p a {
  color: var(--teal-dark);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .svc-media-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.prep-section {
  padding: 0;
}

.prep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.prep-text {
  background: var(--teal-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 7vw;
}

.prep-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.prep-eyebrow span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
}

.prep-text h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--teal-darker);
  margin-bottom: 18px;
}

.prep-intro {
  color: var(--grey);
  font-size: 1.02rem;
  margin-bottom: 32px;
  max-width: 460px;
}

.prep-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.prep-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  color: var(--teal-darker);
  font-size: 1rem;
  margin-bottom: 28px;
}

.prep-list li:last-child {
  margin-bottom: 0;
}

.prep-list-lead {
  color: var(--grey);
  font-size: 0.95rem;
  margin: -14px 0 18px;
}

.prep-outro {
  margin-top: 24px;
  color: var(--grey);
  font-size: 0.95rem;
}

.prep-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 13.5px;
  width: 1px;
  height: min(50px, 100%);
  background: var(--teal-dark);
  opacity: 0.35;
}

.prep-list-num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--teal-dark);
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 700;
}

.prep-image {
  position: relative;
}

.prep-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.prep-image img[src*="continuity-of-care"] {
  object-position: center top;
}

@media (max-width: 860px) {
  .prep-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .prep-text {
    padding: 56px 24px;
  }

  .prep-image {
    min-height: 320px;
  }
}

@media (max-width: 860px) {
  .svc-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .svc-expect-grid {
    grid-template-columns: 1fr;
  }

  .svc-expect-card {
    padding: 32px 24px;
  }
}

.page-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--grey-dark);
  margin-top: 28px;
  margin-bottom: 10px;
}

.page-content p {
  color: var(--grey);
  font-size: 1rem;
  margin-bottom: 18px;
}

.page-content ul {
  margin: 0 0 18px;
  padding-left: 0;
}

.page-content ul li {
  position: relative;
  color: var(--grey);
  padding-left: 26px;
  margin-bottom: 10px;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.page-content a:not(.btn) {
  color: var(--teal-darker);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--beige-dark);
  text-underline-offset: 3px;
}

.page-content a:not(.btn):hover {
  text-decoration-color: var(--teal);
}

.page-content .qualifications {
  color: var(--teal-darker);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.page-content-actions {
  margin-top: 8px;
}

/* Team */

.team-rows {
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding-top: 96px;
}

.team-row {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 96px 56px 300px;
  border: 1px solid var(--beige-dark);
  border-radius: 200px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.team-row:nth-child(even) {
  padding: 56px 300px 56px 96px;
}

.team-row-media {
  position: absolute;
  top: 50%;
  left: -32px;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
}

.team-row:nth-child(even) .team-row-media {
  left: auto;
  right: -32px;
}

.team-row-media::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--grey-dark);
  border-radius: 50%;
  opacity: 0.8;
}

.team-row:nth-child(even) .team-row-media::before {
  right: auto;
  left: -10px;
}

.team-row-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.team-row-photo {
  display: block;
  object-fit: cover;
  object-position: 50% 20%;
}

.team-row-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--grey-dark);
  margin-bottom: 8px;
}

.team-role {
  display: block;
  color: var(--teal-darker);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.team-row-text p {
  color: var(--grey);
  font-size: 1rem;
  margin-top: 0;
}

/* FAQ */

.faq-category {
  margin-top: 48px;
}

.faq-category:first-child {
  margin-top: 0;
}

.faq-category h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal-darker);
    margin-bottom: 30px;
    text-align: center;
}

.faq-divider {
  margin-bottom: 30px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--grey-dark);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--teal-darker);
}

.faq-toggle {
  flex: 0 0 auto;
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  transition: background 0.2s ease, transform 0.25s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-toggle::before {
  width: 12px;
  height: 2px;
}

.faq-toggle::after {
  width: 2px;
  height: 12px;
}

.faq-item[open] .faq-toggle {
  background: var(--teal-darker);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  color: var(--grey);
  font-size: 0.95rem;
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact */

.info-cards {
  background: var(--white);
  padding-bottom: 0;
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 18px;
  padding: 26px 22px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.info-card:hover,
.info-card:focus-within {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-dark);
  margin-bottom: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}

.info-card-icon svg {
  width: 22px;
  height: 22px;
}

.info-card:hover .info-card-icon,
.info-card:focus-within .info-card-icon {
  background: var(--teal-darker);
  color: var(--white);
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-darker);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--grey);
  font-size: 0.92rem;
  margin: 0;
}

.info-card p a {
  color: var(--teal-dark);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .info-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.map-section {
  padding: 0;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.contact-form {
  margin-top: 8px;
}

.form-row {
  position: relative;
  margin-bottom: 22px;
}

.form-row label {
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--grey);
  background: var(--white);
  padding: 0 4px;
  border-radius: 4px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.18s ease, color 0.18s ease;
}

.form-row input,
.form-row textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--grey-dark);
  background: var(--white);
  border: 1.5px solid var(--beige-dark);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

/* iOS zooms the page when a focused field is under 16px */
@media (pointer: coarse) {
  .form-row input,
  .form-row textarea {
    font-size: 16px;
  }
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-row input:focus + label,
.form-row input:not(:placeholder-shown) + label,
.form-row textarea:focus + label,
.form-row textarea:not(:placeholder-shown) + label {
  transform: translateY(-27px) scale(0.85);
  color: var(--teal);
}

.contact-form .btn-block {
  margin-top: 4px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: 22px;
  padding: 40px 32px;
}

.contact-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-darker);
  margin: 28px 0 16px;
}

.contact-card h3:first-child {
  margin-top: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.contact-list li:last-child {
  margin-bottom: 0;
}

.contact-list-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal-darker);
}

.contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-list span,
.contact-list address,
.contact-list a {
  font-size: 0.95rem;
  color: var(--grey-dark);
}

.contact-list address {
  font-style: normal;
}

.contact-card .btn-block {
  width: 100%;
  justify-content: center;
}

/* Legal */

.legal-content h2 {
  font-size: 1.15rem;
}

.legal-content strong {
  color: var(--grey-dark);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (min-width: 1240px) {
  .header-phone-pill {
    display: block;
  }
}

@media (min-width: 861px) and (max-width: 1239px) {
  .brand-logo {
    width: 120px;
    height: 120px;
    padding: 8px;
  }

  .main-nav > ul {
    gap: 16px;
    font-size: 0.78rem;
  }

  .header-cta {
    gap: 8px;
  }

  .btn-book {
    padding: 12px 18px;
    font-size: 0.7rem;
  }
}

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

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content .eyebrow {
    font-size: 24px;
  }

  .hero-content h1 {
    font-size: 26px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .band-with-bleed {
    padding-top: 64px;
  }

  .band-media-circle {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    transform: none;
    width: 220px;
    height: 220px;
    margin: 0 auto 32px;
  }

  .band-content {
    max-width: none;
    margin: 0;
  }

  .band-baby-outline {
    display: none;
  }

  .cta-banner {
    padding-top: 64px;
    margin-bottom: -40px;
  }

  .cta-banner-inner {
    width: auto;
    margin: 0 24px;
    flex-direction: column;
    text-align: center;
    border-radius: 32px;
    padding: 40px 32px;
  }

  .cta-banner-text h2 {
    text-align: center;
  }

  .cta-banner-divider {
    display: none;
  }

  .cta-banner-actions {
    margin-left: 0;
    justify-content: center;
  }

  .main-nav ul {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    position: relative;
  }

  body.nav-open .main-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 112px 28px 16px;
    z-index: 200;
    overflow-y: auto;
  }

  body.nav-open .main-nav > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    font-size: 1.05rem;
    text-align: left;
  }

  body.nav-open .main-nav > ul > li {
    width: 100%;
    border-bottom: 1px solid var(--beige-dark);
  }

  body.nav-open .main-nav > ul > li:last-child {
    border-bottom: none;
  }

  body.nav-open .main-nav > ul > li > a {
    display: block;
    padding: 14px 2px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }

  body.nav-open .main-nav > ul > li > a.submenu-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  body.nav-open .submenu-toggle .caret {
    margin-left: auto;
  }

  .nav-toggle {
    position: relative;
    z-index: 210;
  }

  body.nav-open .header-cta {
    z-index: 201;
  }

  body.nav-open .brand-logo {
    z-index: 201;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand-logo {
    width: 112px;
    height: 112px;
    padding: 8px;
  }

  body.nav-open .header-cta {
    margin-left: auto;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-cta-mobile {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .nav-cta-mobile div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 100%;
  }

  .nav-cta-mobile .header-phone-pill,
  .nav-cta-mobile .btn-book {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta-mobile .header-phone-pill {
    display: block;
    text-align: center;
    padding: 14px 12px;
    font-size: 0.72rem;
    color: var(--white);
    background: var(--teal-dark);
    border-radius: 999px 0 0 999px;
    margin-top:10px;
  }

  .nav-cta-mobile .btn-book {
    justify-content: center;
    color: var(--white);
    padding: 14px 16px;
    font-size: 0.68rem;
    border-radius: 0 999px 999px 0;
    margin-top:10px;
  }

  .submenu-toggle .caret {
    width: 13px;
    height: 9px;
    transition: transform 0.2s ease;
  }

  .has-submenu.is-open .submenu-toggle .caret {
    transform: rotate(180deg);
  }

  .submenu {
    display: none;
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    background: var(--beige);
    border-radius: 14px;
    min-width: 0;
    width: 100%;
    padding: 10px;
    margin: 8px 0 4px;
    flex-direction: column;
    gap: 4px;
  }

  .has-submenu.is-open .submenu {
    display: flex;
  }

  .submenu a {
    padding: 10px;
    border-radius: 10px;
    gap: 12px;
    width: 100%;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--teal-darker);
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .submenu a:hover,
  .submenu a:focus-visible,
  .submenu a:active {
    background: var(--teal);
    color: var(--white);
  }

  .submenu a::before {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
    background-color: var(--teal);
    -webkit-mask-size: 16px;
    mask-size: 16px;
  }

  .submenu a:hover::before,
  .submenu a:focus-visible::before,
  .submenu a:active::before {
    background-color: var(--white);
  }

  .split,
  .split-reverse .split-media {
    grid-template-columns: 1fr;
  }

  .team-row,
  .team-row:nth-child(even) {
    padding: 148px 32px 40px;
    border-radius: 32px;
  }

  .team-row-media,
  .team-row:nth-child(even) .team-row-media {
    top: 0;
    left: 50%;
    right: auto;
    transform: translate(-50%, -45%);
    width: 168px;
    height: 168px;
  }

  .team-row-media::before,
  .team-row:nth-child(even) .team-row-media::before {
    top: -10px;
    right: -10px;
    left: auto;
  }

  .team-row-text {
    text-align: center;
  }

  .review-card {
    flex-basis: calc((100% - 24px) / 2);
  }

  .review-prev {
    left: 0;
  }

  .review-next {
    right: 0;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-reverse .split-media {
    order: 0;
  }


  section {
    padding: 64px 0;
  }

  .hero {
    justify-content: center;
  }

  .hero-media img {
    min-height: 420px;
  }

  .hero-content {
    max-width: none;
    width: 90%;
    margin: 40px 0;
    padding: 40px 28px;
  }
}

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

  .footer-bottom {
    flex-direction: column;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-card {
    flex-basis: 100%;
  }

  .review-nav {
    display: none;
  }
}
