/* =============================================================
   Hayes Family Medicine — Independent Primary Care
   Bakersfield, California
   ----
   Design DNA: Modern Medical Premium. Warm cream paper, deep
   forest green, sage, terracotta accent. Editorial serif display
   over generous body sans. Photo-driven. Calm. Trustworthy.
   Reference north star: One Medical · Galileo · Parsley Health.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette */
  --cream: #FAF8F3;
  --cream-2: #F3EFE5;
  --cream-3: #ECE6D6;
  --white: #FFFFFF;
  --forest: #1B3A2F;
  --forest-deep: #122821;
  --forest-soft: #2D5446;
  --sage: #A8C0A0;
  --sage-soft: #C9D7C2;
  --sage-deep: #6E8B68;
  --terracotta: #D4795C;
  --terracotta-deep: #B85F44;
  --ink: #1F2A24;
  --ink-soft: #2F3D36;
  --muted: #5C6661;
  --muted-2: #8A938E;
  --hairline: rgba(31, 42, 36, 0.10);
  --hairline-strong: rgba(31, 42, 36, 0.18);
  --shadow-soft: 0 8px 28px rgba(27, 58, 47, 0.08);
  --shadow-card: 0 14px 40px rgba(27, 58, 47, 0.10);
  --shadow-lift: 0 24px 60px rgba(27, 58, 47, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--cream); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 36px;
  position: relative;
}
@media (max-width: 800px) { .container { padding: 0 22px; } }

/* =============================================================
   Type system
   ============================================================= */
.serif, h1, h2, h3, h4 {
  font-family: 'Source Serif Pro', Georgia, serif;
  color: var(--forest);
  letter-spacing: -0.012em;
  line-height: 1.12;
  font-weight: 600;
}
.h-display {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.022em;
}
.h-display em {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}
.h-section {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.08;
}
.h-section em {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}
.h-card {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--terracotta);
}
.eyebrow.center::after {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--terracotta);
}
.lede {
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 58ch;
  font-weight: 400;
}
.lede strong { color: var(--ink); font-weight: 600; }
p { color: var(--ink-soft); }
.muted { color: var(--muted); }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--forest);
  color: var(--cream);
  box-shadow: 0 2px 0 rgba(0,0,0,0.04);
}
.btn-primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 58, 47, 0.22);
}
.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-secondary:hover {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(27, 58, 47, 0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--forest);
  padding: 10px 0;
  border-radius: 0;
  border-bottom: 1.5px solid var(--forest);
}
.btn-ghost:hover { color: var(--terracotta); border-color: var(--terracotta); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* =============================================================
   Top utility ribbon
   ============================================================= */
.ribbon {
  background: var(--forest);
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ribbon .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ribbon .pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px rgba(168, 192, 160, 0.22);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(168, 192, 160, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(168, 192, 160, 0); }
}
.ribbon .row { display: inline-flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.ribbon a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(250,248,243,0.4); }
.ribbon a:hover { text-decoration-color: var(--cream); }

/* =============================================================
   Nav
   ============================================================= */
.nav {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
  top: 0;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  transition: padding 0.3s ease;
}
.nav.scrolled .nav-inner { padding: 14px 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-portrait {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--cream-3));
  background-image: url('https://images.unsplash.com/photo-1559757175-7cb036bf3a89?w=200&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  border: 2px solid var(--cream);
  box-shadow: 0 2px 10px rgba(27, 58, 47, 0.18);
}
.brand-name {
  font-family: 'Source Serif Pro', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.7);
  margin-top: 2px;
}
.nav.scrolled .brand-name { color: var(--forest); }
.nav.scrolled .brand-name small { color: var(--muted); }

.nav-links {
  display: flex;
  justify-content: center;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.005em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 22px; }
.nav.scrolled .nav-links a { color: var(--ink); }
.nav.scrolled .nav-links a:hover { color: var(--forest); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-phone svg { width: 14px; height: 14px; }
.nav.scrolled .nav-phone { color: var(--ink); }
.nav-book {
  background: var(--cream);
  color: var(--forest);
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1.5px solid transparent;
}
.nav-book:hover {
  background: var(--terracotta);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(212, 121, 92, 0.32);
}
.nav.scrolled .nav-book {
  background: var(--forest);
  color: var(--cream);
}
.nav.scrolled .nav-book:hover { background: var(--terracotta); }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding-bottom: 80px;
  padding-top: 160px;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3)),
              url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 30%;
  background-blend-mode: normal;
  z-index: -2;
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1.0) translateY(0); }
  100% { transform: scale(1.06) translateY(-1.5%); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(27,58,47,0.42) 0%, rgba(27,58,47,0.10) 35%, rgba(27,58,47,0.55) 95%),
    linear-gradient(90deg, rgba(27,58,47,0.45) 0%, rgba(27,58,47,0.1) 60%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 248, 243, 0.16);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(250, 248, 243, 0.28);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 28px;
}
.hero-tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 10px var(--sage);
}
.hero-title {
  color: var(--cream);
  font-family: 'Source Serif Pro', serif;
  font-size: clamp(2.75rem, 6.4vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--sage-soft);
  font-weight: 400;
}
.hero-lede {
  font-size: 18px;
  color: rgba(250,248,243,0.88);
  line-height: 1.6;
  max-width: 50ch;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-actions .btn-primary { background: var(--cream); color: var(--forest); }
.hero-actions .btn-primary:hover { background: var(--terracotta); color: var(--cream); }
.hero-actions .btn-secondary { color: var(--cream); border-color: rgba(250,248,243,0.6); }
.hero-actions .btn-secondary:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
}
.hero-card {
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 26px 28px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255,255,255,0.5);
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hero-card-row:last-child { margin-bottom: 0; }
.hero-card-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  color: var(--forest);
  flex-shrink: 0;
}
.hero-card-icon svg { width: 22px; height: 22px; }
.hero-card-body { flex: 1; }
.hero-card-body .label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.hero-card-body .val {
  font-family: 'Source Serif Pro', serif;
  font-size: 17px;
  color: var(--forest);
  font-weight: 600;
}
.hero-card-divider {
  height: 1px;
  background: var(--hairline);
  margin: 16px 0;
}
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(250,248,243,0.16);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(250,248,243,0.24);
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
}
.hero-rating .stars { color: var(--terracotta); letter-spacing: 1px; }
.hero-rating strong { font-weight: 700; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-side { align-items: flex-start; }
  .hero-card { max-width: 100%; }
}

/* =============================================================
   Marquee values bar
   ============================================================= */
.marquee {
  background: var(--cream-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-inner {
  display: flex;
  gap: 56px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--forest);
  font-family: 'Source Serif Pro', serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
}
.marquee-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================
   Section system
   ============================================================= */
section { padding: 110px 0; position: relative; }
section.compact { padding: 80px 0; }
.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .h-section { margin-bottom: 18px; }

/* =============================================================
   Intro / promise band
   ============================================================= */
.promise {
  background: var(--cream);
}
.promise-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.promise-text .h-section { margin-bottom: 24px; }
.promise-text p { font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 18px; }
.promise-text p:last-of-type { margin-bottom: 32px; }
.promise-sig {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.promise-sig-portrait {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: url('https://images.unsplash.com/photo-1559757175-7cb036bf3a89?w=200&q=80&auto=format&fit=crop') center/cover;
  border: 2px solid var(--cream);
  box-shadow: 0 4px 14px rgba(27,58,47,0.16);
}
.promise-sig-text { line-height: 1.25; }
.promise-sig-text .name {
  font-family: 'Source Serif Pro', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--forest);
}
.promise-sig-text .role {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.promise-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-image: url('https://images.unsplash.com/photo-1622253692010-333f2da6031d?w=1200&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}
.promise-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(27,58,47,0.25));
}
.promise-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(250,248,243,0.95);
  backdrop-filter: blur(16px);
  padding: 16px 22px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.promise-badge .big {
  font-family: 'Source Serif Pro', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
}
.promise-badge .lbl {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

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

/* =============================================================
   What we treat — taxonomy grid
   ============================================================= */
.treat { background: var(--cream-2); }
.treat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.treat-card {
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.treat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.treat-photo {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-size: cover;
  background-position: center;
  position: relative;
}
.treat-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,58,47,0.18));
}
.treat-icon {
  position: absolute;
  top: 16px; left: 16px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: var(--forest);
  z-index: 2;
}
.treat-icon svg { width: 22px; height: 22px; }
.treat-body { padding: 22px 24px 26px; }
.treat-body .h-card { margin-bottom: 8px; }
.treat-body p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.treat-body .ages {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-soft);
  font-weight: 600;
}

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

/* =============================================================
   How a visit works — process
   ============================================================= */
.process { background: var(--forest); color: var(--cream); }
.process .h-section, .process .eyebrow { color: var(--cream); }
.process .eyebrow { color: var(--sage-soft); }
.process .eyebrow::before { background: var(--terracotta); }
.process .lede { color: rgba(250,248,243,0.78); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(168,192,160,0.5) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-family: 'Source Serif Pro', serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 22px;
  border: 6px solid var(--forest);
  box-shadow: 0 0 0 1.5px var(--sage);
  position: relative;
}
.process-num::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px dashed rgba(168,192,160,0.3);
}
.process-step h3 {
  color: var(--cream);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Source Serif Pro', serif;
}
.process-step p {
  color: rgba(250,248,243,0.74);
  font-size: 15px;
  line-height: 1.6;
}
.process-step .time {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-soft);
  font-weight: 600;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-grid::before { display: none; }
}
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* =============================================================
   Doctors / team strip
   ============================================================= */
.doctors { background: var(--cream); }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doc-card {
  background: var(--cream);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  transition: all 0.35s ease;
}
.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.doc-photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-size: cover;
  background-position: center top;
  position: relative;
}
.doc-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--cream);
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.doc-tag.bilingual { background: var(--terracotta); color: var(--cream); }
.doc-body { padding: 24px 26px 28px; }
.doc-body h3 {
  font-family: 'Source Serif Pro', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 4px;
}
.doc-body .role {
  font-size: 13.5px;
  color: var(--terracotta);
  font-style: italic;
  margin-bottom: 14px;
  font-family: 'Source Serif Pro', serif;
}
.doc-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.doc-creds {
  margin-top: 16px;
  display: flex;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--forest-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.doc-creds span { display: inline-flex; align-items: center; gap: 5px; }
.doc-creds span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

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

/* =============================================================
   Insurance strip
   ============================================================= */
.insurance {
  background: var(--cream-2);
  padding: 70px 0;
}
.insurance-inner {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 60px;
  align-items: center;
}
.insurance .h-card {
  font-family: 'Source Serif Pro', serif;
  font-size: 22px;
  margin-bottom: 10px;
}
.insurance p { font-size: 14.5px; color: var(--muted); }
.insurance-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
}
.ins-logo {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  font-family: 'Source Serif Pro', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.005em;
  transition: all 0.3s ease;
}
.ins-logo:hover {
  background: var(--cream);
  border-color: var(--sage);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.ins-logo small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .insurance-inner { grid-template-columns: 1fr; gap: 32px; }
  .insurance-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .insurance-logos { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   Testimonial
   ============================================================= */
.testimonial { background: var(--cream); }
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 70px;
  align-items: center;
}
.testimonial-photo {
  aspect-ratio: 5 / 6;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-image: url('https://images.unsplash.com/photo-1530497610245-94d3c16cda28?w=1200&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.testimonial-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,58,47,0.30));
}
.testimonial-quote .mark {
  font-family: 'Source Serif Pro', serif;
  font-size: 100px;
  line-height: 1;
  color: var(--terracotta);
  font-style: italic;
  font-weight: 400;
  margin-bottom: -18px;
  display: block;
}
.testimonial-quote blockquote {
  font-family: 'Source Serif Pro', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.35;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.012em;
}
.testimonial-quote blockquote em { color: var(--terracotta); font-style: italic; font-weight: 500; }
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-attr-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--sage) url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&q=80&auto=format&fit=crop') center/cover;
}
.testimonial-attr .name {
  font-family: 'Source Serif Pro', serif;
  font-size: 17px;
  color: var(--forest);
  font-weight: 600;
}
.testimonial-attr .meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1px;
}

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

/* =============================================================
   Trust band with lottie heartbeat
   ============================================================= */
.trust {
  background: var(--cream-2);
  padding: 80px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
  align-items: center;
}
.trust-cell {
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid var(--hairline);
}
.trust-cell:last-child { border-right: none; }
.trust-cell .big {
  font-family: 'Source Serif Pro', serif;
  font-size: clamp(2.25rem, 3.6vw, 3rem);
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.trust-cell .lbl {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trust-lottie {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
.trust-lottie lottie-player {
  width: 80px;
  height: 80px;
}
@media (max-width: 800px) {
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .trust-cell { border-right: none; border-bottom: 1px solid var(--hairline); padding: 24px; }
  .trust-cell:nth-child(odd) { border-right: 1px solid var(--hairline); }
}

/* =============================================================
   Journal / blog preview
   ============================================================= */
.journal { background: var(--cream); }
.journal-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.journal-head .section-head { margin-bottom: 0; }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.j-card { display: block; transition: transform 0.35s ease; }
.j-card:hover { transform: translateY(-6px); }
.j-photo {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-size: cover;
  background-position: center;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.j-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(27,58,47,0.18));
}
.j-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(10px);
  color: var(--forest);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.j-meta {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.j-meta .sep { color: var(--hairline-strong); }
.j-card h3 {
  font-family: 'Source Serif Pro', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.22;
}
.j-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.j-card .author {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.j-card .author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage) center/cover;
}

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

/* =============================================================
   Booking section
   ============================================================= */
.booking {
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.booking::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,192,160,0.25), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.booking-text .h-section { margin-bottom: 22px; }
.booking-text p { font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 14px; }
.booking-bullets {
  list-style: none;
  margin: 28px 0 36px;
}
.booking-bullets li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  font-size: 15.5px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
}
.booking-bullets li:last-child { border-bottom: none; }
.booking-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3A2F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

.cal {
  background: var(--cream);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--hairline);
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.cal-head .month {
  font-family: 'Source Serif Pro', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--forest);
}
.cal-nav {
  display: inline-flex;
  gap: 8px;
}
.cal-nav button {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--forest);
  display: grid;
  place-items: center;
  transition: background 0.25s ease;
}
.cal-nav button:hover { background: var(--sage-soft); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 26px;
}
.cal-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
}
.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.cal-day:hover { background: var(--cream-2); }
.cal-day.muted { color: var(--muted-2); }
.cal-day.available { color: var(--forest); font-weight: 600; }
.cal-day.available::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--sage-deep);
}
.cal-day.selected {
  background: var(--forest);
  color: var(--cream);
}
.cal-day.selected::after { background: var(--terracotta); }

.cal-slots {
  border-top: 1px solid var(--hairline);
  padding-top: 22px;
}
.cal-slots-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.cal-slots-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.cal-slot {
  padding: 10px 8px;
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest);
  background: var(--cream);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cal-slot:hover { border-color: var(--sage-deep); background: var(--cream-2); }
.cal-slot.selected { border-color: var(--forest); background: var(--forest); color: var(--cream); }

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

/* =============================================================
   FAQ
   ============================================================= */
.faq { background: var(--cream); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 24px 0;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  font-family: 'Source Serif Pro', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.005em;
  cursor: pointer;
  padding: 6px 0;
}
.faq-q .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  color: var(--forest);
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-item.open .faq-q .plus {
  background: var(--forest);
  color: var(--cream);
  transform: rotate(45deg);
}
.faq-a {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
  margin-top: 14px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* =============================================================
   Final CTA
   ============================================================= */
.cta-band {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1631815589968-fdb09a223b1e?w=1800&q=80&auto=format&fit=crop') center/cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 0;
}
.cta-inner .h-section { color: var(--cream); margin-bottom: 22px; }
.cta-inner .h-section em { color: var(--sage-soft); }
.cta-inner p {
  color: rgba(250,248,243,0.82);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-inner .actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-inner .btn-primary { background: var(--cream); color: var(--forest); }
.cta-inner .btn-primary:hover { background: var(--terracotta); color: var(--cream); }
.cta-inner .btn-secondary { color: var(--cream); border-color: rgba(250,248,243,0.5); }
.cta-inner .btn-secondary:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }

/* =============================================================
   Footer
   ============================================================= */
footer {
  background: var(--forest-deep);
  color: rgba(250,248,243,0.72);
  padding: 80px 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,248,243,0.10);
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.foot-brand .brand-portrait {
  width: 46px; height: 46px;
}
.foot-brand .brand-name { color: var(--cream); }
.foot-brand .brand-name small { color: rgba(250,248,243,0.6); }
footer p { color: rgba(250,248,243,0.72); font-size: 14.5px; line-height: 1.65; max-width: 38ch; }
.foot-col h4 {
  font-family: 'Source Serif Pro', serif;
  font-size: 14px;
  color: var(--cream);
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  font-size: 14px;
  color: rgba(250,248,243,0.72);
  transition: color 0.25s ease;
}
.foot-col a:hover { color: var(--terracotta); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  font-size: 13px;
  color: rgba(250,248,243,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom a:hover { color: var(--cream); }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Page header (for inner pages)
   ============================================================= */
.page-head {
  position: relative;
  padding: 220px 0 100px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}
.page-head-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,58,47,0.55), rgba(27,58,47,0.40));
  z-index: -1;
}
.page-head .eyebrow {
  color: var(--sage-soft);
  margin-bottom: 18px;
}
.page-head .eyebrow::before { background: var(--terracotta); }
.page-head .h-display {
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 18ch;
}
.page-head .h-display em { color: var(--sage-soft); }
.page-head .lede {
  color: rgba(250,248,243,0.85);
  max-width: 60ch;
  font-size: 18px;
}
.page-head-meta {
  margin-top: 36px;
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(250,248,243,0.78);
  letter-spacing: 0.05em;
}
.page-head-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-head-meta span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* =============================================================
   About — story / values
   ============================================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.story-photo {
  position: sticky;
  top: 120px;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lift);
}
.story-prose .eyebrow { margin-bottom: 18px; }
.story-prose .h-section { margin-bottom: 28px; }
.story-prose p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.story-prose p:first-of-type::first-letter {
  font-family: 'Source Serif Pro', serif;
  font-size: 4em;
  float: left;
  line-height: 0.9;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--terracotta);
  font-weight: 600;
}
.story-pull {
  margin: 36px 0;
  padding: 28px 30px;
  border-left: 4px solid var(--terracotta);
  background: var(--cream-2);
  border-radius: 0 18px 18px 0;
  font-family: 'Source Serif Pro', serif;
  font-size: 20px;
  font-style: italic;
  color: var(--forest);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-photo { position: static; }
}

.values {
  background: var(--cream-2);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 36px 32px;
  border: 1px solid var(--hairline);
  transition: all 0.35s ease;
}
.value-card:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.value-num {
  font-family: 'Source Serif Pro', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.value-card h3 {
  font-family: 'Source Serif Pro', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 14px;
}
.value-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }

/* Timeline */
.timeline {
  background: var(--cream);
}
.timeline-list {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.timeline-list::before {
  content: "";
  position: absolute;
  left: 80px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--sage-soft);
}
.tl-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 50px;
  padding: 20px 0;
  position: relative;
}
.tl-year {
  font-family: 'Source Serif Pro', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
  position: relative;
  padding-top: 2px;
}
.tl-year::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 1.5px var(--sage);
  z-index: 1;
}
.tl-body h4 {
  font-family: 'Source Serif Pro', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 6px;
}
.tl-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}
@media (max-width: 700px) {
  .timeline-list::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .tl-year::after { left: -28px; right: auto; top: 10px; }
}

/* =============================================================
   Services page bits
   ============================================================= */
.service-anchor-bar {
  background: var(--cream-2);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 18px 0;
  position: sticky;
  top: 70px;
  z-index: 50;
}
.service-anchor-list {
  display: flex;
  gap: 28px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.service-anchor-list::-webkit-scrollbar { display: none; }
.service-anchor-list a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
}
.service-anchor-list a:hover { color: var(--forest); border-color: var(--terracotta); }

.service-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--hairline);
}
.service-row:last-child { border-bottom: none; }
.service-row.reverse > :first-child { order: 2; }
.service-photo {
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--sage-soft), var(--cream-3));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.service-photo .badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.04em;
}
.service-row .eyebrow { margin-bottom: 14px; }
.service-row h2 {
  font-family: 'Source Serif Pro', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--forest);
  margin-bottom: 18px;
  line-height: 1.1;
}
.service-row > div > p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.service-features {
  list-style: none;
  margin: 22px 0 28px;
}
.service-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px dashed var(--hairline);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
  content: "";
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--terracotta);
}
.service-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--cream-2);
  padding: 14px 22px;
  border-radius: 14px;
  margin-bottom: 22px;
}
.service-price .num {
  font-family: 'Source Serif Pro', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
}
.service-price .lbl {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 36px; padding: 50px 0; }
  .service-row.reverse > :first-child { order: 0; }
  .service-anchor-bar { display: none; }
}

/* =============================================================
   Pricing strip on services
   ============================================================= */
.pricing-strip {
  background: var(--cream-2);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-card);
}
.price-cell {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.price-cell:last-child { border-right: none; }
.price-cell .lbl {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.price-cell .num {
  font-family: 'Source Serif Pro', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-cell .sub {
  font-size: 12.5px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-cell { border-right: none; border-bottom: 1px solid var(--hairline); }
  .price-cell:nth-child(odd) { border-right: 1px solid var(--hairline); }
}

/* =============================================================
   Fade-up reveal
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   Misc
   ============================================================= */
::selection { background: var(--terracotta); color: var(--cream); }
