:root {
  --ink: #003f7d;
  --muted: #4e647c;
  --soft: #e4e4e4;
  --line: #cfe3f8;
  --page: #f7fbff;
  --dark: #003f7d;
  --brown-deep: #003f7d;
  --brown: #005cae;
  --copper: #005aa8;
  --orange: #f4b400;
  --gold: #ffd54a;
  --font-body: "Segoe UI", Arial, Helvetica, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;
  --nav-height: 128px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 140px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(180deg, #eef6ff, #dfeeff);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--page);
  box-shadow: 0 20px 70px rgba(0, 63, 125, 0.08);
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, 100%);
  z-index: 100;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 72px;
  background: #005aa8;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 32px rgba(0, 63, 125, 0.08);
  font-size: 15px;
  font-weight: 700;
  gap: 48px;
}

.logo {
  width: 126px;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
}

.logo img {
  width: 64px;
  aspect-ratio: 1;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(0, 63, 125, 0.18);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(30px, 4vw, 64px);
  margin-left: 0;
}

.main-nav a {
  color: #ffffff;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
}

.appointment-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 150px;
  justify-content: flex-end;
}

.appointment-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background:linear-gradient(135deg, var(--brown-deep), var(--copper));
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.primary-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brown-deep), var(--copper));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.home-hero {
  min-height: 500px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 36%) minmax(460px, 64%);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding: 90px 84px 72px;
  overflow: hidden;
  background: #ffffff;
}

.hero-background-shape {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  margin: 0 0 18px;
  color: var(--brown-deep);
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-content p {
  width: min(100%, 390px);
  margin: 0 0 20px;
  color: #344d6a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.56;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 48px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0, 90, 168, 0.2);
}

.hero-gallery {
  position: relative;
  z-index: 1;
  min-height: 0;
  isolation: isolate;
}

.image-placeholder {
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)),
    #dddddd;
  display: grid;
  place-items: center;
}

.image-placeholder span,
.service-image span {
  display: none;
}

.hero-image-card {
  position: relative;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 30px;
  box-shadow: 0 16px 32px rgba(0, 63, 125, 0.12);
}

.hero-image-main {
  width: min(100%, 620px);
  height: clamp(220px, 28vw, 400px);
  margin-left: auto;
  z-index: 2;
}

.hero-image-top {
  width: clamp(210px, 23vw, 315px);
  height: clamp(190px, 23vw, 300px);
  right: clamp(10px, 5vw, 58px);
  top: clamp(-22px, 1vw, 12px);
  z-index: 3;
}

.hero-image-bottom {
  width: clamp(205px, 22vw, 300px);
  height: clamp(175px, 20vw, 240px);
  right: clamp(32px, 7vw, 94px);
  top: clamp(225px, 24vw, 315px);
  z-index: 4;
}

.care-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 1px 84px 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.care-pillars article {
  height: 100%;
  min-height: 142px;
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 24px 28px;
  border: 1px solid #ffd54a;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(0, 63, 125, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.care-pillars article > div {
  min-width: 0;
}

.care-pillars article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 63, 125, 0.1);
}

.care-pillars h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.care-pillars p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
  overflow-wrap: break-word;
}

.icon-bubble {
  width: 85px;
  height: 85px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: #005aa8;
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.icon-bubble.metric-value {
  width: auto;
  min-width: 96px;
  height: auto;
  background: transparent;
  border-radius: 0;
  color: var(--brown-deep);
  font-size: 42px;
  font-weight: 900;
}

.content-section {
  padding: 0 84px;
}

.services-section {
  padding-top: 30px;
  padding-bottom: 10px;
}

.section-header {
  margin-bottom: 28px;
}

.section-header.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 54px;
}

.service-card {
  padding: 14px 14px 22px;
  border: 1px solid #ffd54a;
  border-radius: 22px;
  background: #f7fbff;
  box-shadow: 0 18px 44px rgba(0, 63, 125, 0.07);
}

.service-image {
  width: 100%;
  height: 275px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin-bottom: 26px;
}

.service-card h3 {
  margin: 0;
  color: var(--brown-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.22;
}

.service-card p {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #003f7d;
}

.benefits-section {
  padding: 39px 84px 52px;
  background: linear-gradient(180deg, #f4f9ff 0%, #eef6ff 100%);
}

.benefits-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(0, 90, 168, 0.22);
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9ff 100%);
  box-shadow: 0 22px 54px rgba(0, 63, 125, 0.11);
  overflow: hidden;
}

.benefits-showcase {
  min-height: 0;
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.benefits-showcase h2 {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  z-index: 2;
  max-width: calc(100% - 64px);
  margin: 0;
  color: #f7fbff;
  font-family: var(--font-heading);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.04;
  
}

.benefits-image-slot {
  position: relative;
  width: min(100%, 460px);
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  
  border-radius: 26px;
}

.benefits-image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  /*border: 1px solid #ffd54a;*/
  
}

.benefits-image-slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.benefits-intro {
  max-width: 620px;
  margin: 0;
  color: #607489;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.benefits-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  align-content: stretch;
  position: relative;
  z-index: 1;
  min-height: 360px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 75px;
  padding: 14px;
  border: 1px solid #ffd54a;
  border-radius: 22px;
  background: rgba(247, 251, 255, 0.88);
  box-shadow: 0 14px 32px rgba(0, 63, 125, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 63, 125, 0.12);
}

.benefit-item > div {
  width: 100%;
}

.benefit-item h3 {
  margin: 0 0 4px;
  color: #003f7d;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.14;
}

.benefit-item p {
  max-width: none;
  margin: 0;
  color: #003f7d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
}

.testimonials-section {
  padding: 16px 84px 130px;
  background: linear-gradient(180deg, #f4f9ff 0%, #eef6ff 100%);
  overflow: hidden;
  text-align: center;
}

.testimonials-section h2 {
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.1;
}

.testimonials-intro {
  max-width: 950px;
  margin: 0 auto 25px;
  color: #7c8087;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.testimonials-track {
  width: min(100%, 1180px);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 34px;
  text-align: left;
}

.testimonial-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 34px 32px;
  border: 1px solid #ffd54a;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(87, 78, 122, 0.12);
}

.testimonial-card > p {
  max-width: 330px;
  margin: 20px 0 16px;
  color: #222832;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}

.testimonial-meta {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 10px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(145deg, #0074d9, #005aa8);
  color: #fff;
  font-size: 23px;
  font-weight: 900;
}

.resident-avatar-two {
  background: linear-gradient(145deg, #0074d9, #dbeafe);
}

.resident-avatar-three {
  background: linear-gradient(145deg, #ffd54a, #f4b400);
}

.testimonial-person h3 {
  margin: 0 0 5px;
  color: #171c25;
  font-size: 16px;
  line-height: 1.1;
}

.testimonial-person span {
  color: #777b85;
  font-size: 13px;
  font-weight: 600;
}

.rating {
  color: #ffd54a;
  padding-left: 74px;
  font-size: 18px;
  letter-spacing: 3px;
  white-space: nowrap;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: #f4f4f6;
  color: #222832;
  font-size: 14px;
  font-weight: 800;
}

.reviews-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 36px auto 0;
  padding: 0 22px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.reviews-link:hover {
  border-color: #111827;
}

footer {
  border-top: 6px solid #ffd54a;
  background: #003f7d;
  color: #dbeafe;
}

.footer-content {
  min-height: 252px;
  display: grid;
  grid-template-columns: 0.88fr 1.38fr 1.12fr;
  gap: 28px;
  align-items: stretch;
  padding: 29px 92px 26px;
}

.footer-branding,
.footer-location-panel,
.footer-action-panel {
  min-width: 0;
}

.footer-branding {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding-right: 28px;
  border-right: 1px solid rgba(0, 63, 125, 0.22);
  text-align: center;
}

.footer-logo img {
  width: min(100%, 176px);
  max-height: 136px;
  object-fit: contain;
  padding: 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(0, 31, 63, 0.18);
}

.footer-divider-heart {
  width: min(100%, 190px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  color: #ffd54a;
}

.footer-divider-heart span {
  height: 2px;
  flex: 1;
  background: #ffd54a;
}

.footer-divider-heart b {
  font-size: 15px;
  line-height: 1;
}

.footer-branding p {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.45;
}

.footer-location-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 28px 0 0;
  border-right: 1px solid rgba(0, 63, 125, 0.22);
}

.footer-location-panel .footer-heading-row {
  margin-bottom: 0;
}

.footer-map {
  width: 100%;
  height: 250px;
  display: block;
  border: 1px solid rgba(0, 63, 125, 0.24);
  border-radius: 4px;
  background: #f7fbff;
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.footer-contact-item:last-child {
  border-bottom: 0;
}

.footer-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd54a;
  font-size: 18px;
  font-weight: 700;
}

.footer-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.footer-contact-item h3,
.footer-heading-row h3 {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}

.footer-contact-item p {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
}

.footer-action-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.footer-email-block {
  padding-bottom: 0;
  border-bottom: 1px solid rgba(0, 63, 125, 0.18);
}

.footer-heading-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.footer-email-block .footer-heading-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 0;
  padding: 14px;
}

.footer-email {
  display: inline-block;
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.footer-phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(0, 63, 125, 0.18);
}

.footer-phone-grid .footer-contact-item + .footer-contact-item {
  border-left: 1px solid rgba(0, 63, 125, 0.18);
}

.footer-social-block .footer-heading-row {
  justify-content: center;
  margin: 14px 0 8px;
}

.footer-social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.footer-social-links a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 63, 125, 0.2);
  border-radius: 50%;
  background: #f7fbff;
  color: #4e647c;
  font-size: 15px;
  font-weight: 800;
}

.footer-legal {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 78px;
  background: linear-gradient(90deg, #00366b, #005aa8, #00366b);
  color: #f7fbff;
}

.footer-legal p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  :root {
    --nav-height: 132px;
  }

  .site-page {
    margin-top: 0;
    padding-top: var(--nav-height);
  }

  .site-header,
  .content-section,
  .benefits-section,
  .footer-content,
  .footer-legal {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-header {
    min-height: var(--nav-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "logo actions"
      "nav nav";
    gap: 8px 24px;
    align-content: center;
  }

  .logo {
    grid-area: logo;
  }

  .appointment-actions {
    grid-area: actions;
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    margin-left: 0;
    gap: 18px;
    padding-bottom: 0;
  }

  .home-hero,
  .care-pillars,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .care-pillars {
    grid-template-columns: 1fr 1fr;
    margin-right: 24px;
    margin-left: 24px;
  }

  .footer-content {
    min-height: auto;
    gap: 20px;
    padding-top: 31px;
    padding-bottom: 31px;
  }

  .footer-branding,
  .footer-location-panel {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 63, 125, 0.18);
    padding-bottom: 20px;
  }

  .footer-location-panel {
    padding-left: 0;
  }

  .footer-map {
    height: 250px;
  }

  .footer-action-panel {
    gap: 16px;
  }

  .benefits-layout {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .benefits-showcase {
    min-height: auto;
    padding: 0;
  }

  .benefits-image-slot {
    width: min(100%, 430px);
    height: auto;
  }

  .benefits-showcase h2 {
    max-width: 680px;
    font-size: 42px;
  }

  .benefits-list {
    gap: 12px;
    min-height: 360px;
  }

  .benefit-item {
    max-width: none;
    min-height: 72px;
    padding: 13px;
  }

  .benefit-item h3 {
    font-size: 21px;
  }

  .benefit-item p {
    font-size: 15px;
  }

  .testimonials-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .testimonials-track {
    width: 100%;
    margin-left: auto;
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 280px;
  }

  .home-hero {
    gap: 28px;
    padding: 38px 24px 53px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-content p {
    width: auto;
  }

  .hero-gallery {
    min-height: 0;
    margin-top: 0;
  }

  .hero-image-main {
    width: 100%;
    height: clamp(230px, 48vw, 340px);
    margin-left: 0;
  }

  .hero-image-top,
  .hero-image-bottom {
    right: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 620px) {

  html,
  body,
  .site-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav";
  }

  .main-nav,
  .home-hero,
  .hero-content,
  .hero-gallery,
  .care-pillars article,
  .care-pillars article > div {
    min-width: 0;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-content p,
  .care-pillars p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  :root {
    --nav-height: 112px;
  }

  .site-page {
    padding-top: var(--nav-height);
  }

  .site-header,
  .content-section,
  .benefits-section,
  .testimonials-section,
  .footer-content,
  .footer-legal {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "nav";
    gap: 6px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo {
    width: 72px;
  }

  .logo img {
    width: 56px;
  }

  .appointment-actions {
    display: none;
    width: auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .appointment-button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .main-nav a {
    min-width: 0;
    padding: 5px 2px;
    font-size: 12px;
    text-align: center;
  }

  .hero-gallery {
    min-height: 0;
    margin-top: 0;
  }

  .hero-image-card {
    position: relative;
    margin-bottom: 0;
    border: 0;
    border-radius: 24px;
  }

  .hero-image-main {
    width: 100%;
    height: min(58vw, 300px);
    min-height: 210px;
  }

  .hero-image-top {
    width: min(50vw, 205px);
    height: 190px;
    right: 0;
    top: 0;
  }

  .hero-image-bottom {
    width: min(50vw, 205px);
    height: 180px;
    right: 0;
    top: 232px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .care-pillars {
    grid-template-columns: 1fr;
    width: auto;
    max-width: none;
    margin: 12px 16px;
  }

  .care-pillars article {
    width: 100%;
    max-width: none;
    min-height: 0;
    align-items: center;
    flex-direction: row;
    gap: 16px;
    padding: 18px;
  }

  .care-pillars h2,
  .care-pillars p {
    max-width: none;
  }

  .icon-bubble {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .icon-bubble.metric-value {
    min-width: 0;
    font-size: 38px;
  }

  .service-image {
    height: clamp(220px, 70vw, 300px);
  }

  .section-header.split {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .benefits-section {
    padding-top: 11px;
    padding-bottom: 39px;
  }

  .benefits-showcase h2 {
    font-size: clamp(28px, 8vw, 31px);
  }

  .benefits-intro {
    font-size: 15px;
  }

  .benefits-layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px;
    border-radius: 22px;
  }

  .benefits-showcase {
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    border-radius: 18px;
  }

  .benefits-intro {
    margin-left: 18px;
    margin-right: 18px;
  }

  .benefits-showcase h2 {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
    font-size: clamp(28px, 8vw, 31px);
    overflow-wrap: normal;
  }

  .benefits-image-slot {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    min-height: 0;
    margin: 0;
    border-radius: 20px;
  }

  .benefits-list {
    min-width: 0;
    max-width: 100%;
    min-height: auto;
  }

  .benefit-item {
    min-width: 0;
    max-width: none;
    align-items: flex-start;
    gap: 9px;
    padding: 14px;
    text-align: left;
  }

  .benefit-item p {
    max-width: none;
    overflow-wrap: anywhere;
  }

  .testimonials-section h2 {
    font-size: 28px;
  }

  .testimonial-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .testimonial-card > p {
    margin-top: 24px;
    font-size: 16px;
  }

  .testimonial-meta {
    align-items: flex-start;
  }

  .rating {
    padding-left: 0;
    font-size: 16px;
  }

  .footer-content {
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .footer-logo img {
    width: min(100%, 165px);
  }

  .footer-branding p {
    font-size: 14px;
  }

  .footer-contact-item {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .footer-email-block .footer-heading-row {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 12px 0;
  }

  .footer-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .footer-contact-item h3,
  .footer-heading-row h3 {
    font-size: 15px;
  }

  .footer-contact-item p {
    font-size: 14px;
  }

  .footer-heading-row {
    gap: 14px;
  }

  .footer-social-links {
    padding-left: 0;
  }

  .footer-phone-grid {
    grid-template-columns: 1fr;
  }

  .footer-phone-grid .footer-contact-item + .footer-contact-item {
    border-top: 1px solid rgba(0, 63, 125, 0.18);
    border-left: 0;
  }

  .footer-email {
    margin-left: 0;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .footer-social-links {
    gap: 14px;
  }

  .footer-social-links a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-legal {
    min-height: 42px;
    text-align: center;
  }

  .footer-legal p {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .site-header {
    grid-template-columns: 58px minmax(0, 1fr);
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    width: 58px;
  }

  .logo img {
    width: 50px;
  }

  .appointment-button {
    padding: 0 11px;
    font-size: 12px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .home-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .care-pillars {
    margin-right: 12px;
    margin-left: 12px;
  }

  .care-pillars article {
    padding: 16px;
  }

  .icon-bubble.metric-value {
    font-size: 32px;
  }
}
