:root {
  --navy: #0b2f5b;
  --blue: #14589c;
  --blue-soft: #e8f1fa;
  --bg-alt: #f3f7fb;
  --text: #17283b;
  --muted: #5a6b7d;
  --accent: #f57c00;
  --accent-dark: #d96a00;
  --white: #ffffff;
  --danger: #c62828;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(11, 47, 91, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }

img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow { max-width: 780px; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #dde6ef;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
}

.header-call {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.2;
}

.call-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.call-number {
  font-size: 18px;
  font-weight: 800;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 40px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9fd0ff;
}

h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
}

.lead {
  margin: 0 0 20px;
  font-size: 19px;
  color: #dbeafb;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  font-weight: 500;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Form card */
.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}

.form-card h2 {
  margin: 0 0 4px;
  font-size: 26px;
  color: var(--navy);
}

.form-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 16px;
}

.field { margin-bottom: 16px; }

label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid #b9c7d6;
  border-radius: 8px;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.urgent-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff4e5;
  border: 1.5px solid #f5b970;
  border-radius: 8px;
}

.urgent-field input[type="checkbox"] {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.urgent-field label {
  margin: 0;
  cursor: pointer;
  color: var(--text);
}

textarea { resize: vertical; min-height: 90px; }

textarea::placeholder { color: #7a8a9b; }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 88, 156, 0.2);
}

.field.invalid input,
.field.invalid select {
  border-color: var(--danger);
}

.error {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--danger);
}

.error:empty { display: none; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Buttons */
.btn-cta {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--accent-dark);
  transition: transform 0.1s, box-shadow 0.1s, background 0.15s;
}

.btn-cta:hover { background: #ff8a14; }

.btn-cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--accent-dark);
}

.btn-cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-cta:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.form-status {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--danger);
}

.form-status:empty { display: none; }

.fine-print {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Sections */
.section { padding: 56px 0; }

.section.alt { background: var(--bg-alt); }

.section-title {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
  color: var(--navy);
}

.section-sub {
  margin: 0 auto 32px;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.steps li {
  text-align: center;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid #dde6ef;
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.steps h3,
.card h3,
.areas h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--navy);
}

.steps p,
.card p,
.areas p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.cards {
  display: grid;
  gap: 16px;
}

.card {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid #dde6ef;
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
}

.vet-grid {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.vet-item {
  position: relative;
  padding: 20px 20px 20px 64px;
  background: var(--white);
  border: 1px solid #dde6ef;
  border-radius: var(--radius);
}

.vet-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.vet-item h3 {
  margin: 0 0 4px;
  font-size: 19px;
  color: var(--navy);
}

.vet-item p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.vet-note {
  margin: 24px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
}

.jobs {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.job {
  padding: 14px 14px 20px;
  background: var(--white);
  border: 1px solid #dde6ef;
  border-radius: var(--radius);
}

.job-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.job-photos.photos-2 { grid-template-columns: repeat(2, 1fr); }

.job-photos figure {
  position: relative;
  margin: 0;
}

.job-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  background: var(--blue-soft);
}

.job-photos.photos-2 img { aspect-ratio: 4 / 3; }

.job-photos figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: rgba(11, 47, 91, 0.85);
  border-radius: 999px;
}

.job-meta {
  margin: 0 4px 2px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
}

.job h3 {
  margin: 0 4px 6px;
  font-size: 20px;
  color: var(--navy);
}

.job p:last-child {
  margin: 0 4px;
  font-size: 16px;
  color: var(--muted);
}

.areas {
  display: grid;
  gap: 16px;
}

.areas > div {
  padding: 20px;
  text-align: center;
  background: var(--blue-soft);
  border-radius: var(--radius);
}

/* FAQ */
details {
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid #dde6ef;
  border-radius: 10px;
}

summary {
  padding: 16px 18px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

details[open] summary { border-bottom: 1px solid #e6edf4; }

details p {
  margin: 0;
  padding: 14px 18px 18px;
  font-size: 16px;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  padding: 56px 0;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}

.final-cta h2 {
  margin: 0 auto 24px;
  max-width: 640px;
  font-size: 28px;
  line-height: 1.25;
}

.btn-inline {
  display: inline-block;
  width: auto;
  padding: 16px 36px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #071f3d;
  color: #a9bdd3;
  font-size: 15px;
}

.site-footer p { margin: 0 0 6px; }

.site-footer a { color: #d4e4f6; }

/* Inner pages (thank you, privacy, terms) */
.page {
  padding: 48px 0 64px;
}

.page h1 {
  color: var(--navy);
  font-size: 32px;
}

.page h2 {
  margin: 28px 0 8px;
  font-size: 22px;
  color: var(--navy);
}

.page p,
.page li { color: var(--text); }

.notice {
  padding: 14px 16px;
  margin: 0 0 24px;
  font-size: 15px;
  background: #fff6e5;
  border: 1px solid #f2d28a;
  border-radius: 8px;
}

.thanks {
  text-align: center;
  padding: 72px 0;
}

.thanks .big-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}

.thanks h1 { color: var(--navy); }

.thanks p {
  max-width: 560px;
  margin: 0 auto 16px;
  color: var(--muted);
}

.btn-link {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px;
}

/* Larger screens */
@media (min-width: 760px) {
  h1 { font-size: 44px; }

  .logo { font-size: 22px; }

  .hero { padding: 64px 0 80px; }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
  }

  .form-card { padding: 32px 28px; }

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

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

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

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

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

  .job:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 620px; justify-self: center; }

  .vet-item:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
  }

  .section-title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-cta { transition: none; }
}
