/* Maplewood Animal Hospital — Vet Mainstream template
   Palette: dusty terracotta + warm linen + sage
   Type: Cardo (display) + Source Sans 3 (body)
*/

:root {
  --primary: #b86850;
  --primary-dark: #7e4030;
  --bg: #f1ebe0;
  --card: #fbf7ee;
  --ink: #221c14;
  --ink-soft: #5a4d3e;
  --rule: #c4b89c;
  --accent-sage: #94a572;
  --accent-deep: #5a6b50;
  --shadow: rgba(34, 28, 20, 0.10);
  --shadow-lift: rgba(34, 28, 20, 0.16);

  --display: 'Cardo', 'EB Garamond', Georgia, serif;
  --body: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --accent: 'Cardo', 'EB Garamond', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(184, 104, 80, 0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s, color 0.2s;
}
a:hover { text-decoration-color: var(--primary); color: var(--primary-dark); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.2;
}
h1 {
  font-weight: 700;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  line-height: 1.10;
  letter-spacing: -0.005em;
}
h2 {
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.20;
}
h3 {
  font-weight: 700;
  font-style: italic;
  font-size: 1.375rem;
}
p { margin-bottom: 1em; }
em { font-style: italic; }

.smallcaps {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent-sage);
  display: inline-block;
}

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--medium { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-dark);
  color: var(--bg);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  z-index: 200;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  transition: box-shadow 0.3s ease;
  border-top: 1px solid var(--primary);
}
.site-header.is-scrolled {
  box-shadow: 0 2px 12px var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.25rem;
}
.brand-block { display: flex; flex-direction: column; gap: 0.15rem; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.005em;
  line-height: 1;
}
.wordmark:hover { color: var(--primary-dark); }
.brand-credentials {
  font-family: var(--body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent-sage);
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav a {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--primary); }
.site-nav a.is-current {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.2rem;
}
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--primary); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.4rem;
  color: var(--ink);
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .header-phone { display: none; }
  .menu-toggle { display: block; }
}

/* BUTTONS */
.btn {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn:hover { background: var(--primary); color: var(--bg); text-decoration: none; }
.btn--primary {
  background: var(--primary);
  color: var(--bg);
}
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--bg); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--on-image {
  background: rgba(251, 247, 238, 0.95);
  color: var(--ink);
  border-color: rgba(251, 247, 238, 0.95);
}
.btn--on-image:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

/* SECTIONS */
section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* HOMEPAGE HERO */
.hero {
  position: relative;
  min-height: 520px;
  height: 75vh;
  max-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,28,20,0.15) 0%, rgba(34,28,20,0.30) 100%);
}
.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(241, 235, 224, 0.92);
  padding: 3rem 2.5rem;
  max-width: 56rem;
  margin: 0 1.5rem;
  border: 1px solid rgba(196, 184, 156, 0.5);
  box-shadow: 0 8px 32px rgba(34,28,20,0.18);
}
.hero-card .smallcaps { margin-bottom: 1rem; }
.hero-card h1 { margin-bottom: 1.5rem; max-width: 22ch; text-wrap: balance; }
.hero-card .hero-italic {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 700px) {
  .hero-card { padding: 2rem 1.5rem; }
}

/* PAGE HERO */
.page-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34,28,20,0.15) 0%, rgba(34,28,20,0.55) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2.5rem 0 3rem;
  color: var(--bg);
}
.page-hero-inner .smallcaps { color: #d8e3b5; margin-bottom: 0.75rem; }
.page-hero-inner h1 {
  color: var(--bg);
  max-width: 30ch;
  text-wrap: balance;
}
.breadcrumb {
  font-family: var(--body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(251, 247, 238, 0.85);
  margin-top: 1rem;
}
.breadcrumb a { color: rgba(251, 247, 238, 0.85); text-decoration: none; }
.breadcrumb a:hover { color: var(--bg); text-decoration: underline; }
.breadcrumb .sep { margin: 0 0.5rem; color: rgba(251, 247, 238, 0.5); }

/* CREDENTIAL STRIP (homepage + /about) */
.credential-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--accent-sage);
  border-bottom: 1px solid var(--accent-sage);
  background: var(--bg);
}
.credential-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.credential-badges {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.credential-badge {
  width: 120px;
  height: 120px;
  background: var(--card);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem;
  position: relative;
}
.credential-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-sage);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.credential-badge:nth-child(2) .credential-badge-icon { background: var(--primary); }
.credential-badge:nth-child(3) .credential-badge-icon { background: var(--accent-deep); }
.credential-badge-title {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.credential-badge-sub {
  font-family: var(--body);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 0.25rem;
}
.credential-explainer p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 44ch;
}
.credential-explainer p:last-child { margin-bottom: 0; }

@media (max-width: 800px) {
  .credential-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .credential-badges { justify-content: center; }
}

/* SERVICES GRID (homepage "what we do") */
.svc-grid-section { padding: 5rem 0; }
.svc-grid-header { margin-bottom: 3rem; max-width: 44rem; }
.svc-grid-header .smallcaps { margin-bottom: 0.75rem; }
.svc-grid-header h2 { margin-bottom: 1rem; }
.svc-grid-header p { font-size: 1.0625rem; color: var(--ink-soft); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.svc-tile {
  background: var(--card);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.svc-tile:hover {
  box-shadow: 0 6px 20px var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.svc-tile-num {
  font-family: var(--body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-sage);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.svc-tile h3 {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.svc-tile p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.svc-tile-link {
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.svc-tile:hover .svc-tile-link { text-decoration: underline; text-decoration-color: var(--primary); }

@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-grid { grid-template-columns: 1fr; } }

/* VET CARDS (homepage "meet the doctors") */
.vets-section { padding: 5rem 0; background: var(--card); }
.vets-header { margin-bottom: 3rem; }
.vets-header .smallcaps { margin-bottom: 0.75rem; }
.vets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.vet-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.vet-card-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--rule);
  margin-bottom: 1rem;
  transition: filter 0.2s;
}
.vet-card:hover .vet-card-photo { filter: brightness(0.95); }
.vet-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.vet-card-role {
  font-family: var(--body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-sage);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.vet-card-bio {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.vet-card-pet {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}
.vet-card-pet-label {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-weight: 600;
  margin-right: 0.5rem;
}

@media (max-width: 1000px) { .vets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .vets-grid { grid-template-columns: 1fr; } }

/* WELLNESS PLAN PREVIEW (homepage) */
.plan-preview-section { padding: 5rem 0; }
.plan-preview-header { margin-bottom: 3rem; max-width: 44rem; }
.plan-preview-header .smallcaps { color: var(--accent-sage); margin-bottom: 0.75rem; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-card--featured {
  border-color: var(--primary);
  border-width: 2px;
}
.plan-card-tag {
  display: inline-block;
  font-family: var(--body);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--accent-sage);
  margin-bottom: 0.75rem;
}
.plan-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.plan-card-price {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.plan-card-price small {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
}
.plan-card-sub {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.plan-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.plan-card-bullets li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
}
.plan-card-bullets li::before {
  content: "·";
  position: absolute;
  left: 0.5rem;
  color: var(--accent-sage);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  top: 0.4rem;
}
.plan-card .btn { width: 100%; text-align: center; }
.plan-preview-footer {
  margin-top: 2.5rem;
  text-align: center;
}
.plan-preview-footer a {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.plan-preview-footer a:hover { text-decoration: underline; }

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

/* FEAR FREE BAND (homepage) */
.fearfree-band {
  background: var(--bg);
  padding: 5rem 0;
  border-top: 1px solid var(--accent-sage);
  border-bottom: 1px solid var(--accent-sage);
}
.fearfree-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.fearfree-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--rule);
}
.fearfree-content .smallcaps { margin-bottom: 0.75rem; }
.fearfree-content h2 { margin-bottom: 1.5rem; }
.fearfree-content p { font-size: 1.0625rem; color: var(--ink); line-height: 1.7; }
.fearfree-content p:last-child {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .fearfree-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* PULL QUOTE BAND (homepage) */
.pullquote-band {
  background: var(--primary-dark);
  color: var(--bg);
  padding: 6rem 0;
  text-align: center;
}
.pullquote-band blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.4;
  color: var(--bg);
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.pullquote-band .attribution {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(241,235,224,0.75);
  font-weight: 600;
  margin-top: 2rem;
}

/* SERVICE AREA / MAP (homepage) */
.area-section {
  border-top: 1px solid var(--rule);
}
.area-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 0;
  align-items: stretch;
}
.area-map-frame {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  aspect-ratio: 4/3;
}
.area-info {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.area-info .smallcaps { margin-bottom: 0.75rem; }
.area-info h2 { margin-bottom: 1rem; }
.area-info address {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.area-info p { color: var(--ink-soft); line-height: 1.65; margin-bottom: 1rem; }
.area-info .area-towns {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent-sage);
  line-height: 1.8;
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-info { padding: 3rem 1.5rem; }
}

/* ARTICLE PROSE (about, services detail) */
.article-prose {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  padding: 4rem 0 5rem;
}
.article-prose .smallcaps { margin-bottom: 0.75rem; }
.article-prose p { margin-bottom: 1.25rem; }
.article-prose h2 {
  font-family: var(--display);
  font-weight: 400;
  margin: 3rem 0 1rem;
  letter-spacing: 0;
}
.article-prose h3 { margin: 2rem 0 0.75rem; }
.article-prose blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
  padding: 1.5rem 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  text-align: center;
}
.article-prose ul { margin: 1rem 0 1.5rem 1.5rem; }
.article-prose li { margin-bottom: 0.4rem; }

/* DEFINITION LISTS */
dl.included {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.85rem 2rem;
  margin: 1.75rem 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
dl.included dt {
  font-family: var(--body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-sage);
  font-weight: 600;
  align-self: start;
  padding-top: 0.2rem;
}
dl.included dd { font-size: 1.0625rem; color: var(--ink); }

@media (max-width: 600px) {
  dl.included { grid-template-columns: 1fr; gap: 0.4rem 0; }
  dl.included dt { padding-top: 1rem; }
  dl.included dt:first-child { padding-top: 0; }
}

/* DETAIL PAGE LAYOUT (services subpages) */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 4rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  align-items: start;
}
.detail-sidebar {
  position: sticky;
  top: 6.5rem;
  padding: 2rem 1.75rem;
  border: 1px solid var(--rule);
  background: var(--card);
}
.detail-sidebar h3 {
  font-family: var(--body);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-sage);
  margin-bottom: 1rem;
  font-weight: 600;
}
.detail-sidebar .sidebar-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin-bottom: 1.25rem;
}
.detail-sidebar p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-soft); }
.detail-sidebar .sidebar-cta {
  display: block;
  background: var(--primary);
  color: var(--bg);
  padding: 0.85rem 1rem;
  text-align: center;
  margin: 1.25rem 0;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--primary);
  transition: background 0.2s;
}
.detail-sidebar .sidebar-cta:hover { background: var(--primary-dark); }
.detail-sidebar .sidebar-link {
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}
.detail-sidebar .sidebar-link:last-child { border-bottom: 0; }
.detail-sidebar .sidebar-link:hover { color: var(--primary); }

@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .detail-sidebar { position: static; }
}

/* SERVICES INDEX ALTERNATING BLOCKS */
.svc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.svc-block.reverse > :first-child { order: 2; }
.svc-block-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--rule);
}
.svc-block-num {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent-sage);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.svc-block h2 {
  margin-bottom: 1rem;
}
.svc-block p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.svc-block-link {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.svc-block-link:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .svc-block { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .svc-block.reverse > :first-child { order: 0; }
}

/* OUR-VETS LONG BIO SECTIONS */
.vet-bio {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--rule);
}
.vet-bio:last-child { border-bottom: 0; }
.vet-bio.reverse > :first-child { order: 2; }
.vet-bio-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--rule);
}
.vet-bio-content .smallcaps { margin-bottom: 0.75rem; }
.vet-bio-content h2 {
  margin-bottom: 0.4rem;
}
.vet-bio-content .vet-bio-role {
  font-family: var(--body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--accent-sage);
  margin-bottom: 1.5rem;
}
.vet-bio-content p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 1rem; }
.vet-bio-pet-note {
  background: var(--card);
  border-left: 3px solid var(--accent-sage);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--ink);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .vet-bio { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; padding-bottom: 3rem; }
  .vet-bio.reverse > :first-child { order: 0; }
}

/* WELLNESS PLANS COMPARISON TABLE */
.plan-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.plan-compare-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
}
.plan-compare-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: 0 6px 24px var(--shadow);
}
.plan-compare-card .plan-card-tag { color: var(--accent-sage); }
.plan-compare-card--featured .plan-card-tag { color: var(--primary); }
.plan-compare-card-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.625rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.plan-compare-card-price {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.75rem;
  color: var(--primary);
  line-height: 1;
  margin: 0.4rem 0 0.25rem;
}
.plan-compare-card-price small {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.plan-compare-card-sub {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
.plan-compare-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.plan-compare-card-bullets li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.45;
  border-bottom: 1px dashed var(--rule);
}
.plan-compare-card-bullets li:last-child { border-bottom: 0; }
.plan-compare-card-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0.25rem;
  color: var(--accent-sage);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  top: 0.5rem;
}
.plan-compare-card--featured .plan-compare-card-bullets li::before { color: var(--primary); }
.plan-compare-card .btn { width: 100%; text-align: center; }

.plan-fineprint {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.5rem 1.75rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 2rem 0 3rem;
}

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

/* FAQ BLOCK */
.faq-block {
  margin: 3rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
}
.faq-block-header { margin-bottom: 2rem; }
.faq-block-header .smallcaps { margin-bottom: 0.75rem; }
.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 0; }
.faq-question {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.faq-answer { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-soft); }

/* NEW CLIENTS — STEPS */
.steps {
  counter-reset: stepcount;
  margin: 2.5rem 0;
}
.step {
  position: relative;
  padding: 1.5rem 0 1.5rem 4.5rem;
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step::before {
  counter-increment: stepcount;
  content: counter(stepcount);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
}
.step h3 {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.step p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; margin-bottom: 0; }

/* PAYMENT GRID */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.payment-card {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.75rem 1.5rem;
}
.payment-card h3 {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-sage);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.payment-card p { font-size: 1rem; color: var(--ink); line-height: 1.55; margin-bottom: 0.5rem; }
.payment-card p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .payment-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 3rem;
  padding: 4rem 0;
}
.contact-form-card {
  background: var(--card);
  padding: 2.5rem;
  border: 1px solid var(--rule);
}
.contact-form-card h2 { margin-bottom: 1rem; }
.contact-info {
  padding: 0.5rem 0;
}
.contact-info .big-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin: 0.5rem 0 1.5rem;
  letter-spacing: -0.01em;
}
.contact-info .label {
  font-family: var(--body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-sage);
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  display: block;
}
.contact-info .label:first-of-type { margin-top: 0; }
.contact-info p { font-size: 1.0625rem; line-height: 1.6; }
.contact-info address {
  font-style: normal;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
}
.after-hours {
  background: var(--card);
  border-left: 3px solid var(--primary);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}
.after-hours .label { margin-top: 0; }
.after-hours p {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
}
.contact-map-frame {
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 360px;
  border: 0;
  display: block;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 4rem 0;
  border-top: 1px solid var(--rule);
}
.info-grid h3 {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.info-grid p { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .info-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* FORMS */
.form-row { margin-bottom: 1.25rem; }
.form-row label {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: var(--primary);
}
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-submit {
  background: var(--primary);
  color: var(--bg);
  border: 0;
  padding: 1rem 2rem;
  font-family: var(--body);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
  display: inline-block;
}
.form-submit:hover { background: var(--primary-dark); }

@media (max-width: 600px) { .form-row-grid { grid-template-columns: 1fr; } }

/* RELATED SERVICES */
.related-services {
  margin: 3rem 0;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
}
.related-services .smallcaps { margin-bottom: 0.75rem; }
.related-services h2 { margin-bottom: 1.5rem; }
.related-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.related-thumb {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.related-thumb:hover { box-shadow: 0 4px 12px var(--shadow); }
.related-thumb h3 {
  font-family: var(--display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.related-thumb p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0; line-height: 1.5; }
@media (max-width: 700px) { .related-thumbs { grid-template-columns: 1fr; gap: 1rem; } }

/* INTRO ESSAY (for /our-vets, /services, /wellness-plans) */
.intro-essay {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
}
.intro-essay p { margin-bottom: 1.25rem; }

/* FOOTER */
.footer {
  background: var(--primary-dark);
  color: var(--bg);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}
.footer h3 {
  font-family: var(--body);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,235,224,0.7);
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer .wordmark {
  color: var(--bg);
  display: inline-block;
  margin-bottom: 1rem;
}
.footer .wordmark:hover { color: rgba(241,235,224,0.85); }
.footer-mission {
  color: rgba(241,235,224,0.78);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 36ch;
}
.footer-creds {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(241,235,224,0.65);
  font-weight: 600;
}
.footer-creds span::before { content: "· "; margin-right: 0.3rem; color: rgba(241,235,224,0.45); }
.footer-creds span:first-child::before { content: ""; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a {
  color: rgba(241,235,224,0.78);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover { color: var(--bg); text-decoration: underline; }
.footer-nap p {
  color: rgba(241,235,224,0.85);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.footer-nap a { color: rgba(241,235,224,0.95); text-decoration: none; }
.footer-nap a:hover { text-decoration: underline; }
.footer-hours {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: rgba(241,235,224,0.75);
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(241,235,224,0.18);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--body);
  font-size: 0.8rem;
  color: rgba(241,235,224,0.5);
}
.footer-bottom em {
  font-family: var(--display);
  font-style: italic;
  color: rgba(241,235,224,0.65);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* CLOSING CTA (about, services-detail) */
.closing-cta {
  background: var(--card);
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.closing-cta h2 { margin-bottom: 1rem; }
.closing-cta p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
}
.closing-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* UTILITIES */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
