:root {
  --ink: #1b3340;
  --muted: #5d7078;
  --line: #d9e7df;
  --paper: #fffdf7;
  --soft: #f3f8f1;
  --mint: #22b8a0;
  --green: #4f8f7a;
  --teal: #215c75;
  --clay: #e77d65;
  --honey: #f8c86d;
  --shadow: 0 24px 70px rgba(31, 70, 85, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 231, 223, 0.78);
}

.nav-shell {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(250px, 34vw, 392px);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
}

.main-nav a,
.nav-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a {
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav-call {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(27, 51, 64, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  background:
    linear-gradient(120deg, rgba(34, 184, 160, 0.13), rgba(248, 200, 109, 0.12) 52%, rgba(231, 125, 101, 0.11)),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 118px;
  background: var(--soft);
  clip-path: polygon(0 42%, 100% 0, 100% 100%, 0 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3.35rem, 7.4vw, 7.15rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #425962;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
}

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

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.clinic-panel {
  position: relative;
  background: #fff;
  border: 1px solid rgba(217, 231, 223, 0.9);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 4px 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(34, 184, 160, 0.14);
}

.pet-scene {
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
}

.quick-facts div {
  min-height: 92px;
  padding: 17px;
  border-radius: 7px;
  background: var(--soft);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.intro-strip {
  background: var(--soft);
  padding: 28px 0;
}

.strip-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 14px;
}

.strip-grid div {
  min-width: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.strip-grid span,
.strip-grid a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.clinic-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.03rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 276px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card:nth-child(2) {
  background: #f8fbff;
}

.service-card:nth-child(3) {
  background: #fffaf0;
}

.service-card:nth-child(4) {
  background: #fff6f3;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 1.45rem;
  font-weight: 800;
}

.service-card:nth-child(2) .service-icon {
  background: var(--teal);
}

.service-card:nth-child(3) .service-icon {
  background: var(--clay);
}

.service-card:nth-child(4) .service-icon {
  background: var(--honey);
  color: var(--ink);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.clinic {
  background: var(--soft);
}

.clinic-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.55em;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.note-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.note-card {
  min-height: 172px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(31, 70, 85, 0.08);
}

.large-note {
  min-height: 360px;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(33, 92, 117, 0.92), rgba(79, 143, 122, 0.84)),
    linear-gradient(45deg, #25596b, #56a890);
}

.note-card span {
  font-weight: 800;
  text-transform: uppercase;
}

.note-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.note-card p {
  margin-bottom: 0;
  color: inherit;
}

.note-card:not(.large-note) p {
  color: var(--muted);
}

.contact-section {
  padding: 90px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.contact-card {
  padding: 28px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
}

address {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  font-style: normal;
}

address strong {
  color: var(--honey);
  text-transform: uppercase;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  font-weight: 800;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  padding: 34px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  width: 286px;
  flex: 0 0 auto;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: right;
}

.site-footer a {
  color: var(--teal);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-shell {
    min-height: 86px;
  }

  .main-nav {
    display: none;
  }

  .hero-grid,
  .clinic-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

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

  .strip-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav-shell {
    min-height: 78px;
    gap: 12px;
  }

  .brand {
    width: min(66vw, 270px);
  }

  .nav-call {
    min-width: 54px;
    padding-inline: 12px;
  }

  .hero {
    padding: 42px 0 52px;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.45rem);
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-actions,
  .quick-facts,
  .service-grid,
  .note-board {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .clinic-panel {
    padding: 12px;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 24px;
  }

  .large-note {
    min-height: 260px;
  }

  .contact-card {
    padding: 22px;
  }

  .contact-links a {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-brand {
    width: 250px;
  }

  .site-footer p {
    text-align: left;
  }
}
