/* ==========================================================================
   Cedar Hollow Veterinary Clinic — calm clinical warmth
   White #fdfcf9 · Spruce teal #2f6f64 · Apricot #e08a3c
   Domine (display) + Atkinson Hyperlegible (body, chosen for legibility)
   Zero JavaScript.
   ========================================================================== */

:root {
  --white: #fdfcf9;
  --mist: #eef2ee;
  --spruce: #2f6f64;
  --spruce-deep: #20524a;
  --apricot: #e08a3c;
  --apricot-deep: #b96a22;
  --ink: #2c3833;
  --display: "Domine", Georgia, serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[id] { scroll-margin-top: 1rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--spruce);
  color: var(--white);
  font-weight: 700;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus { top: 0.5rem; }

:focus-visible {
  outline: 3px solid var(--apricot-deep);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.55em;
  color: var(--spruce-deep);
}

h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: var(--spruce-deep); text-decoration-color: var(--apricot); }

/* ---------- ER bar ---------- */

.er-bar {
  margin: 0;
  background: var(--apricot);
  color: #3d2406;
  text-align: center;
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
}

.er-bar a { color: #3d2406; font-weight: 700; white-space: nowrap; }

/* ---------- Header ---------- */

.site-header {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--spruce-deep);
}

.brand-text {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-text em {
  font-style: normal;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.8rem;
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apricot-deep);
}

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.header-call {
  font-weight: 700;
  text-decoration: none;
  color: var(--spruce-deep);
  white-space: nowrap;
}

.header-book {
  background: var(--spruce);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  white-space: nowrap;
}

.header-book:hover { background: var(--apricot-deep); }

.site-nav { width: 100%; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0 0.9rem;
  display: flex;
  gap: 1.6rem;
  border-bottom: 2px solid var(--mist);
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav ul::-webkit-scrollbar { display: none; }

.site-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible { color: var(--spruce-deep); text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 480px) {
  .header-call { display: none; }
  .brand-text { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 5rem) 1.25rem 2rem;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--apricot-deep);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 20ch;
}

.hero-lede { max-width: 54ch; font-size: 1.1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }

.btn {
  display: inline-block;
  background: var(--spruce);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--spruce);
}

.btn:hover, .btn:focus-visible { background: var(--spruce-deep); border-color: var(--spruce-deep); }

.btn-line { background: transparent; color: var(--spruce-deep); }

.btn-line:hover, .btn-line:focus-visible { background: var(--mist); }

/* ---------- Services ---------- */

.section {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.25rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1.25rem;
}

.svc {
  background: var(--mist);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  border-left: 6px solid var(--spruce);
}

.svc:nth-child(even) { border-left-color: var(--apricot); }

.svc h3 { margin-bottom: 0.15rem; color: var(--ink); }

.svc-price {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--spruce-deep);
  margin-bottom: 0.5rem;
}

.svc p:last-child { margin: 0; font-size: 0.97rem; }

/* ---------- Doctors ---------- */

.doctors-band { max-width: none; background: var(--spruce); color: #dcebe5; }

.doctors-band > * { max-width: 61.5rem; margin-left: auto; margin-right: auto; }

.doctors-band h2 { color: var(--white); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 2rem;
}

.doc h3 { color: var(--white); margin-bottom: 0.2rem; }

.doc-spec {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f0c290;
  margin-bottom: 0.6rem;
}

.doc p:last-child { margin: 0; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 50rem; }

.faq-list details { border-bottom: 2px solid var(--mist); }

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 0;
}

.faq-list summary:hover { color: var(--spruce-deep); }

.faq-list details p { padding-bottom: 1rem; margin: 0; }

/* ---------- Book band ---------- */

.book-band {
  max-width: none;
  background: var(--mist);
}

.book-band > * { max-width: 61.5rem; margin-left: auto; margin-right: auto; }

.book-lede { font-size: 1.12rem; max-width: 48rem; margin: 0; }

/* ---------- Visit ---------- */

.visit-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
}

.visit-cols h3 { color: var(--apricot-deep); font-size: 1rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 2px solid var(--mist);
  text-align: center;
  padding: 2.5rem 1.25rem;
  font-size: 0.95rem;
}

.footer-fine { font-size: 0.82rem; opacity: 0.75; }

.social-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  justify-content: center;
  padding: 0 1.5rem;
  margin: 1.2rem auto 0;
}

.social-links a { display: inline-flex; color: var(--spruce); opacity: 0.85; }

.social-links a:hover, .social-links a:focus-visible { opacity: 1; }

.social-links svg { width: 1.3rem; height: 1.3rem; }
