:root {
  color-scheme: light;
  --ink: #212954;
  --muted: #4b536b;
  --accent: #1e4799;
  --accent-hover: #173777;
  --soft: #f3f6fe;
  --paper: #fff;
  --line: #dce2f0;
  --radius: 1.25rem;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #ad5b22; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1150px, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; top: -6rem; background: white; padding: .75rem; z-index: 9; }
.skip:focus { top: .5rem; }
.utility { background: var(--ink); color: white; font-size: .86rem; }
.utility .wrap, .masthead, .nav, .actions, .section-heading { display: flex; align-items: center; gap: 1rem; }
.utility .wrap, .masthead, .section-heading { justify-content: space-between; }
.utility .wrap { min-height: 37px; }
.masthead { min-height: 79px; }
.brand { flex: none; }
.brand img { width: 70px; }
.nav { font-size: .92rem; font-weight: 650; }
.nav a, .utility a { text-decoration: none; }
.nav a:hover, .utility a:hover { text-decoration: underline; }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: .63rem 1.05rem; border: 1px solid transparent; border-radius: .55rem; background: var(--accent); color: white; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--accent-hover); text-decoration: none; }
.button.secondary { border-color: var(--line); background: var(--paper); color: var(--ink); }
.button.secondary:hover { background: var(--soft); }
.hero { background: var(--soft); padding: clamp(2.5rem, 6vw, 5.8rem) 0; }
.hero-grid, .split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 5vw, 4.8rem); }
.hero-visual { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hero-visual img { aspect-ratio: 4/3; object-fit: cover; }
.hero-visual figcaption { padding: .65rem 1rem; color: var(--muted); font-size: .88rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.13; margin: 0; }
h1 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(2.5rem, 5.5vw, 4.7rem); letter-spacing: -.045em; }
h2 { font-family: Georgia, serif; font-weight: 500; font-size: clamp(1.95rem, 4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
.lead { max-width: 56ch; font-size: 1.12rem; }
.lead, .muted, .card p { color: var(--muted); }
.actions { flex-wrap: wrap; margin-top: 1.5rem; }
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0; padding: 0; }
.facts li { display: grid; padding: 1.2rem; border-inline-start: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.facts li:last-child { border-inline-end: 1px solid var(--line); }
.facts strong { color: var(--ink); font-size: 1.05rem; }
.section { padding-block: clamp(2.75rem, 6vw, 5.6rem); }
.tinted { background: var(--soft); }
.section-heading { align-items: end; margin-bottom: 1.5rem; }
.cards, .gallery { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; }
.card a { display: block; text-decoration: none; height: 100%; }
.card a:hover h3 { text-decoration: underline; }
.card img { aspect-ratio: 4/3; object-fit: cover; }
.card-copy { display: grid; gap: .45rem; padding: 1rem; }
.card-copy span { color: var(--accent); font-size: .9rem; }
.gallery a { display: block; overflow: hidden; border-radius: .75rem; background: white; }
.gallery img { aspect-ratio: 1; object-fit: cover; }
.split > img { border-radius: var(--radius); }
.accordion { max-width: 760px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 1rem 0; font-weight: 700; }
details p { margin: 0 0 1rem; color: var(--muted); }
.contact { background: var(--ink); color: white; }
.contact .eyebrow { color: #ffd5a2; }
.contact a:not(.button):hover { color: #ffd5a2; }
footer { padding: 1.3rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
@media (max-width: 920px) {
  .masthead { position: relative; flex-wrap: wrap; gap: 0; padding-block: .7rem; }

  .nav { flex-basis: 100%; flex-wrap: wrap; align-items: start; padding-block: .8rem; }

}
@media (max-width: 700px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: .65rem .4rem; font-size: .75rem; }
  .facts strong { font-size: .84rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .nav { flex-direction: column; }
}
.hero { background: linear-gradient(125deg, #fff6eb, #f3f6fe 65%); }
.hero .button:not(.secondary) { background: #f79420; color: var(--ink); }
.hero .button:not(.secondary):hover { background: #ffac4f; }
.hero-visual img { object-position: 83% center; }
.footer-logo { width: 56px; }
footer .wrap { display: flex; gap: 1rem; align-items: center; }

/* Shared navigation and clinic pages */
.mast { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.utility .wrap > div { display: flex; gap: 1.35rem; align-items: center; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 55px; }
.brand strong { display: grid; line-height: 1.05; font-size: 1.1rem; }
.brand span { font-size: .8rem; font-weight: 600; color: var(--muted); }
.nav-group { position: relative; border: 0; }
.nav-group > summary { list-style: none; padding: .7rem 0; white-space: nowrap; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "⌄"; margin-left: .3rem; color: var(--accent); }
.nav-group[open] > summary { color: var(--accent); }
.submenu { min-width: 15rem; position: absolute; top: 100%; left: -.65rem; padding: .45rem; border: 1px solid var(--line); border-radius: .75rem; box-shadow: 0 12px 32px #2129541f; background: var(--paper); }
.submenu a { display: block; padding: .45rem .65rem; border-radius: .35rem; }
.submenu a:hover { background: var(--soft); }
.hero-pro { background: #162240; color: white; }
.hero-pro .eyebrow { color: #ffc57e; }
.hero-pro .lead { color: #e0e7fb; }
.hero-pro .hero-visual { border: 1px solid #4a5673; border-radius: 0 3rem 0 3rem; background: #1e4799; }
.hero-pro h1 { max-width: 13ch; }
.hero-pro .hero-visual img { aspect-ratio: 6/5; object-position: 86% center; }
.cards-pro { grid-template-columns: repeat(3,minmax(0,1fr)); }
.cards-pro .card img { aspect-ratio: 16/9; }
.section-heading .actions { margin-top: 0; }
.page-hero { padding-block: clamp(2.5rem, 5vw, 5rem); background: linear-gradient(110deg,#fff5e8,#f1f5ff); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 25ch; overflow-wrap: anywhere; font-size: clamp(2.2rem,4.8vw,4rem); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, 24%); align-items: start; gap: clamp(1.6rem,4vw,4rem); padding-block: 2.8rem 1rem; }
.detail-grid.full { grid-template-columns: minmax(0,1fr); }
.prose { min-width: 0; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); margin: 1.6rem 0 .65rem; }
.prose h3, .prose h4 { margin: 1.2rem 0 .55rem; }
.prose p, .prose ul, .prose ol { max-width: 75ch; }
.prose img { width: auto; max-width: 100%; height: auto; border-radius: .75rem; }
.prose .gallery { margin-block: 1.3rem; }
.prose .gallery img, .prose .card img { width: 100%; }
.prose figure { margin: 1rem 0; }
.prose table { max-width: 100%; display: block; overflow: auto; }
.prose details { margin: .25rem 0; }
.prose .inline-card { display: inline-block; width: min(15rem, 100%); margin: .6rem; vertical-align: top; }
.prose a, .directory a { text-underline-offset: .2rem; }
.sidebar, .cta-box { padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--soft); }
.sidebar h2 { font-size: 1.5rem; margin-bottom: .8rem; }
.sidebar a { display: block; padding-block: .5rem; border-top: 1px solid var(--line); }
.directory { padding-block: 2.5rem 4rem; }
.directory section + section { margin-top: 2rem; }
.directory-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; margin-top: 1rem; }
.directory-links a { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .65rem .85rem; background: white; border: 1px solid var(--line); border-radius: .45rem; }
footer { background: #111b37; color: white; padding-block: 2.5rem; }
footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; align-items: start; gap: 1rem 2rem; }
footer a { display: block; margin-bottom: .4rem; }
@media (max-width: 1050px) {
  .masthead { position: relative; flex-wrap: wrap; gap: 0; padding-block: .7rem; }

  .nav { flex-basis: 100%; flex-wrap: wrap; align-items: start; padding-block: .8rem; }

  .submenu { position: static; box-shadow: none; }
}
@media (max-width: 700px) {
  .detail-grid { grid-template-columns: 1fr; }
  .cards-pro, .directory-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  footer .footer-grid { grid-template-columns: 1fr; }
  .utility .wrap > div { gap: .45rem; }
}
@media (max-width: 400px) {
  .directory-links { grid-template-columns: 1fr; }
  .utility { font-size: .74rem; }
}
.page-title { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.page-title img { width: min(35%, 325px); aspect-ratio: 2.4; object-fit: cover; border-radius: .75rem; }
@media (max-width: 600px) {
  .page-title { display: block; }
  .page-title img { width: 100%; margin-top: 1rem; }
}

/* Editorial home, consultation and results */
:root { --radius: 1rem; }
body { font-family: "Segoe UI", Arial, sans-serif; }
.hero-pro { background: radial-gradient(ellipse at top right, #2a437b, transparent 50%), #111b37; }
.hero-pro .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.hero-pro .hero-visual { border-radius: 1rem; box-shadow: 0 24px 65px #060d225c; }
.hero-pro .hero-visual img { aspect-ratio: 1.3; }
.hero-pro h1 { font-size: clamp(3rem, 6vw, 5.35rem); }
.hero-pro .lead { max-width: 43ch; }
.facts { background: #fffaf2; }
.facts strong { font-size: clamp(.88rem, 1.7vw, 1.15rem); }
.cards-pro .card { transition: box-shadow .2s, transform .2s; }
.cards-pro .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #111b3716; }
.cards-pro .card img { object-position: center 35%; }
.gallery a:focus-visible { outline-offset: 2px; }
.quick-inquiry { background: #fbf4e9; }
.inquiry { padding: clamp(1.2rem, 3.6vw, 2.3rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 48px #2129540c; }
.consultation-page .inquiry { max-width: 47rem; margin-inline: auto; }
.consultation-page h1 { font-size: clamp(2.2rem,5vw,3.8rem); }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
.fields label { display: grid; align-content: start; gap: .35rem; font-size: .92rem; font-weight: 650; min-width: 0; }
.fields .field-wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { width: 100%; min-height: 44px; font: inherit; padding: .55rem .65rem; border: 1px solid #9ba9c1; border-radius: .45rem; color: var(--ink); background: white; }
.fields textarea { resize: vertical; }
.agreement { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; margin: .95rem 0; }
.agreement input { margin: .35rem 0 0; }
.form-alternate { margin-bottom: 0; font-size: .88rem; color: var(--muted); }
.quick-contact { z-index: 5; position: fixed; bottom: max(.9rem, env(safe-area-inset-bottom)); right: .9rem; min-height: 44px; display: flex; align-items: center; gap: .5rem; padding: .5rem .95rem; color: white; background: #075e46; text-decoration: none; border-radius: 2rem; font-weight: 700; box-shadow: 0 6px 22px #111b3740; }
.quick-contact:hover { background: #034936; }
footer { padding-bottom: 5rem; }
.lightbox { width: min(55rem,calc(100% - 1.5rem)); max-height: calc(100% - 1.5rem); border: 1px solid var(--line); border-radius: 1rem; padding: .75rem; color: var(--ink); background: white; }
.lightbox::backdrop { background: #070e23d9; }
.lightbox img { height: min(68vh,42rem); width: 100%; object-fit: contain; background: #f7f8fc; }
.lightbox-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .5rem; padding-top: .75rem; }
@media (max-width: 700px) {
  .hero-pro .hero-grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cards-pro .card { transition: none; }
}

/* International patient experience */
:root {
  --ink: #10243b;
  --muted: #42556a;
  --accent: #174b78;
  --accent-hover: #103757;
  --line: #d9e1e8;
  --soft: #f2f6f8;
  --radius: .65rem;
}
.utility { background: #10243b; color: #edf4fa; }
.utility .wrap { min-height: 36px; }
.masthead { min-height: 86px; }
.brand img { width: 60px; }
.nav { gap: clamp(.75rem, 2vw, 1.9rem); }
.nav .button { font-size: .86rem; margin-left: .35rem; }
.nav-group > summary { font-weight: 650; }
.nav-group > summary::after {
  content: "";
  display: inline-block;
  vertical-align: .18em;
  margin-left: .55rem;
  width: .38rem;
  height: .38rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.nav-group[open] > summary::after { transform: rotate(225deg); }
.nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.submenu {
  min-width: 16rem;
  padding: .55rem;
  border-radius: .5rem;
  box-shadow: 0 14px 32px #10243b20;
}
.submenu a { padding: .7rem .65rem; }
.hero-pro {
  background: #f7f8f9;
  color: var(--ink);
  padding-block: clamp(2.75rem, 6vw, 5.75rem);
}
.hero-pro .eyebrow, .hero-pro .lead { color: var(--muted); }
.hero-pro h1 { font-size: clamp(2.55rem, 5.5vw, 5rem); max-width: 13ch; }
.hero-pro .hero-visual {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px #10243b12;
}
.hero-pro .hero-visual img { aspect-ratio: 3/2; object-position: center; }
.hero-pro .hero-visual figcaption { background: white; }
.hero-pro .button:not(.secondary) { background: var(--accent); color: white; }
.hero-pro .button:not(.secondary):hover { background: var(--accent-hover); }
.facts { background: #fff; }
.facts li { border-color: var(--line); }
.quick-inquiry, .planning { background: var(--soft); }
.guide-list { display: grid; gap: 1rem; }
.planning .guide-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
.guide-list > section { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.guide-list > section p:last-child { margin-bottom: 0; }
.guide-content { max-width: 810px; }
.guide-content h2 { font-size: 1.65rem; }
.guide-content > :first-child { margin-top: 0; }
.clinic-photo { border-radius: var(--radius); margin-block: 1.5rem; }
footer { background: #10243b; }
footer strong { display: block; margin-bottom: .85rem; }
.quick-contact { background: #164c44; }
@media (max-width: 1050px) {
  .nav { gap: .35rem 1rem; }
}
@media (max-width: 700px) {
  .nav { align-items: stretch; }
  .nav > a { padding-block: .55rem; }
  .nav > .button { margin-left: 0; align-self: start; }
  .nav-group + .nav-group { border-top: 1px solid var(--line); }
  .submenu { min-width: 0; }
  .planning .guide-list { grid-template-columns: 1fr; }
}

/* Shared mega navigation */
.masthead { gap: 1rem; }
.nav { gap: clamp(.6rem,1.15vw,1.15rem); }
.nav-group { position: static; }
.mega-panel {
  top: 100%;
  left: 50%;
  width: min(1120px,calc(100% - 2.5rem));
  transform: translateX(-50%);
  max-height: min(68vh, 38rem);
  overflow: auto;
  padding: 1.25rem;
  border-radius: 0 0 .85rem .85rem;
  border-top: 2px solid var(--accent);
  box-shadow: 0 24px 54px #10243b24;
}
.mega-panel ul { padding: 0; margin: 0; list-style: none; }
.mega-panel > ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; }
.mega-panel li ul { margin: .2rem 0 0 .6rem; border-left: 1px solid var(--line); }
.mega-panel a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: .5rem; }
.mega-panel a small { flex: none; color: var(--muted); font-size: .7rem; font-weight: 400; }
.mega-related { display: flex; gap: .6rem; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: .8rem; padding-top: .6rem; }
.mega-related a { color: var(--accent); }
.topic-group { margin-bottom: 2rem; }
.topic-group article { border-bottom: 1px solid var(--line); padding: 1rem 0; scroll-margin-top: 1rem; }
.topic-group article:target { background: var(--soft); }
@media (min-width: 1051px) {
  .nav { font-size: .83rem; }
}
@media (max-width: 1050px) {
  .mega-panel { position: static; transform: none; width: 100%; max-height: none; padding: .55rem; border-radius: .65rem; }
  .mega-panel > ul { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav > .button { align-self: start; }
  .nav-group { width: 100%; }
}


/* Responsive navigation controls */
.menu-toggle { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
}
.menu-icon::before, .menu-icon::after { content: ""; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.nav-group > summary { min-height: 44px; }
.nav-group[open] > summary { text-decoration: underline; text-underline-offset: .45em; }
.mega-panel a { border: 1px solid transparent; }
.mega-panel a:hover, .mega-panel a:focus-visible { border-color: var(--line); }
.utility a[hreflang] { padding-inline-start: .9rem; border-inline-start: 1px solid #ffffff42; }
@media (max-width: 1050px) {
  .menu-toggle {
    display: grid;
    place-items: center;
    position: relative;
    min-width: 46px;
    min-height: 46px;
    color: var(--ink);
    background: white;
    border: 1px solid var(--line);
    border-radius: .5rem;
    cursor: pointer;
  }
  .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--soft); }
  .nav[data-open="false"] { display: none; }
  .nav { padding-block: 0 .8rem; border-top: 1px solid var(--line); }
  .nav > a:not(.button), .nav-group > summary { padding-inline: .45rem; }
  .nav-group + .nav-group { border-top: 1px solid var(--line); }
  .mega-panel { max-height: min(48vh, 26rem); overscroll-behavior: contain; }
}


/* English homepage banner */
.home-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-block-size: clamp(32rem, calc(100vh - 122px), 54rem);
  min-block-size: clamp(32rem, calc(100svh - 122px), 54rem);
  background: #10243b;
  color: #fff;
}
.home-banner__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.home-banner__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
}
.home-banner__content {
  align-self: center;
  max-inline-size: 47rem;
  padding: clamp(2rem, 5vw, 6rem);
}
.home-banner .eyebrow { color: #eac294; }
.home-banner h1 {
  max-inline-size: 13ch;
  font-size: clamp(2.8rem, 5.15vw, 5.6rem);
  line-height: 1.02;
  text-wrap: balance;
}
.home-banner__intro {
  max-inline-size: 42ch;
  margin: 1.25rem 0 0;
  color: #d9e5ef;
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}
.home-banner .actions { gap: .75rem; margin-top: 1.75rem; }
.home-banner .home-banner__primary { color: #10243b; background: #f3d5b1; }
.home-banner .home-banner__primary:hover { background: #ffe5c6; }
.home-banner .home-banner__secondary { color: #fff; background: transparent; border-color: #8099b0; }
.home-banner .home-banner__secondary:hover { background: #223e5a; }
.home-banner a:focus-visible { outline-color: #f3d5b1; }
@media (max-width: 800px) {
  .home-banner { grid-template-columns: 1fr; min-block-size: 0; }
  .home-banner__photo { aspect-ratio: 16 / 10; }
  .home-banner__content { max-inline-size: none; padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 3rem; }
  .home-banner h1 { max-inline-size: 18ch; }
}


/* Patient planning links below the English homepage banner */
.patient-start {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background: #f2f5f8;
}
.patient-start h2 { margin-bottom: clamp(1.15rem, 2vw, 1.8rem); }
.patient-start__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
  padding: 0;
  margin: 0;
  list-style: none;
}
.patient-start__links a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.2rem, 2.6vw, 2rem);
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid #bf9161;
  border-radius: .65rem;
  color: var(--ink);
  text-decoration: none;
}
.patient-start__links h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.9vw, 1.48rem);
  line-height: 1.25;
}
.patient-start__links p { margin: .75rem 0 1.35rem; color: var(--muted); }
.patient-start__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
  color: var(--accent);
  font-size: .92rem;
  font-weight: 650;
}
.patient-start__links a:hover, .patient-start__links a:focus-visible { border-color: #bf9161; }
.patient-start__links a:hover .patient-start__action { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 800px) {
  .patient-start__links { grid-template-columns: 1fr; }
}


/* Shared clinic footer */
.site-footer {
  background: #10243b;
  color: #fff;
  border: 0;
  padding-block: 0 max(4.6rem, env(safe-area-inset-bottom));
  font-size: .95rem;
}
.site-footer .wrap { display: grid; align-items: start; }
.site-footer .site-footer__lead {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 2rem;
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid #ffffff2e;
}
.site-footer__lead h2 { font-size: clamp(1.45rem, 3vw, 2.15rem); margin: 0; }
.site-footer__lead p { color: #d4dfeb; margin: .45rem 0 0; }
.site-footer__lead .button { margin: 0; color: #10243b; background: #f3d5b1; }
.site-footer__lead .button:hover { background: #ffe5c6; }
.site-footer__grid {
  grid-template-columns: 1.35fr 1fr 1.1fr 1.15fr;
  gap: 2rem clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem);
}
.site-footer__grid h2 { margin: 0 0 .75rem; font-size: 1rem; font-weight: 700; }
.site-footer__identity p { margin: 0 0 .55rem; }
.site-footer__identity address { font-style: normal; }
.site-footer__identity p, .site-footer__identity address { color: #d4dfeb; }
.site-footer__column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__column a, .site-footer__bottom a {
  display: inline-block;
  margin: 0;
  color: #d4dfeb;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer__column a:hover, .site-footer__bottom a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { outline-color: #f3d5b1; }
.site-footer__bottom {
  grid-template-columns: 1fr auto;
  padding-top: 1rem;
  border-top: 1px solid #ffffff2e;
  color: #d4dfeb;
}
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer__grid, .site-footer__lead { grid-template-columns: 1fr; }
  .site-footer__lead .button { justify-self: start; }
}


/* Patient journey */
.journey-content { padding-block: clamp(1.5rem, 4vw, 3.5rem); }
.journey-content > * + * { margin-top: 1.5rem; }
.journey-nav, .journey-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}
.journey-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  text-decoration: none;
}
.journey-nav a:hover, .journey-nav a[aria-current="page"] { background: var(--soft); }
.journey-stages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-top: 1rem; }
.journey-box { border: 1px solid var(--line); border-radius: .75rem; padding: clamp(1rem, 3vw, 2rem); background: #fff; }
.journey-box ol { padding-inline-start: 1.6rem; }
.journey-box li + li { margin-top: .7rem; }
.journey-box li p { margin: .3rem 0 0; }
.journey-note { background: var(--soft); padding: .85rem 1rem; border-radius: .5rem; }
.journey-box fieldset { min-inline-size: 0; margin: 1rem 0; padding: .8rem; border: 1px solid var(--line); }
.journey-box legend { font-weight: 700; padding-inline: .35rem; }
.journey-box fieldset label { min-height: 44px; display: flex; align-items: center; gap: .55rem; }
.journey-box input[type="date"] { min-height: 44px; padding: .45rem; font: inherit; }
.journey-actions { margin-top: .7rem; }
.journey-box [data-stage] { font-weight: 700; }
.journey-content li[id] { scroll-margin-top: 1rem; }
.journey-content li[id]:target { background: var(--soft); }
.guide-entry { padding-top: 1rem; }
@media (max-width: 650px) { .journey-stages { grid-template-columns: 1fr; } }
@media print {
  body:has(.patient-journey [data-checklist]) > :not(.patient-journey),
  .patient-journey:has([data-checklist]) .journey-content > :not([data-checklist]),
  .patient-journey [data-print] { display: none !important; }
  .patient-journey .journey-content { padding: 0; }
  .patient-journey .journey-box { break-inside: avoid; }
}
