/* Calm homepage refinement: open sections, restrained surfaces, clear reading order. */
body { background: var(--canvas); }
h1 { letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1.12; letter-spacing: -0.03em; }

.canvas.hero { box-shadow: none; background: var(--mist); }
.canvas.content-panel {
  margin-top: 48px;
  padding: 24px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.canvas.content-panel--services { margin-top: 72px; }
.content-panel > .section + .section { padding-top: 96px; }
.content-panel .section__head { padding-inline: 0; margin-bottom: 40px; }
.section__aside p, .booking__intro p { font-size: 1.125rem; }

/* Services are the two clear choices after the introduction. */
.paths { gap: 24px; align-items: stretch; }
.path.tile--dark { background: var(--mist); color: var(--ink); border-radius: 20px; }
.path.tile--dark .path__link, .path.tile--dark .path__link:hover { color: var(--ink); }
.path.tile--dark p { color: var(--ink-2); max-width: 45ch; }
.path.tile--dark .path__more, .path.tile--dark .path__service-icon { color: var(--teal); }
.path.tile--dark .path__corner { background: var(--white); color: var(--ink); box-shadow: none; }
.path.tile--dark:has(.path__link:focus-visible) { outline-color: var(--teal); }
.path:hover { box-shadow: none; background: var(--sage); }
.path h3 { font-size: clamp(1.625rem, 1.3rem + 0.8vw, 2rem); line-height: 1.15; }

/* A single layer of numbered cards makes booking easy to scan. */
.booking .section__head { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
.booking__intro { width: auto; gap: 20px; }
.booking__intro p { width: auto; max-width: 60ch; }
.steps { gap: 32px; }
.steps li.tile { padding: 24px; background: var(--mist); border-radius: 16px; }
.steps__num { font-size: 2rem; font-weight: 400; margin-bottom: 12px; }
.steps h3 { max-width: 23ch; }
.booking__boxes { gap: 32px; margin-top: 32px; }
.booking__boxes .box { padding: 24px 0; background: transparent; border-radius: 0; border-top: 1px solid var(--hair); color: var(--ink); }
.booking__boxes .box p { color: var(--ink-2); }
.booking__boxes .link-ext, .booking__boxes .link-ext:hover { color: var(--teal); }
.booking__boxes .box h3 { font-size: 1.375rem; }
.small-note { margin-top: 12px; padding: 0; font-size: 1rem; }

/* Keep the approved 1/3 + 2/3 doctor layout and a light profile card layer. */
.doctors-section { gap: 40px; }
.doctors-section .doctors { gap: 16px 24px; }
.doctors-section .doctor { padding: 24px; border-radius: 16px; background: var(--white); }
.doctor__pending { display: none; }
.doctor__name { font-size: 1.125rem; line-height: 1.4; }
.doctor__role { margin-top: 6px; font-size: 1rem; }
.doctor__photo { background: var(--mist); }

/* Prices share one broad surface; avoid cards nested inside it. */
.prices__grid { gap: 48px; }
.prices .prices__intro, .prices .price-card { padding: 0; background: transparent; border-radius: 0; }
.prices__intro { gap: 20px; }
.prices__intro .link-arrow { margin-top: 0; }
.price-table th, .price-table td { padding-block: 24px; }
.price-table tbody th { font-size: 1.125rem; }

/* Patient guides become compact text links; the warning keeps a meaningful accent. */
.guides { gap: 24px; }
.guides .guide {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 36px;
  grid-template-rows: auto 1fr;
  gap: 8px 16px;
  min-height: 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--white);
}
.guide:hover { box-shadow: none; background: var(--mist); }
.guide__icon { grid-column: 1; grid-row: 1; width: 32px; height: 32px; margin: 0; background: transparent; }
.guide__corner { position: static; grid-column: 3; grid-row: 1; width: 36px; height: 36px; background: var(--mist); }
.guide__title { grid-column: 2; grid-row: 1; margin: 0; align-self: center; font-size: 1.25rem; }
.guide__desc { grid-column: 2; grid-row: 2; font-size: 1rem; }
.guides .guide--alert { background: var(--apricot); }
.guide--alert .guide__icon { color: var(--rust); background: transparent; }
.guide--alert .guide__corner { background: var(--apricot); }
.guide:hover .guide__title { text-decoration: underline; text-underline-offset: 0.2em; }

/* The location image and map stand alone, without a surrounding panel. */
.directions { gap: 24px; }
.directions__photo { height: 400px; border-radius: 20px; }
.directions__photo.is-parallax { clip-path: inset(0 round 20px); }
.directions .way { padding: 24px 0; background: transparent; border-radius: 0; gap: 12px; }
.way__icon { width: 32px; height: 32px; margin-bottom: 8px; background: transparent; }
.way h3 { font-size: 1.25rem; }
.way p, .bus-list { font-size: 1rem; }
.map { border-radius: 20px; border: 1px solid rgba(43, 91, 92, 0.05); }

.site-footer { margin-top: 64px; box-shadow: none; }
.footer__word { font-size: clamp(2rem, 9.5vw, 9rem); letter-spacing: -0.04em; }
.footer__links a { text-underline-offset: 0.22em; }

@container canvas (min-width: 64rem) {
  .prices__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
@media (max-width: 960px) {
  .masthead .mainnav__list a, .masthead .sub-toggle { padding-inline: 6px; }
  .canvas.content-panel { padding: 24px; margin-top: 32px; }
  .canvas.content-panel--services { margin-top: 40px; }
  .content-panel > .section + .section { padding-top: 64px; }
  .booking .section__head { grid-template-columns: minmax(0, 1fr); }
  .booking .section__aside { justify-items: start; }
  .doctors-section { gap: 32px; }
  .site-footer { margin-top: 40px; }
}
@media (max-width: 639px) {
  .masthead .mainnav__list a, .masthead .sub-toggle { padding-inline: 4px; font-size: 0.875rem; }
  .canvas.content-panel { padding: 16px 12px; }
  .content-panel .section__head { margin-bottom: 28px; }
  .paths, .steps, .guides, .booking__boxes, .prices__grid { gap: 24px; }
  .path.tile--dark { padding: 24px; border-radius: 16px; }
  .doctors-section .doctor { flex-wrap: nowrap; align-items: flex-start; }
  .doctor__body { flex-basis: auto; }
  .doctor__photo { width: 56px; height: 56px; }
  .contact-strip__value { font-size: 1.0625rem; }
  .footer__brand .brand__name { font-size: 1.125rem; max-width: none; }
  .footer__company { font-size: 1rem; }
}

@media (max-width: 359px) {
  .masthead .mainnav__list a, .masthead .sub-toggle { font-size: 0.75rem; }
  .masthead .call-link__word { display: none; }
  .masthead .call-link { min-width: 48px; padding-inline: 4px; justify-content: center; }
}

/* One broad pricing surface gives this information a clear visual boundary. */
.canvas.content-panel--prices { padding: 24px; background: var(--mist); border-radius: 24px; }

/* Consistent spacing between small cards at every breakpoint. */
.paths, .steps, .doctors-section .doctors, .guides, .booking__boxes { gap: 16px; }

/* Shared radius scale: small content cards 24px, full-width surfaces 32px. */
.path.tile,
.doctors-section .doctor,
.steps li.tile,
.guides .guide { border-radius: 24px; }
.canvas.hero,
.canvas.content-panel--prices,
.hero > .hero__tiles > .tile--facts,
.tile.directions__photo,
.tile.map,
.tile.site-footer { border-radius: 32px; }
.directions__photo.is-parallax { clip-path: inset(0 round 32px); }
.directions__photo.is-parallax picture { inset: -88px 0; height: calc(100% + 176px); transform: translate3d(0, calc(var(--parallax-y, 0px) + 40px), 0); }
@media (prefers-reduced-motion: reduce) {
  .directions__photo picture { position: absolute; inset: -40px 0; height: calc(100% + 80px); transform: translateY(40px); }
}

/* Section rhythm: separate major sections without changing card-grid gaps. */
.canvas.content-panel,
.canvas.content-panel--services { margin-top: 160px; }
.content-panel > .section + .section { padding-top: 160px; }
.tile.site-footer { margin-top: 160px; }

/* Annotated review: hero hierarchy, table emphasis, and edge-to-edge footer. */
.hero__since { letter-spacing: 0.09em; }
.hero__subheading { margin: 24px 0 0; font-size: clamp(1.25rem, 1rem + 0.6vw, 1.625rem); font-weight: 500; line-height: 1.35; color: var(--teal); max-width: 28ch; }
@media (max-width: 359px) { .hero h1 { font-size: 2.25rem; } }
.price-table thead th { color: var(--ink); font-weight: 600; }
.price-table tbody th, .price-table tbody td { color: var(--ink-2); font-weight: 400; }
.page { padding-bottom: 0; }
.tile.site-footer { width: 100%; max-width: none; margin-inline: 0; padding: 80px 80px 24px; border-radius: 32px 32px 0 0; }
@media (max-width: 639px) { .tile.site-footer { padding-inline: 24px; } }
.footer__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.footer__disclosure { position: relative; width: fit-content; }
.footer__menu-toggle { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1.25rem; font-weight: 500; cursor: pointer; list-style: none; }
.footer__menu-toggle::-webkit-details-marker { display: none; }
.footer__menu-toggle .icon { width: 16px; height: 16px; }
.footer__disclosure[open] .footer__menu-toggle .icon { transform: rotate(180deg); }
.footer__menu-toggle:hover { color: var(--lime); }
.footer__menu-list .footer__submenu { top: calc(100% + 8px); margin: 0; }
.footer__menu-list .footer__submenu a { color: var(--on-dark); }
.footer__menu-list .footer__submenu a:hover { color: var(--ink); }

/* Edge-to-edge header, with only its lower corners rounded. */
.masthead { width: 100%; max-width: none; margin: 0; top: 0; border-radius: 0 0 32px 32px; }

/* Glyph bounds set the SVG viewBox so the wordmark touches the bottom edge. */
.tile.site-footer { padding-bottom: 0; }
.footer__word { display: block; width: 100%; max-width: none; height: auto; margin: 40px 0 0; transform: none; overflow: visible; }
.footer__word text { font-family: "Inter", sans-serif; font-size: 100px; font-weight: 400; letter-spacing: 0; fill: currentColor; }
@media print {
  .canvas.content-panel { margin-top: 24px; padding: 0; }
  .content-panel > .section + .section { padding-top: 24px; }
}

/* Transparent iris with floating, readable glass facts. */
.hero .hero__visual { position: relative; overflow: visible; background: transparent; border-radius: 0; aspect-ratio: 1; min-height: 560px; }
.hero .hero__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero__badges { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.hero__badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: 24px; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(30,52,54,.07); color: var(--ink); font-size: 1rem; line-height: 1.4; }
.hero__badge strong { font-weight: 600; }
.hero__badge-icon { flex: 0 0 40px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.7); color: var(--teal); }
.hero__badge-icon .icon { width: 24px; height: 24px; }
.hero__badge--partner { top: 18%; right: 2%; }
.hero__badge--experience { top: 23%; left: 0; }
.hero__badge--access { bottom: 23%; right: 0; }
.hero__badge--languages { bottom: 13%; left: 7%; }
.way .way__parking { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--ink); font-size: 1rem; }
.way__parking .facts__icon { flex: 0 0 40px; width: 40px; height: 40px; }
@media (min-width: 960px) {
  .canvas.hero { grid-template-rows: auto minmax(0, 1fr); }
  .hero .hero__visual { grid-column: 2; grid-row: 1 / 3; aspect-ratio: auto; }
}
@media (max-width: 959px) {
  .hero .hero__visual { width: 100%; max-width: 680px; align-self: center; min-height: 0; }
}
@media (max-width: 599px) {
  .hero .hero__visual { aspect-ratio: auto; padding-top: 100%; padding-bottom: 128px; }
  .hero .hero__visual > img { height: auto; aspect-ratio: 1; }
  .hero__badges { inset: auto 0 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .hero__badge { position: static; padding: 14px 12px; gap: 8px; font-size: .8125rem; border-radius: 24px; }
  .hero__badge-icon { flex-basis: 32px; width: 32px; height: 32px; }
  .hero__badge-icon .icon { width: 20px; height: 20px; }
  .hero__badge--experience { order: -1; }
}

/* Desktop hero heading reaches 64px at a 1440px viewport. */
@media (min-width: 960px) {
  .hero h1 { font-size: clamp(2.75rem, calc(100vw / 22.5), 4rem); }
}

/* Wide-screen annotation refinements, 31 October. */
.masthead { padding-inline: max(16px, calc((100% - 1440px) / 2)); }
.canvas.hero { width: calc(100vw - 32px); max-width: none; margin-left: calc(50% - 50vw + 16px); margin-right: 0; margin-bottom: 16px; }
.canvas.content-panel--prices { padding: 40px; }
.prices__grid { column-gap: 80px; }
.canvas.content-panel--guides { padding: 0 40px; }
.guides .guide--alert, .guides .guide--alert:hover { background: var(--dark); color: var(--on-dark); }
.guide--alert .guide__title { color: var(--on-dark); }
.guide--alert .guide__desc { color: var(--on-dark-2); }
.guide--alert .guide__icon { color: var(--lime); }
.guide--alert .guide__corner { background: transparent; color: var(--on-dark); }
.canvas.content-panel--directions { padding: 0; }
.content-panel--directions .directions { grid-template-columns: minmax(0, 1fr); }
.directions__ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 80px; row-gap: 24px; padding-inline: 40px; }
.tile.site-footer { padding-inline: max(80px, calc((100% - 1440px) / 2)); }
@media (max-width: 1151px) {
  .directions__ways { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 639px) {
  .canvas.content-panel--prices { padding: 24px; }
  .canvas.content-panel--guides { padding-inline: 24px; }
  .directions__ways { grid-template-columns: minmax(0,1fr); padding-inline: 24px; }
  .tile.site-footer { padding-inline: 24px; }
}
@media (min-width: 960px) {
  .canvas.hero { min-height: calc(100svh - 100px); }
}
