/* VetraPaw and Hoof — professional wellness design system */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #002147;
  --navy-deep: #00152d;
  --navy-soft: #0a3358;
  --navy-mist: #e8eef5;
  --green: #73923d;
  --green-deep: #5a7530;
  --green-soft: #eef3e4;
  --green-glow: #8fad52;
  --ink: #142033;
  --muted: #5a6b7d;
  --line: #d5dde8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --danger: #b42318;
  --warn: #b54708;
  --ok: #027a48;
  --shadow-sm: 0 4px 16px rgba(0, 33, 71, 0.06);
  --shadow: 0 18px 50px rgba(0, 33, 71, 0.12);
  --shadow-lg: 0 28px 64px rgba(0, 33, 71, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --nav-h: 76px;
  --max: 1180px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.35s var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(115, 146, 61, 0.1), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(0, 33, 71, 0.06), transparent 50%),
    linear-gradient(180deg, #f3f6fb 0%, var(--paper) 40%, #eef3e8 100%);
  min-height: 100%;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-soft); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-deep); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Scroll reveal ── */
.reveal, .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible, .reveal-stagger > *.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* ── Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(247, 249, 252, 0.78);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(213, 221, 232, 0.9);
  box-shadow: var(--shadow-sm);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  position: relative; min-width: 0;
}
.brand {
  display: flex; align-items: center; gap: .75rem; color: var(--navy);
  flex-shrink: 0; transition: opacity var(--transition);
}
.brand:hover { opacity: 0.88; color: var(--navy); }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem; letter-spacing: 0.04em;
}
.brand-text strong span { color: var(--green); }
.brand-text small {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.nav-links {
  display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0;
  flex-wrap: nowrap; min-width: 0;
}
.nav-links a {
  padding: .45rem .55rem; border-radius: 999px; color: var(--navy); font-weight: 500; font-size: .86rem;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), transform 0.2s var(--ease-out);
}
.nav-links a:hover { background: var(--green-soft); color: var(--green-deep); transform: translateY(-1px); }
.nav-links a.active { background: var(--navy); color: #fff; }
.nav-cta { display: flex; gap: .4rem; align-items: center; flex-shrink: 0; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: .45rem .65rem;
  cursor: pointer; transition: border-color var(--transition);
}
.nav-toggle:hover { border-color: var(--green); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: 999px; padding: .75rem 1.25rem; font-weight: 600; cursor: pointer;
  transition: transform 0.25s var(--ease-out), background var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(0, 33, 71, .2); }
.btn-primary:hover { background: var(--navy-soft); color: #fff; box-shadow: 0 12px 32px rgba(0, 33, 71, .25); }
.btn-accent { background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; box-shadow: 0 8px 24px rgba(115, 146, 61, .25); }
.btn-accent:hover { background: linear-gradient(135deg, var(--green-glow) 0%, var(--green) 100%); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.85); color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--green); background: var(--green-soft); }
.btn-sm { padding: .45rem .9rem; font-size: .88rem; }
.btn-danger { background: var(--danger); color: #fff; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  max-height: 920px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero.hero-compact {
  height: auto; min-height: 58vh; max-height: none;
}
.hero-media {
  position: absolute; inset: 0; overflow: hidden;
  background:
    linear-gradient(125deg, rgba(0, 21, 45, 0.82) 0%, rgba(0, 33, 71, 0.5) 50%, rgba(90, 117, 48, 0.38) 100%),
    url('https://images.unsplash.com/photo-1587300003388-59208cc962cb?w=1800&q=80') center/cover no-repeat;
}
.hero-media.video-bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .5; transform: none;
}
.hero-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr min(340px, 36%);
  gap: 2.5rem; align-items: end;
  padding: clamp(2.5rem, 7vw, 5rem) 0 3.5rem;
}
.hero-content { max-width: 640px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: .75rem;
  animation: rise .65s ease both;
}
.hero-kicker::before {
  content: ''; width: 28px; height: 2px; background: var(--green-glow); border-radius: 2px;
}
.hero-brand {
  display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem;
  animation: rise .65s .04s ease both;
}
.hero-brand img {
  width: clamp(68px, 11vw, 100px); height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
}
.hero h1 {
  color: #fff; font-size: clamp(2.5rem, 6.5vw, 4.6rem);
  letter-spacing: 0.02em; animation: rise .7s .08s ease both;
}
.hero h1 span { color: var(--green-glow); }
.hero p.lead {
  color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 42ch; line-height: 1.65; animation: rise .7s .14s ease both;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem;
  animation: rise .7s .2s ease both;
}
.hero-ghost { border-color: rgba(255,255,255,.35) !important; color: #fff !important; background: rgba(255,255,255,.08) !important; }
.hero-ghost:hover { background: rgba(255,255,255,.18) !important; border-color: rgba(255,255,255,.5) !important; color: #fff !important; }
.tagline {
  display: flex; flex-wrap: wrap; gap: .5rem .85rem; margin-top: 1.5rem;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72); animation: rise .7s .26s ease both;
}
.tagline i { color: var(--green-glow); font-style: normal; }

.hero-trust-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 24px 48px rgba(0,0,0,.2);
  animation: rise .75s .18s ease both;
}
.hero-trust-head {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 1rem;
}
.trust-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.12); }
}
.hero-trust-list {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; gap: .65rem;
}
.hero-trust-list li {
  font-size: .92rem; color: rgba(255,255,255,.82); padding-left: 0;
}
.hero-trust-list strong { color: #fff; font-weight: 600; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ── Trust bar ── */
.trust-bar {
  background: #fff;
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  box-shadow: var(--shadow-sm);
}
.trust-bar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .88rem; font-weight: 500; color: var(--navy);
}
.trust-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; font-size: .7rem; font-weight: 700; flex-shrink: 0;
}

/* ── Stats ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.stat-card {
  text-align: center; padding: 1.75rem 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-value {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy); line-height: 1.1; margin-bottom: .35rem;
}
.stat-label { font-size: .88rem; color: var(--muted); font-weight: 500; }

/* ── Sections ── */
section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-alt { background: rgba(255,255,255,.55); }
.section-muted {
  background: linear-gradient(180deg, rgba(232,238,245,.45) 0%, rgba(238,243,228,.35) 100%);
}
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .eyebrow {
  display: inline-block; color: var(--green-deep); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: .75rem; margin-bottom: .6rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
}
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split.reverse .copy { order: 2; }
.copy h2 { margin-bottom: .75rem; }
.check-list {
  list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .55rem;
}
.check-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .95rem; color: var(--ink); font-weight: 500;
}
.check-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; font-size: .65rem; font-weight: 700; margin-top: .15rem;
}

.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.media-frame:hover { transform: translateY(-4px); box-shadow: 0 32px 72px rgba(0,33,71,.18); }
.media-frame img, .media-frame video {
  width: 100%; height: 100%; object-fit: cover; min-height: 360px;
  transition: transform 0.6s var(--ease-out);
}
.media-frame:hover img, .media-frame:hover video { transform: scale(1.03); }
.media-frame::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(transparent, rgba(0,33,71,.4));
  pointer-events: none;
}
.media-badge {
  position: absolute; bottom: 1rem; left: 1rem; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--navy);
  font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .4rem .85rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ── Features & cards ── */
.feature-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.feature, .card-pro {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.feature:hover, .card-pro:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(115, 146, 61, 0.35);
}
.feature .icon, .card-pro .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-soft) 0%, #fff 100%);
  color: var(--green-deep); font-weight: 700; margin-bottom: 1rem;
  border: 1px solid rgba(115,146,61,.15);
}
.icon-svg svg { width: 24px; height: 24px; }
.feature h3, .card-pro h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.feature p, .card-pro p { margin: 0 0 1rem; font-size: .95rem; flex: 1; }
.card-link {
  font-size: .88rem; font-weight: 600; color: var(--green-deep);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { color: var(--navy); }

/* ── Steps ── */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative; padding: 1.5rem 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  margin-bottom: .85rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { margin: 0; font-size: .9rem; }

/* ── Vet cards ── */
.vet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.vet-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vet-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.vet-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.vet-photo-placeholder {
  aspect-ratio: 4/3; width: 100%;
  background: linear-gradient(135deg, var(--navy-mist), var(--green-soft));
}
.vet-body { padding: 1.25rem 1.35rem 1.5rem; }
.vet-body h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.vet-role { font-size: .82rem; font-weight: 600; color: var(--green-deep); letter-spacing: .02em; margin-bottom: .65rem; }
.vet-body p:last-child { margin: 0; font-size: .92rem; }

/* ── Testimonials ── */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.testimonial {
  margin: 0; padding: 1.75rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f59e0b; font-size: .95rem; letter-spacing: .1em; margin-bottom: .85rem; }
.testimonial p { font-size: .98rem; color: var(--ink); line-height: 1.65; font-style: italic; margin-bottom: 1rem; }
.testimonial footer { font-size: .88rem; color: var(--muted); }
.testimonial footer strong { color: var(--navy); }

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #1a4a2e 100%);
  color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.cta-inner p { color: rgba(255,255,255,.78); margin: 0; max-width: 48ch; }
.cta-ghost { border-color: rgba(255,255,255,.35) !important; color: #fff !important; background: transparent !important; }
.cta-ghost:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }

/* ── Product grid ── */
.grid-products, .grid-articles, .grid-pets {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem;
}
.product, .article-card, .pet-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product:hover, .article-card:hover, .pet-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow);
}
.product-media-wrap, .article-media-wrap {
  display: block; overflow: hidden;
}
.product-media, .article-card img, .pet-card img {
  aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--navy-mist);
  transition: transform 0.55s var(--ease-out);
}
.product:hover .product-media, .article-card:hover img, .pet-card:hover img {
  transform: scale(1.05);
}
.product-body, .article-card .body, .pet-card .body {
  padding: 1.15rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column;
}
.product-body h3, .article-card h3 { font-size: 1.1rem; margin: .45rem 0; }
.product-body h3 a, .article-card h3 a { color: var(--navy); }
.product-body h3 a:hover, .article-card h3 a:hover { color: var(--green-deep); }
.product-body p, .article-card .body p { margin: 0 0 .85rem; font-size: .9rem; flex: 1; }
.price { color: var(--navy); font-weight: 700; font-size: 1.1rem; }
.price s { color: var(--muted); font-weight: 500; font-size: .9rem; margin-left: .35rem; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem .65rem; }
.price-block .price-was {
  color: var(--muted);
  font-weight: 500;
  text-decoration: line-through;
  font-size: .95em;
}
.price-block .price-now { color: var(--navy); font-weight: 700; }
.price-block.on-sale .price-now { color: #c62828; }
.badge-sale {
  display: inline-flex;
  align-items: center;
  background: #c62828;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 6px;
  line-height: 1.2;
}
.badge {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep);
}

/* ── Forms ── */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .35rem; font-weight: 500; color: var(--navy); font-size: .92rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: .75rem .9rem;
  background: #fff; color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(115,146,61,.18);
}
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.panel:hover { box-shadow: var(--shadow); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--navy-mist); color: var(--navy); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
tr { transition: background 0.2s ease; }
tbody tr:hover { background: rgba(238,243,228,.35); }
.status {
  display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem;
  border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--navy-mist); color: var(--navy);
}
.status.ok { background: #e4f7ec; color: var(--ok); }
.status.warn { background: #fff4e5; color: var(--warn); }
.status.bad { background: #fdecea; color: var(--danger); }

/* ── Chat / consult ── */
.chat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1rem; min-height: 560px; }
.chat-sidebar, .chat-main, .call-stage {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.chat-sidebar { padding: .75rem; }
.chat-main { display: flex; flex-direction: column; }
.chat-log { flex: 1; padding: 1rem; overflow-y: auto; display: grid; gap: .75rem; align-content: start; }
.bubble {
  max-width: 85%; padding: .8rem 1rem; border-radius: 16px; font-size: .95rem;
  animation: rise .35s ease both;
}
.bubble.user { margin-left: auto; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ai, .bubble.vet { background: var(--green-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-compose {
  display: flex; gap: .5rem; padding: .85rem; border-top: 1px solid var(--line); background: var(--paper);
}
.call-stage {
  position: relative; background: var(--navy-deep); min-height: 420px; color: #fff;
  display: grid; place-items: center;
}
.call-stage video#localVideo, .call-stage video#remoteVideo {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
#localVideo {
  width: 160px !important; height: 120px !important; right: 1rem; bottom: 1rem; left: auto; top: auto;
  border-radius: 12px; border: 2px solid rgba(255,255,255,.5); z-index: 2;
}
.call-controls {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 3;
}

/* ── Page headers ── */
.page-hero {
  padding: 3rem 0 1.75rem;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1a4a2e 100%);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  margin-bottom: 0;
}
.page-banner-inner h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .5rem; }
.page-banner-inner p { color: rgba(255,255,255,.78); margin: 0; max-width: 52ch; }
.page-banner .breadcrumbs { color: rgba(255,255,255,.55); margin-bottom: .85rem; }
.page-banner .breadcrumbs a { color: var(--green-glow); }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumbs a { color: var(--green-deep); }

/* ── Footer ── */
.site-footer {
  margin-top: 0;
  background: linear-gradient(165deg, var(--navy-deep), var(--navy) 55%, #0d3a28);
  color: rgba(255,255,255,.82);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.75); transition: color var(--transition); }
.site-footer a:hover { color: var(--green-glow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand { display: flex; gap: .85rem; align-items: flex-start; }
.footer-brand img { width: 68px; background: #fff; border-radius: 16px; padding: .4rem; box-shadow: var(--shadow-sm); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; align-items: center;
}
.footer-payfast {
  display: inline-flex; align-items: center; gap: .65rem;
  color: rgba(255,255,255,.8);
}
.footer-payfast img { border-radius: 6px; }

/* PayFast trust */
.payfast-trust {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.25rem; padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #f3f8fc 0%, #eef6f3 100%);
  border: 1px solid #cfe0ef; border-radius: 16px;
}
.payfast-trust img { border-radius: 8px; flex-shrink: 0; }
.payfast-trust strong {
  display: block; color: var(--navy); font-size: .95rem; margin-bottom: .15rem;
}
.payfast-trust span { display: block; color: var(--muted); font-size: .82rem; }
.payfast-trust.is-compact { padding: .85rem 1rem; margin-top: .5rem; }
.trust-item-payfast {
  gap: .65rem !important;
}
.trust-item-payfast img { border-radius: 6px; }
.checkout-totals { display: grid; gap: .45rem; margin-bottom: 1rem; }
.checkout-total { padding-top: .55rem; border-top: 1px solid var(--line); font-size: 1.05rem; }

/* ── Utilities ── */
.muted { color: var(--muted); }
.stack { display: grid; gap: 1rem; }
.row { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.spacer { height: 1rem; }
.empty {
  text-align: center; padding: 3rem 1.5rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.6);
}
.toast-wrap {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 100; display: grid; gap: .5rem;
}
.toast {
  background: var(--navy); color: #fff; padding: .9rem 1.2rem; border-radius: 14px;
  box-shadow: var(--shadow-lg); animation: toast-in 0.4s var(--ease-spring) both;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.pill-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; }
.pill-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem 1rem; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pill-tabs button:hover { border-color: var(--green); }
.pill-tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── Marquee ── */
.marquee-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(238,243,228,.5), rgba(255,255,255,.7));
  padding: .9rem 0; margin: 0; width: 100%; max-width: 100vw;
}
.marquee-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 45s linear infinite;
  font-weight: 600; color: var(--navy); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem;
  will-change: transform;
}
.marquee-track span { color: var(--green); }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-trust-card { max-width: 420px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-grid, .steps, .vet-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .feature-row, .footer-grid, .chat-layout { grid-template-columns: 1fr; }
  .split.reverse .copy { order: 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links, .nav.open .nav-cta {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    background: rgba(255,255,255,.98); padding: 1rem; border-bottom: 1px solid var(--line);
    z-index: 60; box-shadow: var(--shadow);
    animation: rise .3s ease both;
  }
  .nav.open .nav-links { gap: .25rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: calc(100svh - var(--nav-h)); max-height: none; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .trust-bar-inner, .stats-grid, .steps, .vet-grid, .testimonial-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Pet intake wizard */
.wizard {
  max-width: 720px;
  margin: 1.5rem auto 0;
}
.wizard-steps {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.wizard-step-pill {
  flex: 1;
  min-width: 7rem;
  text-align: center;
  padding: .55rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
  background: #fff;
}
.wizard-step-pill.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.wizard-step-pill.done {
  border-color: var(--green);
  color: var(--navy);
  background: color-mix(in srgb, var(--green) 18%, #fff);
}
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.upload-drop {
  border: 2px dashed #c5d0de;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  background: #f7fafc;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload-drop:hover, .upload-drop.has-file {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, #fff);
}
.upload-drop img, .upload-drop .card-preview {
  max-width: 100%;
  max-height: 220px;
  border-radius: 12px;
  margin: .75rem auto 0;
  display: block;
  object-fit: cover;
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.wizard-err {
  color: #c62828;
  font-size: .9rem;
  margin-top: .75rem;
}

