/* Northpaw Vet bundled CSS */

/* ===== tokens.css ===== */
:root {
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-900: #064e3b;

  --amber-50: #fffbeb;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --red-50: #fef2f2;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --green-50: #f0fdf4;
  --green-600: #16a34a;

  --bg: var(--slate-50);
  --surface: #ffffff;
  --ink: var(--slate-800);
  --ink-strong: var(--slate-900);
  --muted: var(--slate-600);
  --soft: var(--slate-500);
  --line: var(--slate-200);
  --accent: var(--emerald-600);
  --accent-hover: var(--emerald-700);
  --accent-soft: var(--emerald-50);
  --accent-well: var(--emerald-100);

  --glass-nav-bg: rgba(255, 255, 255, 0.8);
  --glass-nav-line: rgba(241, 245, 249, 1);

  --booking-grad: linear-gradient(135deg, #059669 0%, #047857 100%);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-emerald: 0 24px 48px rgba(6, 78, 59, 0.12);

  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 0.75rem;
  --r-2xl: 1rem;
  --r-3xl: 1.5rem;
  --r-full: 9999px;

  --nav-h: 4rem;
  --container: 80rem;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ===== base.css ===== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-Italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink-strong);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
.btn,
[role="button"],
summary,
label.chip,
.service-card,
.gallery-item,
.nav-toggle {
  cursor: pointer;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(100% - 3rem, var(--container));
  }
}

.section {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }
}

.section-white {
  background: var(--surface);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.section-lead,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Always visible - soft fade is additive only when .is-visible is toggled */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-visible {
    animation: np-reveal 0.55s var(--ease) both;
  }
}

@keyframes np-reveal {
  from {
    opacity: 0.35;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal.is-visible {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===== components.css ===== */
.demo-banner {
  background: var(--emerald-900);
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  letter-spacing: 0.01em;
}

.demo-banner strong {
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav {
  background: var(--glass-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-nav-line);
}

.site-nav__inner {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-xl);
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand__name {
  display: inline;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 379px) {
  .brand__name {
    display: none;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-actions .btn-ghost {
  display: none;
}

@media (min-width: 400px) {
  .nav-actions .btn-ghost {
    display: inline-flex;
  }
}

.nav-actions .btn-primary {
  padding-inline: 0.85rem;
  font-size: 0.875rem;
}

.nav-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .nav-phone {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--muted);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.drawer[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}

.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(20rem, 88vw);
  background: #fff;
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
}

.drawer.is-open .drawer__panel {
  transform: none;
}

.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer__links a {
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-md);
  color: var(--muted);
  font-weight: 500;
}

.drawer__links a.is-active,
.drawer__links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--r-lg);
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  width: 1.25rem;
  height: 1.25rem;
}

[data-icon] svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
  flex-shrink: 0;
}

.btn [data-icon],
.nav-toggle [data-icon],
.nav-phone [data-icon] {
  width: 1.15rem;
  height: 1.15rem;
}

.pill [data-icon] {
  width: 0.9rem;
  height: 0.9rem;
}

.icon-well [data-icon] {
  width: 1.35rem;
  height: 1.35rem;
  color: var(--accent);
}

.float-card__icon [data-icon] {
  width: 1.35rem;
  height: 1.35rem;
}

.booking-meta [data-icon] {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--slate-700);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--slate-50);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  color: var(--accent);
}

.btn-lg {
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-xl);
}

.btn-white {
  background: #fff;
  color: var(--accent);
}

.btn-white:hover {
  background: var(--emerald-50);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  color: var(--emerald-700);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-full);
}

.pill svg {
  width: 0.875rem;
  height: 0.875rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.chip.is-active,
.chip:hover {
  background: var(--accent-soft);
  color: var(--emerald-700);
  border-color: var(--emerald-200);
}

.chip-emerald {
  background: var(--accent-soft);
  color: var(--emerald-700);
}

.icon-well {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-xl);
  background: #fff;
  color: var(--accent);
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.icon-well svg {
  width: 1.35rem;
  height: 1.35rem;
}

.service-card {
  display: block;
  padding: 1.5rem;
  background: var(--slate-50);
  border-radius: var(--r-2xl);
  transition: background 0.2s ease;
  color: inherit;
}

.service-card:hover {
  background: var(--accent-soft);
}

.service-card:hover .icon-well {
  background: var(--accent-well);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 1rem 0 0.5rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

.card {
  background: #fff;
  border-radius: var(--r-2xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.card-soft {
  background: var(--slate-50);
  border: 0;
}

.team-card {
  background: #fff;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 768px) {
  .team-card img {
    aspect-ratio: 1;
  }
}

.team-card__body {
  padding: 1.25rem;
}

.team-card__role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0.25rem 0 0.75rem;
}

.team-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--slate-100);
  aspect-ratio: 4 / 3;
  max-height: 9.5rem;
}

@media (min-width: 640px) {
  .gallery-item {
    aspect-ratio: 1;
    max-height: none;
  }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.85);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox__img {
  max-width: min(90vw, 56rem);
  max-height: 85vh;
  border-radius: var(--r-2xl);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  background: #fff;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  color: var(--ink-strong);
  box-shadow: var(--shadow-md);
}

.lightbox__nav--prev {
  inset-inline-start: 0.75rem;
}

.lightbox__nav--next {
  inset-inline-end: 0.75rem;
}

.lightbox__close [data-icon],
.lightbox__nav [data-icon] {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-nav {
  display: none;
}

@media (max-width: 899px) {
  .mobile-nav {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.15rem;
    padding: 0.45rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  body.has-mobile-nav {
    padding-bottom: 4.75rem;
  }

  .mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 3.1rem;
    border: 0;
    background: transparent;
    color: var(--soft);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--r-xl);
  }

  .mobile-nav__item [data-icon] {
    width: 1.25rem;
    height: 1.25rem;
    color: currentColor;
  }

  .mobile-nav__item.is-active,
  .mobile-nav__item:hover {
    color: var(--accent);
    background: var(--accent-soft);
  }
}

.form-card {
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-700);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 0.7rem 0.9rem;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

textarea.form-control {
  min-height: 6rem;
  resize: vertical;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  padding-inline-end: 2.5rem;
}

.select-wrap .select-chevron {
  position: absolute;
  inset-inline-end: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--soft);
  width: 1rem;
  height: 1rem;
}

.form-error {
  color: var(--red-600);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-error[hidden],
.alert[hidden] {
  display: none;
}

.alert {
  border-radius: var(--r-xl);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
}

.alert-demo {
  background: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid #fde68a;
}

.alert-success {
  background: var(--green-50);
  color: var(--green-600);
  border: 1px solid #bbf7d0;
}

.alert-danger {
  background: var(--red-50);
  color: var(--red-600);
  border: 1px solid #fecaca;
}

.step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.step-pill {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-full);
  background: var(--slate-100);
  color: var(--soft);
}

.step-pill.is-active {
  background: var(--accent);
  color: #fff;
}

.step-pill.is-done {
  background: var(--accent-soft);
  color: var(--emerald-700);
}

.urgency-card {
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.urgency-card.is-green {
  background: var(--green-50);
  border-color: #bbf7d0;
}

.urgency-card.is-amber {
  background: var(--amber-50);
  border-color: #fde68a;
}

.urgency-card.is-red {
  background: var(--red-50);
  border-color: #fecaca;
}

.badge-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid #fde68a;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-md);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-2xl);
  overflow: hidden;
  border: 1px solid var(--line);
}

.pricing-table th,
.pricing-table td {
  text-align: start;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.pricing-table th {
  background: var(--slate-50);
  font-weight: 600;
  color: var(--ink-strong);
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.pricing-table .price {
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.55rem;
  color: var(--slate-400);
}

.footer-col a:hover {
  color: var(--emerald-500);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-800);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

.social-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--slate-800);
  color: #fff;
  display: grid;
  place-items: center;
}

.social-btn:hover {
  background: var(--accent);
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
}

.page-hero {
  padding: 1.5rem 0 2.25rem;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 2.5rem 0 2.5rem;
  }
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--soft);
  margin-bottom: 1rem;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.stack-sm > * + * { margin-top: 0.75rem; }
.stack-md > * + * { margin-top: 1.25rem; }
.stack-lg > * + * { margin-top: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--muted); }
.text-soft { color: var(--soft); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }


/* ===== pages.css ===== */
/* Home hero */
.hero {
  padding: 1.25rem 0 2.75rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding: 3.5rem 0 5.5rem;
  }
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-copy {
  order: 1;
}

.hero-visual {
  order: 2;
}

.hero-stats {
  order: 3;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-rows: auto auto;
  }

  .hero-copy {
    order: initial;
    grid-column: 1;
    grid-row: 1;
  }

  .hero-stats {
    order: initial;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .hero-visual {
    order: initial;
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 7.2vw, 3.75rem);
  margin: 0.85rem 0 0.85rem;
  line-height: 1.1;
}

.hero-copy .lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 34rem;
  margin-bottom: 1.35rem;
}

@media (min-width: 640px) {
  .hero-copy .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
    gap: 0.85rem;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--slate-100);
}

@media (min-width: 640px) {
  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
  }
}

.hero-stats strong {
  display: block;
  font-size: 1.25rem;
  color: var(--ink-strong);
  letter-spacing: -0.03em;
}

@media (min-width: 640px) {
  .hero-stats strong {
    font-size: 1.5rem;
  }
}

.hero-stats span {
  font-size: 0.75rem;
  color: var(--soft);
  line-height: 1.35;
}

@media (min-width: 640px) {
  .hero-stats span {
    font-size: 0.875rem;
  }
}

.hero-visual {
  position: relative;
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 11.5rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-emerald);
  background: var(--slate-100);
}

@media (min-width: 640px) {
  .hero-photo {
    max-height: 16rem;
  }
}

@media (min-width: 1024px) {
  .hero-photo {
    max-height: none;
    aspect-ratio: 4 / 5;
    object-position: center 18%;
    border-radius: var(--r-3xl);
  }
}

.float-card {
  position: static;
  margin-top: 0.85rem;
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: none;
  width: 100%;
}

@media (min-width: 1024px) {
  .float-card {
    position: absolute;
    inset-block-end: -1.5rem;
    inset-inline-start: -1.5rem;
    margin-top: 0;
    max-width: 16rem;
    width: auto;
    padding: 1rem;
  }
}

.float-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r-xl);
  background: var(--accent-well);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.float-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.float-card strong {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-strong);
}

.float-card span {
  font-size: 0.75rem;
  color: var(--soft);
}

/* Booking band */
.booking-band {
  background: var(--booking-grad);
  color: #fff;
  padding-block: 4rem;
}

.booking-band__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .booking-band__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.booking-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.booking-band .lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.booking-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.booking-meta a {
  color: #fff;
  font-weight: 500;
}

/* Contact split */
.contact-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-card {
  background: #fff;
  border-radius: var(--r-2xl);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.contact-row {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-row .icon-well {
  background: var(--accent-soft);
  flex-shrink: 0;
}

.map-stage {
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--slate-100);
  border: 1px solid var(--line);
  min-height: 18rem;
  position: relative;
}

.map-stage img,
.map-stage svg {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  display: block;
}

.map-caption {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-end: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-xl);
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

/* Detail layouts */
.detail-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .detail-layout {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.detail-cover {
  width: 100%;
  border-radius: var(--r-3xl);
  aspect-ratio: 16 / 10;
  max-height: 12rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .detail-cover {
    max-height: none;
  }
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 1.35rem;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

.doctor-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .doctor-hero {
    grid-template-columns: 16rem 1fr;
  }
}

.doctor-hero img {
  width: 100%;
  max-height: 12rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-3xl);
}

@media (min-width: 768px) {
  .doctor-hero img {
    max-height: none;
    aspect-ratio: 1;
  }
}

.journal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 9rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .journal-card img {
    max-height: none;
  }
}

.journal-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.journal-card__meta {
  font-size: 0.75rem;
  color: var(--soft);
  margin-bottom: 0.5rem;
}

.journal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.journal-card p {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

/* Wizard / portal */
.wizard-shell,
.portal-shell,
.auth-shell {
  max-width: 40rem;
  margin-inline: auto;
}

.portal-shell {
  max-width: 56rem;
}

.portal-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portal-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 1.35rem;
}

.portal-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.message-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.message-item:last-child {
  border-bottom: 0;
}

.message-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.message-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pet-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.weight-log,
.vax-list {
  display: grid;
  gap: 0.65rem;
}

.weight-row,
.vax-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  background: var(--slate-50);
  border-radius: var(--r-xl);
  font-size: 0.9rem;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}

.check-row input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.triage-q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 1.5rem;
}

.triage-options {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.triage-options button {
  text-align: start;
  padding: 0.9rem 1rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--slate-50);
  color: var(--ink);
  font-weight: 500;
}

.triage-options button:hover,
.triage-options button.is-active {
  border-color: var(--emerald-200);
  background: var(--accent-soft);
  color: var(--emerald-700);
}

.prep-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--slate-100);
  color: var(--muted);
}

.prep-list li:last-child {
  border-bottom: 0;
}

.prep-list .num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.emergency-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .emergency-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.emergency-card {
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
}

.emergency-card.is-urgent {
  background: var(--red-50);
  border-color: #fecaca;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.confirm-box {
  text-align: center;
  padding: 2rem 1rem;
}

.confirm-code {
  display: inline-block;
  margin: 1rem 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.6rem 1rem;
  border-radius: var(--r-xl);
}

.not-found {
  text-align: center;
  padding: 6rem 1rem;
}

.not-found h1 {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.post-body {
  max-width: 42rem;
  margin-inline: auto;
}

.post-body p {
  margin-bottom: 1.15rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.post-cover {
  width: 100%;
  max-height: 24rem;
  object-fit: cover;
  border-radius: var(--r-3xl);
  margin-bottom: 2rem;
}


