/* ============================================================
   Downwood Veterinary Centre — shared site styles
   ============================================================ */

:root {
  --green-deep: #1f4d38;
  --green-mid: #2d6a4f;
  --green-soft: #b5cdbe;
  --green-tint: #e9f0eb;
  --cream: #efe6d2;
  --cream-soft: #f6f1e4;
  --paper: #f7f3ea;
  --ink: #1b1f1c;
  --ink-soft: #4a544c;
  --line: rgba(31, 77, 56, 0.12);
  --shadow: 0 24px 60px -28px rgba(31, 77, 56, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p { color: var(--ink-soft); }

.wrap { width: min(1240px, 92%); margin-inline: auto; }
.narrow { width: min(880px, 92%); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--green-mid); color: #fff; }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-cream { background: var(--cream); color: var(--green-deep); }
.btn-cream:hover { background: var(--cream-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn-ghost:hover { background: var(--green-deep); color: #fff; }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-white:hover { background: #fff; color: var(--green-deep); }
.btn-white { background: #fff; color: var(--green-deep); }
.btn-white:hover { background: var(--cream-soft); transform: translateY(-2px); box-shadow: var(--shadow); }

/* Pre-header */
.preheader {
  background: var(--green-deep);
  color: #fff;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}
.preheader-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.preheader a { color: #fff; opacity: 0.92; }
.preheader a:hover { opacity: 1; }
.preheader-phones { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.preheader-phones span { opacity: 0.7; margin-right: 0.45rem; }
.preheader-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* Header */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  padding: 1.8rem 0;
}
.site-header.scrolled {
  padding: 1.1rem 0;
  box-shadow: 0 8px 30px -22px rgba(31, 77, 56, 0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo { display: flex; align-items: center; color: var(--green-deep); }
.logo img { height: 95px; width: auto; display: block; transition: height 0.3s ease; }
.site-header.scrolled .logo img { height: 75px; }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  padding: 0.55rem 0.9rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover, .nav a.active { color: var(--green-deep); background: var(--green-tint); }

/* Dropdowns */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: "▾";
  margin-left: 0.3rem;
  font-size: 0.7em;
  opacity: 0.6;
  transition: transform 0.2s ease;
  display: inline-block;
}
.nav-dropdown:hover > a::after { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 240px;
  max-height: min(80vh, 640px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px -18px rgba(31,77,56,0.32);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 110;
  border: 1px solid var(--line);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--ink);
  background: transparent;
  border-radius: 10px;
  font-weight: 500;
}
.nav-dropdown-menu a:hover {
  background: var(--green-tint);
  color: var(--green-deep);
}
.header-cta {
  background: var(--green-mid);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.5rem;
  transition: background 0.25s ease;
}
.header-cta:hover { background: var(--green-deep); }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green-deep);
  margin: 6px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--green-deep);
  color: #fff;
  z-index: 200;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 1.1rem;
  font-weight: 500;
}
.mobile-nav .close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
.mobile-nav .mobile-cta {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ============================================================
   HOMEPAGE: Hero (video)
   ============================================================ */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(31, 77, 56, 0.92) 10%, rgba(31, 77, 56, 0.55) 55%, rgba(31, 77, 56, 0.4) 100%),
    radial-gradient(60% 80% at 20% 50%, rgba(0,0,0,0.25), transparent 70%);
}
.hero-content { padding: 4rem 0; text-align: left; }
.hero-content > * { max-width: 760px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--green-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(181,205,190,0.25);
}
.hero h1 { color: #fff; margin-bottom: 1.4rem; font-weight: 500; }
.hero h1 em { color: var(--green-soft); font-style: italic; font-weight: 500; }
.hero-lede {
  color: rgba(255,255,255,0.92);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 0.6rem auto 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); transform-origin: top; }
}

/* ============================================================
   INTERIOR PAGES: Page banner
   ============================================================ */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: #fff;
  padding: 6rem 0 8rem;
  overflow: hidden;
  isolation: isolate;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(181,205,190,0.18), transparent 70%),
    radial-gradient(40% 60% at 10% 90%, rgba(239,230,210,0.1), transparent 70%);
}
.page-banner .breadcrumb {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.3rem;
  font-weight: 500;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-banner .breadcrumb a:hover { color: #fff; }
.page-banner .breadcrumb .sep { color: rgba(255,255,255,0.4); }
.page-banner h1 { color: #fff; margin-bottom: 1rem; font-weight: 500; max-width: 900px; }
.page-banner h1 em { color: var(--green-soft); font-style: italic; font-weight: 500; }
.page-banner .page-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.86);
  max-width: 700px;
}
.banner-tree {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 480px;
  max-width: 50%;
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
}

/* Curved bottom on banner */
.page-banner-curve {
  position: relative;
  height: 60px;
  margin-top: -60px;
  background: var(--paper);
  border-radius: 60px 60px 0 0;
}

/* ============================================================
   HOMEPAGE: Intro
   ============================================================ */
.intro {
  background: var(--paper);
  padding: 7rem 0 5rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.intro-eyebrow {
  color: var(--green-mid);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}
.intro h2 { margin-bottom: 1.4rem; }
.intro p + p { margin-top: 1rem; }
.intro-cta { margin-top: 2rem; }
.intro-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }
.intro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,77,56,0.18), transparent 40%);
}
.intro-badge {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  background: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-deep);
}
.intro-badge svg { width: 28px; height: 28px; flex-shrink: 0; }

/* Locations */
.locations { background: var(--paper); padding: 4rem 0 7rem; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-head .eyebrow {
  color: var(--green-mid);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: inline-block;
}
.section-head h2 { margin-bottom: 1rem; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.location-card {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -28px rgba(31, 77, 56, 0.45);
}
.location-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.location-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.location-card:hover .location-photo img { transform: scale(1.05); }
.location-body {
  background: var(--green-deep);
  color: #fff;
  padding: 2.2rem 2rem;
  text-align: center;
}
.location-body h3 { color: #fff; margin-bottom: 0.7rem; font-size: 2rem; }
.location-phone {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  display: inline-block;
}
.location-phone:hover { color: var(--green-soft); }
.location-address {
  color: rgba(255,255,255,0.8);
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
}
.location-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.location-actions .btn { padding: 0.7rem 1.2rem; font-size: 0.78rem; }

/* Services overview on homepage */
.services-section {
  background: var(--green-tint);
  padding: 7rem 0;
  position: relative;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.services-image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.services-image img { width: 100%; height: 100%; object-fit: cover; }
.services-stat {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}
.services-stat strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.9rem;
  color: var(--green-deep);
  line-height: 1;
}
.services-stat span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.services-content h2 { margin-bottom: 1.3rem; }
.services-content p { font-size: 1.02rem; }
.services-content p + p { margin-top: 0.9rem; }
.services-list {
  margin: 1.8rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.4rem;
}
.services-list li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: var(--ink);
}
.services-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-mid); }

/* By Your Side */
.by-your-side { background: var(--paper); padding: 7rem 0; }
.bys-inner {
  background: var(--green-deep);
  color: #fff;
  border-radius: 40px;
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.bys-inner::before {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.bys-inner::after {
  content: "";
  position: absolute;
  right: 60px; top: -80px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.bys-eyebrow {
  color: var(--green-soft);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.bys-eyebrow svg { width: 18px; height: 18px; }
.bys-content h2 { color: #fff; margin-bottom: 1.4rem; }
.bys-content p { color: rgba(255,255,255,0.86); font-size: 1.02rem; }
.bys-content p + p { margin-top: 1rem; }
.bys-signature {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.bys-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
}
.bys-signature-name { font-weight: 600; color: #fff; }
.bys-signature-role { color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.bys-image {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  z-index: 1;
}
.bys-image img { width: 100%; height: 100%; object-fit: cover; }

/* Care plans */
.care-plans { background: var(--cream-soft); padding: 7rem 0; }
.care-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.care-content h2 { margin-bottom: 1.4rem; }
.care-perks {
  margin: 1.8rem 0 2rem;
  display: grid;
  gap: 0.9rem;
}
.care-perk {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px -14px rgba(31, 77, 56, 0.25);
}
.care-perk svg {
  width: 22px; height: 22px; flex-shrink: 0;
  color: var(--green-mid); margin-top: 0.15rem;
}
.care-perk strong {
  display: block;
  color: var(--green-deep);
  margin-bottom: 0.15rem;
  font-size: 0.98rem;
}
.care-perk span { font-size: 0.88rem; color: var(--ink-soft); }
.care-image-wrap { position: relative; aspect-ratio: 5/6; }
.care-image {
  border-radius: 32px;
  overflow: hidden;
  width: 100%; height: 100%;
  box-shadow: var(--shadow);
}
.care-image img { width: 100%; height: 100%; object-fit: cover; }
.care-savings-tag {
  position: absolute;
  bottom: -1.5rem; left: -1.5rem;
  background: var(--green-mid);
  color: #fff;
  padding: 1.4rem 1.8rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.care-savings-tag strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.care-savings-tag span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Cat strip */
.cat-strip { background: var(--paper); padding: 4rem 0; }
.cat-strip-inner {
  background: #fff;
  border-radius: 32px;
  padding: 3rem 3.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.cat-strip-mark {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}
.cat-strip-mark svg { width: 50px; height: 50px; }
.cat-strip-content h3 { color: var(--green-deep); margin-bottom: 0.35rem; }
.cat-strip-content p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* Team */
.team { background: var(--paper); padding: 5rem 0 7rem; }
.team-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
.team-head h2 { max-width: 640px; }
.team-head p { max-width: 640px; margin-top: 1rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.team-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 40px -22px rgba(31, 77, 56, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); }
.team-photo { aspect-ratio: 4/5; overflow: hidden; }
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-body { padding: 1.3rem 1.4rem 1.5rem; }
.team-body h4 {
  font-family: 'DM Serif Display', serif;
  color: var(--green-deep);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}
.team-body span {
  color: var(--green-mid);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
.team-card-more {
  background: var(--green-deep);
  color: #fff;
}
.team-card-more .team-body h4 { color: #fff; font-size: 1.55rem; }
.team-card-more .team-body span { color: var(--green-soft); }
.team-photo-placeholder {
  aspect-ratio: 4/5;
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s ease;
}
.team-photo-placeholder svg { width: 110px; height: auto; }
.team-card-more:hover .team-photo-placeholder { color: rgba(255,255,255,0.7); }

/* News */
.news { background: var(--cream-soft); padding: 7rem 0; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.news-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 40px -22px rgba(31, 77, 56, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); }
.news-photo { aspect-ratio: 16/10; overflow: hidden; }
.news-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-photo img { transform: scale(1.05); }
.news-body {
  padding: 1.6rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-meta {
  color: var(--green-mid);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.news-body h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.news-body p { font-size: 0.94rem; margin-bottom: 1.3rem; flex: 1; }
.news-link {
  color: var(--green-mid);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.25s ease;
}
.news-link:hover { gap: 0.7rem; }

/* Reviews */
.reviews { background: var(--paper); padding: 7rem 0; text-align: center; }
.reviews-placeholder {
  background: #fff;
  border-radius: 28px;
  padding: 3rem 2rem;
  margin-top: 3rem;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
}
.reviews-placeholder strong {
  color: var(--green-deep);
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

/* Pre-footer CTA */
.cta {
  position: relative;
  background: var(--green-deep);
  color: #fff;
  padding: 7rem 0;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(181,205,190,0.18), transparent 70%),
    radial-gradient(40% 60% at 10% 90%, rgba(239,230,210,0.08), transparent 70%);
}
.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; margin-bottom: 1.2rem; }
.cta p { color: rgba(255,255,255,0.86); font-size: 1.1rem; margin-bottom: 2.4rem; }
.cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--cream-soft);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer-tree {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 520px;
  max-width: 60%;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}
.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand .logo img { height: 90px; }
.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 1.2rem;
}
.footer-socials { display: flex; gap: 0.6rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-socials a:hover { background: var(--green-mid); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--green-deep);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-col a, .footer-col p { font-size: 0.94rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--green-deep); }
.footer-col p { margin-bottom: 0.5rem; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  position: relative;
  z-index: 1;
}
.footer-bottom a:hover { color: var(--green-deep); }
.footer-credit a { color: var(--green-mid); font-weight: 600; }

/* Floating WhatsApp */
.floater {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  background: #25D366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.5);
  transition: transform 0.25s ease;
}
.floater:hover { transform: scale(1.08); }
.floater svg { width: 28px; height: 28px; }

/* ============================================================
   INTERIOR PAGE COMPONENTS
   ============================================================ */

/* Generic content sections */
.section { padding: 6rem 0; }
.section-alt { background: var(--cream-soft); }
.section-green { background: var(--green-tint); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col-image { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.two-col-image img { width: 100%; height: 100%; object-fit: cover; }
.two-col-image.landscape { aspect-ratio: 5/4; }

/* USP cards */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.usp-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.2rem 2rem;
  box-shadow: 0 14px 40px -22px rgba(31, 77, 56, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -28px rgba(31, 77, 56, 0.35);
}
.usp-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-tint);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.usp-icon svg { width: 28px; height: 28px; }
.usp-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.usp-card p { font-size: 0.95rem; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 40px -22px rgba(31, 77, 56, 0.25);
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card .photo {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
}
.service-card .photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.service-card:hover .photo img { transform: scale(1.05); }
.service-card .photo svg { width: 60px; height: 60px; }
.service-card .body {
  padding: 1.6rem 1.7rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.94rem; margin-bottom: 1.2rem; flex: 1; }

/* Care plan tiers */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.tier {
  background: #fff;
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 14px 40px -22px rgba(31, 77, 56, 0.25);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.tier:hover { transform: translateY(-6px); }
.tier.featured {
  background: var(--green-deep);
  color: #fff;
  position: relative;
  transform: translateY(-12px);
}
.tier.featured h3, .tier.featured .price { color: #fff; }
.tier.featured .price-label { color: var(--green-soft); }
.tier.featured li { color: rgba(255,255,255,0.92); }
.tier.featured li svg { color: var(--green-soft); }
.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  color: var(--green-deep);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.tier h3 { font-size: 1.7rem; margin-bottom: 0.3rem; }
.tier .tier-sub {
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-mid);
  margin-bottom: 1.2rem;
}
.tier.featured .tier-sub { color: var(--green-soft); }
.tier .price {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1;
}
.tier .price small {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.7;
}
.tier .price-label {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.tier ul {
  list-style: none;
  margin: 0 0 1.8rem;
  display: grid;
  gap: 0.7rem;
  flex: 1;
}
.tier li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--ink);
}
.tier li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--green-mid);
  margin-top: 0.18rem;
}

/* Price tables */
.price-section { margin-bottom: 4rem; }
.price-section h2 { margin-bottom: 1.6rem; }
.price-table {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(31, 77, 56, 0.25);
}
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 1rem;
}
.price-row:last-child { border-bottom: 0; }
.price-row .item strong {
  display: block;
  color: var(--green-deep);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.price-row .item span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.price-row .amount {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--green-deep);
  font-weight: 600;
  white-space: nowrap;
}

/* Form */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.form-card {
  background: #fff;
  border-radius: 28px;
  padding: 3rem;
  box-shadow: var(--shadow);
}
.form-card h2 { margin-bottom: 0.8rem; }
.form-card .form-lede { margin-bottom: 2rem; }
.field { margin-bottom: 1.2rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.checkbox input { width: 18px; height: 18px; margin-top: 0.2rem; flex-shrink: 0; }

/* Contact info card */
.contact-info {
  background: var(--green-deep);
  color: #fff;
  border-radius: 28px;
  padding: 3rem;
}
.contact-info h3 { color: #fff; margin-bottom: 1.6rem; }
.contact-info-row {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  align-items: flex-start;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  color: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-row .label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-soft);
  margin-bottom: 0.3rem;
}
.contact-info-row .value {
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.5;
}
.contact-info-row .value a:hover { color: var(--green-soft); }

/* Map placeholder */
.map-placeholder {
  background: var(--green-tint);
  border-radius: 24px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31,77,56,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,77,56,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-placeholder span {
  position: relative;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--green-deep);
  font-size: 0.85rem;
}

/* Hours */
.hours {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px -18px rgba(31, 77, 56, 0.25);
}
.hours h3 { margin-bottom: 1rem; }
.hours-branch { margin-top: 1rem; }
.hours-branch:first-of-type { margin-top: 0; }
.hours-branch h4 { font-family: 'Manrope', sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-mid); margin: 0 0 0.5rem; font-weight: 700; }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.hours-row:last-child { border-bottom: 0; }
.hours-row .day { font-weight: 500; color: var(--green-deep); }
.hours-row .time { color: var(--ink-soft); }

/* OOH banner */
.ooh-banner {
  background: var(--cream);
  border-radius: 24px;
  padding: 2rem 2.4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.6rem;
  align-items: center;
  margin-top: 2rem;
}
.ooh-banner svg { width: 40px; height: 40px; color: var(--green-deep); }
.ooh-banner h4 { color: var(--green-deep); margin-bottom: 0.2rem; }
.ooh-banner p { font-size: 0.92rem; margin: 0; }

/* Pet Advice hub cards */
.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.advice-card {
  background: #fff;
  border-radius: 28px;
  padding: 2.8rem 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 14px 40px -22px rgba(31, 77, 56, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}
.advice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -28px rgba(31, 77, 56, 0.35);
}
.advice-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--green-tint);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.advice-icon svg { width: 32px; height: 32px; }
.advice-card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.advice-card p { font-size: 0.96rem; margin-bottom: 1.6rem; flex: 1; }

/* Widget embed placeholder */
.widget-embed {
  background: #fff;
  border-radius: 28px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 3rem 0;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
}
.widget-embed strong {
  display: block;
  color: var(--green-deep);
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

/* Job/role list */
.role-list { display: grid; gap: 1rem; margin-top: 2.5rem; }
.role {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 10px 30px -18px rgba(31, 77, 56, 0.2);
  transition: transform 0.3s ease;
}
.role:hover { transform: translateY(-3px); }
.role-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.2rem;
}
.role-meta {
  font-size: 0.82rem;
  color: var(--green-mid);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.role-location {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border-radius: 24px;
  padding: 2rem 1.8rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
}
.step h3 { font-size: 1.25rem; margin: 0.8rem 0 0.5rem; }
.step p { font-size: 0.92rem; }

/* Out of Hours prose block needs the same vertical rhythm as .section */
.ooh-content { padding: 96px 0; }
@media (max-width: 720px) { .ooh-content { padding: 64px 0; } }

/* Paragraph spacing in content sections — one clear line break between paragraphs */
.section p + p, .two-col p + p, .legal p + p, .ooh-content p + p { margin-top: 1rem; }

/* Headings need breathing room before paragraphs and lists */
.section h2, .two-col h2, .legal h2, .ooh-content h2,
.narrow h2 { margin-bottom: 1.4rem; }
.section h3, .two-col h3, .legal h3, .ooh-content h3,
.narrow h3 { margin-bottom: 0.9rem; }
.section h4, .two-col h4, .legal h4 { margin-bottom: 0.6rem; }
/* Spacing above subsequent headings so blocks separate cleanly */
.section h2:not(:first-child), .two-col h2:not(:first-child),
.legal h2, .narrow h2:not(:first-child) { margin-top: 2.4rem; }
.section h3:not(:first-child), .two-col h3:not(:first-child),
.legal h3, .narrow h3:not(:first-child) { margin-top: 1.8rem; }
/* Cards should keep their tighter existing rhythm */
.usp-card h3, .service-card h3, .tier h3, .team-body h4,
.step h3, .care-perk strong, .clinic-body h3,
.section-head h2, .team-head h2, .cta h2,
.bys-inner h2, .care-content h2, .services-content h2, .intro h2 { margin-top: 0; }

/* Reveal animations */
/* Reveal: only hide when JS is confirmed running (html.has-js added inline in <head>).
   Without JS, or if GSAP fails, content stays visible. */
.reveal { opacity: 1; transform: none; }
html.has-js .reveal { opacity: 0; transform: translateY(40px); }
html.has-js.reveals-done .reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================
   GLOBAL HIDES (per client feedback)
   ============================================================ */
/* Hide all eyebrow labels site-wide */
.hero-eyebrow,
.intro-eyebrow,
.section-head .eyebrow,
.bys-eyebrow { display: none !important; }

/* Hide floating WhatsApp button */
.floater { display: none !important; }

/* Hide duplicate Contact Us header button (Contact already in nav) */
.header-cta { display: none !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .intro-grid, .services-grid, .care-grid, .bys-inner, .two-col, .form-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .team-grid, .news-grid, .service-grid, .advice-grid, .usp-grid, .tiers {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-strip-inner { grid-template-columns: auto 1fr; }
  .cat-strip-inner .btn { grid-column: 1 / -1; justify-self: start; }
  .team-head { grid-template-columns: 1fr; align-items: start; }
  .bys-inner { padding: 3.5rem 2.5rem; }
  .tier.featured { transform: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .preheader { font-size: 0.78rem; text-align: center; }
  .preheader-inner { justify-content: center; gap: 0.8rem; }
  .locations-grid { grid-template-columns: 1fr; }
  .team-grid, .news-grid, .service-grid, .advice-grid, .usp-grid, .tiers {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .cat-strip-inner { padding: 2rem; grid-template-columns: 1fr; text-align: center; }
  .cat-strip-mark { margin: 0 auto; }
  .care-savings-tag { left: 1rem; bottom: -1rem; padding: 1rem 1.2rem; }
  .care-savings-tag strong { font-size: 1.8rem; }
  .hero { min-height: 86vh; }
  .hero-content { padding: 4rem 0; }
  .bys-inner { padding: 2.5rem 1.8rem; border-radius: 28px; }
  .page-banner { padding: 4rem 0 6rem; }
  .form-card { padding: 2rem 1.5rem; }
  .contact-info { padding: 2rem 1.5rem; }
  .field-row { grid-template-columns: 1fr; }
  .role { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ooh-banner { grid-template-columns: auto 1fr; }
  .ooh-banner .btn { grid-column: 1 / -1; }
}

/* ============================================================
   MIGRATED FROM PAGE-LEVEL <style> BLOCKS IN THE STATIC BUILD
   These were inline on meet-the-team.html and out-of-hours.html
   and must live here for the WordPress theme.
   ============================================================ */

/* --- Team page: filter chips --- */
.team-filter {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.team-filter button {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.team-filter button:hover {
  color: var(--green-deep);
  border-color: var(--green-mid);
}
.team-filter button.active,
.team-filter button.is-active {
  background: var(--green-deep);
  color: #fff;
  border-color: var(--green-deep);
}

/* --- Team page: full grid --- */
.team-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
@media (max-width: 1024px) {
  .team-grid-full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .team-grid-full { grid-template-columns: repeat(2, 1fr); }
}

/* --- Team page: credentials + expandable bio --- */
.team-body .creds {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}
.team-bio {
  margin-top: 0.8rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.7rem;
}
.team-bio summary {
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-mid);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.team-bio summary::-webkit-details-marker { display: none; }
.team-bio summary::after {
  content: "\25BE";
  font-size: 0.7em;
  transition: transform 0.2s ease;
}
.team-bio[open] summary::after { transform: rotate(180deg); }
.team-bio p {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.team-bio p + p { margin-top: 0.6rem; }

/* --- Team page: placeholder tile for staff without a photo --- */
.photo-placeholder {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green-mid), var(--green-deep));
  color: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.06), transparent 60%);
}
.photo-placeholder .initial {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: #fff;
  position: relative;
  z-index: 1;
}
.photo-placeholder svg {
  width: 42px;
  height: auto;
  margin-top: 1rem;
  opacity: 0.5;
  color: var(--green-soft);
  position: relative;
  z-index: 1;
}

/* --- Team page: role badge --- */
.role-badge {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.role-badge.gold {
  background: var(--cream);
  color: var(--green-deep);
}

/* --- Out of Hours page --- */
.clinic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3rem; }
@media (max-width: 1024px) { .clinic-grid { grid-template-columns: 1fr; } }
.clinic-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.clinic-map { aspect-ratio: 16/10; background: var(--green-tint); }
.clinic-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.clinic-body { padding: 2rem 2.2rem 2.4rem; }
.clinic-body h3 { color: var(--green-deep); font-size: 1.7rem; margin: 0 0 0.8rem; }
.clinic-address { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.7; margin-bottom: 1.3rem; }
.clinic-meta { display: grid; gap: 0.4rem; margin-bottom: 1.4rem; font-size: 0.94rem; }
.clinic-meta strong { color: var(--green-deep); margin-right: 0.4rem; }
.clinic-hours { background: var(--paper); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-size: 0.92rem; }
.clinic-hours h4 { font-family: 'Manrope', sans-serif; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 0.6rem; }
.clinic-hours p { margin: 0.2rem 0; color: var(--ink); }
.clinic-directions { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.65; }

/* --- Aliases so both class spellings work --- */
.footer-logo img { height: 90px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a,
.footer-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--paper);
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover,
.footer-socials a:hover { background: var(--green-mid); color: #fff; transform: translateY(-3px); }
.footer-social svg,
.footer-socials svg { width: 18px; height: 18px; }

/* ============================================================
   GRAVITY FORMS — styled to match the Downwood form design
   Targets GF 2.5+ markup (.gform_wrapper.gravity-theme).
   ============================================================ */

.gform_wrapper.gravity-theme,
.gform_wrapper {
  --gf-radius: 14px;
  font-family: 'Manrope', sans-serif;
}

/* Kill GF's default spacing model, use ours */
.gform_wrapper.gravity-theme .gform_fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}
.gform_wrapper.gravity-theme .gfield { margin: 0; padding: 0; }

/* Two-up rows on wider screens for short fields */
@media (min-width: 720px) {
  .gform_wrapper.gravity-theme .gform_fields {
    grid-template-columns: 1fr 1fr;
  }
  .gform_wrapper.gravity-theme .gfield { grid-column: 1 / -1; }
  .gform_wrapper.gravity-theme .gfield--type-email,
  .gform_wrapper.gravity-theme .gfield--type-phone,
  .gform_wrapper.gravity-theme .gfield--type-date,
  .gform_wrapper.gravity-theme .gfield--type-select {
    grid-column: span 1;
  }
  .gform_wrapper.gravity-theme .gfield--type-textarea,
  .gform_wrapper.gravity-theme .gfield--type-address,
  .gform_wrapper.gravity-theme .gfield--type-name,
  .gform_wrapper.gravity-theme .gfield--type-consent,
  .gform_wrapper.gravity-theme .gfield--type-section,
  .gform_wrapper.gravity-theme .gfield--type-radio,
  .gform_wrapper.gravity-theme .gfield--type-checkbox {
    grid-column: 1 / -1;
  }
}

/* Labels — match .field label */
.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme legend.gfield_label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.gform_wrapper.gravity-theme .gfield_required {
  color: var(--green-mid);
  margin-left: 0.15rem;
}

/* Sub-labels (name parts, address parts) */
.gform_wrapper.gravity-theme .ginput_complex label,
.gform_wrapper.gravity-theme .gform_fileupload_rules,
.gform_wrapper.gravity-theme .gfield_description {
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}
.gform_wrapper.gravity-theme .ginput_complex label {
  margin-top: 0.4rem;
  margin-bottom: 0;
}

/* Inputs — match .field input */
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--gf-radius);
  font-family: 'Manrope', sans-serif;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.gform_wrapper.gravity-theme textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.gform_wrapper.gravity-theme input:focus,
.gform_wrapper.gravity-theme select:focus,
.gform_wrapper.gravity-theme textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.10);
}
.gform_wrapper.gravity-theme ::placeholder { color: rgba(74, 84, 76, 0.55); }

/* Select chevron */
.gform_wrapper.gravity-theme select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.6rem;
}

/* Section breaks */
.gform_wrapper.gravity-theme .gsection {
  border: 0;
  border-top: 1px dashed var(--line);
  padding: 1.6rem 0 0;
  margin: 0.6rem 0 0;
}
.gform_wrapper.gravity-theme .gsection_title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--green-deep);
  margin: 0;
}

/* Radio + checkbox */
.gform_wrapper.gravity-theme .gfield_radio,
.gform_wrapper.gravity-theme .gfield_checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
}
.gform_wrapper.gravity-theme .gchoice {
  position: relative;
  margin: 0;
}
.gform_wrapper.gravity-theme .gchoice input[type="radio"],
.gform_wrapper.gravity-theme .gchoice input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.gform_wrapper.gravity-theme .gchoice label {
  display: inline-block;
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  margin: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gform_wrapper.gravity-theme .gchoice label:hover {
  border-color: var(--green-mid);
  color: var(--green-deep);
}
.gform_wrapper.gravity-theme .gchoice input:checked + label {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: #fff;
}
.gform_wrapper.gravity-theme .gchoice input:focus-visible + label {
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.16);
}

/* Consent field — a soft panel, not a pill */
.gform_wrapper.gravity-theme .gfield--type-consent .ginput_container_consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--green-tint);
  border-radius: var(--gf-radius);
  padding: 1rem 1.2rem;
}
.gform_wrapper.gravity-theme .gfield--type-consent input[type="checkbox"] {
  position: static;
  opacity: 1;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  accent-color: var(--green-deep);
  flex-shrink: 0;
  cursor: pointer;
}
.gform_wrapper.gravity-theme .gfield--type-consent label {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  cursor: pointer;
}
.gform_wrapper.gravity-theme .gfield--type-consent .gfield_consent_description {
  margin-top: 0.5rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  border: 0;
  padding: 0;
  background: none;
  max-height: none;
  overflow: visible;
}

/* Date picker input */
.gform_wrapper.gravity-theme .ginput_container_date input { max-width: 100%; }
#ui-datepicker-div {
  border-radius: 16px !important;
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow) !important;
  font-family: 'Manrope', sans-serif !important;
  padding: 0.5rem !important;
}
#ui-datepicker-div .ui-datepicker-header {
  background: var(--green-deep) !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #fff !important;
}
#ui-datepicker-div .ui-state-active,
#ui-datepicker-div .ui-state-highlight {
  background: var(--green-mid) !important;
  color: #fff !important;
  border-color: var(--green-mid) !important;
}

/* Submit button — match .btn .btn-primary */
.gform_wrapper.gravity-theme .gform_footer {
  margin: 1.8rem 0 0;
  padding: 0;
}
.gform_wrapper.gravity-theme .gform_button,
.gform_wrapper.gravity-theme input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--green-deep);
  color: #fff;
  border: 1px solid var(--green-deep);
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  width: auto;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.gform_wrapper.gravity-theme .gform_button:hover,
.gform_wrapper.gravity-theme input[type="submit"]:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(31, 77, 56, 0.6);
}
.gform_wrapper.gravity-theme .gform_button:active { transform: translateY(0); }

/* Validation */
.gform_wrapper.gravity-theme .gfield_error input,
.gform_wrapper.gravity-theme .gfield_error select,
.gform_wrapper.gravity-theme .gfield_error textarea {
  border-color: #b3462f;
  background: #fdf6f4;
}
.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
  background: #fdf1ee;
  border: 0;
  border-left: 3px solid #b3462f;
  border-radius: 8px;
  color: #8f3826;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.6rem 0.9rem;
  margin-top: 0.5rem;
}
.gform_wrapper.gravity-theme .gform_validation_errors {
  background: #fdf1ee;
  border: 1px solid rgba(179, 70, 47, 0.25);
  border-radius: var(--gf-radius);
  box-shadow: none;
  padding: 1rem 1.2rem;
  margin-bottom: 1.4rem;
}
.gform_wrapper.gravity-theme .gform_validation_errors h2 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #8f3826;
  margin: 0;
}

/* Confirmation message */
.gform_confirmation_wrapper,
.gform_wrapper .gform_confirmation_message {
  background: var(--green-tint);
  border-radius: 20px;
  padding: 2rem 2.2rem;
  color: var(--green-deep);
  font-size: 1.02rem;
  line-height: 1.65;
}
.gform_confirmation_wrapper p,
.gform_wrapper .gform_confirmation_message p { margin: 0; }
.gform_confirmation_wrapper strong { color: var(--green-deep); }

/* Required-fields note + honeypot */
.gform_wrapper.gravity-theme .gform_required_legend {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.gform_wrapper .gform_validation_container,
.gform_wrapper .gf_invisible { display: none !important; }

/* Spinner */
.gform_wrapper .gform_ajax_spinner {
  margin-left: 0.8rem;
  vertical-align: middle;
}

/* Inside our .form-card the heading spacing already exists — tighten GF's own */
.form-card .gform_wrapper.gravity-theme .gform_heading { display: none; }

/* Form-only pages: give the card a comfortable max width */
.form-card { max-width: 820px; }

/* Fallback panel when GF is unavailable */
.form-fallback p { margin: 0; }

/* ============================================================
   WEIGHT-BANDED PRICE TABLES (Prices page)
   ============================================================ */
.price-band-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.price-band-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Manrope', sans-serif;
  font-size: 0.92rem;
  min-width: 640px;
}
.price-band-table thead th {
  background: var(--green-deep);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: right;
  white-space: nowrap;
}
.price-band-table thead th:first-child {
  text-align: left;
  border-top-left-radius: 18px;
}
.price-band-table thead th:last-child { border-top-right-radius: 18px; }
.price-band-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--green-deep);
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.price-band-table tbody td {
  text-align: right;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-band-table tbody tr:last-child th,
.price-band-table tbody tr:last-child td { border-bottom: 0; }
.price-band-table tbody tr:nth-child(even) { background: var(--paper); }
.price-band-table .na { color: rgba(74,84,76,0.4); }

.price-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.price-note a { color: var(--green-mid); font-weight: 600; }

/* Mobile: stack each row as a small card with band labels */
@media (max-width: 720px) {
  .price-band-scroll { border: 0; background: none; overflow-x: visible; }
  .price-band-table { min-width: 0; display: block; }
  .price-band-table thead { display: none; }
  .price-band-table tbody,
  .price-band-table tbody tr { display: block; }
  .price-band-table tbody tr {
    background: #fff !important;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.4rem 0.2rem 0.6rem;
    margin-bottom: 1rem;
  }
  .price-band-table tbody th {
    display: block;
    border-bottom: 1px solid var(--line);
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    white-space: normal;
    padding: 0.6rem 1rem 0.7rem;
  }
  .price-band-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-bottom: 0;
    padding: 0.45rem 1rem;
    text-align: right;
  }
  .price-band-table tbody td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--ink-soft);
    text-align: left;
  }
  /* hide empty cells on mobile so products that do not apply are not listed */
  .price-band-table tbody td:has(.na) { display: none; }
}

/* ============================================================
   POST-LAUNCH FIXES
   ============================================================ */

/* Gravity Forms choice pills must size to their own text, not shrink */
.gform_wrapper.gravity-theme .gchoice { flex: 0 0 auto; }
.gform_wrapper.gravity-theme .gchoice label { white-space: nowrap; }
/* GF reserves 32px on the label for the native radio dot we hide, which squeezed the text out of the pill */
.gform_wrapper.gravity-theme .gchoice label,
.gform_wrapper.gravity-theme .gfield-choice-input + label { max-width: none !important; width: auto !important; }

/* Team cards must not stretch to match the tallest card in the row */
.team-grid-full,
.team-grid { align-items: start; }

/* Prose lists: keep bullet markers inside the page gutter */
.wrap.narrow > ul,
.wrap.narrow > ol,
.legal > ul,
.legal > ol { padding-left: 1.35rem; }
.wrap.narrow > ul li + li,
.wrap.narrow > ol li + li { margin-top: 0.45rem; }

/* Button rows keep breathing room when they wrap onto two lines */
p:has(> .btn) > .btn { margin: 0.35rem 0.3rem; }

/* Cookie consent tab: brand it and keep it fully on screen */
#cmplz-manage-consent .cmplz-manage-consent {
  bottom: 14px !important;
  right: 14px !important;
  background: var(--green-deep) !important;
  color: var(--paper) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.5rem 1.05rem !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  box-shadow: 0 6px 18px rgba(31, 77, 56, 0.22) !important;
  opacity: 0.82;
  transition: opacity 0.2s ease, background 0.2s ease;
}
#cmplz-manage-consent .cmplz-manage-consent:hover {
  opacity: 1;
  background: var(--green-mid) !important;
}

/* Consistent side gutters on small screens */
@media (max-width: 720px) {
  .wrap,
  .narrow { width: 100%; padding-left: 22px; padding-right: 22px; }
  .wrap.narrow > ul,
  .wrap.narrow > ol { padding-left: 1.2rem; }
  #cmplz-manage-consent .cmplz-manage-consent {
    bottom: 10px !important;
    right: 10px !important;
    font-size: 0.62rem !important;
    padding: 0.45rem 0.85rem !important;
  }
}
