@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ink: #102733;
  --muted: #597582;
  --paper: #f5fcff;
  --panel: #ffffff;
  --blue: #c7eef8;
  --blue-soft: #e9f9fd;
  --teal: #087d94;
  --teal-dark: #064f61;
  --coral: #ff765f;
  --yellow: #ffd85d;
  --lime: #cde96d;
  --line: #c7e6ef;
  --shadow: 0 24px 70px rgba(16, 39, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  line-height: 1.55;
}

@media (pointer: fine) and (hover: hover) {
  body.custom-cursor,
  body.custom-cursor * {
    cursor: none !important;
  }

  .logo-cursor {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: white url("../images/original/03-blob-577def0.png") center / cover no-repeat;
    box-shadow: 0 10px 24px rgba(16, 39, 51, 0.26);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
    transition: opacity 160ms ease;
  }

  .logo-cursor.is-visible {
    opacity: 1;
  }

  .paw-print {
    --paw-rotate: 0deg;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 28px;
    height: 28px;
    opacity: 0.9;
    pointer-events: none;
    transform: translate(-50%, -50%) rotate(var(--paw-rotate)) scale(0.96);
    animation: paw-fade 1500ms ease-out forwards;
  }

  .paw-print::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 13px;
    width: 13px;
    height: 11px;
    border-radius: 52% 52% 48% 48%;
    background: #000;
    transform: rotate(-8deg);
  }

  .paw-print::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 6px;
    height: 7px;
    border-radius: 50%;
    background: #000;
    box-shadow:
      7px -4px 0 #000,
      15px -4px 0 #000,
      22px 1px 0 #000;
  }

  @keyframes paw-fade {
    0% {
      opacity: 0.9;
      transform: translate(-50%, -50%) rotate(var(--paw-rotate)) scale(0.96);
    }

    48% {
      opacity: 0.9;
    }

    100% {
      opacity: 0;
      transform: translate(-50%, -50%) rotate(var(--paw-rotate)) scale(0.62);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .paw-print {
    display: none;
  }

  .logo-cursor {
    transition: none;
  }
}

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

a {
  color: inherit;
}

.sr-only,
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(245, 252, 255, 0.92);
  border-bottom: 1px solid rgba(199, 230, 239, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 28px rgba(8, 125, 148, 0.16);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  color: #385867;
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav a,
.header-cta,
.footer-links a,
.insurance aside a {
  text-decoration: none;
}

.site-nav a:hover,
.header-cta:hover,
.footer-links a:hover,
.insurance aside a:hover {
  color: var(--teal);
}

.header-cta {
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(420px, 1.14fr);
  min-height: calc(100vh - 79px);
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 216, 93, 0.55), transparent 20%),
    linear-gradient(135deg, #f7fdff 0%, var(--blue-soft) 55%, var(--blue) 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 82px) clamp(22px, 4vw, 76px);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.trust-logos img {
  height: 76px;
  width: auto;
  border: 1px solid rgba(8, 125, 148, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(16, 39, 51, 0.1);
}

.trust-logos img:first-child {
  height: 92px;
  border-radius: 50%;
  padding: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 20px;
  font-size: clamp(2.85rem, 4.8vw, 5.8rem);
  line-height: 0.9;
}

h2 {
  max-width: 13ch;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 0.92;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.16;
}

.lede {
  max-width: 640px;
  color: #314d59;
  font-size: clamp(1.04rem, 1.45vw, 1.28rem);
}

.hero-actions,
.service-filter,
.aaha-tabs,
.emergency-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.pill,
.tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

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

.button.secondary,
.pill,
.tab {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(8, 125, 148, 0.24);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  color: white;
  background: var(--ink);
  font-size: 0.92rem;
}

.pill.active,
.tab.active {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}

.hero-art {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 252, 255, 0.58), rgba(245, 252, 255, 0.08));
}

.hero-card {
  position: absolute;
  z-index: 2;
  max-width: 245px;
  border: 1px solid rgba(8, 125, 148, 0.22);
  border-radius: 8px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hours-card {
  left: 28px;
  bottom: 34px;
}

.parking-card {
  right: 28px;
  top: 34px;
}

.info-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: white;
}

.info-bar a {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-right: 1px solid var(--line);
  padding: 18px clamp(16px, 3vw, 32px);
  text-decoration: none;
}

.info-bar a:last-child {
  border-right: 0;
}

.info-bar span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.info-bar strong {
  color: var(--ink);
}

.emergency-link {
  background: #fff1ef;
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

section[id] {
  scroll-margin-top: 92px;
}

#patient-gallery {
  scroll-margin-top: 110px;
}

.blue-section {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-soft) 100%);
}

.section-heading,
.about-grid,
.service-filter,
.service-grid,
.offers-grid,
.news-grid,
.doctor-grid,
.staff-grid,
.video-grid,
.gallery-intro,
.patient-gallery,
.gallery {
  max-width: 1180px;
  margin-inline: auto;
}

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

.section-heading h2 {
  max-width: 15ch;
}

.about .section-label {
  max-width: 1180px;
  margin-inline: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
}

.about-grid p,
.service-grid p,
.offers-copy p,
.offer-card p,
.aaha-copy p,
.news-copy p,
.news-card p,
.doctor-card p,
.staff-grid p,
.insurance p,
.insurance li,
.contact-copy p,
.contact-list,
.emergency-card p,
.emergency-card dd,
.mailing p {
  color: var(--muted);
}

.about-panel {
  display: grid;
  gap: 14px;
}

.about-panel article,
.service-grid article,
.offer-card,
.date-panel,
.doctor-card,
.staff-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 0 rgba(16, 39, 51, 0.05);
}

.about-panel article,
.offer-card,
.date-panel,
.contact-form {
  padding: 24px;
}

.about-panel img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  filter: grayscale(1);
}

.about-panel img.about-icon {
  height: clamp(170px, 24vw, 260px);
  aspect-ratio: auto;
  object-fit: contain;
  padding: clamp(18px, 3vw, 32px);
  background: white;
  filter: none;
}

.about-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-weight: 900;
}

.service-filter {
  margin-bottom: 22px;
}

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

.service-grid article {
  min-height: 210px;
  padding: 22px;
}

.service-grid article span {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.service-grid article:nth-child(3n) span {
  background: var(--coral);
}

.service-grid article:nth-child(4n) span {
  background: var(--lime);
}

.service-grid article.is-hidden {
  display: none;
}

.offers-copy {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.offers-copy h2 {
  max-width: none;
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 16px;
}

.offer-card {
  position: relative;
  overflow: hidden;
}

.offer-card > * {
  position: relative;
  z-index: 1;
}

.offer-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 24px solid rgba(8, 125, 148, 0.12);
  border-radius: 50%;
}

.offer-card > span {
  width: 68px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  padding-top: 16px;
  color: white;
  background: url("../images/generated/caparra-paw-no-cross.svg") center / contain no-repeat;
  font-family: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(6, 79, 97, 0.42);
}

.offer-card:nth-child(2) > span {
  background-image: url("../images/generated/caparra-paw-no-cross.svg");
}

.offer-points {
  display: grid;
  gap: 9px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.offer-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid rgba(8, 125, 148, 0.16);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 850;
}

.offer-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 216, 93, 0.24);
}

.date-list {
  display: grid;
  gap: 10px;
}

.date-list span {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: #f5fcff;
  color: var(--ink);
  font-weight: 800;
}

.date-hint {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.aaha {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.aaha-visual {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
}

.aaha-logo,
.aaha-photo,
.insurance aside img {
  width: 100%;
  border: 1px solid rgba(8, 125, 148, 0.18);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.aaha-logo {
  padding: 26px;
}

.aaha-photo {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.aaha-photo.clinical-photo {
  object-position: 58% center;
}

#aaha .eyebrow {
  text-transform: none;
}

.aaha-copy a {
  color: var(--teal-dark);
  font-weight: 900;
}

.aaha-original-copy {
  display: grid;
  gap: 12px;
}

.aaha-original-copy p:last-child {
  margin-bottom: 0;
}

.aaha-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.aaha-stats div {
  border: 1px solid rgba(8, 125, 148, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.aaha-stats strong {
  display: block;
  color: var(--teal);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.aaha-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.aaha-checklist li {
  min-height: 120px;
  border: 1px solid rgba(8, 125, 148, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.aaha-checklist strong {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.28rem;
}

.aaha-checklist span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
}

.standard-panel {
  margin-top: 16px;
  border-left: 6px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  background: white;
}

.news {
  background:
    linear-gradient(90deg, rgba(199, 238, 248, 0.48) 0 36%, transparent 36%),
    var(--paper);
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
}

.news-copy h2 {
  max-width: 13ch;
}

.news-list {
  display: grid;
  gap: 16px;
}

.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.news-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -46px;
  width: 150px;
  height: 150px;
  background: url("../images/generated/caparra-paw-no-cross.svg") center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(-14deg);
}

.news-card > * {
  position: relative;
  z-index: 1;
}

.news-source {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(8, 125, 148, 0.2);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--blue-soft);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.news-card h3 {
  max-width: 18ch;
  font-family: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2.8rem);
  line-height: 1;
}

.news-video-card .video-frame {
  margin-bottom: 18px;
  box-shadow: none;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.doctor-card {
  overflow: hidden;
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.doctor-card img.portrait-top {
  object-position: center top;
}

.doctor-card > div {
  padding: 22px;
}

.doctor-card h3,
.staff-grid h3 {
  font-family: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

details {
  margin-top: 12px;
}

summary {
  color: var(--teal-dark);
  font-weight: 900;
  cursor: pointer;
}

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

.staff-grid article {
  overflow: hidden;
}

.staff-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.staff-grid h3,
.staff-grid p {
  padding-inline: 16px;
}

.staff-grid h3 {
  padding-top: 16px;
}

.staff-grid p {
  padding-bottom: 18px;
}

.staff-grid details {
  padding: 0 16px 18px;
}

.staff-grid details p {
  padding: 0;
}

.staff-grid details p:last-child {
  margin-bottom: 0;
}

.staff-note {
  padding-top: 18px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.video-frame img,
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-frame img {
  object-fit: cover;
}

.video-frame iframe {
  border: 0;
}

.gallery-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 42px auto 18px;
}

.gallery-intro h3 {
  max-width: 16ch;
  margin-bottom: 0;
  font-family: "Bricolage Grotesque", "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3.7rem);
  line-height: 0.95;
}

.gallery-intro > span {
  border: 1px solid rgba(8, 125, 148, 0.24);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--teal-dark);
  font-weight: 900;
  white-space: nowrap;
}

.patient-gallery {
  column-count: 4;
  column-gap: 18px;
  margin-bottom: 26px;
  border: 1px solid rgba(8, 125, 148, 0.16);
  border-radius: 8px;
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(233, 249, 253, 0.64)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(16, 39, 51, 0.08);
}

.patient-gallery button {
  width: 100%;
  display: inline-block;
  break-inside: avoid;
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid rgba(8, 125, 148, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
  box-shadow:
    0 1px 0 rgba(16, 39, 51, 0.05),
    0 10px 24px rgba(16, 39, 51, 0.06);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.patient-gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: filter 220ms ease;
}

.patient-gallery button:hover {
  border-color: rgba(8, 125, 148, 0.36);
  box-shadow:
    0 1px 0 rgba(16, 39, 51, 0.05),
    0 18px 36px rgba(16, 39, 51, 0.1);
  transform: translateY(-2px);
}

.patient-gallery button:hover img {
  filter: saturate(1.08);
}

.gallery {
  column-count: 3;
  column-gap: 18px;
  border: 1px solid rgba(8, 125, 148, 0.16);
  border-radius: 8px;
  padding: clamp(12px, 2vw, 18px);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 14px 42px rgba(16, 39, 51, 0.07);
}

.gallery button {
  width: 100%;
  display: inline-block;
  break-inside: avoid;
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid rgba(8, 125, 148, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fdff 100%);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: filter 220ms ease;
}

.gallery img.portrait-top {
  object-position: center top;
}

.gallery button:hover {
  border-color: rgba(8, 125, 148, 0.36);
  box-shadow: 0 16px 30px rgba(16, 39, 51, 0.1);
  transform: translateY(-2px);
}

.gallery button:hover img {
  filter: saturate(1.08);
}

.insurance {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(240px, 0.38fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.insurance h2 {
  max-width: 16ch;
}

.insurance ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
}

.insurance aside {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.insurance aside img {
  padding: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-copy,
.contact-form {
  max-width: 620px;
}

.contact-copy h2 {
  max-width: 11ch;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.contact-list div {
  border-top: 1px solid rgba(8, 125, 148, 0.18);
  padding-top: 12px;
}

.contact-list dt,
.emergency-card dt {
  color: var(--ink);
  font-weight: 900;
}

.contact-list dd,
.emergency-card dd {
  margin: 2px 0 0;
}

.emergency-card {
  margin: 0 0 22px;
  border: 1px solid rgba(255, 118, 95, 0.38);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fff1ef 100%);
  box-shadow: 0 14px 40px rgba(255, 118, 95, 0.12);
}

.emergency-card dl {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.emergency-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.emergency-list article {
  border-top: 1px solid rgba(255, 118, 95, 0.28);
  padding-top: 14px;
}

.emergency-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.emergency-list strong {
  display: block;
  color: var(--teal-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label,
.mail-form {
  display: grid;
  gap: 7px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.mailing h2 {
  max-width: 14ch;
  margin-bottom: 0;
}

.mail-form {
  grid-template-columns: minmax(220px, 1fr) auto;
  width: min(520px, 100%);
}

.lightbox {
  width: min(980px, calc(100% - 28px));
  border: 0;
  border-radius: 8px;
  padding: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(16, 39, 51, 0.74);
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  float: right;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: white;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.cookie-note {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: min(520px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
  box-shadow: var(--shadow);
}

.cookie-note p {
  margin: 0;
  color: var(--muted);
}

.cookie-note.is-hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer > div:first-child {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px 14px;
  align-items: center;
}

.site-footer img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-cta {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.nav-open .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .about-grid,
  .offers-grid,
  .aaha,
  .news-grid,
  .video-grid,
  .insurance,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 620px;
  }

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

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

  .gallery {
    column-count: 2;
  }

  .patient-gallery {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .brand span {
    max-width: 185px;
    white-space: normal;
    line-height: 1.04;
  }

  .hero-copy {
    padding-block: 44px;
  }

  .trust-logos img {
    height: 60px;
  }

  .trust-logos img:first-child {
    height: 72px;
  }

  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .hero-actions .button,
  .info-bar a {
    width: 100%;
  }

  .info-bar,
  .service-grid,
  .doctor-grid,
  .staff-grid,
  .aaha-visual,
  .aaha-checklist,
  .aaha-stats,
  .patient-gallery,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .patient-gallery {
    column-count: 1;
  }

  .gallery {
    column-count: 1;
  }

  .mailing,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mail-form,
  .cookie-note {
    grid-template-columns: 1fr;
  }
}
