:root {
  --ink: #16342b;
  --muted: #5c6c65;
  --paper: #fbf7ef;
  --paper-2: #f3ecdf;
  --green: #174c3c;
  --green-2: #2f705c;
  --orange: #e87839;
  --orange-dark: #c85d20;
  --line: #dfd8ca;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(32, 64, 52, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(232, 120, 57, 0.12), transparent 24rem),
    linear-gradient(180deg, #fffdf8 0%, var(--paper) 45%, #f6f0e7 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.card-link,
.light-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.light-link {
  color: white;
}

.skip-link {
  position: fixed;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--green);
  color: white;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(223, 216, 202, 0.86);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(32, 64, 52, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 300px;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 3px;
  border: 1px solid rgba(23, 76, 60, 0.12);
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.35;
}

.brand-copy small {
  margin-top: 0.2rem;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 1.3rem;
  margin-left: auto;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.header-call {
  padding: 0.7rem 1rem;
  background: var(--orange);
  color: white;
  font-size: 0.88rem;
}

.button {
  min-height: 46px;
  padding: 0.7rem 1.25rem;
}

.button:hover,
.header-call:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--orange);
  color: white;
}

.button.primary:hover {
  background: var(--orange-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--white);
}

.button.light {
  background: #fff8ec;
  color: var(--green);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: 4.8rem 0 2.2rem;
}

.hero-copy {
  padding: 1rem 0;
}

.hero-copy h1 {
  max-width: 9em;
  letter-spacing: -0.055em;
}

.hero-place {
  margin: 1.3rem 0 0;
  color: var(--green);
  font-weight: 700;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.paw-inline {
  color: var(--orange);
  font-size: 1rem;
  letter-spacing: 0;
}

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

h1 {
  max-width: 11em;
  margin-bottom: 1.2rem;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.lead {
  max-width: 47rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  padding: 0.42rem 0.75rem;
  border: 1px solid rgba(23, 76, 60, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.75);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.small-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 253, 248, 0.94);
  border-radius: 34px 34px 96px 34px;
  background: var(--paper-2);
  box-shadow: 0 28px 70px rgba(32, 64, 52, 0.18);
}

.hero-visual::before {
  position: absolute;
  inset: 1rem 1rem auto auto;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.9);
  content: "🐾";
  font-size: 1.8rem;
  line-height: 4rem;
  text-align: center;
  box-shadow: 0 10px 28px rgba(32, 64, 52, 0.12);
}

.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.15;
  object-fit: cover;
  transition: transform 500ms ease;
}

.hero-visual:hover img {
  transform: scale(1.025);
}

.hero-visual figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.08rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 15px;
  background: rgba(18, 56, 45, 0.86);
  color: white;
  backdrop-filter: blur(8px);
}

.hero-visual figcaption span {
  color: #ffd2b7;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-visual figcaption strong {
  font-size: 0.9rem;
}

.visit-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 2fr);
  gap: 1.5rem;
  align-items: center;
  margin: 0.8rem 0 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  box-shadow: var(--shadow);
}

.visit-strip-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.visit-strip-title .eyebrow {
  margin-bottom: 0.15rem;
  color: #ffd2b7;
}

.visit-strip-title h2 {
  margin: 0;
  font-size: 1.22rem;
}

.paw-seal {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.25rem;
}

.visit-strip dl,
.visit-strip dd {
  margin: 0;
}

.visit-strip dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.visit-strip dl > div {
  padding-left: 0.95rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.visit-strip dt {
  margin-bottom: 0.12rem;
  color: #bdd7cf;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.visit-strip dd {
  font-size: 0.9rem;
  line-height: 1.5;
}

.visit-card {
  align-self: center;
  padding: 1.7rem;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
  box-shadow: var(--shadow);
}

.visit-card h2 {
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

.visit-card dl,
.visit-card dd {
  margin: 0;
}

.visit-card dl {
  display: grid;
  gap: 1rem;
}

.visit-card dt {
  margin-bottom: 0.12rem;
  color: #c9ded6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.visit-card dd {
  line-height: 1.55;
}

.visit-card dd span {
  color: #c9ded6;
}

.notice {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 1rem 0 4rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid #e6c7aa;
  border-radius: 14px;
  background: #fff4e8;
  color: #71421f;
}

.section {
  padding: 4rem 0;
}

section[id] {
  scroll-margin-top: 7rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading > p:last-child {
  color: var(--muted);
}

.visual-story {
  padding-top: 5rem;
}

.photo-journey {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 1rem;
}

.photo-card {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow: 0 13px 36px rgba(32, 64, 52, 0.1);
}

.photo-card-large {
  grid-row: span 2;
}

.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.photo-card-large img {
  object-position: center 42%;
}

.photo-card:hover img {
  transform: scale(1.025);
}

.photo-card::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(16, 48, 39, 0.88));
  content: "";
}

.photo-card figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.15rem;
  left: 1.2rem;
  z-index: 1;
  display: grid;
  gap: 0.18rem;
  color: white;
}

.photo-card figcaption span {
  color: #ffd2b7;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.photo-card figcaption strong {
  max-width: 31rem;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.medical-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 1rem;
  align-items: stretch;
}

.medical-photo {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.medical-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medical-photo::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(16, 48, 39, 0.86));
  content: "";
}

.medical-photo figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  left: 1.2rem;
  z-index: 1;
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

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

.service-card,
.care-panel {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
}

.service-card p,
.care-panel p,
.care-panel li {
  color: var(--muted);
}

.service-number {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.care-section {
  margin-inline: calc((min(1180px, 100vw - 2rem) - 100vw) / 2);
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  background: var(--paper-2);
}

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

.care-panel {
  background: var(--white);
}

.care-panel-photo {
  padding: 0;
  overflow: hidden;
}

.care-panel-photo > :not(img) {
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.care-panel-photo > h3 {
  margin-top: 1.35rem;
}

.care-panel-photo > ul {
  margin-bottom: 1.5rem;
}

.care-panel-photo > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.care-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.price {
  margin-bottom: 1rem;
  color: var(--green-2) !important;
}

.price strong {
  font-size: 1.45rem;
}

.warm-note {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 20%, rgba(232, 120, 57, 0.28), transparent 13rem),
    var(--green);
  color: white;
  text-align: center;
}

.warm-note::before {
  position: absolute;
  right: -1rem;
  bottom: -3.6rem;
  color: rgba(255, 255, 255, 0.06);
  content: "🐾";
  font-size: 13rem;
  line-height: 1;
  transform: rotate(-18deg);
}

.warm-note p {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto 0.65rem;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
}

.warm-note p:last-child {
  color: #bfd7cf;
  font-size: 0.95rem;
  font-weight: 500;
}

.warm-note .paw-seal {
  margin: 0 auto 1.2rem;
}

.paw-seal.large {
  width: 3.8rem;
  height: 3.8rem;
  font-size: 1.6rem;
}

.emergency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  border-radius: 28px;
  background: var(--green);
  color: white;
}

.emergency h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.emergency p {
  max-width: 760px;
  margin-bottom: 0;
  color: #d7e8e2;
}

.emergency .eyebrow {
  color: #f7b283;
}

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

.fact {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.fact span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.fact strong {
  display: block;
  line-height: 1.45;
}

.fact p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-section {
  padding-top: 3rem;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 1.15rem 2.2rem 1.15rem 0;
  cursor: pointer;
  font-weight: 700;
}

details p {
  max-width: 800px;
  padding-right: 2rem;
  color: var(--muted);
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 0 4rem;
  padding: 2rem;
  border: 1px solid #e6c7aa;
  border-radius: 28px;
  background: #fff4e8;
}

.contact-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.contact-strip p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

footer p {
  margin-bottom: 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.8rem 0;
}

.footer-links a {
  color: var(--green);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.page-hero .lead {
  max-width: 800px;
}

.page-hero .eyebrow {
  margin-bottom: 1rem;
}

.page-hero h1 {
  max-width: 13em;
  font-size: clamp(2.5rem, 5.5vw, 4.7rem);
}

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

.page-photo-grid figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper-2);
  box-shadow: 0 14px 38px rgba(32, 64, 52, 0.1);
}

.page-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-photo-grid figure::after {
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(16, 48, 39, 0.84));
  content: "";
}

.page-photo-grid figcaption {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  z-index: 1;
  color: white;
  font-weight: 700;
}

.content-section {
  padding: 2.5rem 0;
}

.answer-box {
  max-width: 900px;
  margin-bottom: 2rem;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 16px 16px 0;
  background: #fff4e8;
  font-size: 1.03rem;
}

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

.info-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.info-card p:last-child,
.info-card ul:last-child {
  margin-bottom: 0;
}

.step-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  position: relative;
  padding: 1rem 1.2rem 1rem 3.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.step-list li::before {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--green);
  color: white;
  counter-increment: steps;
  content: counter(steps);
  font-size: 0.8rem;
  font-weight: 700;
}

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0;
  padding: 1.5rem;
  border-radius: 22px;
  background: var(--green);
  color: white;
}

.page-cta p {
  margin: 0;
  color: #d7e8e2;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .header-call {
    margin-left: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 3rem;
  }

  .hero-visual {
    max-width: 720px;
  }

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

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

  .photo-journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .photo-card-large {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .photo-card:not(.photo-card-large) {
    min-height: 320px;
  }

  .medical-layout {
    grid-template-columns: 1fr;
  }

  .page-photo-grid figure {
    min-height: 280px;
  }

  .medical-photo {
    min-height: 420px;
  }

  .visit-card {
    align-self: start;
  }

  .emergency,
  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem 0.45rem;
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    padding: 0.7rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .header-call {
    margin-left: 0;
    padding: 0.52rem 0.6rem;
    font-size: 0.68rem;
  }

  nav {
    grid-column: 1 / -1;
    gap: 0.75rem;
    margin: 0;
    padding: 0.2rem 0 0;
    justify-content: space-between;
    font-size: 0.84rem;
  }

  main,
  footer {
    width: calc(100% - 1.25rem);
  }

  h1 {
    font-size: clamp(2.2rem, 9.6vw, 3rem);
  }

  .service-grid,
  .care-grid,
  .fact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1.3rem;
    padding-top: 2.5rem;
  }

  .hero-visual {
    border-width: 5px;
    border-radius: 24px 24px 64px 24px;
  }

  .hero-visual::before {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
    line-height: 3rem;
  }

  .hero-visual figcaption {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    padding: 0.72rem 0.8rem;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .visit-strip {
    padding: 1.1rem;
  }

  .visit-strip dl {
    grid-template-columns: 1fr;
  }

  .visit-strip dl > div {
    padding-top: 0.6rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .visit-strip dl > div:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .photo-journey {
    grid-template-columns: 1fr;
  }

  .photo-card-large {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .photo-card:not(.photo-card-large) {
    min-height: 360px;
  }

  .medical-photo {
    min-height: 380px;
  }

  .page-photo-grid {
    grid-template-columns: 1fr;
  }

  .page-photo-grid figure {
    min-height: 300px;
  }

  .care-panel-photo > :not(img) {
    margin-right: 1.1rem;
    margin-left: 1.1rem;
  }

  .warm-note {
    padding: 2rem 1.3rem;
    border-radius: 24px;
  }

  .section {
    padding: 3rem 0;
  }

  section[id] {
    scroll-margin-top: 13rem;
  }

  .care-section {
    padding-inline: 0.625rem;
  }

  .emergency,
  .contact-strip,
  .page-cta {
    padding: 1.4rem;
    border-radius: 22px;
  }

  .page-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  * {
    transition: none !important;
  }
}

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

.credential-card {
  margin: 0;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(111, 78, 55, 0.14);
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: 0 14px 34px rgba(77, 51, 32, 0.08);
}

.credential-card a {
  display: block;
  overflow: hidden;
  border-radius: 15px;
  background: #f5eee5;
}

.credential-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.credential-card a:hover img {
  transform: scale(1.015);
}

.credential-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.35rem 0.2rem;
  color: #6c594c;
  font-size: 0.9rem;
}

.credential-card figcaption strong {
  color: #3e2c22;
  font-size: 1rem;
}

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

.footer-icp a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

@media (max-width: 760px) {
  .credential-grid,
  .credential-grid-vets {
    grid-template-columns: 1fr;
  }

  .credential-card img {
    max-height: none;
  }
}
