:root {
  --white: #ffffff;
  --soft-white: #f7fbfb;
  --blue: #0aa0ad;
  --blue-dark: #066f7b;
  --blue-soft: #dff7fb;
  --green: #c7db26;
  --green-soft: #eff8b8;
  --ink: #163238;
  --muted: #66797d;
  --line: #d8eeee;
  --shadow: 0 18px 45px rgba(6, 111, 123, 0.14);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 238, 238, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--blue-dark);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.nav-links .nav-cta {
  color: var(--white);
  background: var(--blue);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: var(--white);
  background: var(--blue-dark);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-soft);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: -2;
}

.hero-slide {
  opacity: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.045);
  transition: opacity 0.85s ease, transform 6.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.66) 34%, rgba(255, 255, 255, 0.18) 67%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(180deg, rgba(10, 160, 173, 0.08), rgba(22, 50, 56, 0.12));
}

.hero-content {
  position: relative;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 86px auto 0;
}

.hero-message {
  display: none;
  max-width: 700px;
  animation: heroMessageIn 0.62s ease both;
}

.hero-message.is-active {
  display: block;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.hero h2 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-family: Nunito, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h2 {
  font-size: clamp(2.15rem, 5vw, 4.15rem);
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: #38575d;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.hero-actions {
  margin-top: 30px;
}

.hero-controls {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--blue-dark);
}

.btn.secondary {
  color: var(--blue-dark);
  border-color: rgba(10, 160, 173, 0.3);
  background: rgba(255, 255, 255, 0.86);
}

section {
  scroll-margin-top: 92px;
}

.section-band {
  background: linear-gradient(135deg, var(--soft-white), var(--blue-soft));
}

.intro,
.services,
.hours,
.testimonials,
.location,
.contact,
.comment-form-section {
  padding: 140px 0;
}

.services,
.location {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-position: center;
  background-size: cover;
}

.services {
  background-image: url("assets/services-bg.png");
}

.location {
  background-image: url("assets/location-bg.png");
  background-position: center 58%;
}

.services::before,
.location::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.56) 46%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(135deg, rgba(223, 247, 251, 0.18), rgba(239, 248, 184, 0.08));
}

.services::after,
.location::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.01);
}

.image-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.testimonials.image-section {
  background-image: url("assets/contact-care.png");
  background-position: center 45%;
}

.comment-form-section.image-section {
  background-image: url("assets/comment-form-bg.jpg");
  background-position: center 72%;
  background-size: cover;
}

.image-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.16)),
    linear-gradient(135deg, rgba(223, 247, 251, 0.18), rgba(199, 219, 38, 0.1));
}

.two-column,
.hours-layout,
.contact-layout,
.comment-form-layout,
.location-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.two-column,
.hours-layout,
.contact-layout,
.comment-form-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
}

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

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: Nunito, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-family: Nunito, Manrope, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.intro p,
.hours p,
.contact p,
.location-info p,
.comment-form-layout p {
  max-width: 660px;
  margin: 18px 0 0;
}

.clinic-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.clinic-summary img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.clinic-summary strong,
.clinic-summary span {
  display: block;
}

.clinic-summary strong {
  color: var(--blue-dark);
  font-size: 1.12rem;
}

.clinic-summary span {
  margin-top: 6px;
  color: var(--muted);
}

.visual-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 160, 173, 0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 52px rgba(6, 111, 123, 0.16);
}

.visual-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.visual-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
}

.visual-slide img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 4.8s ease;
}

.visual-slide.is-active img {
  transform: scale(1.035);
}

.visual-slide figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(6, 111, 123, 0.78);
  backdrop-filter: blur(12px);
  font-weight: 850;
  line-height: 1.25;
}

.visual-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
}

.hours-dog-carousel {
  margin-top: 28px;
}

.services-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.service-carousel {
  overflow: hidden;
  border-radius: 8px;
}

.service-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.service-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(10, 160, 173, 0.2);
  border-radius: 8px;
  background-image: var(--service-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 38px rgba(6, 111, 123, 0.18);
  animation: serviceCardIn 0.65s ease both;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.service-card::before {
  background:
    linear-gradient(180deg, rgba(6, 111, 123, 0.08) 0%, rgba(6, 111, 123, 0.28) 38%, rgba(7, 40, 46, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 33, 38, 0.45), rgba(8, 33, 38, 0.04));
}

.service-card::after {
  background: linear-gradient(135deg, rgba(10, 160, 173, 0.2), rgba(199, 219, 38, 0.08));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(10, 160, 173, 0.58);
  box-shadow: 0 28px 58px rgba(6, 111, 123, 0.24);
}

.service-card:hover::after,
.service-card:focus-within::after {
  opacity: 1;
}

.service-content {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  color: var(--white);
  font-size: clamp(1.45rem, 2vw, 2rem);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.service-card p {
  max-width: 34ch;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  line-height: 1.45;
}

.service-group {
  margin: 0 0 8px !important;
  color: var(--green-soft) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 111, 123, 0.24);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.carousel-dots button.is-active {
  width: 58px;
  background: var(--blue);
}

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

.section-photo {
  overflow: hidden;
  margin: 28px 0 0;
  border: 1px solid rgba(10, 160, 173, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.testimonials-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(10, 160, 173, 0.28);
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--white);
  font-size: 1.8rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(6, 111, 123, 0.1);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--blue);
}

.testimonial-carousel {
  --visible-cards: 3;
  overflow: hidden;
  border-radius: 8px;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc((100% - (18px * (var(--visible-cards) - 1))) / var(--visible-cards));
  height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(6, 111, 123, 0.11);
  display: flex;
  flex-direction: column;
}

.testimonial-card .review-stars {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: #a97800;
  background: linear-gradient(135deg, var(--green-soft), rgba(255, 255, 255, 0.96));
  font-size: 0.95rem;
  letter-spacing: 0;
}

.testimonial-card p {
  overflow-y: auto;
  flex: 1;
  margin: 0;
  padding-right: 8px;
  color: #38575d;
  font-size: 0.94rem;
  line-height: 1.55;
}

.testimonial-card p::-webkit-scrollbar {
  width: 7px;
}

.testimonial-card p::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(216, 238, 238, 0.72);
}

.testimonial-card p::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(10, 160, 173, 0.38);
}

.testimonial-card strong {
  display: block;
  margin-top: 18px;
  color: var(--blue-dark);
  line-height: 1.25;
}

.schedule div,
.contact-link {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.schedule span,
.contact-link span {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.schedule strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 1.5rem;
  line-height: 1.15;
}

.location-grid {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.location-info {
  border-left: 5px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding-left: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(7px);
}

.location-info .btn {
  margin-top: 26px;
}

.map-wrap {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-link {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(10, 160, 173, 0.45);
}

.contact-link strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 1.22rem;
}

.contact-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.contact-label svg {
  width: 22px;
  height: 22px;
  fill: #25d366;
}

.phone-label svg {
  fill: var(--blue);
}

.social-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(223, 247, 251, 0.84)),
    radial-gradient(circle at 88% 18%, rgba(199, 219, 38, 0.3), transparent 34%);
  box-shadow: 0 20px 48px rgba(6, 111, 123, 0.18);
}

.social-block h3 {
  margin-bottom: 16px;
  color: var(--blue-dark);
}

.social-links a {
  flex: 1 1 150px;
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  background: #1877f2;
  box-shadow: 0 16px 30px rgba(6, 111, 123, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-links a:nth-child(2) {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045);
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-3px);
  color: var(--white);
  filter: saturate(1.08);
}

.social-links svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.social-name {
  display: inline-block;
  color: var(--white);
  font-weight: 900;
}

.comment-form-section:not(.image-section) {
  background: linear-gradient(135deg, var(--white), var(--blue-soft));
}

.comment-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.comment-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 850;
}

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

.comment-form textarea {
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: 2px solid rgba(10, 160, 173, 0.32);
  border-color: var(--blue);
}

.site-footer {
  padding: 42px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--blue-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 28px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.2;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
}

@keyframes serviceCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroMessageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .brand span {
    max-width: 250px;
    white-space: normal;
    line-height: 1.15;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-slide {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.74) 46%, rgba(255, 255, 255, 0.28) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(223, 247, 251, 0.04));
  }

  .two-column,
  .hours-layout,
  .contact-layout,
  .comment-form-layout,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .services-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .testimonial-carousel {
    --visible-cards: 2;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar,
  .hero-content {
    width: calc(100% - 28px);
    max-width: 362px;
    margin-left: 14px;
    margin-right: auto;
  }

  .navbar {
    min-height: 70px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: 190px;
    font-size: 0.92rem;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-slide {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.82) 52%, rgba(255, 255, 255, 0.36) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(223, 247, 251, 0.02));
  }

  .hero-content {
    margin-top: 80px;
  }

  .hero-message,
  .intro .two-column > div:first-child,
  .hours-layout > div:first-child,
  .contact-layout > div:first-child,
  .comment-form-layout > div:first-child {
    max-width: 362px;
  }

  .hero h1,
  .hero h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.72rem);
    line-height: 1.08;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1.02rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-controls {
    justify-content: flex-start;
  }

  .intro,
  .services,
  .hours,
  .testimonials,
  .location,
  .contact,
  .comment-form-section {
    padding: 64px 0;
  }

  .clinic-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-slide,
  .visual-slide img {
    min-height: 330px;
  }

  .visual-controls {
    top: 12px;
    right: 12px;
  }

  .service-slide,
  .service-slide-wide {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 320px;
  }

  .service-card:hover,
  .service-card:focus-within {
    transform: none;
  }

  .service-content {
    min-height: 320px;
    padding: 20px;
  }

  .testimonials-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .testimonial-carousel {
    --visible-cards: 1;
  }

  .testimonial-card {
    height: 440px;
  }

  .schedule strong {
    font-size: 1.25rem;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 360px;
    height: 360px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
