/* ===========================================================================
   Peaceful Paws NY — app.css
   Components + layout for the "Quiet Meadow" design system.
   Loaded after tokens.css and base.css.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   Layout primitives
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--text { max-width: var(--container-text); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--mist { background: var(--sage-mist); }
.section--mist-2 { background: var(--sage-mist-2); }
.section--cream-deep { background: var(--cream-deep); }
.section--sand { background: var(--sand-soft); }

/* Soft top/bottom hairline used to separate tinted bands gently. */
.section--edge-top { border-top: 1px solid var(--border); }

.stack > * + * { margin-top: var(--space-5); }
.stack-sm > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-7); }

.center { text-align: center; }
.measure { max-width: var(--container-text); margin-inline: auto; }
.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--text-soft);
  font-weight: 400;
}

/* ---------------------------------------------------------------------------
   Eyebrow + section heading
   --------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--sage-text);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }

.section-heading { margin-bottom: var(--space-6); }
.section-heading--center { text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading__title { margin-top: var(--space-3); }
.section-heading__sub {
  margin-top: var(--space-4);
  font-size: var(--fs-lead);
  color: var(--text-soft);
  line-height: var(--lh-snug);
  max-width: 52ch;
}
.section-heading--center .section-heading__sub { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--sage-deep);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: var(--tracking-wide);
  text-decoration: none;
  line-height: 1;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--sage-deep) 88%, #000 12%);
}
.btn:active { transform: translateY(0); }

.btn__icon { width: 1.1em; height: 1.1em; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--sage-text);
  border-color: var(--sage-soft);
  box-shadow: none;
}
.btn--ghost:hover {
  --btn-fg: var(--sage-text);
  background: var(--sage-mist);
  border-color: var(--sage);
}

.btn--clay {
  --btn-bg: var(--clay);
  --btn-fg: #3a2a20;
}
.btn--clay:hover { background: color-mix(in srgb, var(--clay) 86%, #000 14%); --btn-fg:#3a2a20; }

.btn--on-dark {
  --btn-bg: var(--white);
  --btn-fg: var(--sage-text);
}
.btn--on-dark:hover { --btn-fg: var(--sage-deep); background: var(--cream); }

.btn--lg { padding: 1.1rem 2rem; font-size: var(--fs-body); }
.btn--block { width: 100%; }

/* Quiet text link with a moving arrow. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--sage-text);
  text-decoration: none;
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform var(--dur) var(--ease); }
a:hover .link-arrow svg,
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   Header
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.site-header[data-scrolled] {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(74, 99, 80, 0.06);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
  padding-block: 0.6rem;
}

/* Wordmark */
.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
  flex: none;
  margin-right: auto;
}
.brand:hover { color: inherit; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand__leaf { width: 1.6rem; height: 1.6rem; color: var(--sage); flex: none; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: 'opsz' 36, 'SOFT' 80;
}
.brand__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.18rem;
  margin-left: 2.15rem;
}

/* Primary nav */
.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 0.6vw, 1rem);
  list-style: none;
  margin: 0; padding: 0;
}
.primary-nav__link {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.primary-nav__link:hover { color: var(--sage-text); background: var(--sage-mist); }
.primary-nav__link[aria-current="page"] {
  color: var(--sage-text);
  background: var(--sage-mist);
}

.header-actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }

/* Click-to-call in header */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.5rem 0.4rem;
  border-radius: var(--radius-pill);
}
.header-call:hover { color: var(--sage-text); }
.header-call__icon {
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  background: var(--sage-mist);
  color: var(--sage-text);
  border-radius: 50%;
  flex: none;
}
.header-call__icon svg { width: 1.05rem; height: 1.05rem; }
.header-call__text { display: flex; flex-direction: column; line-height: 1.1; }
.header-call__label { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-text); }
.header-call__num { font-size: var(--fs-sm); color: var(--ink); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  color: var(--ink);
}
.nav-toggle__bars { position: relative; width: 22px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; height: 2px; width: 100%;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 6vw, 6.5rem); overflow: clip; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; max-width: 36rem; }
.hero__title { font-size: var(--fs-display); margin-top: var(--space-4); font-weight: 340; }
.hero__title em {
  font-style: italic;
  color: var(--sage-text);
  font-variation-settings: 'opsz' 60, 'SOFT' 100, 'WONK' 1;
}
.hero__lead { margin-top: var(--space-5); font-size: var(--fs-lead); color: var(--text-soft); line-height: var(--lh-snug); }
.hero__actions { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.hero__reassure {
  margin-top: var(--space-6);
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-sm); color: var(--ink-soft);
}
.hero__reassure svg { width: 1.1rem; height: 1.1rem; color: var(--sage); flex: none; }

/* Hero figure — soft organic frame */
.hero__figure { position: relative; }
.hero__media {
  position: relative;
  border-radius: 48% 52% 56% 44% / 54% 46% 54% 46%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  isolation: isolate;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(74, 99, 80, 0.18));
}
/* A small floating "leaf" card over the image */
.hero__chip {
  position: absolute;
  left: -1.2rem; bottom: 1.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem;
  max-width: 16rem;
}
.hero__chip svg { width: 1.6rem; height: 1.6rem; color: var(--clay); flex: none; }
.hero__chip-text { font-size: var(--fs-xs); line-height: 1.4; color: var(--ink-soft); }
.hero__chip-text strong { display: block; color: var(--ink); font-size: var(--fs-sm); }

/* Decorative botanical glow behind hero figure */
.hero__bloom {
  position: absolute;
  inset: auto -10% -20% auto;
  width: 28rem; height: 28rem;
  background: radial-gradient(closest-side, rgba(138,168,147,0.35), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card__body { padding: var(--space-6); }
.card__title { font-size: var(--fs-h3); }
.card__text { margin-top: var(--space-3); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.65; }
.card__footer { margin-top: var(--space-5); }

/* Grids */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--services { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }

/* ---------------------------------------------------------------------------
   Service card (gentle, icon-led)
   --------------------------------------------------------------------------- */
.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: var(--space-6);
  background:
    linear-gradient(180deg, var(--white), var(--white)) padding-box;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--sage-soft);
}
.service-card__icon {
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--sage-mist);
  color: var(--sage-text);
  margin-bottom: var(--space-5);
  flex: none;
  transition: background-color var(--dur) var(--ease);
}
.service-card:hover .service-card__icon { background: var(--sage-mist-2); }
.service-card__icon svg { width: 1.7rem; height: 1.7rem; }
.service-card__title { font-size: var(--fs-h3); }
.service-card__title a { color: var(--heading); text-decoration: none; }
.service-card__title a:hover { color: var(--sage-text); }
.service-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole-card link */
.service-card__text { margin-top: var(--space-3); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.65; }
.service-card__more { margin-top: var(--space-5); }

/* Numbered "what to expect" steps */
.steps { display: grid; gap: var(--space-5); grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { position: relative; padding: var(--space-6); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step__num {
  counter-increment: step;
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--clay-mist);
  color: var(--clay-deep);
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
}
.step__num::before { content: counter(step); }
.step__title { font-size: var(--fs-h3); }
.step__text { margin-top: var(--space-2); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.6; }

/* ---------------------------------------------------------------------------
   CTA call band (reusable gentle phone call-to-action)
   --------------------------------------------------------------------------- */
.cta-call {
  position: relative;
  background:
    radial-gradient(40rem 30rem at 85% 120%, rgba(201,139,107,0.30), transparent 60%),
    linear-gradient(160deg, #4f6a57, #3f5648);
  color: var(--cream);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  overflow: hidden;
  isolation: isolate;
}
.cta-call::before {
  /* faint leaf-line motif, decorative */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='2'%3E%3Cpath d='M30 210 C 90 150, 120 120, 130 40'/%3E%3Cpath d='M130 90 C 100 80, 80 70, 70 50'/%3E%3Cpath d='M132 70 C 160 64, 180 54, 190 36'/%3E%3Cpath d='M131 120 C 104 112, 86 104, 78 86'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -30px bottom -30px;
  opacity: 0.9;
  z-index: -1;
}
.cta-call__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.cta-call__copy { max-width: 34rem; }
.cta-call .eyebrow { color: color-mix(in srgb, var(--cream) 82%, var(--sage)); }
.cta-call__title { color: var(--cream); font-size: var(--fs-h2); margin-top: var(--space-3); }
.cta-call__text { margin-top: var(--space-4); color: color-mix(in srgb, var(--cream) 86%, transparent); line-height: var(--lh-snug); }
.cta-call__actions { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.cta-call__phone {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  color: var(--cream); text-decoration: none;
  letter-spacing: -0.01em;
}
.cta-call__phone:hover { color: var(--cream); }
.cta-call__phone svg { width: 1.5rem; height: 1.5rem; color: var(--clay); }
.cta-call__note { font-size: var(--fs-sm); color: color-mix(in srgb, var(--cream) 78%, transparent); }

/* ---------------------------------------------------------------------------
   Promise / trust (by Skillman)
   --------------------------------------------------------------------------- */
.promise {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.promise__media { position: relative; }
.promise__media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.promise__badge {
  position: absolute; right: -1rem; top: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 0.85rem 1.1rem;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}
.promise__badge svg { width: 1.5rem; height: 1.5rem; color: var(--clay); }

.trust-points { list-style: none; padding: 0; margin-top: var(--space-6); display: grid; gap: var(--space-4); }
.trust-points li { display: flex; gap: 0.85rem; align-items: flex-start; }
.trust-points svg { width: 1.4rem; height: 1.4rem; color: var(--sage-text); flex: none; margin-top: 0.15rem; }
.trust-points strong { display: block; color: var(--ink); }
.trust-points span { color: var(--text-soft); font-size: var(--fs-sm); }

/* ---------------------------------------------------------------------------
   Testimonial / family note
   --------------------------------------------------------------------------- */
.note {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  box-shadow: var(--shadow-xs);
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.note__quote {
  font-family: var(--font-head);
  font-weight: 360;
  font-style: italic;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.4;
  color: var(--ink);
  font-variation-settings: 'opsz' 48, 'SOFT' 100;
}
.note__mark {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--sage-soft);
  display: block;
  height: 1.6rem;
}
.note__cite { margin-top: var(--space-5); font-size: var(--fs-sm); color: var(--ink-soft); font-style: normal; }
.note__cite strong { color: var(--sage-text); }

/* ---------------------------------------------------------------------------
   Resource teaser cards
   --------------------------------------------------------------------------- */
.resource-card { display: flex; flex-direction: column; }
.resource-card__body { padding: var(--space-6); display: flex; flex-direction: column; height: 100%; }
.resource-card__kicker { font-size: var(--fs-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--clay-deep); font-weight: 600; }
.resource-card__title { font-size: var(--fs-h3); margin-top: var(--space-2); }
.resource-card__title a { color: var(--heading); text-decoration: none; }
.resource-card__title a:hover { color: var(--sage-text); }
.resource-card__text { margin-top: var(--space-3); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.6; flex: 1; }
.resource-card__more { margin-top: var(--space-5); }

/* ---------------------------------------------------------------------------
   Page hero (interior pages — service detail etc.)
   --------------------------------------------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem,1rem+2vw,2.5rem); position: relative; }
.page-hero__inner { max-width: var(--container-text); }
.page-hero__title { font-size: var(--fs-h1); margin-top: var(--space-3); }
.page-hero__summary { margin-top: var(--space-4); font-size: var(--fs-lead); color: var(--text-soft); line-height: var(--lh-snug); }

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-sm); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; align-items: center; color: var(--ink-soft); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sage-text); }
.breadcrumbs li[aria-current="page"] { color: var(--sage-text); font-weight: 600; }
.breadcrumbs__sep { opacity: 0.5; }

/* ---------------------------------------------------------------------------
   Service detail layout
   --------------------------------------------------------------------------- */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
.service-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--space-5); }

.aside-call {
  background: var(--sage-mist);
  border: 1px solid var(--sage-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}
.aside-call__leaf { width: 2.2rem; height: 2.2rem; color: var(--sage-text); margin-inline: auto; }
.aside-call__title { font-size: var(--fs-h3); margin-top: var(--space-3); }
.aside-call__text { margin-top: var(--space-3); font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }
.aside-call__phone {
  display: block; margin-top: var(--space-4);
  font-family: var(--font-head); font-size: 1.5rem; color: var(--sage-text); text-decoration: none;
}
.aside-call__phone:hover { color: var(--clay-deep); }
.aside-call .btn { margin-top: var(--space-4); }

.aside-related { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.aside-related__title { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--ink-soft); font-family: var(--font-body); font-weight: 700; }
.aside-related__list { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: 0.4rem; }
.aside-related__list a {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500;
}
.aside-related__list a:hover { background: var(--sage-mist); color: var(--sage-text); }
.aside-related__list svg { width: 1rem; height: 1rem; color: var(--sage); flex: none; }

/* What-to-expect reassurance block on service pages */
.reassure-band {
  background: var(--clay-mist);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  margin-top: var(--space-7);
  display: flex; gap: var(--space-4); align-items: flex-start;
}
.reassure-band svg { width: 2rem; height: 2rem; color: var(--clay-deep); flex: none; }
.reassure-band h3 { font-size: var(--fs-h3); }
.reassure-band p { margin-top: var(--space-2); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.65; }

/* ---------------------------------------------------------------------------
   Prose (trusted body HTML)
   --------------------------------------------------------------------------- */
.prose { max-width: 68ch; color: var(--text); }
.prose > * + * { margin-top: var(--space-5); }
.prose p { font-size: var(--fs-body); line-height: var(--lh-body); }
.prose h2 { font-size: var(--fs-h2); margin-top: var(--space-7); }
.prose h3 { font-size: var(--fs-h3); margin-top: var(--space-6); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: var(--space-2); line-height: var(--lh-snug); }
.prose li::marker { color: var(--sage); }
.prose a { font-weight: 600; }
.prose strong { color: var(--ink); }
.prose blockquote {
  border-left: 3px solid var(--sage);
  padding-left: var(--space-5);
  color: var(--ink-soft);
  font-style: italic;
}
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-block: var(--space-6); }

/* ---------------------------------------------------------------------------
   "How we help" simple overview list
   --------------------------------------------------------------------------- */
.help-list { display: grid; gap: var(--space-5); }

/* ---------------------------------------------------------------------------
   Coming-together placeholder pages
   --------------------------------------------------------------------------- */
.placeholder { text-align: center; max-width: 40rem; margin-inline: auto; padding-block: clamp(2rem, 1.5rem + 3vw, 4rem); }
.placeholder__leaf { width: 3rem; height: 3rem; color: var(--sage); margin-inline: auto; margin-bottom: var(--space-4); }
.placeholder__title { font-size: var(--fs-h1); }
.placeholder__text { margin-top: var(--space-4); color: var(--text-soft); font-size: var(--fs-lead); line-height: var(--lh-snug); }
.placeholder__actions { margin-top: var(--space-6); display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   What to Expect — the unhurried in-home flow
   --------------------------------------------------------------------------- */
.expect-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-5);
  counter-reset: expect;
  max-width: 52rem;
}
.expect-step {
  counter-increment: expect;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  position: relative;
}
/* A soft connecting line between the step markers. */
.expect-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: calc(var(--space-6) + 1.7rem);
  top: calc(var(--space-6) + 3.4rem);
  bottom: -1.35rem;
  width: 2px;
  background: linear-gradient(var(--sage-soft), transparent);
  z-index: 0;
}
.expect-step__marker {
  position: relative;
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--sage-text);
  flex: none;
  z-index: 1;
}
.expect-step__num { display: grid; place-items: center; }
.expect-step__num::before {
  content: counter(expect);
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--clay-deep);
}
/* The icon sits as a small badge over the number circle. */
.expect-step__icon {
  position: absolute;
  right: -0.35rem; bottom: -0.35rem;
  width: 1.6rem; height: 1.6rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-text);
  box-shadow: var(--shadow-xs);
}
.expect-step__icon svg { width: 0.95rem; height: 0.95rem; }
.expect-step__title { font-size: var(--fs-h3); }
.expect-step__text { margin-top: var(--space-2); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.65; }

/* In-clinic two-column band */
.expect-clinic {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.expect-clinic__media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------------------------------------------------------------------------
   Soft FAQ (native <details>)
   --------------------------------------------------------------------------- */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[open] { border-color: var(--sage-soft); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: var(--fs-h3);
  color: var(--heading);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__chevron { width: 1.3rem; height: 1.3rem; color: var(--sage-text); flex: none; transition: transform var(--dur) var(--ease); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__a { padding: 0 var(--space-6) var(--space-6); }
.faq__a p { color: var(--text-soft); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ---------------------------------------------------------------------------
   About — "Our promise" commitment cards
   --------------------------------------------------------------------------- */
.promise-grid { margin-top: var(--space-2); }
.promise-card { padding: var(--space-6); text-align: center; display: flex; flex-direction: column; align-items: center; }
.promise-card__icon {
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--clay-mist);
  color: var(--clay-deep);
  margin-bottom: var(--space-4);
}
.promise-card__icon svg { width: 1.7rem; height: 1.7rem; }
.promise-card__title { font-size: var(--fs-h3); }
.promise-card__text { margin-top: var(--space-3); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.6; }

/* ---------------------------------------------------------------------------
   Contact — phone-first call panel
   --------------------------------------------------------------------------- */
.call-panel {
  background:
    radial-gradient(36rem 24rem at 90% -10%, rgba(201,139,107,0.16), transparent 60%),
    var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.75rem, 1.3rem + 2.5vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.call-panel__line {
  margin-top: var(--space-3);
  font-family: var(--font-head);
  font-weight: 360;
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.7rem);
  line-height: var(--lh-snug);
  color: var(--ink);
  max-width: 22ch;
}
.call-panel__phone {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-top: var(--space-4);
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
  color: var(--sage-text); text-decoration: none;
  letter-spacing: -0.01em;
}
.call-panel__phone:hover { color: var(--clay-deep); }
.call-panel__phone svg { width: 1.6rem; height: 1.6rem; color: var(--clay); flex: none; }
.call-panel__meta {
  display: grid;
  gap: var(--space-3);
  padding-left: clamp(0rem, 1vw, var(--space-6));
  border-left: 1px solid var(--border);
}
.call-panel__item { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink); font-size: var(--fs-sm); }
.call-panel__item svg { width: 1.15rem; height: 1.15rem; color: var(--sage-text); flex: none; margin-top: 0.15rem; }
.call-panel__item a { color: var(--ink); text-decoration: none; font-weight: 600; }
.call-panel__item a:hover { color: var(--sage-text); }

/* ---------------------------------------------------------------------------
   Forms — request a visit (gentle, accessible)
   --------------------------------------------------------------------------- */
.form-main { max-width: 50rem; margin-inline: auto; }
.form-card-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.75rem, 1.3rem + 2.5vw, 3rem);
}
.form-card-panel__head { margin-bottom: var(--space-6); }
.form-card-panel__title { font-size: var(--fs-h2); margin-top: var(--space-3); }
.form-card-panel__hint { margin-top: var(--space-3); color: var(--text-soft); font-size: var(--fs-sm); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); margin-bottom: var(--space-5); }

.field { display: grid; gap: 0.4rem; }
.field__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field__req { color: var(--clay-deep); margin-left: 0.15rem; }
.field__hint { font-size: var(--fs-xs); color: var(--ink-soft); margin-top: -0.1rem; }
.field__control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--cream);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.field__control::placeholder { color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.field__control:hover { border-color: var(--sage-soft); }
.field__control:focus {
  outline: none;
  border-color: var(--sage);
  background: var(--white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 35%, transparent);
}
.field__control:focus-visible { outline: none; }
textarea.field__control { resize: vertical; min-height: 7rem; line-height: var(--lh-snug); }
.field__control--error { border-color: var(--clay-deep); background: var(--clay-mist); }
.field__control--error:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--clay-deep) 28%, transparent); }

/* Custom select with a soft caret */
.field__select { position: relative; }
.field__select select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.6rem; cursor: pointer;
}
.field__select-caret {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.1rem; height: 1.1rem; color: var(--sage-text); pointer-events: none;
}

.field__error {
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--clay-deep); font-size: var(--fs-sm); font-weight: 500;
}
.field__error svg { width: 1rem; height: 1rem; flex: none; }

.form-alert {
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: var(--clay-mist);
  border: 1px solid color-mix(in srgb, var(--clay) 45%, transparent);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  color: var(--clay-deep);
}
.form-alert svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.1rem; }
.form-alert p { font-size: var(--fs-sm); color: var(--clay-deep); }

.form-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-6); }
.form-actions__note { font-size: var(--fs-xs); color: var(--ink-soft); max-width: 28ch; }

/* Form success panel (PRG target) */
.form-success {
  background: var(--white);
  border: 1px solid var(--sage-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}
.form-success__badge {
  width: 3.4rem; height: 3.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage-mist);
  color: var(--sage-deep);
  margin-inline: auto;
}
.form-success__badge svg { width: 1.7rem; height: 1.7rem; }
.form-success__title { font-size: var(--fs-h2); margin-top: var(--space-4); }
.form-success__lead { margin-top: var(--space-4); color: var(--text-soft); font-size: var(--fs-lead); line-height: var(--lh-snug); }
.form-success__actions { margin-top: var(--space-6); display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------- */
.site-footer {
  margin-top: var(--space-9);
  background: linear-gradient(180deg, var(--cream-deep), #efe7da);
  border-top: 1px solid var(--border);
  position: relative;
}
.site-footer__leaf-edge {
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage-soft), transparent);
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-7);
  padding-block: var(--space-8) var(--space-7);
}
.footer-brand__name { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); display: flex; align-items: center; gap: 0.5rem; }
.footer-brand__name svg { width: 1.5rem; height: 1.5rem; color: var(--sage); }
.footer-brand__tagline { margin-top: var(--space-2); color: var(--ink-soft); font-size: var(--fs-sm); }
.footer-brand__closing { margin-top: var(--space-5); color: var(--text-soft); font-size: var(--fs-sm); line-height: 1.6; max-width: 30ch; font-style: italic; font-family: var(--font-head); }

.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--ink-soft); font-weight: 700; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
.footer-col a { color: var(--ink); text-decoration: none; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--sage-text); }

.footer-contact { display: grid; gap: var(--space-3); }
.footer-contact__item { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink); font-size: var(--fs-sm); }
.footer-contact__item svg { width: 1.1rem; height: 1.1rem; color: var(--sage-text); flex: none; margin-top: 0.2rem; }
.footer-contact__item a { color: var(--ink); text-decoration: none; }
.footer-contact__item a:hover { color: var(--sage-text); }

.footer-family {
  border-top: 1px solid var(--border);
  padding-block: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  align-items: center; justify-content: space-between;
}
.footer-family__note { font-size: var(--fs-sm); color: var(--ink-soft); }
.footer-family__note a { color: var(--sage-text); font-weight: 600; }
.footer-legal { font-size: var(--fs-xs); color: var(--ink-soft); }

/* ---------------------------------------------------------------------------
   Reveal-on-scroll
   --------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 320ms; }

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 30rem; margin-inline: auto; }
  .hero__content { max-width: none; }
  .promise { grid-template-columns: 1fr; }
  .promise__media { max-width: 26rem; }
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .expect-clinic { grid-template-columns: 1fr; }
  .expect-clinic__media { max-width: 30rem; margin-inline: auto; }
  .call-panel { grid-template-columns: 1fr; }
  .call-panel__meta { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: var(--space-5); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  /* Mobile nav: slide-down panel toggled by the hamburger. */
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: var(--space-4) var(--gutter) var(--space-6);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav[data-open] { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .primary-nav__link { padding: 0.85rem 1rem; font-size: var(--fs-body); }
  .header-call__text { display: none; }     /* keep just the call icon on small screens */
  .grid--2, .grid--3, .grid--services { grid-template-columns: 1fr; }
  .service-aside { grid-template-columns: 1fr; }
  .cta-call__inner { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .grid--4.promise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; }
  .footer-family { flex-direction: column; align-items: flex-start; }
  .hero__chip { left: 0; }
}
