/* =================================================================
   Eighth Avenue Animal Hospital — Design System
   Palette: Beige + Olive Green | Style: Modern & Clean
   ================================================================= */

:root {
  /* Brand: Sage Green (Woodrock WR-2504) — var names kept as --olive* so all rules retheme */
  --olive:        #75896c;  /* sage — workhorse brand green */
  --olive-dark:   #5c7154;  /* deeper sage — hovers, links */
  --olive-deep:   #38452f;  /* deep sage — footer & dark bands */
  --olive-light:  #9fb597;  /* the WR-2504 swatch sage — accents */
  --olive-tint:   #e6ece0;  /* pale sage — icon backgrounds, highlights */

  /* Warm terracotta accent — reserved ONLY for high-emphasis actions (Book a Visit, phone) */
  --coral:        #cf6238;
  --coral-dark:   #b44e2a;
  --coral-tint:   #f5e2d6;

  /* Neutrals: Cashmere (Woodrock WR-2511) family */
  --beige:        #e7e1d3;  /* cashmere — tinted sections */
  --beige-2:      #dbd4c4;  /* cashmere-2 — cards, borders */
  --cream:        #f6f3ea;  /* light warm cashmere — page background */
  --sand:         #cdc5b1;  /* deeper cashmere — dividers */

  /* Ink + text (warm charcoal-sage) */
  --ink:          #31352a;
  --body:         #4d5142;
  --muted:        #7c7d69;

  /* Utility */
  --white:        #ffffff;
  --shadow-sm:    0 1px 3px rgba(58, 68, 41, 0.08), 0 1px 2px rgba(58, 68, 41, 0.06);
  --shadow-md:    0 8px 24px rgba(58, 68, 41, 0.10);
  --shadow-lg:    0 20px 50px rgba(58, 68, 41, 0.14);
  --radius:       14px;
  --radius-lg:    24px;
  --radius-pill:  999px;
  --maxw:         1180px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--olive-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--olive); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--olive-light); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--tint { background: var(--beige); }
.section--olive { background: var(--olive-deep); color: var(--beige-2); }
.section--olive h2, .section--olive h3 { color: var(--cream); }

/* ---------- Utility bits ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}
.section--olive .eyebrow { color: var(--olive-light); }
.lead { font-size: 1.2rem; color: var(--body); max-width: 62ch; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--olive); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--olive-dark); color: var(--cream); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--olive-dark); border-color: var(--sand); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive-dark); background: var(--beige); }
.btn--light { background: var(--cream); color: var(--olive-dark); }
.btn--light:hover { background: var(--white); color: var(--olive-deep); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 245, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(222, 211, 184, 0.5);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.15rem; }
.brand:hover { color: var(--olive-dark); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); line-height: 1; margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-weight: 500; color: var(--body); padding: .5rem .85rem; border-radius: var(--radius-pill); font-size: .97rem;
}
.nav__links a:hover { background: var(--beige-2); color: var(--olive-dark); }
.nav__links a.is-active { color: var(--olive-dark); font-weight: 600; }
.nav__cta { margin-left: .6rem; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s var(--ease); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 1rem 24px 2rem;
    border-bottom: 1px solid var(--sand);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
    min-height: calc(100dvh - 130px); max-height: calc(100dvh - 130px); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; transition: transform .35s var(--ease); }
  .nav__links a { padding: .9rem .5rem; border-radius: 0; }
  .nav__links > li > a:not(.nav__phone):not(.btn) { display: block; border-bottom: 1px solid var(--beige-2); }
  .nav__cta { margin: 1rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% 0%, var(--olive-tint) 0%, transparent 55%),
    linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%);
  padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 9vw, 110px);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { margin-bottom: .5em; }
.hero__title em { font-style: italic; color: var(--olive); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; color: var(--muted); font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--olive-tint);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(253,251,245,.95); border-radius: var(--radius); padding: .8rem 1.1rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .7rem; font-size: .9rem;
}
.hero__badge strong { color: var(--ink); font-family: var(--font-head); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin: 0 auto; }
}

/* ---------- Section heading ---------- */
.sec-head { max-width: 720px; margin-bottom: 3rem; }
.sec-head.text-center { margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--cream); border: 1px solid var(--beige-2); border-radius: var(--radius-lg);
  padding: 2rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sand); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--olive-tint); color: var(--olive-dark); margin-bottom: 1.1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 600; font-size: .95rem; }
.card__link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; background: var(--olive-tint); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--cream); line-height: 1; }
.section--olive .stat__label { color: var(--olive-light); font-size: .9rem; letter-spacing: .04em; }

/* List with check */
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; padding: .5rem 0; color: var(--body); }
.checklist svg { flex: none; width: 22px; height: 22px; color: var(--olive); margin-top: 3px; }

/* ---------- Service detail rows ---------- */
.service-row { display: grid; grid-template-columns: 64px 1fr; gap: 1.4rem; padding: 2rem 0; border-top: 1px solid var(--beige-2); }
.service-row:first-child { border-top: 0; }
.service-row__icon { width: 60px; height: 60px; border-radius: 16px; background: var(--olive-tint); color: var(--olive-dark); display: grid; place-items: center; }
.service-row__icon svg { width: 30px; height: 30px; }
.service-row h3 { margin-bottom: .3em; }
.service-row p { margin-bottom: .6rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.tag { font-size: .82rem; background: var(--beige); color: var(--olive-dark); padding: .3rem .8rem; border-radius: var(--radius-pill); border: 1px solid var(--beige-2); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; width: 160px; margin: 0 auto 1.2rem; background: var(--olive-tint); box-shadow: var(--shadow-sm); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: .1em; }
.team-card .role { color: var(--olive); font-weight: 600; font-size: .92rem; }
.team-card p { color: var(--muted); font-size: .95rem; margin-top: .6rem; }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--sand); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); font-weight: 600;
  padding: 1.4rem 3rem 1.4rem 0; position: relative; display: block;
}
.faq__q::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--olive); font-family: var(--font-body); transition: transform .3s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--olive-dark), var(--olive-deep));
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; color: var(--beige-2);
  position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--cream); }
.cta-band .btn-group { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--beige-2); }
.info-row__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--olive-tint); color: var(--olive-dark); display: grid; place-items: center; }
.info-row__icon svg { width: 22px; height: 22px; }
.info-row strong { display: block; color: var(--ink); font-family: var(--font-head); }
.info-row a, .info-row span { color: var(--muted); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--beige-2); min-height: 300px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Form */
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--sand); border-radius: 12px;
  font: inherit; font-size: .97rem; color: var(--ink); background: var(--cream); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px var(--olive-tint);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--muted); }

/* Hours table */
.hours-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.hours-list li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--beige-2); font-size: .97rem; }
.hours-list li span:first-child { color: var(--body); font-weight: 500; }
.hours-list li span:last-child { color: var(--muted); }
.hours-list li.today { color: var(--olive-dark); font-weight: 600; }
.hours-list li.today span { color: var(--olive-dark); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: radial-gradient(110% 130% at 90% -10%, var(--olive-tint) 0%, transparent 50%), var(--beige);
  padding: clamp(50px, 7vw, 88px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--beige-2);
}
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--olive); }
.breadcrumb span { margin: 0 .4rem; opacity: .6; }
.page-hero p { max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-deep); color: var(--olive-tint); padding: clamp(50px, 7vw, 80px) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--cream); font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.site-footer a { color: var(--olive-tint); }
.site-footer a:hover { color: var(--cream); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .brand__text { color: var(--cream); }
.footer-brand p { color: var(--olive-tint); font-size: .95rem; max-width: 32ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--olive-light); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.footer-social a:hover { background: var(--olive); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--olive); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }

/* Announcement bar */
.announce { background: var(--olive-deep); color: var(--beige-2); text-align: center; font-size: .88rem; padding: .5rem 1rem; }
.announce a { color: var(--cream); font-weight: 600; text-decoration: underline; }

/* =================================================================
   PREMIUM ENHANCEMENTS — texture, motion, delight
   ================================================================= */

/* Subtle paper grain over the whole page */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.site-footer, main { position: relative; z-index: 2; }
/* header keeps its sticky + high z-index (see base rule) so the Services dropdown sits above page content */
.site-header { z-index: 100; }

/* ---------- Motion keyframes ---------- */
@keyframes float   { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-16px) } }
@keyframes floatX  { 0%,100% { transform: translate(0,0) rotate(0) } 50% { transform: translate(0,-22px) rotate(4deg) } }
@keyframes drift   { 0%,100% { transform: translateY(0) rotate(-6deg) } 50% { transform: translateY(-14px) rotate(6deg) } }
@keyframes wiggle  { 0%,100% { transform: rotate(-4deg) } 50% { transform: rotate(4deg) } }
@keyframes blob    { 0%,100% { border-radius: 42% 58% 60% 40% / 55% 45% 55% 45% } 50% { border-radius: 58% 42% 40% 60% / 45% 60% 40% 55% } }
@keyframes pop     { 0% { transform: scale(.6); opacity: 0 } 60% { transform: scale(1.08) } 100% { transform: scale(1); opacity: 1 } }
@keyframes shine   { 0% { transform: translateX(-120%) } 60%,100% { transform: translateX(220%) } }

/* ---------- Hero art (illustration on organic blobs) ---------- */
.hero { padding-bottom: 0; }
.hero__art { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero__blob {
  position: absolute; width: 92%; aspect-ratio: 1; z-index: 0;
  background: radial-gradient(120% 120% at 30% 20%, var(--olive-light), var(--olive));
  border-radius: 42% 58% 60% 40% / 55% 45% 55% 45%;
  animation: blob 12s ease-in-out infinite; box-shadow: var(--shadow-lg);
}
.hero__blob::after {
  content: ""; position: absolute; inset: 10%;
  border: 2px dashed rgba(253,251,245,.35); border-radius: inherit; animation: blob 12s ease-in-out infinite reverse;
}
.hero__pets { position: relative; z-index: 2; width: 100%; max-width: 520px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 24px 40px rgba(58,68,41,.28)); }
.hero__chip {
  position: absolute; z-index: 3; background: var(--cream); border-radius: var(--radius-pill);
  padding: .55rem 1rem; box-shadow: var(--shadow-md); font-size: .85rem; font-weight: 600; color: var(--olive-dark);
  display: inline-flex; align-items: center; gap: .45rem; animation: floatX 7s ease-in-out infinite;
}
.hero__chip svg { width: 18px; height: 18px; }
.hero__chip--1 { top: 8%; left: -2%; }
.hero__chip--2 { bottom: 14%; right: -4%; animation-delay: 1.5s; }
.hero__chip--3 { top: 42%; right: 2%; animation-delay: .8s; }
@media (max-width: 860px) { .hero__art { min-height: 380px; margin-top: 1rem; } .hero__chip--3 { display: none; } }

/* Floating decorative accents */
.float-deco { position: absolute; z-index: 0; pointer-events: none; opacity: .55; }
.float-deco svg { display: block; }
.float-deco--1 { top: 12%; left: 4%; width: 46px; animation: drift 9s ease-in-out infinite; }
.float-deco--2 { bottom: 8%; left: 8%; width: 34px; animation: float 7s ease-in-out infinite; }
.float-deco--3 { top: 20%; right: 6%; width: 40px; animation: wiggle 5s ease-in-out infinite; }

/* ---------- Button shine ---------- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%);
}
.btn--primary:hover::after { animation: shine 1.1s ease; }

/* ---------- Card upgrades ---------- */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: radial-gradient(120% 120% at 100% 0%, var(--olive-tint), transparent 60%);
  transition: opacity .4s var(--ease);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card:hover .card__icon { animation: wiggle .6s ease; background: var(--olive); color: var(--cream); }
.card__icon { transition: background .3s var(--ease), color .3s var(--ease); }

/* ---------- Curved section dividers ---------- */
.wave-top, .wave-bottom { display: block; width: 100%; height: 60px; }
.wave-bottom { margin-bottom: -1px; }
.wave-top { margin-top: -1px; }

/* ---------- Marquee ribbon of pet names ---------- */
.ribbon { background: var(--olive); color: var(--cream); padding: .9rem 0; overflow: hidden; }
.ribbon__track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 32s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__item { display: inline-flex; align-items: center; gap: 2.5rem; font-family: var(--font-head); font-style: italic; font-size: 1.15rem; white-space: nowrap; }
.ribbon__item::after { content: "🐾"; font-style: normal; font-size: .9rem; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--cream); border: 1px solid var(--beige-2); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-card .stars { color: #d9a441; letter-spacing: 2px; font-size: 1rem; margin-bottom: .8rem; }
.quote-card blockquote { margin: 0 0 1.4rem; font-size: 1.05rem; color: var(--body); line-height: 1.65; }
.quote-card__who { display: flex; align-items: center; gap: .8rem; }
.quote-card__who img { width: 48px; height: 48px; border-radius: 50%; flex: none; box-shadow: var(--shadow-sm); }
.quote-card__who strong { display: block; color: var(--ink); font-family: var(--font-head); }
.quote-card__who span { font-size: .85rem; color: var(--muted); }
.quote-mark { position: absolute; top: 1rem; right: 1.4rem; font-family: var(--font-head); font-size: 4rem; line-height: 1; color: var(--olive-tint); }

/* ---------- Wall of love (pet gallery) ---------- */
.wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .wall { grid-template-columns: repeat(3, 1fr); } }
.wall__item {
  aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--olive-tint);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), border-radius .35s var(--ease);
}
.wall__item:hover { transform: translateY(-6px) rotate(-3deg) scale(1.04); border-radius: 40px; }
.wall__item:nth-child(even):hover { transform: translateY(-6px) rotate(3deg) scale(1.04); }
.wall__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Steps (how it works) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 2rem; background: var(--cream); border: 1px solid var(--beige-2); border-radius: var(--radius-lg); }
.step__num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%; background: var(--olive); color: var(--cream);
  display: grid; place-items: center; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.step__num::before { content: counter(step); }

/* ---------- Animated counter emphasis ---------- */
.stat__num { transition: transform .3s var(--ease); }
.stat:hover .stat__num { transform: scale(1.06); }

/* ---------- Emphasis / highlight text ---------- */
.hl { position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 34%; z-index: -1;
  background: var(--olive-tint); border-radius: 4px; transform: rotate(-1deg);
}

/* Floating paw background pattern for olive sections */
.section--olive { position: relative; overflow: hidden; }
.section--olive .paw-bg { position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: radial-gradient(circle at 10% 20%, #fff 2px, transparent 3px), radial-gradient(circle at 80% 60%, #fff 2px, transparent 3px);
  background-size: 120px 120px; }

/* =================================================================
   CINEMATIC VIDEO HERO — classy / editorial
   ================================================================= */
.hero-cine {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero-cine__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero-cine__overlay {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(102deg, rgba(28,34,24,.86) 0%, rgba(56,69,47,.56) 42%, rgba(56,69,47,.15) 72%, rgba(28,34,24,.32) 100%),
    linear-gradient(to top, rgba(22,28,19,.75) 0%, transparent 32%);
}
.hero-cine__inner { padding-top: clamp(48px, 9vh, 120px); padding-bottom: clamp(56px, 8vh, 96px); max-width: 704px; margin-left: 0; }
.hero-cine .eyebrow { color: #d8dcc4; letter-spacing: .2em; }
.hero-cine h1 {
  color: #fff; font-weight: 500; letter-spacing: -0.015em;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.06; margin-bottom: .55em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-cine h1 em { font-style: italic; color: #e7ead9; }
.hero-cine__lead { color: #eae7dc; font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 54ch; text-shadow: 0 1px 20px rgba(0,0,0,.3); }
.hero-cine__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-cine .btn--ghost { color: var(--cream); border-color: rgba(255,255,255,.4); }
.hero-cine .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }
.hero-cine__meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.2rem; margin-top: 2.4rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.18);
}
.hero-cine__meta div { display: flex; flex-direction: column; }
.hero-cine__meta b { font-family: var(--font-head); font-size: 1.15rem; color: #fff; font-weight: 500; }
.hero-cine__meta span { font-size: .82rem; color: #cdd0be; letter-spacing: .03em; }
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1;
  color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%,100% { transform: scaleY(.4); opacity: .4; transform-origin: top } 50% { transform: scaleY(1); opacity: 1; transform-origin: top } }
@media (max-width: 600px) { .hero-cine { min-height: 78vh; } .scroll-cue { display: none; } }

/* Video control (mute/pause) — subtle, top-right */
.video-ctrl {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  background: rgba(20,22,16,.35); backdrop-filter: blur(6px); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.video-ctrl:hover { background: rgba(20,22,16,.6); }
.video-ctrl svg { width: 18px; height: 18px; }

/* ---------- Editorial photo gallery (real footage stills) ---------- */
.photo-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip figure:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .photo-strip { grid-template-columns: 1fr; } }
.photo-strip figure { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/5; }
.photo-strip figure:first-child { aspect-ratio: auto; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .95rem;
  color: #fff; font-size: .92rem; font-family: var(--font-head);
  background: linear-gradient(to top, rgba(20,22,16,.78), transparent);
}

/* Split media that hold real photos */
.split__media--photo, .about-photo { aspect-ratio: 5/4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Refined monogram avatars (replaces cartoon) ---------- */
.monogram {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--olive); color: var(--cream); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .02em;
}

/* Tone down grain for a more refined finish */
body::before { opacity: .35; }

/* =================================================================
   BRAND LOGO, STANDOUT PHONE, CORAL CTA, SERVICES DROPDOWN
   ================================================================= */

/* --- Brand lockup with new logo mark --- */
.brand__logo { height: 44px; width: auto; flex: none; }
.brand__text { line-height: 1.05; padding-left: .8rem; margin-left: .5rem; border-left: 1.5px solid var(--sand); }
.brand__text b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.18rem; letter-spacing: -0.01em; }
.brand__text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--olive); margin-top: 3px; }
.footer-brand .brand__logo { background: var(--cream); border-radius: 12px; padding: 6px; height: 52px; width: auto; }
.footer-brand .brand__text { border-left-color: rgba(255,255,255,.25); }
.footer-brand .brand__text b { color: #fff; }
.footer-brand .brand__text small { color: var(--olive-light); }

/* --- Coral accent button (high emphasis) --- */
.btn--accent {
  background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(232,98,60,.32);
  position: relative; overflow: hidden;
}
.btn--accent:hover { background: var(--coral-dark); color: #fff; box-shadow: 0 10px 26px rgba(232,98,60,.42); }
.btn--accent::after {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: translateX(-120%);
}
.btn--accent:hover::after { animation: shine 1.1s ease; }

/* --- Standout phone in header --- */
.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--coral); font-size: 1.02rem; letter-spacing: .01em;
  padding: .45rem .7rem; border-radius: var(--radius-pill); white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__phone:hover { color: var(--coral-dark); background: var(--coral-tint); }
.nav__phone svg { width: 17px; height: 17px; }
.nav__phone .nav__phone-label { display: flex; flex-direction: column; line-height: 1; }
.nav__phone .nav__phone-label small { font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.nav__actions { display: flex; align-items: center; gap: .3rem; }
/* keep the phone coral — outrank the generic .nav__links a color rule */
.nav__actions .nav__phone { color: var(--coral); }
.nav__actions .nav__phone:hover { color: var(--coral-dark); }
.nav__actions .nav__phone .nav__phone-label small { color: var(--muted); }

/* --- Services dropdown --- */
.nav__item--drop { position: relative; }
.nav__drop-toggle {
  display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; color: var(--body); padding: .5rem .85rem; border-radius: var(--radius-pill); font-size: .97rem;
}
.nav__drop-toggle:hover, .nav__item--drop:hover .nav__drop-toggle { background: var(--beige-2); color: var(--olive-dark); }
.nav__drop-toggle .chev { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.nav__item--drop:hover .chev { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--cream); border: 1px solid var(--beige-2); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: .7rem; width: 460px; opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 120;
}
.nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop, .nav__drop.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__drop::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__drop a {
  display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border-radius: 12px;
  font-size: .9rem; font-weight: 500; color: var(--body);
}
.nav__drop a:hover { background: var(--olive-tint); color: var(--olive-dark); }
.nav__drop a svg { width: 16px; height: 16px; color: var(--olive); flex: none; }
.nav__drop-all { grid-column: 1 / -1; margin-top: .3rem; padding-top: .5rem; border-top: 1px solid var(--beige-2); }
.nav__drop-all a { justify-content: center; color: var(--olive-dark); font-weight: 600; }

@media (max-width: 900px) {
  .nav__actions { flex-direction: column; align-items: stretch; gap: .5rem; width: 100%; margin-top: 1rem; }
  .nav__phone { justify-content: center; border: 1px solid var(--coral); font-size: 1.1rem; padding: .8rem; }
  .nav__phone .nav__phone-label { flex-direction: row; gap: .4rem; align-items: baseline; }
  .nav__phone .nav__phone-label small { margin: 0; }
  .nav__cta .btn, .nav__actions .btn { width: 100%; justify-content: center; }
  .nav__item--drop { display: block; }
  .nav__drop-toggle { width: 100%; justify-content: space-between; padding: .9rem .5rem; border-bottom: 1px solid var(--beige-2); border-radius: 0; }
  .nav__drop {
    position: static; transform: none; width: 100%; box-shadow: none; border: 0; background: var(--beige);
    display: none; grid-template-columns: 1fr; padding: .3rem 0 .6rem; opacity: 1; visibility: visible;
  }
  .nav__drop.is-open { display: grid; }
  /* neutralise the desktop popover transform on mobile (matches :hover/:focus-within specificity) */
  .nav__item--drop:hover .nav__drop, .nav__item--drop:focus-within .nav__drop, .nav__drop.is-open { transform: none; }
  /* hover/focus must not reveal the panel on mobile — only a tap (is-open) does */
  .nav__item--drop:hover .nav__drop:not(.is-open), .nav__item--drop:focus-within .nav__drop:not(.is-open) { display: none; }
  .nav__drop a { padding: .7rem .8rem; }
}

/* --- Service page hero icon --- */
.svc-hero__icon { width: 66px; height: 66px; border-radius: 18px; background: var(--olive-tint); color: var(--olive-dark); display: grid; place-items: center; margin-bottom: 1.2rem; }
.svc-hero__icon svg { width: 34px; height: 34px; }
.prose > h2 { margin-top: 2.2rem; }
.prose > p { color: var(--body); }
.prose ul.checklist { margin-top: 1rem; }

/* ===== Brand logo (full lockup image) on the light header/footer ===== */
.brand__logo-full { height: 42px; width: auto; display: block; }
.footer-brand .brand__logo-full { height: 48px; width: auto; display: block; }
@media (max-width: 900px) { .brand__logo-full { height: 34px; } }
