/* Shared visual refinements; load after the existing page styles. */
:root { --text-link: #05638b; }
body { font-size: 16px; }
.text-link, .inline-link, #dialog-body a { color: var(--text-link); }
.text-link { font-size: 15px; }
.site-header .header-main { gap: 24px; }
.site-header .header-phone span { font-size: 12px; line-height: 1.6; }
.site-header .header-address { font-size: 13px; }
.site-header .header-address small { font-size: 12px; }
.site-header .button-small { font-size: 14px; min-height: 48px; }
.site-header .nav-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0 16px;
  min-height: 58px;
  font-size: 15px;
}
.site-header .nav-inner a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 12px 0;
  line-height: 1.5;
  white-space: nowrap;
}
.site-header .nav-inner .nav-phone { display: none; }
.site-header .nav-inner [aria-current] { color: var(--blue-dark); }
.site-header .nav-inner a:hover { color: var(--blue-dark); }

/* Keep supporting information legible without changing the headline scale. */
.hero-description { font-size: 16px; }
.hero-copy .eyebrow, .clinic-copy .eyebrow { font-size: 12px; }
.hero-note { font-size: 13px; }
.hero-actions .button { font-size: 14px; }
.hero-actions .text-link { font-size: 14px; }
.photo-label { font-size: 11px; }
.heading-aside, .reviews-heading > p:not(.eyebrow) { font-size: 14px; }
.service-category { font-size: 11px; }
.service-card > p, .section-intro, .clinic-benefit p, .steps p { font-size: 15px; }
.clinic-benefit h3 { font-size: 16px; }
.service-link, .service-bottom, .service-bottom .text-link { font-size: 14px; }
.reassurance > div, .reassurance > a { font-size: 12px; }
.quote-card figcaption { font-size: 14px; }
.quote-card figcaption small { font-size: 12px; }
.questions details p, .booking-copy > p:not(.eyebrow) { font-size: 15px; }
.questions summary { font-size: 16px; }
.booking-phone-caption, .demo-notice { font-size: 12px; }
.field label { font-size: 14px; }
.field input { font-size: 16px; }
.consent, .error { font-size: 13px; }
.form-status { font-size: 14px; }
.contact-label, .district-tag { font-size: 12px; }
.contact-details .text-link { font-size: 14px; }
.footer-links, .footer-links button { font-size: 13px; }
.footer-brand span, .footer-copyright, .prototype-note { font-size: 12px; }
.medical-note { font-size: 16px; color: var(--muted); }
.inner-lead { font-size: 17px; }
.crumb { font-size: 14px; }
.inner-notice span, .inner-small { font-size: 14px; }

/* Reading width and row rhythm make a long price list easier to scan. */
.prices-page .inner-intro .container,
.prices-page .inner-content { max-width: 1040px; }
.price-group ul { border: 1px solid var(--line); border-radius: 12px; }
.price-row {
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.55;
  gap: 12px 20px;
}
.price-row:nth-child(even) { background: #f5f9fb; }
.price-row:last-child { border-bottom: 0; border-radius: 0 0 12px 12px; }
.price-row:hover, .price-row:focus-within { background: var(--sky); }
.price-row strong { color: var(--blue-dark); }
.price-tools { gap: 16px; }
.price-search { font-size: 14px; }
.price-search input { min-height: 48px; }
.segments button { font-size: 14px; }
.calc-total .total-count, .calc-total small { font-size: 13px; }
.calc-total .reset-calc { font-size: 13px; }
.quantity button, .quantity input { min-height: 44px; }
.price-row .quantity { flex-shrink: 0; }

@media (max-width: 1279px) {
  .site-header .header-address { display: none; }
  .site-header .header-phone { margin-left: auto; }
}

/* Nine destinations fit in one row on desktop and a deliberate grid on tablets. */
@media (max-width: 1199px) {
  .site-header .header-main { min-height: 94px; gap: 20px; }
  .site-header .menu-toggle { display: inline-flex; flex-shrink: 0; }
  .site-header .navigation { display: none; }
  .site-header .navigation.is-open { display: block; background: #f6f9fa; }
  .site-header .nav-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    padding-block: 10px 16px;
  }
  .site-header .nav-inner a {
    min-height: 48px;
    padding: 12px 8px;
    white-space: normal;
    border-bottom: 1px solid var(--line);
  }
  .site-header .desktop-book { display: none; }
}

@media (max-width: 1100px) {
  .calc-layout .price-row { grid-template-columns: minmax(0, 1fr) auto; }
  .calc-layout .price-row > span { grid-column: 1 / -1; }
  .calc-layout .price-row > strong { grid-column: 1; grid-row: 2; align-self: center; }
  .calc-layout .price-row .quantity { grid-column: 2; grid-row: 2; justify-self: end; }
}

@media (max-width: 850px) {
  .site-header .header-phone span { white-space: normal; max-width: 250px; }
  .hero-copy .eyebrow, .clinic-copy .eyebrow { font-size: 11px; }
  .hero-description { font-size: 15px; }
  .clinic-benefit p, .steps p { font-size: 14px; }
  .service-card > p { font-size: 15px; }
  .service-link { font-size: 13px; }
  .heading-aside { font-size: 13px; }
  .booking-copy { position: static; }
  .booking-phone, .booking-phone-caption { position: static; }
  .booking-phone { margin-top: 20px; }
  .booking-copy > p:not(.eyebrow) { max-width: 42ch; }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-header .header-main { min-height: 70px; gap: 12px; }
  .site-header .header-phone { display: none; }
  .site-header .nav-inner { grid-template-columns: 1fr; gap: 0; }
  .site-header .nav-inner a { font-size: 15px; }
  .site-header .nav-inner .nav-phone { display: none; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-actions .button { font-size: 13px; }
  .hero-actions .text-link { font-size: 13px; }
  .hero-note { font-size: 12px; }
  .service-link { font-size: 14px; }
  .service-bottom { flex-wrap: wrap; gap: 0 8px; text-align: center; }
  .reassurance > div, .reassurance > a { font-size: 11px; }
  .inner-lead { font-size: 16px; }
  .price-row { padding: 13px 12px; font-size: 15px; gap: 10px 12px; }
  .inner-page .segments button { font-size: 12px; padding-inline: 6px; }
  .price-tools { gap: 10px; margin-bottom: 20px; }
  .calc-layout .price-row .quantity { grid-template-columns: 44px 48px 44px; gap: 4px; }
  .calc-layout .quantity button, .calc-layout .quantity input { min-height: 44px; height: 44px; }
  .calc-total .total-count { font-size: 11px; }
  .footer-top { align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 4px 18px; }
  .prototype-note { flex-wrap: wrap; gap: 6px 16px; }
  .medical-note { font-size: 14px; }
}

/* Keep list controls reachable on a tall phone without covering the price rows. */
@media (max-width: 700px) and (min-height: 700px) {
  .prices-page .price-tools, .calculator-page .price-tools {
    position: sticky;
    top: 0;
    z-index: 4;
    padding-block: 12px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .prices-page .price-row, .calculator-page .price-row { scroll-margin-top: 172px; }
  .prices-page .price-row button, .calculator-page .price-row button,
  .prices-page .price-row input, .calculator-page .price-row input {
    scroll-margin-top: 172px;
    scroll-margin-bottom: 120px;
  }
}

@media (max-width: 359px) {
  .hero-actions { flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; }
  .hero-actions .button { font-size: 13px; }
  .hero-actions .text-link { font-size: 13px; }
  .inner-page .segments button { font-size: 11px; padding-inline: 3px; }
  .price-row { padding-inline: 10px; }
  .calc-layout .price-row { column-gap: 8px; }
}

/* Targeted content polish. Load after inner.css and sections-v7.css. */

/* Initials identify the doctor without reserving portrait-sized space. */
.inner-page .doctor-card {
  grid-template-columns: 112px minmax(0, 760px);
  gap: 28px;
}

.inner-page .doctor-card > .doctor-monogram {
  width: 112px;
  min-height: 112px;
  height: 112px;
  border-radius: 20px 20px 40px 20px;
  font-size: 40px;
  line-height: 1;
}

.inner-page .doctor-card > div:last-child {
  min-width: 0;
  padding: 0;
}

/* Each review keeps its natural height and the caption close to the text. */
.inner-page .section-content > .section-grid > .review-card {
  align-content: start;
  gap: 12px;
}

@media (min-width: 701px) {
  .inner-page .section-content > .section-grid:has(> .review-card) {
    align-items: start;
    row-gap: 16px;
  }
}

@media (max-width: 700px) {
  .inner-page .doctor-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .inner-page .doctor-card > .doctor-monogram {
    width: 80px;
    min-height: 80px;
    height: 80px;
    border-radius: 16px 16px 30px 16px;
    font-size: 32px;
  }
}
