/*
Theme Name: Кабінет сімейного лікаря Лещенко
Theme URI: https://leshchenko.com.ua/
Author: ФОП Лещенко С.В.
Description: Спеціальна тема для сайту кабінету сімейного лікаря. Містить сторінки послуг, команди, декларації, контактів та динамічні новини WordPress.
Version: 2.0.28
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: leshchenko-clinic
*/

:root {
  --font-geist: "Segoe UI", Arial, sans-serif;
  --navy: #09214b;
  --navy-dark: #051735;
  --teal: #008f8c;
  --teal-dark: #007b79;
  --mint: #eaf7f4;
  --mint-strong: #d5efea;
  --blue-soft: #e8f2ff;
  --yellow-soft: #fff4cf;
  --coral-soft: #ffebe5;
  --placeholder-red: #b42318;
  --placeholder-red-soft: #fff1f0;
  --ink: #14233d;
  --muted: #68788d;
  --line: #cbd7e1;
  --line-light: #e2e9ee;
  --canvas: #f8fafc;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(9, 33, 75, 0.09);
  --container: 1240px;
}

/* Appointment preparation */

.prep-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
}

.prep-hero::after {
  content: "";
  position: absolute;
  right: -125px;
  bottom: -205px;
  width: 520px;
  height: 520px;
  border: 78px solid rgba(0, 143, 140, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.prep-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.62fr);
  align-items: center;
  gap: 78px;
}

.prep-hero h1 {
  max-width: 830px;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
}

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

.prep-hero .hero-actions {
  margin-top: 34px;
}

.prep-hero-note {
  padding: 39px;
  border: 1px solid rgba(0, 143, 140, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
}

.prep-note-number {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mint-strong);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prep-hero-note h2 {
  margin-bottom: 20px;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.prep-hero-note ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep-hero-note li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.prep-hero-note li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}

.prep-types-section {
  background: var(--canvas);
}

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

.prep-type-card {
  position: relative;
  min-height: 225px;
  padding: 28px 68px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(9, 33, 75, 0.04);
  transition:
    transform 180ms ease-out,
    border-color 180ms ease-out,
    box-shadow 180ms ease-out;
}

.prep-type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 143, 140, 0.52);
  box-shadow: 0 16px 38px rgba(9, 33, 75, 0.08);
}

.prep-type-card > span {
  display: block;
  margin-bottom: 26px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.prep-type-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.prep-type-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.prep-type-card strong {
  position: absolute;
  right: 27px;
  bottom: 27px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  transition: transform 180ms ease-out;
}

.prep-type-card:hover strong {
  transform: translateY(3px);
}

.prep-checklist-section {
  background: var(--white);
}

.prep-checklist-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 88px;
}

.prep-checklist-grid > div:first-child {
  position: sticky;
  top: 125px;
}

.prep-section-lead {
  max-width: 440px;
  color: var(--muted);
}

.prep-essentials {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prep-essentials li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-light);
}

.prep-essentials li:first-child {
  padding-top: 0;
}

.prep-essentials li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.prep-essentials li > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 760;
}

.prep-essentials h3 {
  margin-bottom: 7px;
}

.prep-essentials p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
}

.prep-guides-section {
  background: var(--canvas);
}

.prep-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.prep-guide-card {
  scroll-margin-top: 125px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(9, 33, 75, 0.04);
}

.prep-guide-card .panel-kicker {
  margin-bottom: 11px;
}

.prep-guide-card h3 {
  margin-bottom: 24px;
  font-size: 1.55rem;
}

.prep-guide-card .check-list {
  margin-bottom: 0;
}

.prep-guide-card .check-list li:last-child {
  margin-bottom: 0;
}

.prep-important-section {
  padding-top: 0;
  background: var(--canvas);
}

.prep-important-box {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  gap: 76px;
  padding: 50px;
  border: 1px solid #f1d79f;
  border-radius: 16px;
  background: var(--yellow-soft);
}

.prep-important-box .eyebrow {
  color: #9a6300;
}

.prep-important-box h2 {
  max-width: 470px;
  margin-bottom: 0;
}

.prep-important-rules {
  display: grid;
  gap: 26px;
}

.prep-important-rules article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
}

.prep-important-rules article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d79c2e;
  border-radius: 50%;
  color: #8b5800;
  font-weight: 800;
}

.prep-important-rules h3 {
  margin-bottom: 6px;
}

.prep-important-rules p {
  max-width: 600px;
  margin-bottom: 0;
  color: #685937;
}

.prep-before-leaving {
  padding-top: 0;
  background: var(--canvas);
}

.prep-leaving-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 54px;
  padding: 52px 56px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 89% 10%, rgba(0, 143, 140, 0.35), transparent 30%),
    var(--navy);
  color: var(--white);
}

.prep-leaving-box h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.prep-leaving-box p:last-child {
  max-width: 750px;
  margin-bottom: 0;
  color: #cbd7e2;
}

.prep-leaving-actions {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-width: 240px;
}

@media (max-width: 1050px) {
  .prep-hero-grid,
  .prep-checklist-grid {
    gap: 52px;
  }

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

  .prep-important-box {
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .prep-hero {
    padding: 58px 0;
  }

  .prep-hero-grid,
  .prep-checklist-grid,
  .prep-important-box,
  .prep-leaving-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .prep-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .prep-hero-note {
    padding: 30px;
  }

  .prep-checklist-grid > div:first-child {
    position: static;
  }

  .prep-guide-grid {
    grid-template-columns: 1fr;
  }

  .prep-important-box {
    padding: 36px 32px;
  }

  .prep-leaving-box {
    padding: 40px 34px;
  }

  .prep-leaving-actions {
    justify-items: start;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .prep-hero-note ul,
  .prep-type-grid {
    grid-template-columns: 1fr;
  }

  .prep-type-card {
    min-height: 0;
    padding: 25px 62px 25px 25px;
  }

  .prep-guide-card {
    padding: 27px 24px;
  }

  .prep-important-box,
  .prep-leaving-box {
    padding-inline: 25px;
  }

  .prep-leaving-actions,
  .prep-leaving-actions .button {
    width: 100%;
  }
}

/* Prevention plugin page containers */

.prevention-module-hero .page-lead {
  max-width: 790px;
}

.prevention-plugin-host {
  min-height: 320px;
  background: var(--canvas);
}

.prevention-plugin-host > .container > :first-child {
  margin-top: 0;
}

.prevention-plugin-host > .container > :last-child {
  margin-bottom: 0;
}

/* Quick patient navigator */

.patient-navigator-section {
  overflow: hidden;
  background: var(--canvas);
}

.patient-navigator-heading {
  align-items: end;
}

.patient-navigator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
  gap: 28px;
}

.patient-navigator-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.patient-navigator-option {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 180ms ease-out,
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    background-color 180ms ease-out;
}

.patient-navigator-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 143, 140, 0.52);
  box-shadow: 0 10px 26px rgba(9, 33, 75, 0.07);
}

.patient-navigator-option:focus-visible {
  outline: 3px solid rgba(0, 143, 140, 0.25);
  outline-offset: 3px;
}

.patient-navigator-option > span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.patient-navigator-option > strong {
  font-size: 1rem;
  line-height: 1.35;
}

.patient-navigator-option > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-style: normal;
  transition: transform 180ms ease-out;
}

.patient-navigator-option.is-active {
  border-color: var(--teal);
  background: var(--mint);
  box-shadow: inset 4px 0 0 var(--teal);
}

.patient-navigator-option.is-active > i {
  background: var(--teal);
  color: var(--white);
  transform: translateX(2px);
}

.patient-navigator-answer {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 40px;
  border-radius: 15px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: var(--white);
}

.patient-navigator-answer[hidden] {
  display: none;
}

.patient-navigator-answer::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -150px;
  width: 290px;
  height: 290px;
  border: 44px solid rgba(82, 214, 200, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.patient-navigator-answer > * {
  position: relative;
  z-index: 1;
}

.patient-navigator-answer .panel-kicker {
  color: #82ddd3;
}

.patient-navigator-answer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
}

.patient-navigator-answer > p:not(.panel-kicker) {
  max-width: 610px;
  margin-bottom: 28px;
  color: #c5d1de;
  font-size: 1.04rem;
}

.patient-navigator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.patient-navigator-answer .button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
  color: var(--white);
}

.patient-navigator-answer .button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.patient-navigator-answer small {
  display: block;
  max-width: 520px;
  color: #93a6bb;
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 1140px) {
  .patient-navigator-layout {
    grid-template-columns: 1fr;
  }

  .patient-navigator-answer {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .patient-navigator-options {
    grid-template-columns: 1fr;
  }

  .patient-navigator-option {
    min-height: 80px;
    padding: 17px 16px;
  }

  .patient-navigator-answer {
    padding: 32px 24px;
  }

  .patient-navigator-actions,
  .patient-navigator-actions .button {
    width: 100%;
  }
}

/* Digital services */

.digital-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
}

.digital-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 570px;
  height: 570px;
  border: 85px solid rgba(0, 143, 140, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.digital-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.66fr);
  align-items: center;
  gap: 82px;
}

.digital-hero h1 {
  max-width: 830px;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
}

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

.digital-hero .hero-actions {
  margin-top: 34px;
}

.digital-trust-card {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(0, 143, 140, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.digital-trust-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--mint-strong);
  color: var(--teal-dark);
  font-size: 1.45rem;
  font-weight: 800;
}

.digital-trust-card .panel-kicker {
  margin-bottom: 10px;
}

.digital-trust-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.digital-trust-card > p:not(.panel-kicker) {
  margin-bottom: 24px;
  color: var(--muted);
}

.digital-domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.digital-domain-list span {
  padding: 6px 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 650;
}

.digital-services-section {
  background: var(--canvas);
}

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

.digital-service-card {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(9, 33, 75, 0.045);
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.digital-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 143, 140, 0.55);
  box-shadow: 0 18px 42px rgba(9, 33, 75, 0.09);
}

.digital-service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}

.digital-service-topline > span {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.digital-service-topline small {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 650;
}

.digital-service-card h3 {
  margin-bottom: 13px;
  font-size: 1.48rem;
}

.digital-service-card > p {
  margin-bottom: 28px;
  color: var(--muted);
}

.digital-service-card > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 0.94rem;
}

.digital-service-card > strong > span {
  font-size: 1.15rem;
  transition: transform 180ms ease-out;
}

.digital-service-card:hover > strong > span {
  transform: translate(3px, -2px);
}

.digital-start-section {
  background: var(--white);
}

.digital-start-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 90px;
}

.digital-start-grid h2 {
  max-width: 480px;
}

.digital-start-lead {
  max-width: 460px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.04rem;
}

.digital-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.digital-steps li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  padding: 0 0 34px;
}

.digital-steps li:last-child {
  padding-bottom: 0;
}

.digital-steps li > span {
  position: relative;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 750;
}

.digital-steps li:not(:last-child) > span::after {
  content: "";
  position: absolute;
  top: 50px;
  bottom: -34px;
  left: 50%;
  width: 1px;
  background: var(--line);
}

.digital-steps h3 {
  margin-bottom: 7px;
}

.digital-steps p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.digital-cabinet-note {
  margin: 56px 0 0;
  padding: 24px 28px;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: var(--mint);
  color: #42556d;
}

.digital-cabinet-note strong {
  color: var(--navy);
}

.digital-help-section {
  background: var(--canvas);
}

.digital-help-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.66fr) minmax(0, 1.34fr);
  align-items: start;
  gap: 85px;
}

.digital-help-grid > div:first-child {
  position: sticky;
  top: 125px;
}

.digital-help-grid > div:first-child > p:not(.eyebrow) {
  max-width: 420px;
  margin-bottom: 25px;
  color: var(--muted);
}

.digital-help-list {
  padding: 8px 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.digital-safety-section {
  padding-top: 0;
  background: var(--canvas);
}

.digital-safety-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 44px 48px;
  border-radius: 16px;
  background: radial-gradient(circle at 86% 20%, rgba(0, 143, 140, 0.35), transparent 28%), var(--navy);
  color: var(--white);
}

.digital-safety-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.6rem;
  font-weight: 800;
}

.digital-safety-box .eyebrow {
  margin-bottom: 7px;
}

.digital-safety-box h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.digital-safety-box p:last-child {
  max-width: 730px;
  margin-bottom: 0;
  color: #cbd7e2;
}

@media (max-width: 1050px) {
  .digital-hero-grid,
  .digital-start-grid,
  .digital-help-grid {
    gap: 54px;
  }

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

@media (max-width: 760px) {
  .digital-hero {
    padding: 58px 0;
  }

  .digital-hero-grid,
  .digital-start-grid,
  .digital-help-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .digital-hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .digital-trust-card {
    padding: 30px;
  }

  .digital-services-grid {
    grid-template-columns: 1fr;
  }

  .digital-service-card {
    min-height: 0;
  }

  .digital-help-grid > div:first-child {
    position: static;
  }

  .digital-safety-box {
    grid-template-columns: 1fr;
    padding: 34px 30px;
  }

  .digital-safety-box .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .digital-trust-card,
  .digital-service-card {
    padding: 25px;
  }

  .digital-service-topline {
    align-items: flex-start;
  }

  .digital-help-list {
    padding-inline: 22px;
  }

  .digital-steps li {
    grid-template-columns: 48px 1fr;
    gap: 15px;
  }

  .digital-steps li > span {
    width: 42px;
    height: 42px;
  }

  .digital-steps li:not(:last-child) > span::after {
    top: 42px;
  }

  .digital-cabinet-note {
    padding: 21px 22px;
  }
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

body.admin-bar .site-header {
  top: 32px;
}

.custom-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.wp-block-image img,
.article-body img {
  height: auto;
}

.article-body > :first-child {
  margin-top: 0;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-geist), "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  color: var(--navy);
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.25rem);
  line-height: 0.99;
  font-weight: 750;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.05;
  font-weight: 720;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.25;
}

::selection {
  background: var(--mint-strong);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid rgba(0, 143, 140, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: none;
}

.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;
}

.container,
.header-topbar-inner,
.header-inner,
.footer-inner,
.footer-bottom {
  width: min(calc(100% - 56px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-tight {
  padding-top: 48px;
}

.section-soft {
  background: var(--canvas);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #9ae0d8;
}

.button,
.wp-block-button .wp-block-button__link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 12px 22px;
  cursor: pointer;
  font-weight: 680;
  line-height: 1.2;
  transition:
    background-color 180ms ease-out,
    color 180ms ease-out,
    border-color 180ms ease-out,
    transform 180ms ease-out;
}

.button:hover,
.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.button-primary,
.wp-block-button.button-primary .wp-block-button__link {
  background: var(--teal);
  color: var(--white);
}

.button-primary:hover,
.wp-block-button.button-primary .wp-block-button__link:hover {
  background: var(--teal-dark);
}

.button-secondary,
.wp-block-button.button-secondary .wp-block-button__link {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.button-secondary:hover,
.wp-block-button.button-secondary .wp-block-button__link:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.button-white,
.wp-block-button.button-white .wp-block-button__link {
  background: var(--white);
  color: var(--navy);
}

.button-white:hover,
.wp-block-button.button-white .wp-block-button__link:hover {
  background: var(--mint);
}

.button-large,
.wp-block-button.button-large .wp-block-button__link {
  min-height: 58px;
  padding-inline: 27px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease-out;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link-light {
  color: #aeece5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
}

.header-topbar {
  border-bottom: 1px solid var(--line-light);
  background: #f5faf9;
}

.header-topbar-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1;
}

.header-schedule,
.header-topbar-phone {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.header-schedule {
  gap: 7px;
}

.header-schedule strong {
  color: var(--navy);
  font-weight: 690;
}

.header-schedule-separator {
  color: var(--teal);
}

.header-topbar-phone {
  gap: 7px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-weight: 660;
}

.header-schedule svg,
.header-topbar-phone svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(235px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  color: var(--navy);
  font-weight: 740;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav > a,
.desktop-nav-dropdown > button {
  position: relative;
  padding: 31px 0 27px;
  color: var(--ink);
  font-weight: 560;
}

.desktop-nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.desktop-nav > a::after,
.desktop-nav-dropdown > button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease-out;
}

.desktop-nav > a:hover,
.desktop-nav > a[aria-current="page"],
.desktop-nav-dropdown > button:hover,
.desktop-nav-dropdown > button[aria-current="page"],
.desktop-nav-dropdown.is-open > button {
  color: var(--teal-dark);
}

.desktop-nav > a:hover::after,
.desktop-nav > a[aria-current="page"]::after,
.desktop-nav-dropdown > button:hover::after,
.desktop-nav-dropdown > button[aria-current="page"]::after,
.desktop-nav-dropdown.is-open > button::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease-out;
}

.desktop-nav-dropdown.is-open .nav-caret {
  transform: translateY(2px) rotate(225deg);
}

.desktop-nav-panel {
  position: absolute;
  top: calc(100% - 12px);
  left: -24px;
  width: 292px;
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 20px 50px rgba(9, 33, 75, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 160ms ease-out,
    transform 160ms ease-out;
}

.desktop-nav-dropdown.is-open .desktop-nav-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-nav-panel a {
  padding: 12px 14px;
  border-radius: 7px;
  color: var(--navy);
  font-weight: 590;
  line-height: 1.35;
}

.desktop-nav-panel a:hover,
.desktop-nav-panel a[aria-current="page"] {
  background: var(--mint);
  color: var(--teal-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
}

.phone-link {
  color: var(--navy);
  font-weight: 620;
  white-space: nowrap;
}

.phone-link span {
  margin-right: 6px;
  color: var(--teal);
}

.header-cta {
  min-width: 132px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.mobile-menu {
  display: none;
}

.appointment-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 28px 20px;
  background: rgba(5, 23, 53, 0.7);
  backdrop-filter: blur(4px);
  animation: modal-fade-in 180ms ease-out;
}

.appointment-modal-backdrop[hidden] {
  display: none;
}

.appointment-modal {
  position: relative;
	width: min(780px, 100%);
	max-height: calc(100vh - 56px);
  overflow-y: auto;
	padding: 38px;
	border: 1px solid rgba(203, 215, 225, 0.72);
	border-radius: 20px;
  background: var(--white);
	box-shadow: 0 32px 90px rgba(5, 23, 53, 0.3);
	text-align: left;
  animation: modal-rise-in 220ms ease-out;
}

.appointment-modal h2 {
	margin-bottom: 8px;
	font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
}

.appointment-modal-heading {
	padding-right: 52px;
}

.appointment-modal-heading > p:last-child {
	max-width: 610px;
	margin: 0;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.55;
}

.appointment-modal-kicker {
	margin: 0 0 5px;
	color: var(--teal-dark);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.075em;
	text-transform: uppercase;
}

.appointment-modal-close {
  position: absolute;
	top: 22px;
	right: 22px;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-light);
  border-radius: 50%;
	background: var(--canvas);
  color: var(--navy);
  cursor: pointer;
	font-size: 2rem;
  line-height: 1;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.appointment-modal-close:hover {
	border-color: var(--line);
	background: var(--blue-soft);
	transform: rotate(4deg);
}

.appointment-modal-status {
	display: inline-flex;
  align-items: center;
	gap: 9px;
	margin: 22px 0 18px;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 750;
}

.appointment-modal-status--open {
	background: var(--mint);
	color: #086b67;
}

.appointment-modal-status--closed {
	background: #f1f4f7;
	color: #5d6c7d;
}

.appointment-modal-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 4px rgba(0, 143, 140, 0.1);
}

.appointment-modal-status--closed .appointment-modal-status-dot {
	box-shadow: 0 0 0 4px rgba(93, 108, 125, 0.1);
}

.appointment-modal-phone-card {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 16px;
	padding: 18px 20px;
	border: 1px solid #b9e4dd;
	border-radius: 14px;
	background: linear-gradient(135deg, #effaf7, #e4f5f1);
	color: var(--navy);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.appointment-modal-phone-card:hover {
	border-color: #82cbc0;
	box-shadow: 0 12px 30px rgba(0, 123, 121, 0.11);
	color: var(--navy);
	transform: translateY(-1px);
}

.appointment-modal-icon {
	display: inline-flex;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: var(--blue-soft);
	color: var(--navy);
}

.appointment-modal-icon--phone {
	background: var(--teal);
	color: white;
}

.appointment-modal-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.appointment-modal-phone-copy {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.appointment-modal-phone-copy > span {
	color: var(--muted);
	font-size: 0.82rem;
}

.appointment-modal-phone-copy strong {
	font-size: clamp(1.15rem, 2.5vw, 1.38rem);
	letter-spacing: 0.01em;
}

.appointment-modal-phone-action {
	margin-left: auto;
	padding: 11px 15px;
	border-radius: 9px;
	background: var(--teal);
	color: white;
	font-size: 0.9rem;
	font-weight: 750;
}

.appointment-modal-info-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.appointment-modal-info-card {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	min-width: 0;
	padding: 17px;
	border: 1px solid var(--line-light);
	border-radius: 14px;
	background: #fff;
	color: var(--navy);
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.appointment-modal-info-card:hover {
	border-color: var(--line);
	box-shadow: 0 10px 26px rgba(9, 33, 75, 0.08);
	color: var(--navy);
	transform: translateY(-1px);
}

.appointment-modal-info-copy {
	display: grid;
	min-width: 0;
	gap: 3px;
}

.appointment-modal-info-copy > span {
	color: var(--muted);
	font-size: 0.8rem;
}

.appointment-modal-info-copy strong {
	font-size: 0.95rem;
	line-height: 1.38;
	overflow-wrap: anywhere;
}

.appointment-modal-info-copy small {
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.35;
}

.appointment-modal-info-copy em {
	margin-top: 6px;
	color: var(--teal-dark);
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 750;
}

.appointment-modal-schedule-panel {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	padding: 17px 19px;
	border-radius: 14px;
	background: var(--canvas);
}

.appointment-modal-schedule-heading {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--navy);
}

.appointment-modal-schedule-heading .appointment-modal-icon {
	width: 38px;
	height: 38px;
	flex-basis: 38px;
	background: white;
}

.appointment-modal-schedule {
	display: grid;
	gap: 6px;
}

.appointment-modal-schedule p {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin: 0;
	font-size: 0.9rem;
}

.appointment-modal-schedule span {
	color: var(--muted);
}

.phone-contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(5, 23, 53, 0.8);
  animation: modal-fade-in 180ms ease-out;
}

.phone-contact-modal {
  position: relative;
  width: min(560px, 100%);
  padding: 50px 46px 44px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(5, 23, 53, 0.38);
  text-align: center;
  animation: modal-rise-in 220ms ease-out;
}

.phone-contact-modal h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
  overflow-wrap: anywhere;
}

.phone-contact-modal > p:not(.phone-contact-kicker) {
  max-width: 440px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.phone-contact-kicker {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.phone-contact-actions .button {
  width: 100%;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes modal-rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.home-hero {
  overflow: hidden;
  padding: 90px 0 105px;
  background:
    radial-gradient(circle at 83% 20%, rgba(0, 143, 140, 0.12), transparent 25%),
    linear-gradient(180deg, #fff, #fbfcfd);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 80px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 28px;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: #52637a;
  font-size: 1.25rem;
  line-height: 1.55;
}

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

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-note span {
  color: var(--teal);
  font-size: 0.75rem;
}

.hero-service-card {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  padding: 45px;
  border-radius: 16px;
  background: var(--navy);
  box-shadow: var(--shadow);
  color: white;
}

.hero-service-card h2 {
  position: relative;
  z-index: 2;
  max-width: 430px;
  margin: 0 0 36px;
  color: white;
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero-card-list {
  position: relative;
  z-index: 2;
  margin-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-card-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #b9c8d9;
}

.hero-card-list strong {
  color: white;
  font-size: 0.93rem;
}

.hero-card-orbit {
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(82, 214, 200, 0.25);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(82, 214, 200, 0.05),
    0 0 0 136px rgba(82, 214, 200, 0.035);
}

.trust-strip {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.72fr 0.72fr 1.35fr 1.35fr;
}

.trust-grid > div,
.trust-item {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 28px;
  border-left: 1px solid var(--line-light);
}

.trust-grid > div:last-child,
.trust-item:last-child {
  border-right: 1px solid var(--line-light);
}

.trust-grid strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.2;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.35;
}

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

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.5fr);
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  transition:
    background-color 180ms ease-out,
    transform 180ms ease-out;
}

.service-card:hover {
  z-index: 1;
  background: var(--mint);
  transform: translateY(-4px);
}

.service-card > span {
  display: block;
  margin-bottom: 70px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 16px;
}

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

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.care-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 90px;
  align-items: center;
}

.care-copy h2 {
  max-width: 720px;
  margin-bottom: 28px;
}

.care-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
}

.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  margin: 13px 0;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}

.schedule-panel {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.panel-kicker,
.contact-label {
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 730;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.schedule-row span {
  color: var(--muted);
}

.schedule-row strong {
  color: var(--navy);
}

.schedule-contact {
  margin-top: 30px;
  padding: 22px;
  border-radius: 8px;
  background: var(--mint);
}

.schedule-contact span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.schedule-contact a {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 720;
}

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

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 180ms ease-out;
}

.news-card:hover {
  border-color: rgba(0, 143, 140, 0.55);
  box-shadow: 0 14px 38px rgba(9, 33, 75, 0.08);
  transform: translateY(-3px);
}

.news-card-visual {
  position: relative;
  height: 150px;
  overflow: hidden;
  background: var(--mint);
}

.accent-blue .news-card-visual {
  background: var(--blue-soft);
}

.accent-yellow .news-card-visual {
  background: var(--yellow-soft);
}

.accent-coral .news-card-visual {
  background: var(--coral-soft);
}

.visual-orbit {
  position: absolute;
  right: -50px;
  bottom: -85px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(9, 33, 75, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(9, 33, 75, 0.04);
}

.visual-mark {
  position: absolute;
  left: 28px;
  bottom: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(9, 33, 75, 0.22);
  border-radius: 50%;
  color: var(--navy);
  font-weight: 750;
}

.news-card-content {
  padding: 28px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta > span:first-child {
  color: var(--teal-dark);
  font-weight: 680;
}

.article-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9aa7b7;
}

.news-card h2 {
  margin-bottom: 15px;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.2;
}

.news-card h2 a:hover {
  color: var(--teal-dark);
}

.news-card-content > p {
  margin-bottom: 22px;
  color: var(--muted);
}

.news-grid-home .news-card-content > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.appointment-section {
  padding-top: 20px;
}

.appointment-box {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  padding: 64px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 93% 15%, rgba(70, 207, 193, 0.28), transparent 25%),
    var(--navy);
  color: white;
}

.appointment-box h2 {
  max-width: 700px;
  margin-bottom: 18px;
  color: white;
}

.appointment-box p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: #c3cfdb;
  font-size: 1.05rem;
}

.stacked-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.light-link {
  color: #c7ebe7;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-hero,
.news-hero {
  background:
    linear-gradient(rgba(0, 143, 140, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 143, 140, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #fff, #fbfdfd);
  background-size: 80px 80px, 80px 80px, auto;
}

.page-hero {
  padding: 95px 0 85px;
}

.page-hero h1,
.news-hero > .container > h1 {
  max-width: 1000px;
  margin-bottom: 25px;
}

.page-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: #52637a;
  font-size: 1.2rem;
}

.services-hero {
  padding: 95px 0 85px;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 80px;
}

.services-hero-grid h1 {
  max-width: 780px;
}

.services-hero-grid .hero-actions {
  margin-top: 34px;
}

.services-assurance {
  padding: 42px;
  border: 1px solid rgba(0, 143, 140, 0.28);
  border-radius: 14px;
  background: var(--mint);
  box-shadow: 0 18px 50px rgba(9, 33, 75, 0.07);
}

.services-assurance h2 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.services-assurance > p:not(.panel-kicker) {
  color: #43576b;
}

.services-assurance-note {
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 143, 140, 0.2);
  font-size: 0.93rem;
}

.service-principles {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--white);
}

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

.service-principles article {
  min-height: 165px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  padding: 30px 38px;
  border-right: 1px solid var(--line-light);
}

.service-principles article:first-child {
  border-left: 1px solid var(--line-light);
}

.service-principles article > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.service-principles h2 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.service-principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.services-heading {
  align-items: end;
  margin-bottom: 45px;
}

.services-heading .anchor-links {
  margin-top: 24px;
}

.anchor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.anchor-links a {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-weight: 620;
}

.anchor-links a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.service-sections {
  border-top: 1px solid var(--line);
}

.service-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 65px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.service-detail-heading {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
}

.service-detail-heading > span {
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 720;
}

.service-detail-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

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

.detail-list li {
  position: relative;
  padding: 16px 0 16px 25px;
  border-bottom: 1px solid var(--line-light);
}

.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.tests-section {
  background: var(--canvas);
  scroll-margin-top: 100px;
}

.tests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tests-card {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.tests-card-primary {
  border-color: var(--teal);
  background: var(--mint);
}

.tests-card h3 {
  margin-bottom: 28px;
  font-size: 2rem;
}

.tests-card .check-list {
  margin-top: 0;
}

.medical-note {
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  font-size: 0.92rem;
}

.medical-note a {
  color: var(--teal-dark);
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-access-section {
  border-bottom: 1px solid var(--line-light);
}

.service-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.service-access-grid li {
  min-height: 265px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-access-grid li > span {
  display: block;
  margin-bottom: 62px;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.service-access-grid h3 {
  margin-bottom: 13px;
}

.service-access-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-hero {
  position: relative;
  overflow: hidden;
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  align-items: center;
  gap: 80px;
}

.about-hero-grid .page-lead {
  margin-bottom: 0;
}

.about-hero::after {
  content: "";
  position: absolute;
  right: max(4vw, 36px);
  bottom: -155px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0, 143, 140, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 65px rgba(0, 143, 140, 0.035),
    0 0 0 130px rgba(0, 143, 140, 0.02);
  pointer-events: none;
}

.about-hero-summary {
  padding: 30px 34px;
  border: 1px solid rgba(0, 143, 140, 0.22);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 18px 55px rgba(9, 33, 75, 0.06);
}

.about-hero-summary .panel-kicker {
  margin-bottom: 16px;
}

.about-hero-summary > div {
  display: grid;
  gap: 3px;
  padding: 14px 0;
  border-top: 1px solid var(--line-light);
}

.about-hero-summary strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.about-hero-summary span {
  color: var(--muted);
  font-size: 0.91rem;
}

.about-facts {
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: var(--white);
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-facts-grid > div {
  min-height: 150px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 30px 34px;
  border-left: 1px solid var(--line-light);
}

.about-facts-grid > div:last-child {
  border-right: 1px solid var(--line-light);
}

.about-facts-grid strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.06rem;
}

.about-facts-grid span {
  color: var(--muted);
  font-size: 0.91rem;
}

.about-story-section {
  padding-top: 96px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 82px;
}

.about-practice-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.about-practice-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 42% center;
}

.about-practice-photo figcaption {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-story-grid h2 {
  max-width: 630px;
  margin-bottom: 20px;
}

.about-story-intro {
  max-width: 650px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.03rem;
}

.about-story-text {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--muted);
}

.about-license-note {
  max-width: 680px;
  padding: 22px 24px;
  border-left: 4px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background: var(--mint);
}

.about-license-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
}

.about-license-note p {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.55;
}

.about-license-note p:last-child {
  margin-bottom: 0;
}

.about-plan-label {
  margin-bottom: 11px;
  color: var(--navy);
  font-weight: 720;
}

.about-plan-list,
.team-profile-facts ul,
.team-profile-plan ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.about-plan-list li,
.team-profile-facts li,
.team-profile-plan li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.about-plan-list li::before,
.team-profile-facts li::before,
.team-profile-plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.about-team-section {
  padding-top: 92px;
}

.team-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-grid > .team-card {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

.team-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    transform 180ms ease-out;
}

.team-card:hover {
  border-color: rgba(0, 143, 140, 0.5);
  box-shadow: 0 15px 42px rgba(9, 33, 75, 0.08);
  transform: translateY(-3px);
}

.team-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 143, 140, 0.16);
  background:
    linear-gradient(rgba(0, 143, 140, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 143, 140, 0.09) 1px, transparent 1px),
    var(--mint);
  background-size: 54px 54px;
  color: var(--navy);
}

.team-photo-placeholder > span {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid rgba(9, 33, 75, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 1.35rem;
  font-weight: 740;
}

.team-photo-placeholder small {
  padding: 6px 10px;
  border: 1px solid rgba(180, 35, 24, 0.22);
  border-radius: 6px;
  background: var(--placeholder-red-soft);
  color: var(--placeholder-red);
  font-size: 0.78rem;
  font-weight: 620;
}

.team-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 30px 30px 32px;
}

.team-role {
  margin-bottom: 13px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 730;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.team-summary {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.team-profile-facts {
  margin-bottom: 22px;
}

.team-profile-facts > p {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 720;
}

.team-profile-facts ul {
  display: grid;
  gap: 9px;
}

.team-profile-facts li {
  font-size: 0.9rem;
  line-height: 1.52;
}

.team-profile-plan {
  margin-top: auto;
  padding: 18px 18px 16px;
  border: 1px solid rgba(180, 35, 24, 0.18);
  border-radius: 9px;
  background: var(--placeholder-red-soft);
}

.team-profile-plan > p {
  margin-bottom: 10px;
  color: var(--placeholder-red);
  font-size: 0.9rem;
  font-weight: 720;
}

.team-profile-plan ul {
  display: grid;
  gap: 8px;
}

.team-profile-plan li {
  margin-bottom: 0;
  color: var(--placeholder-red);
  font-size: 0.88rem;
  line-height: 1.48;
}

.team-profile-plan li::before {
  content: "!";
  color: var(--placeholder-red);
}

.team-development-note {
  width: min(780px, 100%);
  margin: -26px 0 30px;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  color: var(--muted);
  font-size: 0.94rem;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.news-hero {
  padding: 72px 0 96px;
}

.news-hero .page-lead {
  margin-bottom: 34px;
}

.featured-story {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 28px rgba(9, 33, 75, 0.035);
  margin-top: 28px;
}

.featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 50px;
}

.featured-content h2 {
  max-width: 750px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.3vw, 3.15rem);
}

.featured-content > p {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.02rem;
}

.featured-visual {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-left: 1px solid rgba(0, 143, 140, 0.16);
  background:
    linear-gradient(rgba(0, 143, 140, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 143, 140, 0.17) 1px, transparent 1px),
    var(--mint);
  background-size: 110px 92px, 110px 92px, auto;
}

.grid-orbit {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(0, 123, 121, 0.28);
  border-radius: 50%;
}

.grid-orbit-one {
  top: -125px;
  right: -80px;
}

.grid-orbit-two {
  bottom: -145px;
  left: -95px;
}

.security-shield {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 126px;
  height: 145px;
  border: 2px solid var(--teal-dark);
  border-radius: 62px 62px 70px 70px;
  transform: translate(-50%, -50%);
}

.security-shield i {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 44px;
  height: 42px;
  border: 2px solid var(--teal-dark);
  border-radius: 6px;
  transform: translateX(-50%);
}

.security-shield i::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 24px;
  height: 28px;
  border: 2px solid var(--teal-dark);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  transform: translateX(-50%);
}

.security-shield i::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 5px;
  height: 10px;
  border-radius: 4px;
  background: var(--teal-dark);
  transform: translateX(-50%);
}

.featured-calendar {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  border: 2px solid var(--teal-dark);
  border-radius: 28px;
  color: var(--teal-dark);
  font-size: 2.8rem;
  font-weight: 760;
  transform: translate(-50%, -50%);
}

.featured-calendar::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 0;
  width: 100%;
  border-top: 2px solid var(--teal-dark);
}

.news-inline-list {
  position: relative;
  z-index: 0;
  margin-top: 95px;
  padding-top: 76px;
}

.news-inline-list::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 50%;
  width: 100vw;
  background: white;
  transform: translateX(-50%);
}

.list-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.5fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 40px;
}

.list-heading h2 {
  margin-bottom: 0;
}

.list-heading > p {
  margin-bottom: 5px;
  color: var(--muted);
}

.news-controls {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-post-grid-page .section {
  padding-top: 64px;
}

.news-filter-panel {
  position: relative;
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
}

.news-filter-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.news-filter-search .search-icon {
  left: 20px;
}

.news-filter-search input[type="search"] {
  width: 100%;
  height: 54px;
  padding: 0 18px 0 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  outline: none;
}

.news-filter-search input[type="search"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 143, 140, 0.11);
}

.news-filter-search button {
  min-width: 112px;
  height: 54px;
  padding: 0 22px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  cursor: pointer;
  font-weight: 720;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out;
}

.news-filter-search button:hover {
  border-color: var(--teal-dark);
  background: var(--teal-dark);
}

.news-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.news-category-filters a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 650;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    color 160ms ease-out;
}

.news-category-filters a:hover {
  border-color: var(--teal);
}

.news-category-filters a.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.news-filter-panel.has-active-filter .news-category-filters {
  padding-right: 132px;
}

.news-filter-reset {
  position: absolute;
  right: 24px;
  bottom: 25px;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-grid-admin-note {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
}

.search-field {
  position: relative;
  display: block;
}

.search-field input {
  width: 100%;
  height: 58px;
  padding: 0 20px 0 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  outline: none;
}

.search-field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 143, 140, 0.11);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 21px;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  transform: translateY(-56%);
}

.search-icon::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 13px;
  width: 7px;
  height: 2px;
  background: var(--navy);
  transform: rotate(45deg);
  transform-origin: left center;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.filter-chips button {
  min-height: 48px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    color 160ms ease-out;
}

.filter-chips button:hover {
  border-color: var(--teal);
}

.filter-chips button.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.results-count {
  margin: 28px 0 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.empty-state {
  padding: 70px 30px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}

.empty-state > span {
  display: block;
  color: var(--teal);
  font-size: 3rem;
}

.empty-state h2 {
  margin: 8px 0;
  font-size: 1.8rem;
}

.empty-state p {
  color: var(--muted);
}

.article-header {
  padding: 75px 0 65px;
  background: var(--canvas);
}

.article-container {
  width: min(calc(100% - 56px), 810px);
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 58px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a:hover {
  color: var(--teal-dark);
}

.article-header h1 {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5.5vw, 4.9rem);
}

.article-lead {
  margin-bottom: 0;
  color: #52637a;
  font-size: 1.28rem;
  line-height: 1.6;
}

.article-body {
  padding: 80px 0;
}

.article-body > section {
  margin-bottom: 52px;
}

.article-body h2 {
  margin-bottom: 22px;
  font-size: 2rem;
}

.article-body p,
.article-body li {
  color: #405269;
  font-size: 1.08rem;
  line-height: 1.78;
}

.article-body ul {
  margin: 24px 0 0;
  padding-left: 24px;
}

.article-callout {
  margin-top: 70px;
  padding: 42px;
  border-radius: 12px;
  background: var(--mint);
}

.article-callout h2 {
  font-size: 2.15rem;
}

.article-callout p:not(.eyebrow) {
  margin-bottom: 26px;
}

.related-section {
  background: var(--canvas);
}

.news-grid-related .news-card-visual {
  height: 125px;
}

.contacts-hero {
  padding-bottom: 70px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-primary,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.contact-primary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 500px;
  padding: 50px;
  background: var(--navy);
  color: white;
}

.contact-primary .contact-label {
  color: #9ae0d8;
}

.contact-phone {
  margin-bottom: 25px;
  color: white;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.contact-primary > p:not(.contact-label) {
  max-width: 500px;
  margin-bottom: 30px;
  color: #c3cfdb;
}

.contact-details {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  position: relative;
  padding: 38px;
}

.contact-index {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #a8b5c4;
  font-size: 0.85rem;
}

.contact-card h2 {
  max-width: 490px;
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.contact-card h2 a {
  overflow-wrap: anywhere;
}

.contact-card > p:not(.contact-label) {
  color: var(--muted);
}

.contact-card .text-link {
  margin-top: 12px;
}

.schedule-large {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  align-items: start;
}

.schedule-large h2 {
  margin-bottom: 0;
}

.schedule-table {
  border-top: 1px solid var(--line);
}

.schedule-table p {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin: 0;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.schedule-table span {
  color: var(--muted);
}

.schedule-table strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.arrival-section {
  background: var(--white);
}

.arrival-heading {
  margin-bottom: 48px;
}

.arrival-heading > p {
  color: var(--muted);
  font-size: 1.06rem;
}

.location-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.entrance-photo,
.location-map-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.entrance-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.entrance-photo figcaption {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.location-map-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 22px;
}

.location-map-footer div {
  display: grid;
  gap: 2px;
}

.location-map-footer span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-map-footer strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.arrival-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
}

.arrival-info-card {
  min-width: 0;
  min-height: 245px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 34px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.arrival-info-card:last-child {
  border-right: 0;
}

.arrival-info-index {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.arrival-info-card h3 {
  margin-bottom: 12px;
}

.arrival-info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.arrival-help {
  display: grid;
  grid-template-columns: 1fr 1.15fr auto;
  align-items: center;
  gap: 52px;
  margin-top: 24px;
  padding: 34px 38px;
  border-radius: 12px;
  background: var(--navy);
}

.arrival-help h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.arrival-help p {
  margin-bottom: 0;
  color: #c3cfdb;
}

.arrival-help .button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.arrival-help .button:hover {
  border-color: var(--white);
}

.declaration-home-band {
  border-bottom: 1px solid var(--line-light);
  background: var(--mint);
}

.declaration-home-inner {
  min-height: 245px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  align-items: center;
  gap: 54px;
  padding-block: 42px;
}

.declaration-home-inner .eyebrow {
  margin-bottom: 12px;
}

.declaration-home-inner h2 {
  max-width: 610px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.declaration-home-inner > p {
  max-width: 480px;
  margin-bottom: 0;
  color: #52637a;
}

.declaration-home-inner .button {
  white-space: nowrap;
}

.declaration-hero {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
}

.declaration-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -235px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(0, 143, 140, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(0, 143, 140, 0.03),
    0 0 0 160px rgba(0, 143, 140, 0.018);
  pointer-events: none;
}

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

.declaration-hero-copy h1 {
  max-width: 820px;
}

.declaration-hero-copy .page-lead {
  max-width: 700px;
  margin-bottom: 34px;
}

.declaration-summary {
  padding: 38px;
  border: 1px solid rgba(0, 143, 140, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.declaration-summary .panel-kicker {
  margin-bottom: 16px;
}

.declaration-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.declaration-summary li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-light);
}

.declaration-summary li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 800;
}

.declaration-summary strong,
.declaration-summary small {
  display: block;
}

.declaration-summary strong {
  color: var(--navy);
  line-height: 1.35;
}

.declaration-summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.declaration-summary-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.declaration-steps-section {
  border-top: 1px solid var(--line-light);
}

.declaration-heading {
  max-width: 820px;
}

.declaration-heading > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.declaration-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
  counter-reset: declaration-step;
}

.declaration-steps li {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.declaration-steps li::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -13px;
  z-index: 2;
  width: 25px;
  height: 1px;
  background: var(--teal);
}

.declaration-steps li:last-child::after {
  display: none;
}

.declaration-step-number {
  display: block;
  margin-bottom: 76px;
  color: var(--teal-dark);
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.declaration-steps h3 {
  margin-bottom: 15px;
}

.declaration-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.declaration-documents {
  scroll-margin-top: 110px;
}

.document-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.document-card {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.document-card-primary {
  border-color: rgba(0, 143, 140, 0.52);
  background: var(--mint);
}

.document-card-heading {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.document-card-heading > span {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid rgba(9, 33, 75, 0.16);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 760;
}

.document-card-heading p {
  margin-bottom: 2px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 730;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.document-card-heading h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.document-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-list li {
  position: relative;
  padding: 15px 0 15px 29px;
  border-bottom: 1px solid rgba(104, 120, 141, 0.18);
}

.document-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.document-note {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--teal);
  background: var(--canvas);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.declaration-doctor-card {
  min-height: 300px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  transition:
    border-color 180ms ease-out,
    transform 180ms ease-out,
    box-shadow 180ms ease-out;
}

.declaration-doctor-card:hover {
  border-color: rgba(0, 143, 140, 0.5);
  box-shadow: 0 14px 38px rgba(9, 33, 75, 0.07);
  transform: translateY(-3px);
}

.doctor-initials {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 35px;
  border: 1px solid rgba(0, 143, 140, 0.3);
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-weight: 750;
}

.declaration-doctor-card > p {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.declaration-doctor-card h3 {
  margin-bottom: 26px;
  font-size: clamp(1.35rem, 2vw, 1.78rem);
}

.declaration-doctor-card .text-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 90px;
}

.faq-layout h2 {
  margin-bottom: 24px;
}

.faq-intro {
  max-width: 440px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.faq-list summary {
  position: relative;
  padding: 24px 56px 24px 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 680;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 2px;
  background: var(--teal-dark);
  transition: transform 180ms ease-out;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details > p {
  max-width: 720px;
  margin: -4px 56px 24px 0;
  color: var(--muted);
}

.faq-page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.faq-page-hero::after {
  content: "?";
  position: absolute;
  right: max(3vw, 20px);
  bottom: -128px;
  color: rgba(0, 143, 140, 0.055);
  font-size: 33rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

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

.faq-hero-grid h1 {
  max-width: 820px;
}

.faq-hero-grid .page-lead {
  max-width: 720px;
  margin-bottom: 34px;
}

.faq-quick-card {
  padding: 34px;
  border: 1px solid rgba(0, 143, 140, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.faq-quick-card .panel-kicker {
  margin-bottom: 15px;
}

.faq-quick-card nav {
  display: grid;
}

.faq-quick-card a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--navy);
  font-weight: 650;
}

.faq-quick-card a:last-child {
  border-bottom: 0;
}

.faq-quick-card a > span {
  color: var(--teal-dark);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.faq-quick-card a > i {
  color: var(--teal-dark);
  font-style: normal;
  transition: transform 180ms ease-out;
}

.faq-quick-card a:hover > i {
  transform: translateX(4px);
}

.faq-page-content {
  background: var(--canvas);
}

.faq-page-layout {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  align-items: start;
  gap: 70px;
}

.faq-sidebar {
  position: sticky;
  top: 125px;
}

.faq-sidebar .footer-label {
  margin-bottom: 13px;
  color: var(--teal-dark);
}

.faq-category-nav {
  display: grid;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}

.faq-category-nav a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 620;
}

.faq-category-nav a:hover {
  color: var(--teal-dark);
}

.faq-sidebar-contact {
  padding: 24px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
}

.faq-sidebar-contact strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.faq-sidebar-contact p {
  margin-bottom: 17px;
  color: #c3cfdb;
  font-size: 0.9rem;
  line-height: 1.5;
}

.faq-sidebar-contact .text-link {
  color: #9ae0d8;
}

.faq-groups {
  display: grid;
  gap: 28px;
}

.faq-group {
  scroll-margin-top: 120px;
  padding: 44px 48px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq-group-heading {
  margin-bottom: 23px;
}

.faq-heading-spacer {
  display: none;
}

.faq-group-title {
  min-width: 0;
  width: 100%;
}

.faq-group-heading h2 {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  overflow-wrap: normal;
  word-break: normal;
}

.faq-list-card {
  border-top-color: var(--line-light);
}

.faq-list-card details {
  border-bottom-color: var(--line-light);
}

.faq-answer {
  max-width: 760px;
  margin: -4px 56px 25px 0;
  color: var(--muted);
}

.faq-answer a {
  color: var(--teal-dark);
  font-weight: 670;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-sources {
  margin: 3px 0 0;
  padding: 22px 25px;
  border-left: 3px solid var(--teal);
  background: var(--white);
  color: var(--muted);
  font-size: 0.9rem;
}

.faq-sources a {
  color: var(--teal-dark);
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.declaration-cta {
  min-height: 360px;
}

/* Gutenberg page-content compatibility. */
:where(
  .clinic-editable-page > .wp-block-group,
  .clinic-editable-page .wp-block-group
) {
  margin-block-start: 0;
  margin-block-end: 0;
}

/*
 * WordPress 6.0 and some block-editor configurations render a legacy
 * .wp-block-group__inner-container inside every Group block. The visual
 * classes belong to the outer block, so that extra element otherwise becomes
 * the only grid/flex child and collapses multi-column layouts into one column.
 */
.clinic-editable-page .wp-block-group__inner-container {
  display: contents;
}

.clinic-editable-page figure.wp-block-image {
  margin: 0;
}

.clinic-editable-page .wp-block-buttons,
.clinic-editable-page .wp-block-button {
  margin: 0;
}

.clinic-editable-page .wp-block-buttons.section-action {
  margin-top: 34px;
}

.wp-block-button.button-outline-light .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.wp-block-button.button-outline-light .wp-block-button__link:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Keep the hover fill inside the declaration button in the About CTA. */
.about-cta-actions .wp-block-button.button-outline-light:hover {
  background: transparent;
}

.trust-item > p,
.trust-item > .wp-block-group__inner-container > p,
.about-summary-item > p,
.about-summary-item > .wp-block-group__inner-container > p,
.about-fact > p,
.about-fact > .wp-block-group__inner-container > p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.trust-item p > strong,
.about-fact p > strong {
  margin-bottom: 0;
}

.service-card-number {
  display: block;
  margin-bottom: 70px !important;
  color: var(--teal) !important;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-principle-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin: 0;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark) !important;
  font-weight: 800;
}

.service-detail-index {
  margin: 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 720;
}

.service-access-step {
  min-height: 265px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-step-number {
  display: block;
  margin-bottom: 62px !important;
  color: var(--teal-dark) !important;
  font-size: 0.84rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.declaration-summary-list {
  display: grid;
}

.declaration-summary-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-light);
}

.declaration-summary-item p {
  margin: 0;
}

.declaration-summary-item p:last-child strong,
.declaration-summary-item p:last-child small {
  display: block;
}

.declaration-summary-check {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark) !important;
  font-weight: 800;
}

.declaration-step {
  position: relative;
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.declaration-step::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -13px;
  z-index: 2;
  width: 25px;
  height: 1px;
  background: var(--teal);
}

.declaration-step:last-child::after {
  display: none;
}

.document-age {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(9, 33, 75, 0.16);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 760;
}

.faq-quick-links {
  display: grid;
}

.faq-quick-links > p {
  margin: 0;
}

.faq-quick-links a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
  color: var(--navy);
  font-weight: 650;
}

.faq-category-nav {
  line-height: 1.4;
}

.faq-category-nav a {
  display: block;
}

.location-map-address p {
  margin: 0;
}

.location-map-address p:first-child {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-map-address p:last-child {
  color: var(--navy);
  font-size: 0.95rem;
}

.contact-address,
.contact-email {
  display: block;
  max-width: 490px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: 100px;
  background: var(--navy-dark);
  color: #c3cfdb;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr 1.1fr;
  gap: 65px;
  padding: 72px 0 58px;
}

.brand-light {
  color: white;
}

.footer-brand > p {
  max-width: 350px;
  margin: 24px 0 0;
  color: #9baabd;
}

.footer-label {
  margin-bottom: 22px;
  color: #74d6cd;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: white;
}

.footer-schedule p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.footer-schedule strong {
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8d9db1;
  font-size: 0.82rem;
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.footer-cabinet-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(116, 214, 205, 0.42);
  border-radius: 999px;
  background: rgba(0, 143, 140, 0.12);
  color: #d9f7f3;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-cabinet-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-cabinet-button:hover,
.footer-cabinet-button:focus-visible {
  border-color: #74d6cd;
  background: rgba(0, 143, 140, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

@media (max-width: 1140px) {
  .header-topbar {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0 28px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
  }

  .mobile-menu.is-open {
    display: block;
    padding-bottom: 28px;
  }

  .mobile-menu nav {
    display: grid;
    padding: 12px 0;
  }

  .mobile-menu nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-light);
    color: var(--navy);
    font-weight: 620;
  }

  .mobile-menu nav a[aria-current="page"] {
    color: var(--teal-dark);
  }

  .mobile-nav-group > button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border: 0;
    border-bottom: 1px solid var(--line-light);
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    font-weight: 620;
    text-align: left;
  }

  .mobile-nav-group > button[aria-current="page"] {
    color: var(--teal-dark);
  }

  .mobile-nav-group > button[aria-expanded="true"] .nav-caret {
    transform: translateY(2px) rotate(225deg);
  }

  .mobile-nav-submenu {
    padding: 5px 0 8px 18px;
    border-bottom: 1px solid var(--line-light);
    background: var(--canvas);
  }

  .mobile-nav-submenu[hidden] {
    display: none;
  }

  .mobile-menu nav .mobile-nav-submenu a {
    padding: 11px 14px;
    border-bottom: 0;
    font-size: 0.94rem;
  }

  .mobile-phone {
    display: block;
    margin: 10px 0 15px;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 720;
  }

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

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

  .news-grid-home .news-card:last-child {
    display: none;
  }

  .news-controls {
    grid-template-columns: 1fr;
  }

  .declaration-home-inner {
    grid-template-columns: 1fr 0.7fr;
  }

  .declaration-home-inner .button {
    width: fit-content;
  }

  .declaration-home-inner > div {
    grid-column: 1 / -1;
  }

  .declaration-hero-grid {
    gap: 48px;
  }

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

  .declaration-steps li:nth-child(2)::after,
  .declaration-step:nth-child(2)::after {
    display: none;
  }

  .filter-chips {
    justify-content: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1.3fr 0.7fr 1fr;
  }

  .footer-inner > div:last-child {
    grid-column: 1 / -1;
  }

  .about-hero-grid,
  .about-story-grid {
    gap: 48px;
  }

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

@media (max-width: 860px) {
  .section {
    padding: 80px 0;
  }

  .hero-grid,
  .care-grid,
  .split-heading,
  .featured-story,
  .service-detail,
  .team-card,
  .contact-grid,
  .schedule-large,
  .location-visual-grid,
  .list-heading {
    grid-template-columns: 1fr;
  }

  .declaration-home-inner,
  .declaration-hero-grid,
  .services-hero-grid,
  .document-cards,
  .faq-layout,
  .faq-hero-grid,
  .faq-page-layout,
  .about-hero-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .services-hero-grid {
    gap: 42px;
  }

  .service-principles-grid {
    grid-template-columns: 1fr;
  }

  .service-principles article,
  .service-principles article:first-child {
    min-height: 130px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
    border-left: 1px solid var(--line-light);
  }

  .service-principles article:last-child {
    border-bottom: 0;
  }

  .declaration-home-inner {
    gap: 25px;
  }

  .declaration-home-inner > div {
    grid-column: auto;
  }

  .declaration-summary {
    width: min(620px, 100%);
  }

  .declaration-doctor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-access-grid {
    grid-template-columns: 1fr;
  }

  .service-access-grid li,
  .service-access-step {
    min-height: auto;
  }

  .service-access-grid li > span,
  .service-step-number {
    margin-bottom: 34px;
  }

  .declaration-doctor-card:last-child {
    grid-column: 1 / -1;
  }

  .faq-layout {
    gap: 44px;
  }

  .faq-hero-grid {
    gap: 42px;
  }

  .faq-quick-card {
    width: min(620px, 100%);
  }

  .faq-page-layout {
    gap: 40px;
  }

  .faq-sidebar {
    position: static;
  }

  .faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 18px;
    border-top: 0;
  }

  .faq-category-nav a {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
  }

  .faq-sidebar-contact {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4px 24px;
  }

  .faq-sidebar-contact p {
    margin-bottom: 0;
  }

  .faq-sidebar-contact .text-link {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .home-hero {
    padding-top: 65px;
  }

  .hero-grid {
    gap: 48px;
  }

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

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

  .trust-grid > div,
  .trust-item {
    border-bottom: 1px solid var(--line-light);
  }

  .split-heading,
  .care-grid,
  .service-detail,
  .schedule-large,
  .list-heading {
    gap: 36px;
  }

  .arrival-info-grid {
    grid-template-columns: 1fr;
  }

  .arrival-info-card {
    min-height: auto;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto;
    gap: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .arrival-info-card:last-child {
    border-bottom: 0;
  }

  .arrival-help {
    grid-template-columns: 1fr auto;
    gap: 18px 36px;
  }

  .arrival-help p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .service-detail {
    padding: 50px 0;
  }

  .tests-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-summary {
    width: min(620px, 100%);
  }

  .team-photo-placeholder {
    min-height: 300px;
  }

  .featured-visual {
    min-height: 300px;
    border-top: 1px solid rgba(0, 143, 140, 0.16);
    border-left: 0;
  }

  .appointment-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 48px;
  }

  .contact-primary {
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .container,
  .header-inner,
  .footer-inner,
  .footer-bottom,
  .article-container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 66px 0;
  }

  .news-post-grid-page .section {
    padding-top: 34px;
  }

  .news-filter-panel {
    gap: 15px;
    margin-bottom: 26px;
    padding: 16px;
  }

  .news-filter-search {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .news-filter-search .search-icon {
    top: 27px;
  }

  .news-filter-search button {
    width: 100%;
  }

  .news-category-filters {
    flex-wrap: nowrap;
    margin-inline: -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .news-category-filters a {
    flex: 0 0 auto;
  }

  .news-filter-panel.has-active-filter .news-category-filters {
    padding-right: 16px;
  }

  .news-filter-reset {
    position: static;
    width: fit-content;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .header-inner {
    min-height: 80px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
    font-size: 0.9rem;
  }

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

  .header-cta {
    display: none;
  }

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

  .hero-service-card {
    padding: 32px 24px;
  }

  .hero-card-list p {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .trust-grid,
  .service-grid,
  .news-grid,
  .news-grid-home,
  .detail-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .trust-item {
    min-height: 110px;
    border-right: 1px solid var(--line-light);
  }

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

  .service-card > span,
  .service-card-number {
    margin-bottom: 45px;
  }

  .news-grid-home .news-card:last-child {
    display: block;
  }

  .schedule-panel,
  .tests-card,
  .article-callout,
  .contact-card {
    padding: 30px 24px;
  }

  .schedule-row,
  .schedule-table p {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .page-hero,
  .news-hero {
    padding: 60px 0;
  }

  .faq-page-hero {
    padding: 60px 0;
  }

  .faq-page-hero::after {
    display: none;
  }

  .services-hero {
    padding: 60px 0;
  }

  .services-assurance {
    padding: 30px 24px;
  }

  .service-principles article {
    grid-template-columns: 38px 1fr;
    padding: 25px 22px;
  }

  .service-access-grid li,
  .service-access-step {
    padding: 28px 24px;
  }

  .about-team-section {
    padding-top: 60px;
  }

  .about-hero-grid {
    gap: 38px;
  }

  .about-hero-summary {
    padding: 25px 24px;
  }

  .about-facts-grid {
    grid-template-columns: 1fr;
  }

  .about-facts-grid > div {
    min-height: auto;
    padding: 24px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }

  .about-facts-grid > div:last-child {
    border-bottom: 0;
  }

  .about-story-section {
    padding-top: 60px;
  }

  .about-story-grid {
    gap: 42px;
  }

  .about-practice-photo img {
    aspect-ratio: 1 / 1;
  }

  .team-photo-placeholder {
    min-height: 250px;
  }

  .team-card-content {
    padding: 28px 24px 30px;
  }

  .about-cta-actions,
  .about-cta-actions .button {
    width: 100%;
  }

  .featured-content {
    padding: 32px 24px;
  }

  .featured-visual {
    min-height: 240px;
  }

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

  .filter-chips button {
    width: 100%;
  }

  .filter-chips button:first-child {
    grid-column: 1 / -1;
  }

  .article-header {
    padding: 50px 0;
  }

  .breadcrumbs {
    margin-bottom: 38px;
  }

  .article-body {
    padding: 55px 0;
  }

  .appointment-box {
    padding: 38px 25px;
  }

  .declaration-home-inner {
    padding-block: 42px;
  }

  .declaration-home-inner .button {
    width: 100%;
  }

  .declaration-hero {
    padding: 60px 0;
  }

  .declaration-hero::after {
    display: none;
  }

  .declaration-summary,
  .document-card,
  .declaration-doctor-card {
    padding: 28px 24px;
  }

  .declaration-steps,
  .declaration-doctor-grid {
    grid-template-columns: 1fr;
  }

  .declaration-steps li,
  .declaration-step {
    min-height: auto;
    padding: 27px 24px 30px;
  }

  .declaration-steps li::after,
  .declaration-step::after {
    display: none;
  }

  .declaration-step-number {
    margin-bottom: 36px;
  }

  .document-card-heading {
    grid-template-columns: 58px 1fr;
    gap: 15px;
  }

  .document-card-heading > span {
    width: 56px;
    height: 56px;
  }

  .declaration-doctor-card,
  .declaration-doctor-card:last-child {
    grid-column: auto;
    min-height: 275px;
  }

  .faq-list summary {
    padding-right: 42px;
  }

  .faq-list details > p {
    margin-right: 32px;
  }

  .faq-quick-card,
  .faq-group {
    padding: 28px 24px;
  }

  .faq-answer {
    margin-right: 30px;
  }

  .faq-sidebar-contact {
    display: block;
  }

  .faq-sidebar-contact p {
    margin-bottom: 17px;
  }

  .appointment-box .button,
  .stacked-actions,
  .stacked-actions .button {
    width: 100%;
  }

  .contact-primary {
    min-height: auto;
    padding: 38px 24px;
  }

  .contact-phone {
    font-size: 1.8rem;
  }

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

  .entrance-photo img,
  .location-map {
    height: 300px;
  }

  .location-map-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .location-map-footer .button {
    width: 100%;
  }

  .arrival-info-card {
    grid-template-columns: 42px 1fr;
    padding: 25px 22px;
  }

  .arrival-help {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .arrival-help p {
    grid-column: auto;
    grid-row: auto;
  }

  .arrival-help .button {
    width: 100%;
  }

  .footer-inner {
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .footer-cabinet-button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .appointment-modal-backdrop {
    align-items: end;
    padding: 12px;
  }

  .appointment-modal {
    max-height: calc(100vh - 24px);
	padding: 30px 18px 20px;
	border-radius: 18px;
  }

	.appointment-modal-heading {
		padding-right: 42px;
  }

	.appointment-modal h2 {
		font-size: 1.65rem;
  }

	.appointment-modal-close {
		top: 14px;
		right: 14px;
		width: 38px;
		height: 38px;
  }

	.appointment-modal-status {
		margin-top: 18px;
	}

	.appointment-modal-phone-card {
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 16px;
	}

	.appointment-modal-phone-copy {
		align-self: center;
	}

	.appointment-modal-phone-action {
		width: 100%;
		margin: 2px 0 0;
		text-align: center;
	}

	.appointment-modal-info-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.appointment-modal-schedule-panel {
		grid-template-columns: 1fr;
		gap: 13px;
	}

	.appointment-modal-schedule p {
		font-size: 0.84rem;
  }

  .phone-contact-backdrop {
    align-items: end;
    padding: 12px;
  }

  .phone-contact-modal {
    padding: 46px 22px 28px;
    border-radius: 14px;
  }

  .phone-contact-modal h2 {
    font-size: 2rem;
  }
}

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

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

/* «Доступні ліки» — isolated additions for the plugin-backed page. */

.medicines-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 143, 140, 0.14), transparent 32%),
    linear-gradient(145deg, #f7fbff 0%, #edf8f5 100%);
}

.medicines-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -210px;
  width: 440px;
  height: 440px;
  border: 76px solid rgba(9, 33, 75, 0.035);
  border-radius: 50%;
  pointer-events: none;
}

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

.medicines-hero-grid h1 {
  max-width: 760px;
}

.medicines-hero-grid .page-lead {
  max-width: 720px;
}

.medicines-stat-card {
  border-radius: 18px;
  padding: 38px;
  background: var(--navy);
  box-shadow: 0 24px 70px rgba(9, 33, 75, 0.2);
  color: var(--white);
}

.medicines-stat-card .panel-kicker {
  margin-bottom: 14px;
  color: #9ae0d8;
}

.medicines-total {
  display: block;
  margin-bottom: 30px;
  font-size: clamp(3rem, 5.5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.medicines-total-label {
  display: block;
  margin: 8px 0 30px;
  color: #c8d9ec;
  font-size: 1.05rem;
}

.medicines-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.medicines-stat-grid p {
  min-height: 100px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.055);
}

.medicines-stat-grid strong,
.medicines-stat-grid span {
  display: block;
}

.medicines-stat-grid strong {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 1.08rem;
}

.medicines-stat-grid span {
  color: #bdcde0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.medicines-intro-strip {
  border-bottom: 1px solid var(--line-light);
  background: var(--white);
}

.medicines-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.medicines-intro-grid p {
  min-height: 150px;
  margin: 0;
  padding: 38px 34px;
  color: var(--muted);
}

.medicines-intro-grid p + p {
  border-left: 1px solid var(--line-light);
}

.medicines-intro-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.08rem;
}

.medicine-plugin-host {
  background: var(--canvas);
}

.medicine-plugin-host .lc-medicine-search {
  padding: 0;
}

.plugin-required-notice {
  border: 1px solid #f0dfac;
  border-radius: 12px;
  padding: 28px;
  background: #fffaf0;
}

.plugin-required-notice h2 {
  margin-bottom: 10px;
}

.plugin-required-notice p {
  margin: 0;
  color: var(--muted);
}

.family-prescribing-section {
  padding-top: 92px;
  padding-bottom: 18px;
}

.family-prescribing-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 36px;
}

.family-prescribing-intro .eyebrow {
  margin-bottom: 14px;
}

.family-prescribing-intro h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.family-prescribing-intro > p {
  margin-bottom: 4px;
  color: var(--muted);
}

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

.family-prescribing-grid article {
  min-height: 270px;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  padding: 29px;
  background: var(--canvas);
}

.family-prescribing-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 23px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 780;
}

.family-prescribing-grid h3 {
  margin-bottom: 11px;
  font-size: 1.28rem;
}

.family-prescribing-grid p {
  margin: 0;
  color: var(--muted);
}

.special-conditions-details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.special-conditions-details summary {
  position: relative;
  padding: 23px 64px 23px 26px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}

.special-conditions-details summary::-webkit-details-marker {
  display: none;
}

.special-conditions-details summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  color: var(--teal-dark);
  font-size: 1.7rem;
  font-weight: 400;
}

.special-conditions-details[open] summary::after {
  content: "−";
}

.special-conditions-details > div {
  border-top: 1px solid var(--line-light);
  padding: 24px 26px 27px;
}

.special-conditions-details p {
  margin-bottom: 17px;
  color: var(--muted);
}

.special-conditions-details p:last-child {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

.special-conditions-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.special-conditions-details li {
  border: 1px solid var(--mint-strong);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 680;
}

.family-prescribing-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  margin-top: 16px;
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 24px 26px;
  background: var(--blue-soft);
}

.family-prescribing-note > div {
  max-width: 850px;
}

.family-prescribing-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
}

.family-prescribing-note p {
  margin: 0;
  color: #405169;
}

.family-prescribing-note .button {
  flex: 0 0 auto;
}

.medicines-directions-section {
  padding-bottom: 86px;
}

.medicines-heading {
  align-items: end;
}

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

.medicine-direction-card {
  position: relative;
  min-height: 305px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 15px;
  padding: 31px;
  background: var(--white);
  box-shadow: 0 12px 38px rgba(9, 33, 75, 0.055);
}

.medicine-direction-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--mint);
}

.medicine-direction-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 760;
}

.medicine-direction-card h3 {
  max-width: 310px;
  margin-bottom: 12px;
}

.medicine-direction-card > p {
  margin: 0;
  color: var(--muted);
}

.registry-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 55px;
  margin-top: 28px;
  border-radius: 17px;
  padding: 46px 50px;
  background: var(--mint);
}

.registry-callout .eyebrow {
  margin-bottom: 12px;
}

.registry-callout h2 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.registry-callout p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
}

.medicines-medical-note {
  margin-top: 24px;
}

.medicines-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.medicines-steps li {
  min-height: 285px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 29px;
  background: var(--white);
}

.medicines-steps li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 750;
}

.medicines-steps h3 {
  margin-bottom: 10px;
}

.medicines-steps p {
  margin: 0;
  color: var(--muted);
}

.medicines-support-section {
  padding-top: 48px;
  background: var(--white);
}

.medicines-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.medicines-support-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 190px;
  border: 1px solid var(--line-light);
  border-radius: 14px;
  padding: 32px;
  background: var(--canvas);
}

.medicines-support-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--teal-dark);
}

.medicines-support-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.medicines-support-card h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.medicines-support-card p {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.medicines-support-card .button {
  min-width: 128px;
  flex: 0 0 auto;
}

.medicines-phone-button {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.medicines-phone-button:hover {
  border-color: var(--teal-dark);
  background: var(--mint);
}

.medicines-short-faq {
  margin-top: 68px;
}

.medicines-short-faq > h2 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

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

.medicines-short-faq-list details {
  border-bottom: 1px solid var(--line);
}

.medicines-short-faq-list summary {
  position: relative;
  padding: 20px 64px 20px 20px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 720;
  list-style: none;
}

.medicines-short-faq-list summary::-webkit-details-marker {
  display: none;
}

.medicines-short-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  color: var(--teal-dark);
  font-size: 1.7rem;
  font-weight: 400;
}

.medicines-short-faq-list details[open] summary::after {
  content: "−";
}

.medicines-short-faq-list details > p {
  max-width: 900px;
  margin: -3px 64px 22px 20px;
  color: var(--muted);
}

@media (max-width: 1050px) {
  .medicines-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
    gap: 42px;
  }

  .family-prescribing-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .family-prescribing-grid {
    grid-template-columns: 1fr;
  }

  .family-prescribing-grid article {
    min-height: 0;
  }

  .medicine-direction-grid,
  .medicines-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medicines-support-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .medicines-support-card .button {
    width: fit-content;
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .medicines-hero-grid,
  .medicines-intro-grid,
  .medicine-direction-grid {
    grid-template-columns: 1fr;
  }

  .medicines-hero-grid {
    gap: 36px;
  }

  .medicines-intro-grid p {
    min-height: 0;
    padding: 25px 0;
  }

  .medicines-intro-grid p + p {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .family-prescribing-section {
    padding-top: 72px;
  }

  .family-prescribing-note {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .family-prescribing-note .button {
    width: fit-content;
  }

  .medicine-direction-card {
    min-height: 0;
  }

  .registry-callout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 34px;
  }

  .registry-callout .button {
    width: fit-content;
  }

  .medicines-support-grid {
    grid-template-columns: 1fr;
  }

  .medicines-support-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .medicines-stat-card {
    padding: 27px;
  }

  .medicines-stat-grid,
  .medicines-steps {
    grid-template-columns: 1fr;
  }

  .medicines-stat-grid p,
  .medicines-steps li {
    min-height: 0;
  }

  .medicine-direction-card,
  .medicines-steps li {
    padding: 24px;
  }

  .family-prescribing-grid article,
  .special-conditions-details > div {
    padding: 23px;
  }

  .special-conditions-details summary {
    padding: 21px 55px 21px 23px;
  }

  .family-prescribing-note {
    padding: 22px;
  }

  .family-prescribing-note .button {
    width: 100%;
  }

  .registry-callout {
    padding: 28px 24px;
  }

  .registry-callout .button {
    width: 100%;
  }

  .medicines-support-section {
    padding-top: 34px;
  }

  .medicines-support-card {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 25px 23px;
  }

  .medicines-support-card .button {
    width: 100%;
    grid-column: 1;
  }

  .medicines-short-faq {
    margin-top: 52px;
  }

  .medicines-short-faq-list summary {
    padding: 19px 48px 19px 2px;
  }

  .medicines-short-faq-list summary::after {
    right: 8px;
  }

  .medicines-short-faq-list details > p {
    margin-right: 36px;
    margin-left: 2px;
  }
}
