/* =========================================================
   BRIGHTPAW VETERINARY — design system
   Care that treats your pet like family. Warm, calm, a little
   playful. Cream + dusty sage + true coral. Fredoka (rounded
   display) + Figtree (warm humanist body).
   ========================================================= */

:root{
  --cream:       #FFF8EC;
  --cream-deep:  #FBEFD9;
  --white:       #FFFDF8;
  --sage:        #7C9A82;
  --sage-deep:   #47614C;
  --sage-dark:   #2F4433;
  --sage-pale:   #E4EEE1;
  --sage-line:   #D6E3D3;
  --coral:       #F2694C;
  --coral-deep:  #C94B31;
  --coral-pale:  #FCE1D6;
  --ink:         #2B2A26;
  --ink-soft:    #5D584F;
  --ink-faint:   #8C8678;
  --ok:          #6E9B6E;

  --display: "Fredoka", "Poppins", system-ui, sans-serif;
  --body:    "Figtree", "Inter", system-ui, sans-serif;

  --wrap: 1180px;
  --radius-card: 28px 28px 28px 8px;
  --radius-card-flip: 28px 28px 8px 28px;
  --radius-img: 34px 34px 34px 10px;
  --radius-pill: 999px;
  --radius-sm: 16px;
  --shadow-lg: 0 34px 70px -30px rgba(47,68,51,.28);
  --shadow-sm: 0 10px 26px -14px rgba(47,68,51,.22);
  --ease-pop: cubic-bezier(.22,1.4,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html, body{ overflow-x: clip; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0; font-family: var(--display); font-weight: 600; color: var(--sage-dark); letter-spacing: -.01em; }
p{ margin: 0; }
button{ font-family: inherit; }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--coral); color: var(--white); padding: 12px 18px;
  z-index: 999; font-weight: 600; border-radius: 0 0 12px 0;
}
.skip-link:focus{ left: 0; top: 0; }

/* hidden icon sprite */
.icon-sprite{ position: absolute; width: 0; height: 0; overflow: hidden; }
.icon-paw{ width: 1em; height: 1em; display: inline-block; fill: currentColor; }

/* ============ kicker / labels ============ */
.kicker{
  font-family: var(--display);
  letter-spacing: .04em;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--coral-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.kicker .icon-paw{ width: 14px; height: 14px; color: var(--coral); }

/* ============ buttons ============ */
.btn{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15.5px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease-pop), box-shadow .3s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg{ width: 16px; height: 16px; flex: none; }
.btn-sage{
  background: var(--sage-dark); color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-sage:hover{ background: var(--sage-deep); box-shadow: 0 18px 34px -12px rgba(47,68,51,.4); }
.btn-coral{
  background: var(--coral); color: var(--white);
  box-shadow: 0 14px 28px -12px rgba(242,105,76,.5);
}
.btn-coral:hover{ background: var(--coral-deep); }
.btn-ghost{
  background: transparent; color: var(--sage-dark);
  border-color: var(--sage-line);
}
.btn-ghost:hover{ border-color: var(--sage); background: var(--sage-pale); }
.btn-block{ width: 100%; justify-content: center; }

/* ============ header / nav ============ */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,248,236,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sage-line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled{ box-shadow: 0 14px 30px -22px rgba(47,68,51,.4); }
.nav-bar{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 28px;
}
.brand{ display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark{
  width: 42px; height: 42px; flex: none; border-radius: 14px;
  background: var(--sage-dark); display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.brand-mark .icon-paw{ width: 22px; height: 22px; }
.brand-name{
  font-family: var(--display); font-weight: 600; font-size: 19px;
  color: var(--sage-dark); line-height: 1.1;
}
.brand-name small{
  display: block; font-weight: 500;
  font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--coral-deep); margin-top: 3px;
}

.nav-links{
  display: flex; align-items: center; gap: 28px;
  font-family: var(--display); font-weight: 500; font-size: 15px;
}
.nav-links a{ color: var(--ink-soft); padding: 6px 2px; position: relative; transition: color .2s ease; }
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 3px; border-radius: 2px;
  background: var(--coral); transition: right .3s var(--ease-pop);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--sage-dark); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after{ right: 0; }
.nav-mobile-cta{ display: none; }

.nav-cta{ display: flex; align-items: center; gap: 18px; flex: none; }
.nav-phone{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 500; font-size: 15px; color: var(--sage-dark);
}
.nav-phone .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(110,155,110,.2); }
.nav-phone:hover{ color: var(--coral-deep); }

.nav-toggle{
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span{ width: 24px; height: 2px; border-radius: 2px; background: var(--sage-dark); }

/* ============ paw scroll-rail (signature motion) ============ */
.paw-rail{
  position: fixed; top: 0; right: 26px; height: 100vh; width: 34px;
  z-index: 400; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.paw-rail-line{ position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.paw-rail-line path{
  fill: none; stroke: var(--sage); stroke-width: 3; stroke-linecap: round;
  opacity: .35;
}
.paw-rail-line .paw-rail-fill{
  stroke: var(--coral); opacity: .85;
}
.paw-print{
  position: absolute; left: 50%; transform: translate(-50%,-50%) scale(.7);
  width: 15px; height: 15px; color: var(--sage-line);
  opacity: .6; transition: color .35s ease, opacity .35s ease, transform .35s var(--ease-pop);
}
.paw-print.lit{ color: var(--coral); opacity: 1; transform: translate(-50%,-50%) scale(1); }
.paw-walker{
  position: absolute; left: 50%; top: 0; width: 20px; height: 20px;
  transform: translate(-50%,-50%); color: var(--sage-dark);
  filter: drop-shadow(0 3px 6px rgba(47,68,51,.35));
}
@media (max-width: 1160px){ .paw-rail{ display: none; } }

/* ============ hero ============ */
.hero{ position: relative; overflow: clip; }
.hero-media{
  position: relative; height: 76vh; min-height: 540px; max-height: 800px;
  overflow: clip;
}
.hero-media img{
  width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,28,24,.4) 0%, rgba(30,28,24,.08) 30%, rgba(20,19,16,.62) 62%, rgba(15,14,12,.86) 100%),
    linear-gradient(100deg, rgba(20,19,16,.62) 0%, rgba(20,19,16,0) 52%);
}
.hero-inner{
  position: absolute; left: 0; right: 0; bottom: 62px;
  z-index: 5;
}
.h-hero{
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.02;
  max-width: 16ch;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.h-hero em{ font-style: normal; color: var(--coral); }
.hero-lede{
  margin-top: 20px; max-width: 46ch; font-size: 18px; color: rgba(255,253,248,.92);
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.hero-actions{ display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* ============ trust strip ============ */
.trust-strip{
  background: var(--sage-pale);
  border-top: 1px solid var(--sage-line); border-bottom: 1px solid var(--sage-line);
}
.trust-inner{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-item{
  display: flex; align-items: center; gap: 14px;
  padding: 24px 22px;
  border-right: 1px solid var(--sage-line);
}
.trust-item:last-child{ border-right: none; }
.trust-item .icon-paw{ width: 26px; height: 26px; flex: none; color: var(--coral); }
.trust-item strong{ display: block; font-family: var(--display); font-size: 15.5px; color: var(--sage-dark); }
.trust-item span{ display: block; font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

/* ============ section scaffolding ============ */
section{ position: relative; }
.section{ padding: 104px 0; }
.section-tight{ padding: 78px 0; }
.section-head{ max-width: 620px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; margin-top: 14px; }
.section-head p{ margin-top: 16px; color: var(--ink-soft); font-size: 17px; max-width: 54ch; }
.section-alt{ background: var(--white); }
.section-sage{ background: var(--sage-pale); }
.center{ text-align: center; margin-left: auto; margin-right: auto; }

/* ============ services teaser / grid (home) ============ */
.svc-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card{
  background: var(--white);
  border: 1px solid var(--sage-line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  position: relative;
  overflow: clip;
  transition: transform .4s var(--ease-pop), box-shadow .35s ease, border-color .3s ease;
}
.svc-card:nth-child(even){ border-radius: var(--radius-card-flip); }
.svc-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sage); }
.svc-icon{
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: var(--sage-pale);
  color: var(--sage-deep);
  margin-bottom: 20px;
}
.svc-icon svg{ width: 26px; height: 26px; }
.svc-card:hover .svc-icon{ background: var(--coral-pale); color: var(--coral-deep); }
.svc-card h3{ font-size: 19.5px; margin-bottom: 9px; }
.svc-card p{ color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.svc-card .svc-link{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--display); font-weight: 600; font-size: 13.5px;
  color: var(--coral-deep);
}
.svc-card .svc-link svg{ width: 13px; height: 13px; transition: transform .3s ease; }
.svc-card:hover .svc-link svg{ transform: translateX(4px); }
.teaser-foot{ margin-top: 40px; display: flex; justify-content: center; }

/* ============ why-brightpaw ============ */
.why-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-media{ position: relative; border-radius: var(--radius-img); overflow: clip; box-shadow: var(--shadow-lg); }
.why-media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.why-list{ display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.why-row{ display: flex; gap: 16px; }
.why-num{
  font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--white);
  background: var(--coral); border-radius: 50%;
  width: 32px; height: 32px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.why-row h4{ font-size: 16.5px; margin-bottom: 5px; }
.why-row p{ color: var(--ink-soft); font-size: 15px; }

/* ============ meet-the-team teaser (home) ============ */
.team-teaser-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-teaser-card{ text-align: center; }
.team-teaser-photo{
  width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 40% 60% 55% 45%/50% 45% 55% 50%;
  overflow: clip; border: 4px solid var(--white); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-pop), border-radius .4s var(--ease-pop);
}
.team-teaser-photo img{ width: 100%; height: 100%; object-fit: cover; }
.team-teaser-card:hover .team-teaser-photo{ transform: scale(1.05) rotate(-3deg); border-radius: 50%; }
.team-teaser-card h4{ font-size: 17px; }
.team-teaser-card span{ display: block; font-size: 13px; color: var(--coral-deep); font-weight: 600; margin-top: 4px; }

/* ============ testimonials ============ */
.testi-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card{
  background: var(--white); border: 1px solid var(--sage-line); border-radius: var(--radius-card);
  padding: 30px 28px;
}
.testi-card:nth-child(even){ border-radius: var(--radius-card-flip); }
.paw-rating{ display: flex; gap: 5px; color: var(--coral); margin-bottom: 16px; }
.paw-rating .icon-paw{ width: 16px; height: 16px; }
.testi-card blockquote{ margin: 0; font-size: 16px; color: var(--ink); line-height: 1.6; }
.testi-who{ margin-top: 18px; display: flex; flex-direction: column; }
.testi-who strong{ font-family: var(--display); font-size: 14.5px; color: var(--sage-dark); }
.testi-who span{ font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }

/* ============ CTA band ============ */
.cta-band{
  background: linear-gradient(120deg, var(--sage-dark) 0%, var(--sage-deep) 100%);
  padding: 84px 0;
  position: relative; overflow: clip;
}
.cta-band h2, .cta-band .kicker{ color: var(--cream); }
.cta-band .kicker{ color: var(--coral); }
.cta-inner{ display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2{ font-size: clamp(28px, 3.6vw, 40px); max-width: 14ch; }
.cta-inner p{ color: rgba(255,248,236,.82); margin-top: 12px; max-width: 40ch; }
.cta-actions{ display: flex; gap: 16px; flex-wrap: wrap; }
.cta-band .btn-ghost{ color: var(--cream); border-color: rgba(255,248,236,.35); }
.cta-band .btn-ghost:hover{ background: rgba(255,248,236,.1); border-color: var(--cream); }

/* ============ footer ============ */
.site-footer{ background: var(--sage-dark); color: var(--cream); padding-top: 68px; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding-bottom: 52px;
}
.footer-brand .brand-mark{ background: var(--coral); }
.footer-brand .brand-name{ color: var(--cream); }
.footer-brand p{ margin-top: 16px; color: rgba(255,248,236,.7); font-size: 14.5px; max-width: 32ch; }
.footer-col h5{
  font-family: var(--display); font-weight: 600; font-size: 13px;
  color: var(--coral); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col address{ color: rgba(255,248,236,.78); font-size: 14.5px; font-style: normal; }
.footer-col a:hover{ color: var(--coral); }
.footer-phone{ font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--cream); display: inline-block; margin-top: 6px; }
.footer-bottom{
  border-top: 1px solid rgba(255,248,236,.15);
  padding: 20px 0 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,248,236,.6);
}
.footer-bottom a{ color: rgba(255,248,236,.6); }
.footer-bottom a:hover{ color: var(--coral); }

/* ============ generic page hero (interior pages) ============ */
.page-hero{
  padding: 162px 0 66px;
  background: radial-gradient(ellipse at 18% 0%, rgba(242,105,76,.10), transparent 55%), var(--sage-pale);
  border-bottom: 1px solid var(--sage-line);
}
.page-hero .kicker{ margin-bottom: 16px; }
.page-hero h1{ font-size: clamp(34px, 5vw, 56px); max-width: 18ch; }
.page-hero p{ margin-top: 18px; color: var(--ink-soft); font-size: 17px; max-width: 58ch; }
.breadcrumb{
  display: flex; gap: 8px; align-items: center;
  font-family: var(--display); font-weight: 500; font-size: 12.5px;
  color: var(--ink-faint); margin-bottom: 22px; text-transform: uppercase; letter-spacing: .04em;
}
.breadcrumb a{ color: var(--ink-faint); }
.breadcrumb a:hover{ color: var(--coral-deep); }

/* ============ services page: alternating feature rows ============ */
.svc-feature{
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 62px 0; border-bottom: 1px solid var(--sage-line);
}
.svc-feature:first-of-type{ padding-top: 0; }
.svc-feature:last-of-type{ border-bottom: none; padding-bottom: 0; }
.svc-feature.flip .svc-feature-media{ order: 2; }
.svc-feature.flip .svc-feature-body{ order: 1; }
.svc-feature-media{ position: relative; border-radius: var(--radius-img); overflow: clip; box-shadow: var(--shadow-lg); }
.svc-feature-media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.svc-feature-icon{
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--sage-pale); color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.svc-feature-icon svg{ width: 27px; height: 27px; }
.svc-feature-body h3{ font-size: 26px; margin-bottom: 12px; }
.svc-feature-body > p{ color: var(--ink-soft); font-size: 16px; max-width: 56ch; margin-bottom: 20px; }
.svc-tags{ display: flex; flex-wrap: wrap; gap: 9px; }
.svc-tag{
  font-family: var(--display); font-weight: 500; font-size: 12.5px;
  padding: 7px 14px; background: var(--white); border: 1px solid var(--sage-line); border-radius: 999px; color: var(--sage-deep);
}

.process-strip{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-step{ position: relative; }
.process-num{
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--white);
  background: var(--sage-dark); width: 42px; height: 42px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4{ margin-top: 16px; font-size: 17px; }
.process-step p{ margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }

/* ============ about page ============ */
.story-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-media img{ width: 100%; border-radius: var(--radius-img); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.story-copy p{ color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.story-copy p:last-child{ margin-bottom: 0; }
.pull-year{ font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--coral-deep); margin-bottom: 14px; display:block; text-transform: uppercase; letter-spacing: .04em; }

.values-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card{ padding: 30px 26px; border: 1px solid var(--sage-line); border-radius: var(--radius-card); background: var(--white); }
.value-card:nth-child(even){ border-radius: var(--radius-card-flip); }
.value-card .icon-paw{ width: 28px; height: 28px; color: var(--coral); margin-bottom: 14px; }
.value-card h4{ font-size: 17px; margin-bottom: 8px; }
.value-card p{ font-size: 14.5px; color: var(--ink-soft); }

.team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-photo{ position: relative; border-radius: var(--radius-img); overflow: clip; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.team-photo img{ width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s var(--ease-pop); }
.team-card:hover .team-photo img{ transform: scale(1.04); }
.team-card:hover .team-photo{ border-radius: var(--radius-card-flip); }
.team-card h4{ font-size: 19px; }
.team-role{ font-family: var(--display); font-weight: 600; font-size: 12.5px; color: var(--coral-deep); margin-top: 4px; display: block; text-transform: uppercase; letter-spacing: .03em; }
.team-card p{ margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }

.clinic-gallery{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clinic-gallery img{ width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.clinic-gallery .span-2{ grid-column: span 2; aspect-ratio: 16/7; }

/* ============ contact page ============ */
.contact-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.contact-form{
  background: var(--white); border: 1px solid var(--sage-line); border-radius: var(--radius-card);
  padding: 40px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field{ display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label{ font-family: var(--display); font-weight: 500; font-size: 12.5px; color: var(--sage-deep); text-transform: uppercase; letter-spacing: .03em; }
.field input, .field select, .field textarea{
  background: var(--cream); border: 1px solid var(--sage-line); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--ink); font-family: var(--body); font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(242,105,76,.16);
}
.field textarea{ resize: vertical; min-height: 96px; }
.form-note{ font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }
.form-success{
  display: none; align-items: center; gap: 14px;
  background: var(--sage-pale); border: 1px solid var(--sage-line);
  padding: 20px 22px; border-radius: var(--radius-sm); margin-top: 20px;
}
.form-success.show{ display: flex; }
.form-success .icon-paw{ width: 24px; height: 24px; color: var(--sage-deep); flex: none; }
.form-success strong{ display: block; color: var(--sage-dark); font-size: 15px; }
.form-success span{ display: block; color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }

.info-card{
  background: var(--white); border: 1px solid var(--sage-line); border-radius: var(--radius-card);
  padding: 32px; margin-bottom: 20px;
}
.info-card:nth-child(even){ border-radius: var(--radius-card-flip); }
.info-card h4{ font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--coral-deep); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .03em; }
.big-phone{
  font-family: var(--display); font-weight: 600; font-size: 30px; color: var(--sage-dark); display: inline-flex; align-items: center; gap: 12px;
  transition: color .2s ease;
}
.big-phone:hover{ color: var(--coral-deep); }
.big-phone svg{ width: 24px; height: 24px; color: var(--coral); }
.hours-list{ display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.hours-row{ display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px dashed var(--sage-line); padding-bottom: 10px; }
.hours-row:last-child{ border-bottom: none; padding-bottom: 0; }
.hours-row span:last-child{ color: var(--sage-dark); font-weight: 600; }
.addr-block{ color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.map-frame{
  border-radius: var(--radius-sm); overflow: clip; border: 1px solid var(--sage-line); aspect-ratio: 16/10;
  position: relative; background: var(--sage-pale);
}
.map-frame svg{ width: 100%; height: 100%; }

.emergency-callout{
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--coral-pale); border: 1px solid rgba(201,75,49,.25); border-radius: var(--radius-card);
  padding: 26px 28px; margin-bottom: 40px;
}
.emergency-callout .icon-paw{ width: 26px; height: 26px; color: var(--coral-deep); flex: none; margin-top: 2px; }
.emergency-callout h4{ font-size: 16.5px; color: var(--coral-deep); margin-bottom: 6px; }
.emergency-callout p{ font-size: 14.5px; color: var(--ink-soft); }
.emergency-callout a{ color: var(--coral-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.faq-list{ display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.faq-item{
  background: var(--white); border: 1px solid var(--sage-line); border-radius: var(--radius-sm);
  overflow: clip;
}
.faq-item summary{
  cursor: pointer; list-style: none; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--sage-dark);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary .faq-plus{
  width: 26px; height: 26px; border-radius: 50%; background: var(--sage-pale); color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--ease-pop), background .25s ease, color .25s ease;
}
.faq-item[open] summary .faq-plus{ transform: rotate(45deg); background: var(--coral); color: var(--white); }
.faq-item .faq-body{ padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; max-width: 62ch; }

/* ============ guide page ============ */
.guide-body{ max-width: 760px; }
.guide-body h2{ font-size: 25px; margin-top: 50px; margin-bottom: 15px; }
.guide-body h2:first-child{ margin-top: 0; }
.guide-body h3{ font-size: 18px; margin-top: 28px; margin-bottom: 10px; color: var(--coral-deep); }
.guide-body p{ color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.guide-body ul{ margin: 0 0 16px; padding-left: 22px; list-style: disc; color: var(--ink-soft); }
.guide-body li{ margin-bottom: 8px; font-size: 16px; }
.guide-body code{
  background: var(--sage-pale); border: 1px solid var(--sage-line); border-radius: 6px;
  padding: 2px 7px; font-size: 14px; color: var(--sage-deep); font-family: "IBM Plex Mono", monospace;
}
.guide-back{
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 38px;
  font-family: var(--display); font-weight: 500; font-size: 13.5px; color: var(--ink-soft);
}
.guide-back:hover{ color: var(--coral-deep); }
.guide-back svg{ width: 14px; height: 14px; transform: rotate(180deg); }

/* ============ reveal-on-scroll base state ============ */
.rv{ opacity: 0; transform: translateY(24px); }
.rv-in{ opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .why-grid, .story-grid, .contact-grid{ grid-template-columns: 1fr; gap: 44px; }
  .svc-grid{ grid-template-columns: repeat(2, 1fr); }
  .testi-grid, .values-grid, .team-grid, .process-strip, .team-teaser-grid{ grid-template-columns: repeat(2, 1fr); }
  .svc-feature{ grid-template-columns: 1fr; gap: 32px; }
  .svc-feature.flip .svc-feature-media, .svc-feature.flip .svc-feature-body{ order: initial; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .trust-inner{ grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2){ border-right: none; }
}

@media (max-width: 860px){
  .nav-links{
    display: flex !important;
    position: fixed; top: 68px; right: 0; left: 0; height: calc(100vh - 68px); background: var(--cream);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 22px 28px; transform: translateX(100%); transition: transform .35s ease;
    font-size: 16px; overflow-y: auto; box-sizing: border-box;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ padding: 14px 0; width: 100%; border-bottom: 1px solid var(--sage-line); }
  .nav-mobile-cta{ display: block; margin-top: 16px; text-align: center; }
  .nav-cta{ display: none; }
  .nav-toggle{ display: flex; }
  .clinic-gallery{ grid-template-columns: 1fr 1fr; }
  .clinic-gallery .span-2{ grid-column: span 2; }
}

@media (max-width: 720px){
  .section{ padding: 72px 0; }
  .svc-grid, .testi-grid, .values-grid, .team-grid, .process-strip, .team-teaser-grid{ grid-template-columns: 1fr; }
  .trust-inner{ grid-template-columns: 1fr 1fr; }
  .trust-item{ border-right: none; border-bottom: 1px solid var(--sage-line); }
  .footer-grid{ grid-template-columns: 1fr; gap: 34px; }
  .form-row{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .hero-media{ height: 82vh; }
  .clinic-gallery{ grid-template-columns: 1fr; }
  .clinic-gallery .span-2{ grid-column: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 480px){
  .wrap{ padding: 0 20px; }
  .h-hero{ font-size: 34px; }
  .page-hero{ padding: 142px 0 52px; }
  .contact-form{ padding: 24px; }
  .info-card{ padding: 22px; }
  .emergency-callout{ flex-direction: column; padding: 22px; }
}
