:root {
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --cobalt: #1E4E79;
  --teal: #2B8A9E;
  --amber: #D98A2B;
  --navy: #142638;
  --slate: #55697A;
  --border: #DCE7F0;
}

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

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  margin: 0;
  line-height: 1.14;
}

.container {
  width: min(1160px, 100% - 32px);
  margin-inline: auto;
}

/* Hours Banner */
.hours-banner {
  background: var(--cobalt);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
}

/* Header */
.vet-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
}

.btn-amber-sm {
  text-decoration: none;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Hero Clinic */
.hero-clinic {
  padding: 44px 0 64px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 28px;
}

.petlife-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cobalt);
  margin-bottom: 18px;
}

.seal-img {
  height: 22px;
  width: auto;
}

.hero-copy h1 {
  font-size: clamp(1.95rem, 4vw, 2.95rem);
  margin-bottom: 16px;
}

.hero-sub {
  color: var(--slate);
  font-size: 1.08rem;
  margin: 0;
  max-width: 56ch;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.triage-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.triage-title {
  font-weight: 700;
  color: var(--cobalt);
  margin-right: 6px;
}

.triage-btn {
  text-decoration: none;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--cobalt);
  background: var(--bg);
  color: var(--cobalt);
  cursor: pointer;
}

.triage-primary {
  background: var(--cobalt);
  color: var(--white);
}

/* Protocol */
.protocol-section {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.section-head p {
  margin: 0;
  color: var(--slate);
}

.protocol-steps {
  display: grid;
  gap: 20px;
}

.proto-row {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.proto-highlight {
  border-left: 5px solid var(--teal);
  background: #F0F9FF;
}

.proto-row img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 260px;
  object-fit: cover;
}

.proto-body {
  padding: 26px;
}

.phase-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}

.proto-body h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
}

.proto-body p {
  margin: 0;
  color: var(--slate);
}

/* Petshop Split */
.petshop-split {
  padding: 64px 0;
}

.split-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.split-img img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.split-copy {
  padding: 30px;
}

.split-copy h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  margin-bottom: 12px;
}

.split-copy p {
  margin: 0 0 12px;
  color: var(--slate);
}

/* Triage Form */
.triage-form-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 64px 0;
}

.triage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.loc-details h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.loc-details > p {
  color: var(--slate);
  margin: 0 0 20px;
}

.loc-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}

.loc-card p {
  margin: 0;
}

.vet-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.field {
  margin-bottom: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.field label, .field-lbl {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy);
}

.field input:focus {
  outline: 2px solid var(--teal);
  border-color: var(--teal);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  padding: 8px 13px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.chip.active {
  background: var(--cobalt);
  color: var(--white);
  border-color: var(--cobalt);
}

.btn-submit {
  width: 100%;
  border: none;
  background: var(--amber);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 20px;
  border-radius: 10px;
  cursor: pointer;
}

.form-feedback {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}

/* Footer */
.vet-footer {
  background: var(--navy);
  color: #DCE7F0;
  padding: 26px 0;
  font-size: 0.88rem;
}

.footer-flex {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.footer-flex p {
  margin: 0;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero-split,
  .split-box,
  .triage-grid,
  .field-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .proto-row:not(.proto-highlight) {
    grid-template-columns: 320px 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: 1.12fr 0.88fr;
  }
  .footer-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
