:root {
  --font-serif: "Playfair Display", Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --teal-50: #f0fdfa;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  /* Live hero scroll-synchronized CSS custom properties */
  --scroll-p: 0;
  --ripple-energy: 0;
  --climax-glow: 0;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  background-color: #ffffff;
  color: var(--slate-900);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

.text-teal {
  color: var(--teal-600);
}

/* =========================================================
   01 · HERO SCROLL TRACK & STICKY VIEWPORT STAGE
   ========================================================= */
.hero-scroll {
  position: relative;
  width: 100%;
  height: 600vh;
  background: linear-gradient(180deg, #eff4f8 0%, #dce9ef 100%);
}

.hero-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* Soft outer radial vignette framing the clear center corgi */
    radial-gradient(ellipse 42% 62% at 50% 52%,
      rgba(255, 255, 255, 0) 0%,
      rgba(15, 23, 42, 0.05) 56%,
      rgba(15, 23, 42, 0.16) 100%),
    /* Top & bottom soft contrast overlay for header nav and controls */
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.68) 0%,
      rgba(255, 255, 255, 0.24) 14%,
      rgba(255, 255, 255, 0) 26%,
      rgba(255, 255, 255, 0) 76%,
      rgba(255, 255, 255, 0.34) 90%,
      rgba(255, 255, 255, 0.72) 100%),
    /* Left & right wing readability overlay leaving center 100% crisp */
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.5) 20%,
      rgba(255, 255, 255, 0) 34%,
      rgba(255, 255, 255, 0) 66%,
      rgba(255, 255, 255, 0.46) 80%,
      rgba(255, 255, 255, 0.76) 100%);
}

.hero-bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  pointer-events: none;
  z-index: 15;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.hero-ui {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Navigation Bar */
.hero-header {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 1.5rem 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-button,
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  flex-shrink: 0;
  user-select: none;
}

.brand-button {
  border-radius: 0.75rem;
  padding: 0.25rem 0.5rem;
  margin-left: -0.5rem;
  transition: opacity 180ms ease;
}

.brand-button:hover {
  opacity: 0.85;
}

.brand-button:focus-visible,
.icon-circle-btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.details-btn:focus-visible,
.coverflow-arrow:focus-visible,
.quickbar-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--teal-600);
}

.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}

.brand-logo--sm {
  height: 40px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Desktop Inline Section Navigation (hidden on mobile/tablet) */
.hero-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.18);
}

.hero-nav-link {
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate-700);
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease;
}

.hero-nav-link:hover {
  color: var(--teal-700);
  background-color: rgba(20, 184, 166, 0.12);
}

.hero-nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--teal-600);
}

.icon-circle-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom,
      rgba(241, 245, 249, 0.6),
      rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  flex-shrink: 0;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.icon-circle-btn--lg {
  width: 2.75rem;
  height: 2.75rem;
}

.icon-circle-btn:hover {
  color: var(--teal-600);
  border-color: rgba(13, 148, 136, 0.6);
  background: linear-gradient(to bottom,
      rgba(241, 245, 249, 0.76),
      rgba(255, 255, 255, 0.76));
}

.icon-circle-btn:active {
  transform: scale(0.95);
}

.menu-btn {
  flex-direction: column;
  gap: 4.5px;
}

.menu-bar {
  width: 17px;
  height: 1.75px;
  border-radius: 9999px;
  background-color: currentColor;
  transition: transform 200ms ease;
}

.menu-btn:hover .menu-bar--edge {
  transform: scaleX(0.86);
}

/* Main Three-Column Stage */
.hero-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1580px;
  margin: auto;
  padding: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.5rem;
}

.hero-copy {
  transform: translate3d(0, calc((var(--scroll-p) - 0.5) * -12px), 0);
  will-change: transform;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.05vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  text-wrap: balance;
}

.hero-title-accent {
  color: var(--teal-600);
}

.hero-subtitle {
  font-size: 0.975rem;
  line-height: 1.66;
  color: var(--slate-600);
  margin-top: 1.1rem;
  max-width: 24.5rem;
}

.hero-ctas {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
}

/* Shared Pill Buttons */
.btn-primary {
  border-radius: 9999px;
  background-color: rgba(13, 148, 136, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 148, 136, 0.75);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.875rem 1.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 12px 30px -10px rgba(13, 148, 136, calc(0.26 + var(--climax-glow) * 0.34));
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.btn-primary:hover {
  background-color: rgba(15, 118, 110, 0.78);
  border-color: rgba(15, 118, 110, 0.88);
  transform: translateY(-1px);
}

.btn-secondary {
  border-radius: 9999px;
  background: linear-gradient(to bottom,
      rgba(241, 245, 249, 0.6),
      rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 213, 225, 0.76);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.875rem 1.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-secondary:hover {
  border-color: rgba(13, 148, 136, 0.7);
  color: var(--teal-700);
  background: linear-gradient(to bottom,
      rgba(241, 245, 249, 0.76),
      rgba(255, 255, 255, 0.76));
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

.btn-with-icon {
  gap: 0.5rem;
}

.btn-outline-teal {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(13, 148, 136, 0.4);
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-700);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.btn-outline-teal:hover {
  border-color: var(--teal-600);
  color: var(--teal-800);
  background: rgba(240, 253, 250, 0.76);
}

.btn-outline-slate {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--slate-200);
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--slate-600);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.btn-outline-slate:hover {
  border-color: var(--slate-400);
  color: var(--slate-900);
  background: rgba(248, 250, 252, 0.78);
}

/* Center Clearance Column */
.hero-center-spacer {
  display: none;
}

/* Right Column: Service Spotlight Card */
.hero-spotlight-wrap {
  transform: translate3d(0, calc((var(--scroll-p) - 0.5) * 12px), 0);
  will-change: transform;
}

.spotlight-card {
  border-radius: 1rem;
  background: linear-gradient(135deg,
      rgba(248, 250, 252, 0.6) 0%,
      rgba(255, 255, 255, 0.6) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.82);
  box-shadow:
    0 18px 48px -24px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(20, 184, 166, calc(var(--ripple-energy) * 0.22));
  padding: 1.5rem;
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.spotlight-card.is-switching {
  animation: fadeSlide 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
}

.spotlight-title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--slate-900);
  margin-top: 0.5rem;
}

.spotlight-summary {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-600);
  margin-top: 0.625rem;
}

.spotlight-footer {
  margin-top: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.details-btn {
  border-radius: 9999px;
  background: linear-gradient(to bottom,
      rgba(241, 245, 249, 0.6),
      rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.78);
  padding: 0.5rem 1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color 180ms ease, background 180ms ease;
}

.details-btn:hover {
  border-color: rgba(13, 148, 136, 0.6);
}

.details-btn-label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--slate-800);
  white-space: nowrap;
  transition: color 180ms ease;
}

.details-btn:hover .details-btn-label {
  color: var(--teal-700);
}

.details-btn-underline {
  margin-top: 0.25rem;
  height: 2px;
  width: 1.75rem;
  border-radius: 9999px;
  background-color: var(--teal-600);
  transform-origin: left center;
  transition: transform 200ms ease;
}

.details-btn:hover .details-btn-underline {
  transform: scaleX(1.25);
}

.spotlight-counter {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-variant-numeric: tabular-nums;
}

/* Hero Bottom Controls Row */
.hero-footer {
  position: relative;
  z-index: 20;
  width: 100%;
  padding: 1rem 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.footer-progress-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-track {
  width: 9rem;
  height: 2px;
  border-radius: 9999px;
  background-color: rgba(203, 213, 225, 0.85);
  overflow: hidden;
}

.progress-fill {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background-color: var(--teal-600);
  transform-origin: left center;
  transform: scaleX(0.1667);
  will-change: transform;
}

.footer-mobile-counter {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: var(--slate-500);
}

.scroll-hint {
  display: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  transition: opacity 220ms ease;
}

/* =========================================================
   SHARED SECTION LAYOUT & TYPOGRAPHY
   ========================================================= */
.site-section {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  color: var(--slate-900);
  padding: 5rem 1.5rem;
}

.section-container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
}

.section-header {
  max-width: 48rem;
}

.section-header--center {
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--teal-600);
}

.section-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--slate-900);
  margin-top: 0.75rem;
  text-wrap: balance;
}

.section-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate-600);
  margin-top: 1.15rem;
  max-width: 40rem;
}

.soft-card {
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.92);
  padding: 1.5rem;
}

.card-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-600);
}

.card-serif-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.5rem;
}

.card-body {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--slate-600);
  margin-top: 0.75rem;
}

.teal-bar {
  width: 2.25rem;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--teal-600);
  margin: 0.85rem 0;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1), transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   02 · SERVICES SECTION (3D Coverflow + Quick-Jump Bar)
   ========================================================= */
.services-section {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
}

.coverflow-shell {
  position: relative;
  margin-top: 3rem;
}

.coverflow-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgba(241, 245, 249, 0.6), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.78);
  color: var(--slate-700);
  box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
  align-items: center;
  justify-content: center;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.coverflow-arrow:hover {
  color: var(--teal-600);
  border-color: var(--teal-600);
}

.coverflow-arrow--prev {
  left: 0;
}

.coverflow-arrow--next {
  right: 0;
}

.coverflow-track {
  display: none;
  position: relative;
  height: 470px;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
}

.coverflow-card {
  position: absolute;
  width: 315px;
  height: 445px;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 18px 38px -18px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.coverflow-card:hover {
  border-color: rgba(20, 184, 166, 0.5);
}

.coverflow-card.is-center {
  border-color: rgba(20, 184, 166, 0.65);
  box-shadow: 0 28px 60px -20px rgba(13, 148, 136, 0.28);
  cursor: default;
}

.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 500ms ease;
}

.coverflow-card.is-center:hover .service-card-img {
  transform: scale(1.03);
}

.service-card-scrim-top {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.35), transparent);
}

.service-card-scrim-bottom {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.94) 58%, transparent 100%);
}

.service-card-top {
  position: relative;
  z-index: 10;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-card-num {
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2em;
  color: var(--teal-700);
}

.service-card-dept {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card-bottom {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
}

.service-card-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--slate-900);
}

.service-card-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-700);
}

.service-card-summary {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--slate-600);
  margin-top: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.service-card-actions .btn-primary {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  box-shadow: none;
}

.service-card-actions .btn-secondary {
  padding: 0.65rem 1rem;
  font-size: 11px;
  letter-spacing: 0.16em;
}

.service-card-side-footer {
  margin-top: 1rem;
  padding-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.service-card-select {
  color: var(--teal-700);
  font-weight: 600;
}

/* Mobile Services Card */
.services-mobile-wrap {
  display: block;
}

.service-mobile-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(20, 184, 166, 0.5);
  box-shadow: 0 20px 48px -20px rgba(13, 148, 136, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  animation: fadeSlide 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.services-mobile-controls {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

/* Quick-Jump 6 Services Bar */
.services-quickbar {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
}

.quickbar-btn {
  border-radius: 1rem;
  padding: 0.75rem 0.875rem;
  text-align: left;
  border: 1px solid rgba(226, 232, 240, 0.82);
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.quickbar-btn:hover {
  border-color: var(--slate-300);
}

.quickbar-btn.is-active {
  border-color: rgba(13, 148, 136, 0.7);
  background: linear-gradient(to bottom, rgba(240, 253, 250, 0.6), rgba(255, 255, 255, 0.6));
  box-shadow: 0 4px 12px -6px rgba(13, 148, 136, 0.25);
}

.quickbar-index {
  display: block;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  color: var(--teal-600);
}

.quickbar-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quickbar-tag {
  display: block;
  font-size: 11px;
  color: var(--slate-500);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   03 · ABOUT US & OUR VETERINARIANS
   ========================================================= */
.about-section {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-bottom: 2.5rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-intro .section-lead {
  margin-top: 1.5rem;
}

.accreditations-block {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.accreditations-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.accreditations-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.accreditations-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.award-icon {
  width: 14px;
  height: 14px;
  color: var(--teal-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.vets-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.vet-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px -16px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
}

.vet-photo-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  background-color: var(--slate-50);
}

.vet-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms ease;
}

.vet-card:hover .vet-photo-wrap img {
  transform: scale(1.03);
}

.vet-photo-fade {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 3.5rem;
  background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0.55), transparent);
}

.vet-body {
  padding: 1rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.15rem;
}

.vet-experience {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-600);
  font-weight: 600;
}

.vet-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.3rem;
}

.vet-role {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 0.35rem;
}

.vet-bio {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate-600);
  margin-top: 1.25rem;
}

.vet-meta {
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--slate-800);
}

.vet-meta span {
  color: var(--slate-500);
}

.vet-meta-muted {
  color: var(--slate-600);
}

/* =========================================================
   COMPANION PETS DIVIDER
   ========================================================= */
.pets-divider {
  width: 100%;
  background: #ffffff;
  padding: 1rem 1.5rem;
  overflow: hidden;
}

.pets-divider-inner {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
}

.pets-divider-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.pets-divider-canvas[hidden],
.pets-divider-fallback[hidden] {
  display: none;
}

.pets-divider-fallback {
  position: relative;
  overflow: hidden;
}

.pets-divider-fallback img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -6%;
  mix-blend-mode: multiply;
  filter: contrast(1.04) brightness(1.03);
}

.pets-divider-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 28px 18px #ffffff;
}

/* =========================================================
   04 · WHY CHOOSE US
   ========================================================= */
.why-section {
  padding-top: 2.5rem;
}

.advantages-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.advantage-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.advantage-index {
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2em;
  color: var(--teal-600);
}

.advantage-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.75rem;
  line-height: 1.3;
}

.advantage-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate-600);
}

.facility-stats-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.facility-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  min-height: 280px;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.facility-scrim {
  pointer-events: none;
  position: absolute;
  inset: auto 0 0 0;
  height: 9rem;
  background: linear-gradient(to top, #ffffff, rgba(255, 255, 255, 0.9), transparent);
}

.facility-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.25rem;
}

.facility-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--teal-700);
  font-weight: 600;
}

.facility-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-600);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--slate-600);
  margin-top: 1rem;
}

.testimonials-block {
  margin-top: 3rem;
}

.testimonials-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.97rem;
  line-height: 1.68;
  color: var(--slate-700);
}

.testimonial-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.testimonial-author {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.testimonial-pet {
  font-size: 0.75rem;
  color: var(--teal-600);
  font-weight: 500;
  margin-top: 0.15rem;
}

/* =========================================================
   05 · APPOINTMENT & CONTACT
   ========================================================= */
.contact-section {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-split {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-card {
  box-shadow: 0 12px 36px -22px rgba(15, 23, 42, 0.12);
}

.contact-form-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.contact-form-header .card-serif-title {
  margin-top: 0;
}

.contact-form-sub {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.whatsapp-btn {
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgba(240, 253, 250, 0.6), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(13, 148, 136, 0.35);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.625rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.whatsapp-btn:hover {
  border-color: var(--teal-600);
  color: var(--teal-800);
}

.clinic-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid-2,
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--slate-500);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border-radius: 0.75rem;
  background-color: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--slate-200);
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  color: var(--slate-900);
  outline: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-600);
  background-color: #ffffff;
}

.form-group textarea {
  resize: none;
}

.form-error {
  font-size: 0.78rem;
  color: #e11d48;
  font-weight: 500;
}

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

.form-confirmation {
  margin-top: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(20, 184, 166, 0.4);
  background-color: rgba(240, 253, 250, 0.75);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  animation: fadeSlide 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.form-confirmation-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-700);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-confirmation-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-700);
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

/* Contact Info Column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-card {
  padding: 1.25rem;
}

.contact-card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal-600);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.contact-card-label--deep {
  color: var(--teal-700);
  letter-spacing: 0.16em;
}

.contact-address {
  font-size: 1rem;
  color: var(--slate-700);
  margin-top: 0.65rem;
  line-height: 1.6;
}

.contact-phone-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-phone-link {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-900);
  margin-top: 0.35rem;
  font-variant-numeric: tabular-nums;
  transition: color 180ms ease;
}

.contact-phone-link:hover {
  color: var(--teal-600);
}

.contact-emergency-block {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.hours-grid {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.hours-item {
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding-top: 0.5rem;
}

.hours-item:first-child {
  border-top: none;
  padding-top: 0;
}

.hours-days {
  color: var(--slate-500);
}

.hours-time {
  color: var(--slate-900);
  font-weight: 600;
  margin-top: 0.15rem;
  font-variant-numeric: tabular-nums;
}

.map-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--slate-100);
  height: 320px;
  width: 100%;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-open-pill {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 148, 136, 0.35);
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.5rem 0.9rem;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.25);
  transition: background-color 180ms ease, color 180ms ease;
}

.map-open-pill:hover {
  background: rgba(13, 148, 136, 0.78);
  color: #ffffff;
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
.site-footer {
  width: 100%;
  background: #ffffff;
  color: var(--slate-900);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding: 2.5rem 1.5rem;
}

.site-footer-inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.78rem;
  color: var(--slate-600);
}

.footer-nav a {
  white-space: nowrap;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--teal-600);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* =========================================================
   MODALS, SEARCH OVERLAY & MENU DRAWER
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop[hidden],
.search-overlay[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 28px 70px -20px rgba(15, 23, 42, 0.3);
  padding: 1.5rem;
  animation: fadeSlide 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card--md {
  max-width: 42rem;
}

.modal-card--lg {
  max-width: 56rem;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.45rem;
  letter-spacing: -0.015em;
}

.modal-sub {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 0.45rem;
}

/* Services Directory Modal */
.services-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding-top: 1.5rem;
}

.services-modal-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.services-modal-tab {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.6));
  transition: border-color 180ms ease, background 180ms ease;
}

.services-modal-tab:hover {
  border-color: var(--slate-300);
}

.services-modal-tab.is-active {
  border-color: rgba(13, 148, 136, 0.7);
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.6), rgba(255, 255, 255, 0.6));
  box-shadow: 0 4px 12px -6px rgba(13, 148, 136, 0.2);
}

.services-modal-tab-eye {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 600;
}

.services-modal-tab-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.15rem;
}

.services-modal-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-500);
}

.services-modal-meta .meta-dept {
  color: var(--teal-600);
  font-weight: 600;
}

.services-modal-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.75rem;
}

.services-modal-desc {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--slate-600);
  margin-top: 1rem;
}

.services-modal-included {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.services-modal-included h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--slate-500);
  margin-bottom: 0.75rem;
}

.services-modal-included ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--slate-700);
}

.services-modal-included li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.services-modal-included li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--teal-600);
  flex-shrink: 0;
  margin-top: 0.55em;
}

.services-modal-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 5rem 1.5rem 2rem;
  overflow-y: auto;
}

.search-overlay-inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  animation: fadeSlide 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.search-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-300);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.search-input-wrap input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--slate-900);
}

.search-input-wrap input::placeholder {
  color: var(--slate-400);
}

.search-results-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-result-btn {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.82);
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.6), rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease;
}

.search-result-btn:hover {
  border-color: rgba(13, 148, 136, 0.6);
}

.search-result-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-top: 0.25rem;
  transition: color 180ms ease;
}

.search-result-btn:hover .search-result-name {
  color: var(--teal-700);
}

.search-result-avail {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 0.25rem;
}

.search-empty {
  padding: 2rem 0;
  font-size: 1rem;
  color: var(--slate-500);
}

/* Menu Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: min(28rem, 100%);
  height: 100%;
  overflow-y: auto;
  border-radius: 1rem 0 0 1rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(226, 232, 240, 0.72);
  box-shadow: -20px 0 60px -20px rgba(15, 23, 42, 0.25);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: slideInRight 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.drawer-group {
  margin-top: 1.5rem;
}

.drawer-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.drawer-sections-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-section-btn {
  width: 100%;
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: background-color 160ms ease, color 160ms ease;
}

.drawer-section-btn:hover {
  background: rgba(248, 250, 252, 0.65);
  color: var(--teal-700);
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 1023px) {
  .hero-spotlight-wrap {
    display: none;
  }

  .hero-main {
    margin: auto auto 0;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .hero-subtitle {
    margin-top: 0.75rem;
    font-size: 0.9375rem;
  }

  .hero-ctas {
    margin-top: 1rem;
  }
}

@media (min-width: 640px) {
  .hero-header {
    padding: 2rem 3rem 1rem;
  }

  .brand-logo {
    height: 64px;
  }

  .brand-logo--sm {
    height: 42px;
  }

  .header-actions {
    gap: 1rem;
  }

  .hero-main {
    padding: 1.25rem 3rem 1rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .spotlight-card {
    padding: 1.75rem;
  }

  .spotlight-title {
    font-size: 1.3125rem;
  }

  .spotlight-summary {
    font-size: 0.97rem;
  }

  .hero-footer {
    padding: 1rem 3rem 2.25rem;
  }

  .progress-track {
    width: 13rem;
  }

  .footer-mobile-counter {
    display: none;
  }

  .scroll-hint {
    display: inline-block;
  }

  .site-section {
    padding: 6.5rem 3rem;
  }

  .about-section {
    padding-bottom: 3.5rem;
  }

  .why-section {
    padding-top: 3.5rem;
  }

  .pets-divider {
    padding: 2rem 3rem;
  }

  .site-footer {
    padding: 2.5rem 3rem;
  }

  .services-quickbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .accreditations-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soft-card--span2 {
    grid-column: span 2;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facility-card {
    min-height: 340px;
  }

  .stat-value {
    font-size: 2.25rem;
  }

  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-info-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hours-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hours-item {
    border-top: none;
    padding-top: 0;
    border-left: 1px solid rgba(226, 232, 240, 0.85);
    padding-left: 0.75rem;
  }

  .hours-item:first-child {
    border-left: none;
    padding-left: 0;
  }

  .modal-card {
    padding: 2.25rem;
  }

  .search-input-wrap input {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .coverflow-arrow {
    display: flex;
  }

  .coverflow-track {
    display: flex;
  }

  .services-mobile-wrap {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer-inner {
    flex-direction: row;
    align-items: center;
  }

  .services-modal-grid {
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
  }

  .services-modal-detail {
    border-left: 1px solid rgba(226, 232, 240, 0.85);
    padding-left: 2rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .coverflow-shell {
    padding-left: 2.75rem;
    padding-right: 2.75rem;
  }

  .coverflow-track {
    overflow: hidden;
    border-radius: 1rem;
    height: 495px;
    padding: 1.25rem 0;
  }

  .coverflow-arrow--prev {
    left: 0.25rem;
  }

  .coverflow-arrow--next {
    right: 0.25rem;
  }

  .vets-grid {
    grid-template-columns: 1fr;
  }

  .vet-card {
    flex-direction: row;
    align-items: stretch;
  }

  .vet-photo-wrap {
    width: 240px;
    min-width: 215px;
    max-width: 38%;
    flex-shrink: 0;
    aspect-ratio: auto;
    min-height: 290px;
  }

  .vet-photo-fade {
    inset: 0 0 0 auto;
    width: 2.25rem;
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.72), transparent);
  }

  .vet-body {
    padding: 1.5rem 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-header {
    padding: 1.75rem 3.25rem 0.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
  }

  .brand-button {
    justify-self: start;
    max-width: 100%;
  }

  .brand-logo {
    height: 80px;
    max-width: 100%;
  }

  .brand-logo--sm {
    height: 44px;
  }

  .hero-nav {
    display: flex;
    justify-self: center;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-btn {
    display: none;
  }

  .hero-main {
    padding: 2rem 3.25rem;
  }

  .hero-grid {
    grid-template-columns: minmax(270px, 340px) minmax(320px, 1fr) minmax(260px, 310px);
    gap: 2.5rem;
  }

  .hero-center-spacer {
    display: block;
  }

  .hero-footer {
    padding: 1rem 3.25rem 2.25rem;
  }

  .site-section,
  .pets-divider,
  .site-footer {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .coverflow-track {
    height: 485px;
  }

  .coverflow-card {
    width: 345px;
    height: 470px;
  }

  .coverflow-arrow--prev {
    left: 0.5rem;
  }

  .coverflow-arrow--next {
    right: 0.5rem;
  }

  .services-quickbar {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .about-split {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }

  .vets-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .advantages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facility-stats-grid {
    grid-template-columns: 7fr 5fr;
  }

  .contact-split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .hero-header {
    padding: 2rem 3.75rem 0.75rem;
  }

  .hero-main {
    padding: 2.25rem 3.75rem;
  }

  .hero-grid {
    grid-template-columns: minmax(310px, 375px) minmax(440px, 1fr) minmax(285px, 330px);
    gap: 3rem;
  }

  .hero-footer {
    padding: 1rem 3.75rem 2.25rem;
  }
}

@media (min-width: 1536px) {
  .hero-main {
    padding: 2.5rem 4.25rem;
  }

  .hero-grid {
    grid-template-columns: minmax(340px, 405px) minmax(540px, 1fr) minmax(300px, 350px);
    gap: 3.5rem;
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

  .hero-copy,
  .hero-spotlight-wrap,
  .reveal {
    transform: none !important;
    opacity: 1 !important;
  }
}