:root {
  --green: #1d4a3c;
  --green-deep: #143629;
  --sage: #dbe7de;
  --sand: #f6f0e4;
  --cream: #fdfaf4;
  --ink: #1e2b26;
  --muted: #5b6a63;
  --marigold: #e9a13b;
  --marigold-dark: #cf8a24;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.04rem;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3, h4, .navbar-brand, .foot-brand { font-family: 'Fraunces', Georgia, serif; }

/* Navbar */
.site-nav {
  background: rgba(253, 250, 244, .96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(29, 74, 60, .12);
  padding: .55rem 0;
}
.navbar-brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.05rem; line-height: 1.15;
  color: var(--green) !important; white-space: normal;
}
.brand-mark { font-size: 1.5rem; color: var(--marigold-dark); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; font-size: .95rem; padding: .5rem .75rem; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--green); box-shadow: inset 0 -2px 0 var(--marigold); }
@media (max-width: 1199.98px) {
  .site-nav .navbar-collapse { padding: .75rem 0 1rem; }
  .site-nav .nav-link:hover, .site-nav .nav-link.active { box-shadow: none; }
}

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; padding: .6rem 1.4rem; }
.btn-sm { padding: .45rem 1.1rem; }
.btn-cta { background: var(--marigold); color: #2b1d04; border: 2px solid var(--marigold); }
.btn-cta:hover { background: var(--marigold-dark); border-color: var(--marigold-dark); color: #2b1d04; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: #fff; color: var(--green); }
.btn-outline-green { color: var(--green); border: 2px solid var(--green); background: transparent; }
.btn-outline-green:hover { background: var(--green); color: #fff; }

/* Hero: split panel */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  background: var(--green);
}
.hero-panel {
  display: flex; align-items: center;
  padding: calc(4rem + 70px) clamp(1.5rem, 5vw, 5rem) 4rem;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
}
.hero-content { max-width: 560px; margin-left: auto; }
.hero-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--marigold); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.08; margin-bottom: 1.25rem; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-photo {
  background: url('img/hero.webp') center 30%/cover no-repeat;
  min-height: 360px;
}
@media (max-width: 991.98px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 64px; }
  .hero-photo { order: -1; min-height: 42vh; }
  .hero-panel { padding: 2.5rem 1.25rem 3rem; }
  .hero-content { margin: 0; max-width: none; }
}

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sand { background: var(--sand); }
.section-green { background: var(--green); color: #fff; }
.section-green p { color: rgba(255, 255, 255, .88); }
.section-head { margin-bottom: 3rem; max-width: 720px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--marigold-dark); margin-bottom: .75rem; }
.eyebrow-light { color: var(--marigold); }
.display-h { font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 700; line-height: 1.15; color: var(--green); margin-bottom: 1.25rem; }
.section-green .display-h { color: #fff; }
.lead-copy { font-size: 1.2rem; color: var(--ink); }
.mini-h { font-size: 1.25rem; color: var(--green); margin: 1.75rem 0 .5rem; }

.care-strip { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.care-strip img { border-radius: 14px; box-shadow: 0 6px 18px rgba(20, 54, 41, .15); width: calc(33.333% - .7rem); max-width: 222px; height: auto; object-fit: cover; }
@media (max-width: 575.98px) { .care-strip img { width: calc(33.333% - .7rem); } }

/* Services: 3 x 5 grid */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(29, 74, 60, .18); border: 1px solid rgba(29, 74, 60, .18); border-radius: 18px; overflow: hidden; }
.service-grid li { background: var(--cream); padding: 1.5rem 1.5rem; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 1.15rem; color: var(--green); display: flex; align-items: baseline; gap: 1rem; line-height: 1.3; }
.service-grid li span { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .1em; color: var(--marigold-dark); }
.service-grid .service-kozy { background: var(--green); }
.service-grid .service-kozy a { color: #fff; text-decoration: none; }
.service-grid .service-kozy small { display: block; font-family: 'DM Sans', sans-serif; font-size: .8rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 991.98px) { .service-grid { grid-template-columns: repeat(2, 1fr); } .service-grid li:last-child { grid-column: span 2; } }
@media (max-width: 575.98px) { .service-grid { grid-template-columns: 1fr; } .service-grid li:last-child { grid-column: auto; } }

/* Team */
.team-sub { font-size: 1.6rem; color: var(--green); margin: 4rem 0 1.75rem; padding-bottom: .75rem; border-bottom: 2px solid var(--sage); }
.team-sub:first-of-type { margin-top: 0; }
.photo-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 32px rgba(20, 54, 41, .18); }
.photo-frame img { display: block; width: 100%; height: auto; }
.vet-name { font-size: 1.9rem; color: var(--green); margin-bottom: 0; }
.vet-role { color: var(--marigold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 1rem; }
.person { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(20, 54, 41, .09); height: 100%; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; display: block; }
.person figcaption { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .15rem; }
.person strong { font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; color: var(--green); }
.person figcaption span { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.person.pet em { font-style: normal; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--marigold-dark); margin-bottom: .35rem; }
.person.pet figcaption span { font-size: .88rem; }
@media (max-width: 575.98px) { .person figcaption { padding: .8rem .85rem 1rem; } .person strong { font-size: 1.05rem; } .person.pet figcaption span { font-size: .8rem; } }

/* Kozy */
.kozy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kozy-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; display: block; }
.kozy-grid .kozy-main { grid-column: span 2; aspect-ratio: 3 / 2; }

/* Forms */
.forms-pup { border-radius: 16px; margin-top: 1.5rem; box-shadow: 0 8px 22px rgba(20, 54, 41, .15); width: 206px; max-width: 100%; height: auto; }
.form-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .75rem; }
.form-list a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--sage); border-radius: 14px; text-decoration: none; color: var(--green); font-weight: 700; transition: transform .15s, box-shadow .15s, border-color .15s; }
.form-list a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 54, 41, .12); border-color: var(--marigold); }
.form-list i { font-size: 1.4rem; color: var(--marigold-dark); }
.form-list span { flex: 1; }
.form-list em { font-style: normal; font-size: .72rem; letter-spacing: .1em; background: var(--sage); border-radius: 999px; padding: .15rem .6rem; }
.small-note { font-size: .88rem; color: var(--muted); }

/* Shop */
.shop-img { border-radius: 18px; box-shadow: 0 14px 32px rgba(20, 54, 41, .18); width: 100%; max-width: 389px; height: auto; display: block; margin: 0 auto; }

/* Contact */
.contact-card { background: #fff; border: 1px solid var(--sage); border-radius: 20px; padding: 2rem; height: 100%; }
.contact-card .mini-h { margin-top: 0; }
.contact-card i { color: var(--marigold-dark); margin-right: .35rem; }
.contact-card .fax { color: var(--muted); margin-left: 1.55rem; }
.contact-card .hours-h { margin-top: 1.5rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--sage); font-weight: 500; }
.hours th { color: var(--green); }
.hours td { text-align: right; }
.map-wrap { border-radius: 20px; overflow: hidden; height: 380px; box-shadow: 0 10px 28px rgba(20, 54, 41, .15); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.phone-note { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.5rem; background: var(--sand); border-radius: 18px; padding: 1rem 1.25rem 1rem 1rem; }
.phone-note img { width: 110px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.phone-note p { margin: 0; }

/* News */
.section-news { background: var(--green-deep); color: #fff; padding: 4rem 0; text-align: center; }
.section-news p { max-width: 560px; margin: 0 auto; color: rgba(255, 255, 255, .85); }
.section-news a { color: var(--marigold); }
.news-h { font-size: 2rem; margin-bottom: 1rem; }

/* Footer */
.site-footer { background: var(--green); color: rgba(255, 255, 255, .85); padding: 4rem 0 1.5rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.foot-brand { font-size: 1.3rem; font-weight: 700; color: #fff; }
.foot-brand i { color: var(--marigold); }
.site-footer h4 { font-family: 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--marigold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .85rem; }
.powered { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: .35rem 1rem; }
.powered i { color: var(--marigold); }
