/* Visual system adapted from the owner's «тест астра 6 МЦ» src/style.css.
   Manrope, white/sage surfaces, forest controls, 9/14/24px corner scale.
   Existing page structure, doctor cards, proof and API contracts stay intact. */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20BC,U+20BE-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-ruble-wght-normal.woff2") format("woff2");
  unicode-range: U+20BD;
}
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --font: "Manrope Variable", Arial, sans-serif;
  --display: var(--font);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --page: #fff;
  --canvas: #fff;
  --surface: #fff;
  --paper: #fff;
  --white: #fff;
  --ink: #283e34;
  --muted: #59695f;
  --line: #dce4da;
  --green: #285c48;
  --field: #285c48;
  --field-dark: #234e3d;
  --action: #285c48;
  --action-dark: #194b38;
  --red: var(--action);
  --signal: var(--action);
  --focus: #285c48;
  --soft: #edf3eb;
  --mint: #edf3eb;
  --pale: #f6f8f3;
  --info: #edf3eb;
  --brand-mark: #285c48;
  --brand-mark-ink: #fff;
  --color-canvas: var(--page);
  --color-ink: var(--ink);
  --color-text-muted: var(--muted);
  --color-divider: var(--line);
  --color-field: var(--field);
  --color-field-strong: var(--field-dark);
  --color-action-primary: var(--action);
  --color-proof-info: var(--mint);
  --color-on-field: #fff;
  --color-on-field-muted: #dce8da;
  --color-on-proof-info: var(--ink);
  --catalog-ink: var(--ink);
  --catalog-muted: var(--muted);
  --catalog-green: var(--green);
  --catalog-soft: var(--mint);
  --catalog-line: var(--line);
  --catalog-canvas: var(--page);
  --catalog-red: var(--action);
  --doctor-card-ink: var(--ink);
  --doctor-card-muted: var(--muted);
  --doctor-card-green: var(--green);
  --doctor-card-line: var(--line);
  font-family: var(--font);
  color-scheme: light;
}
body, button, input, select, textarea, summary { font-family: var(--font); }
body { background: var(--page); color: var(--ink); font-size: 16px; }
body h1, body h2, body h3, body blockquote { font-family: var(--font); }
:root body :is(h1, h2, h3, blockquote) { font-family: var(--font); }
body h1, body h2, body h3 { font-weight: 550; letter-spacing: -.03em; line-height: 1.2; }
p { line-height: 1.65; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.button:focus-visible, .search-input:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }

/* One wordmark and navigation treatment across the existing page families. */
.site-header { position: relative; background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.site-header .header-inner { min-height: 92px; gap: 24px; }
.site-header .brand { color: var(--green); gap: 0; text-decoration: none; flex-shrink: 0; }
.brand .brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand .brand-copy strong { font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.045em; }
.brand .brand-plus { color: #789369; font-weight: 450; margin-left: 3px; }
.brand .brand-copy small { display: block; font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.site-header .desktop-nav { gap: 20px; }
.site-header .desktop-nav a, .site-header .nav a { font-size: 14px; font-weight: 550; }
.site-header .header-phone { font-size: 16px; font-weight: 750; white-space: nowrap; }
.site-header .header-cta { font-size: 14px; padding-inline: 18px; min-height: 48px; }
.mobile-nav { display: none; position: relative; z-index: 10; }
.mobile-nav summary { display: grid; place-items: center; cursor: pointer; list-style: none; border: 1px solid var(--line); border-radius: 9px; background: var(--pale); font-weight: 650; min-width: 64px; min-height: 48px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; top: calc(100% + 8px); right: 0; width: min(84vw, 330px); padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgb(40 62 52 / .1); }
.mobile-nav-panel a { display: flex; align-items: center; min-height: 48px; padding: 10px; color: var(--ink); font-size: 16px; font-weight: 550; text-decoration: none; border-bottom: 1px solid var(--line); }

.primary-action, .secondary-action, .button, .catalog-button, .hero-actions .call, .hero-actions .prices, .final-cta a {
  border-radius: 9px; min-height: 52px; padding: 14px 22px;
  font-family: var(--font); font-size: 16px; font-weight: 650; line-height: 1.4;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
}
.primary-action, .button-primary, .button.primary, .catalog-button, .hero-actions .call {
  background: var(--action); border: 1px solid var(--action); color: #fff;
}
.secondary-action, .button-secondary, .hero-actions .prices { background: #fff; border: 1px solid var(--line); color: var(--green); }
.primary-action:active, .secondary-action:active, .button:active, .catalog-button:active { transform: translateY(1px); }
.text-action, .phone-link { font-weight: 650; font-size: 16px; text-underline-offset: 4px; }

/* The reference's framed sage hero, with current content and existing imagery. */
.home-page .hero {
  margin-top: 28px; min-height: 480px; padding: 12px;
  display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px;
  background: #edf2e8; border-radius: 24px; overflow: hidden;
}
.home-page .hero-copy { padding: 30px 24px 30px 30px; }
.home-page .place { margin: 0 0 20px; max-width: 42ch; color: #536c50; font-size: 14px; font-weight: 600; letter-spacing: .03em; line-height: 1.5; text-transform: none; }
.home-page .hero h1 { max-width: none; margin: 0; font-size: clamp(42px, 4.2vw, 60px); font-weight: 550; line-height: 1.14; letter-spacing: -.04em; text-wrap: balance; }
.home-page .hero h1 span { color: #62804f; }
.home-page .hero-lead { margin: 24px 0; max-width: 40ch; font-size: 18px; line-height: 1.65; color: var(--muted); }
.home-page .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-page .hero-phone { display: flex; align-items: center; flex-basis: 100%; min-height: 44px; margin: 0; font-size: 16px; font-weight: 650; }
.home-page .hero-media { height: 100%; min-height: 430px; margin: 0; overflow: hidden; border-radius: 18px; }
.home-page .hero-media picture, .home-page .hero-media img { width: 100%; height: 100%; }
.home-page .hero-media img { object-fit: cover; object-position: 56% center; border-radius: 0; }
.home-page .route-section { background: #fff; color: var(--ink); padding: 24px 0 0; }
.home-page .route-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.home-page .route-primary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.home-page .route-panel, .home-page .route-panel + .route-panel { min-height: 94px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--green); }
.home-page .route-panel-copy strong { font-size: 21px; font-weight: 600; line-height: 1.35; }
.home-page .route-panel-copy > span { color: var(--muted); font-size: 16px; }
.home-page .route-panel-arrow { color: var(--green); font-size: 24px; }
.home-page .route-help-band { margin: 16px 0 0; padding: 0 0 16px; border-top: 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.home-page .route-help-band p { font-size: 16px; color: var(--muted); }
.home-page .route-help-band a { color: var(--green); background: transparent; font-size: 16px; font-weight: 600; }
.home-page .doctors-section { padding-block: 64px; background: #fff; }
.home-page .doctors-heading { display: block; }
.home-page .section-title, .home-page .price-title, .home-page .contact-title, .homepage-articles-heading h2 { max-width: none; font-size: clamp(30px, 3vw, 42px); font-weight: 550; line-height: 1.2; letter-spacing: -.03em; }
.home-page .section-intro { margin-top: 14px; max-width: 62ch; opacity: 1; color: var(--muted); font-size: 18px; }
.home-page .doctor-marketplace { margin-top: 28px; }
.home-page .price-path { background: var(--mint); color: var(--ink); padding-block: 44px; }
.home-page .price-copy { color: var(--muted); font-size: 18px; }
.home-page .homepage-articles { padding-block: 64px; background: #fff; }
.home-page .homepage-articles-label { display: none; }
.home-page .contacts { background: var(--pale); color: var(--ink); padding-block: 64px; }
.home-page .contact-copy, .home-page .contact-phone { color: var(--ink); }
.home-page .contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
.home-page .contact-actions > a { display: flex; align-items: center; justify-content: center; max-width: 100%; text-decoration: none; }
.home-page .contact-phone { flex-wrap: wrap; gap: 4px 8px; color: #fff; font-size: 16px; font-weight: 650; line-height: 1.4; }
.home-page .contact-phone span { white-space: nowrap; }
.home-page .address-field { background: #e7efe1; color: var(--green); border-radius: 20px; }
.home-page .address-field b { color: var(--green); }

/* Preserve card content, portraits, reviews and booking behavior. */
.doctor-card-inner, .specialist-card, .doctor-card { border-color: var(--line); border-radius: 14px; }
.doctor-card-media { background: var(--pale); }
.doctor-card-photo { object-fit: contain; object-position: center top; border-radius: 9px; }
/* Only identity sits beside the portrait; services and proof span the card below. */
.home-page .doctor-card-inner {
  height: auto;
  min-height: 0;
  grid-template-rows: auto auto auto auto auto;
  grid-template-areas:
    "media body"
    "commercial commercial"
    "review review"
    "schedule schedule"
    "actions actions";
  align-content: start;
  align-self: start;
}
.home-page .doctor-commercial-route {
  grid-area: commercial;
  min-width: 0;
  margin: 12px 22px 0;
}
.home-page .doctor-card-media {
  min-height: 0;
  align-self: start;
  background: transparent;
}
.home-page .doctor-card-media picture {
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: var(--pale);
}
.home-page .doctor-card-photo {
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
}
.doctor-card-name, .specialist-name, .doctor-card-copy strong { font-weight: 650; line-height: 1.2; }
.doctor-card-specialty, .doctor-experience, .doctor-commercial-price span, .doctor-commercial-choice,
.doctor-card-review-source-row, .doctor-card-review-metrics, .doctor-card-review-quote,
.doctor-card-schedule-note, .doctor-schedule-disclosure, .specialist-role, .specialist-experience,
.specialist-routes p span, .specialist-clinic-patients, .specialist-review-heading,
.specialist-review-stats, .specialist-review-quote { font-size: 16px; line-height: 1.5; }
.doctor-commercial-price { flex-wrap: wrap; }
.doctor-commercial-price strong { font-size: 18px; }
.home-page .doctor-card-review-source-row { flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px; }
.home-page .doctor-card-review-rating, .home-page .doctor-card-review-count { flex-shrink: 0; white-space: nowrap; }
.home-page .doctor-card-review-rating { font-size: 16px; }
.doctor-commercial-direction-chip { font-size: 15px; font-weight: 600; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 9px; border-color: var(--line); background: var(--pale); color: var(--green); }
.doctor-card-action { border-radius: 9px; font-size: 16px; font-weight: 650; min-height: 52px; white-space: normal; }
.doctor-card-schedule { background: var(--pale); border-color: var(--line); }
.doctor-filter-button { font-size: 16px; min-height: 48px; font-weight: 600; border-radius: 9px; }
.specialist-more { font-weight: 650; font-size: 16px; }
.specialist-routes { background: var(--pale); }
.specialist-routes nav a { min-height: 44px; font-size: 15px; font-weight: 600; border-radius: 9px; }
.specialist-review-quote { display: block; -webkit-line-clamp: unset; }
.catalog-hero { padding: 42px 0 30px; background: var(--pale); border-color: var(--line); }
.catalog-hero h1 { font-size: clamp(38px, 4.2vw, 58px); line-height: 1.16; font-weight: 550; letter-spacing: -.035em; }
.catalog-hero-layout { grid-template-columns: 1fr; gap: 16px; }
.catalog-kicker { margin-bottom: 12px; text-transform: none; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.catalog-intro { padding: 0; }
.catalog-intro p { margin: 0 0 8px; max-width: 64ch; font-size: 18px; line-height: 1.6; }
.catalog-section { padding-block: 32px 64px; }
.catalog-toolbar { margin-bottom: 24px; }
.catalog-toolbar h2 { font-size: 28px; font-weight: 550; }
.catalog-search { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 16px; align-items: end; margin-bottom: 14px; }
.catalog-search label { display: grid; gap: 8px; font-size: 16px; font-weight: 600; }
.catalog-search input, .catalog-search select, .search-input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid #aebcad; border-radius: 9px; font-size: 16px; color: var(--ink); background: #fff; }
.catalog-search input::placeholder, .search-input::placeholder { color: var(--muted); opacity: 1; }
.catalog-search button { min-height: 54px; padding: 12px 18px; background: var(--pale); color: var(--green); border: 1px solid var(--line); border-radius: 9px; font-size: 16px; cursor: pointer; }
.catalog-search-status { margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.catalog-search-empty { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--pale); }
.catalog-cta { background: var(--mint); color: var(--ink); padding-block: 48px; }
.catalog-cta h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 550; }
.catalog-cta p { color: var(--muted); }

/* Profiles remain full profiles, with the existing proof and service chooser. */
.doctor-hero { background: var(--pale); padding-block: 42px; }
.doctor-hero-grid { min-height: 0; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: 48px; }
.doctor-hero h1 { max-width: 17ch; font-size: clamp(40px, 4.3vw, 62px); line-height: 1.12; font-weight: 550; letter-spacing: -.035em; }
.doctor-hero .specialty { font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.5; }
.qualification { margin-top: 20px; padding-top: 16px; font-weight: 650; }
.hero-intro { font-size: 18px; line-height: 1.65; }
.doctor-portrait { border-radius: 20px; max-width: 440px; }
.hero-price span, .final-price span { font-size: 16px; font-weight: 600; line-height: 1.45; }
.hero-price strong, .final-price strong { font-size: 30px; font-weight: 650; line-height: 1.25; }
.profile-proof-quote { font-size: clamp(20px, 2vw, 26px); line-height: 1.5; letter-spacing: -.01em; }
.section-space { padding-block: 64px; }
.section-heading h2, .doctor-story-heading h2, .final-cta h2, .other-doctors h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; font-weight: 550; letter-spacing: -.03em; }
.consultation-scene img { border-radius: 18px; }
.schedule-preview-time, .doctor-card-schedule-time, .schedule-preview-nav button, .doctor-card-schedule-nav button { min-height: 48px; font-size: 16px; border-radius: 9px; }
.schedule-preview-time[aria-pressed="true"], .doctor-card-schedule-time[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
.schedule-preview-dates { scrollbar-width: thin; scrollbar-color: #8a9e86 var(--mint); padding-bottom: 6px; }
.schedule-preview-more, .doctor-card-schedule-more { min-height: 48px; font-size: 16px; }
.doctor-card-schedule-confirm, .doctor-card-schedule-branch { min-height: 52px; font-size: 16px; line-height: 1.4; border-radius: 9px; }
.doctor-card-schedule-title, .doctor-card-schedule-month { font-size: 16px; }
.schedule-request-button {
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: #fff;
  color: var(--green);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.schedule-request-button:hover { background: var(--mint); }
.schedule-request-button:focus-visible,
.schedule-request-form :is(input, button, a):focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.schedule-request-form {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 520px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.schedule-request-form h3,
.schedule-request-form p { margin: 0; }
.schedule-request-form h3 { font-size: 22px; line-height: 1.3; }
.schedule-request-form > p { color: var(--muted); line-height: 1.5; }
.schedule-request-form label:not(.schedule-request-consent) { display: grid; gap: 6px; font-weight: 650; }
.schedule-request-form input:not([type="checkbox"]) {
  width: 100%; min-height: 54px; padding: 10px 12px;
  border: 1px solid #aebcad; border-radius: 9px;
  background: #fff; color: var(--ink); font: inherit;
}
.schedule-request-form .schedule-request-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.schedule-request-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; }
.schedule-request-consent input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; }
.schedule-request-form a { color: var(--green); text-underline-offset: 3px; }
.schedule-request-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.schedule-request-actions button { min-height: 52px; padding: 10px 16px; border-radius: 9px; font: inherit; font-weight: 700; cursor: pointer; }
.schedule-request-submit { border: 0; background: var(--green); color: #fff; }
.schedule-request-submit:disabled { opacity: .65; cursor: wait; }
.schedule-request-cancel { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.schedule-request-status { min-height: 1.5em; color: #8b321f !important; }
.schedule-request-success { color: var(--ink) !important; font-weight: 700; }
.schedule-section .schedule-request-form { grid-column: 2; }
@media (max-width: 900px) { .schedule-section .schedule-request-form { grid-column: 1 / -1; } }
@media (max-width: 767px) { body:has(.schedule-request-form) .doctor-mobile-cta { display: none; } }
.doctor-card-schedule-date span { font-size: 14px; }

/* Keep service/proof bindings; give prices and profile actions distinct space. */
.price-page .page-hero { padding: 40px 0 28px; background: var(--pale); }
.price-page .page-hero h1 { font-size: clamp(38px, 4.2vw, 58px); font-weight: 550; line-height: 1.16; letter-spacing: -.035em; }
.price-page .page-hero .lead { font-size: 18px; max-width: 65ch; line-height: 1.65; }
.price-page .page-hero .actions { margin-top: 18px; }
.price-page .catalogue { padding-top: 28px; }
.price-page .search-box { margin: 0 0 20px; padding: 0; background: transparent; border: 0; }
.price-page .search-box label { font-size: 16px; }
.price-page .category-nav { margin-bottom: 28px; gap: 8px; }
.price-page .category-nav a { font-size: 15px; min-height: 44px; padding: 10px 14px; border-radius: 9px; background: var(--pale); border: 1px solid var(--line); }
.price-page .price-group h2 { font-size: 30px; font-weight: 550; }
.price-page .price-name { font-size: 18px; line-height: 1.5; }
.price-page .price-value { font-size: 20px; font-weight: 700; }
.price-page .price-doctor-link { min-height: 48px; font-size: 16px; font-weight: 600; }
.price-page .price-note { font-size: 16px; }
.price-page .price-row { grid-template-columns: minmax(0, 1fr) max-content minmax(200px, .75fr); align-items: center; gap: 12px 20px; }
.price-page .price-doctor-links, .price-page .price-row > .price-doctor-link { grid-area: doctor; min-width: 0; max-width: 100%; }
.price-page .price-doctor-link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: center; }
.price-page .price-doctor-links .price-doctor-link { width: 100%; min-width: 0; }
/* A service and its following doctor proof form one panel, separated from the next. */
.price-page .price-list:has(> .price-doctor-proof) { border: 0; border-radius: 0; background: transparent; overflow: visible; }
.price-page .price-list:has(> .price-doctor-proof) > .price-row { margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.price-page .price-list:has(> .price-doctor-proof) > .price-row:first-child { margin-top: 0; }
.price-page .price-list > .price-row:has(+ .price-doctor-proof:not([hidden])) { border-bottom: 0; border-radius: 14px 14px 0 0; }
.price-page .price-doctor-proof { margin: 0; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--pale); }
.price-page .price-doctor-proof-specialty, .price-page .price-doctor-proof-patients, .price-page .price-doctor-proof-stats { font-size: 14px; line-height: 1.5; }
.price-page .price-doctor-proof-quote { font-size: 16px; line-height: 1.5; }
.price-page .price-doctor-proof-review { color: var(--ink); font-size: 14px; line-height: 1.5; }
.price-page .price-doctor-proof-review span { color: inherit; font-size: inherit; line-height: inherit; }
.price-page .price-doctor-proof-review span:first-child { color: #ad7618; }
@media (min-width: 901px) {
  .price-page .price-row:not(:has(.price-doctor-link)) { grid-template-columns: minmax(0, 1fr) max-content; grid-template-areas: "name value" "note note"; }
}
@media (max-width: 900px) {
  .price-page .price-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; }
  .price-page .price-row > * { grid-area: auto; grid-column: 1; min-width: 0; }
  .price-page .price-doctor-links, .price-page .price-row > .price-doctor-link { grid-area: auto; grid-column: 1; width: 100%; justify-self: stretch; }
}

/* Cross-surface type/rhythm; preserve navigation maps and article content. */
.direction-hero { padding-block: 44px; background: var(--pale); }
.direction-hero h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.16; font-weight: 550; letter-spacing: -.035em; }
.direction-hero h1, .policy-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
.direction-hero .shell > div { min-width: 0; }
.policy-hero h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.16; }
.direction-hero-copy p { font-size: 18px; line-height: 1.65; }
.direction-index, .reason-section, .visit-section, .doctors-section { padding-block: 64px; }
.direction-index h2, h2.section-heading { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.2; font-weight: 550; }
.direction-card { border-radius: 14px; min-height: 0; }
.direction-card-main > strong { font-size: 28px; line-height: 1.25; font-weight: 600; }
.reason-section { background: var(--mint); color: var(--ink); }
.reason-copy p { color: var(--muted); }
.reason-list, .reason-list li { border-color: var(--line); }
.reason-list span { color: var(--green); }
.final-cta { background: var(--mint); color: var(--ink); }
.final-cta .final-layout h2, .final-cta .final-price strong { color: var(--ink); }
.final-cta .section-kicker, .final-cta .final-layout > div > p, .final-cta .final-price span { color: var(--muted); }
.final-cta .final-conversion .phone-link { color: var(--green); }
.profile-statement p + p { font-family: var(--font); }
.articles-contact .article-button, .article-next .article-button { background: #fff; color: var(--green); border: 1px solid var(--line); border-radius: 9px; font-size: 16px; }
.articles-contact .article-button:hover, .article-next .article-button:hover { background: var(--mint); color: var(--green); }
.articles-hero h1, .article-hero h1 { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.16; font-weight: 550; }
.contact-hero { padding-top: 40px; }
.contact-hero .hero-copy h1 { max-width: 12ch; font-size: clamp(40px, 4.8vw, 64px); line-height: 1.15; font-weight: 550; }
.parking-heading h2, .walk-copy h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.18; font-weight: 550; }
.parking-section { background: var(--mint); color: var(--ink); }
.parking-heading > p:not(.parking-disclaimer), .parking-disclaimer, .scheme-note, .route-steps p { color: var(--muted); }
.parking-map-link { color: var(--green); }
.route-steps > li > span { color: var(--green); }
.parking-section .route-steps, .parking-section .route-steps li { border-color: var(--line); }
.site-footer { background: #f4f6f1; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer a, .site-footer strong { color: var(--ink); }
.site-footer .footer-inner p { color: var(--muted); }

@media (hover: hover) and (pointer: fine) {
  .primary-action:hover, .button-primary:hover, .button.primary:hover, .catalog-button:hover { background: var(--action-dark); border-color: var(--action-dark); color: #fff; }
  .secondary-action:hover, .button-secondary:hover { background: var(--mint); color: var(--green); }
  .home-page .route-panel:hover { background: var(--pale); border-color: #b5c8ac; }
}
@media (max-width: 1150px) {
  .site-header .desktop-nav, .site-header .nav, .site-header .header-cta { display: none; }
  .site-header .mobile-nav { display: block; margin-left: 0; }
  .site-header .header-phone { display: block; margin-left: auto; }
  .shell { width: min(1240px, calc(100% - 48px)); }
  .home-page .hero { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-page .hero-copy { padding: 24px 16px; }
  .doctor-hero-grid { gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr); }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .home-page .doctor-commercial-route { margin-inline: 12px; }
}
@media (max-width: 1100px) {
  .home-page .doctor-card-review-patients { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .home-page .contact-actions > a { width: 100%; }
  .shell { width: calc(100% - 32px); }
  .site-header .header-inner { min-height: 76px; gap: 12px; flex-wrap: wrap; }
  .brand .brand-copy strong { font-size: 25px; }
  .brand .brand-copy small { font-size: 8px; }
  .site-header .header-phone { display: none; }
  .site-header .mobile-nav { margin-left: auto; }
  .home-page .hero { margin-top: 16px; min-height: 0; grid-template-columns: 1fr; padding: 8px; gap: 12px; border-radius: 20px; }
  .home-page .hero-copy { padding: 20px 16px 0; }
  .home-page .hero h1 { font-size: clamp(36px, 9.5vw, 48px); line-height: 1.14; }
  .home-page .place { margin-bottom: 16px; font-size: 14px; }
  .home-page .hero-lead { margin-block: 18px; font-size: 17px; line-height: 1.6; }
  .home-page .hero-actions { gap: 10px; }
  .home-page .hero-actions .primary-action, .home-page .hero-actions .secondary-action { width: 100%; min-height: 52px; }
  .home-page .hero-phone { font-size: 15px; min-height: 44px; }
  .home-page .hero-media { height: 244px; min-height: 0; border-radius: 14px; }
  .home-page .route-primary-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-page .route-panel, .home-page .route-panel + .route-panel { min-height: 82px; padding: 14px 18px; }
  .home-page .route-panel-copy strong { font-size: 19px; }
  .home-page .route-help-band { display: block; }
  .home-page .route-help-band a { min-height: 48px; }
  .home-page .doctors-section, .home-page .homepage-articles, .home-page .contacts, .section-space,
  .direction-index, .reason-section, .visit-section, .doctors-section { padding-block: 44px; }
  .home-page .doctors-heading .section-title { font-size: 32px; }
  .doctor-card-body { padding-inline: 12px; }
  .home-page .doctor-commercial-route { margin-inline: 14px; }
  .doctor-card-name { font-size: 20px; }
  .doctor-card-specialty, .doctor-experience, .doctor-commercial-price span { font-size: 15px; }
  .doctor-commercial-direction-chip { font-size: 14px; padding-inline: 8px; }
  .doctor-card-schedule { padding: 12px; }
  .catalog-hero { padding-block: 28px 24px; }
  .catalog-hero h1, .price-page .page-hero h1 { font-size: 38px; }
  .catalog-hero-layout { gap: 12px; }
  .catalog-intro p { font-size: 17px; }
  .catalog-toolbar { display: none; }
  .catalog-search { grid-template-columns: 1fr; gap: 12px; }
  .catalog-search button { justify-self: start; min-height: 44px; }
  .specialist-name { font-size: 21px; }
  .specialist-role { font-size: 15px; }
  .doctor-hero { padding-block: 28px; }
  .doctor-hero-grid { grid-template-columns: minmax(0, 1fr) 106px; gap: 14px 16px; align-items: start; }
  .doctor-hero-copy { display: contents; }
  .doctor-hero .specialty { grid-column: 1; margin: 0; font-size: 15px; }
  .doctor-hero h1 { grid-column: 1; grid-row: 2; font-size: clamp(26px, 6.5vw, 38px); line-height: 1.15; max-width: none; }
  .doctor-portrait { grid-column: 2; grid-row: 1 / span 2; width: 106px; height: auto; aspect-ratio: 4 / 5; margin: 0; border-radius: 14px; align-self: center; }
  .doctor-portrait picture, .doctor-portrait img { display: block; height: auto; min-height: 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
  .doctor-hero .qualification, .doctor-hero .hero-intro, .doctor-hero .profile-paths, .doctor-hero .hero-conversion { grid-column: 1 / -1; margin-top: 0; }
  .doctor-hero .qualification { padding-top: 14px; }
  .doctor-hero .hero-intro { font-size: 17px; }
  .doctor-hero .hero-conversion { gap: 12px; }
  .price-page .page-hero { padding-block: 28px 24px; }
  .price-page .page-hero .lead { font-size: 17px; }
  .price-page .page-hero .actions { margin-top: 14px; }
  .price-page .page-hero .actions .button:not(.primary) { display: none; }
  .price-page .category-nav { gap: 8px; }
  .price-page .category-nav a { font-size: 14px; padding: 10px; }
  .price-page .price-name { font-size: 17px; }
  .contact-hero .hero-copy h1, .direction-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .direction-hero { padding-block: 28px; }
  .contact-hero { padding-top: 28px; }
}
/* D0 clarity pass: navigation, choice and price controls only. Review surfaces are unchanged. */
.home-page .route-help-band { margin-top: 0; }
.home-page .doctor-filter-panel { display: block; padding: 0; background: transparent; }
.doctor-filters-disclosure { width: min(100%, 720px); }
.doctor-filters-disclosure summary { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; color: var(--ink); }
.doctor-filters-disclosure summary::after { content: "+"; margin-left: auto; font-size: 24px; }
.doctor-filters-disclosure[open] summary::after { content: "−"; }
.doctor-filters-disclosure summary::-webkit-details-marker { display: none; }
.doctor-filters-disclosure [data-filter-current] { color: var(--green); font-weight: 700; }
.doctor-filters-disclosure .doctor-filter-options { padding-block: 12px 4px; }
.home-page .price-inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.home-page .price-inner .price-title { margin: 0; }
.home-page .price-inner .price-copy { flex: 1 1 300px; margin: 0; }
.hero-secondary-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; flex-basis: 100%; margin: 0; color: var(--ink); }
.hero-secondary-price span { font-size: 16px; line-height: 1.5; }
.hero-secondary-price strong { font-size: 24px; white-space: nowrap; }
.profile-section-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.profile-section-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-size: 16px; text-underline-offset: 4px; }
.direction-hero .hero-actions { flex-wrap: wrap; }
.direction-hero .direction-phone { display: inline-flex; align-items: center; flex-basis: 100%; min-height: 44px; font-size: 16px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.direction-preparation { padding-block: 48px; border-top: 1px solid var(--line); background: var(--pale); }
.direction-preparation-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; }
.direction-preparation h2, .direction-preparation ul { margin: 0; }
.direction-preparation ul { padding-left: 24px; font-size: 18px; line-height: 1.65; }
.direction-preparation li + li { margin-top: 12px; }
.article-contact.article-context-link a { display: block; font-size: 20px; line-height: 1.5; padding-block: 8px; overflow-wrap: anywhere; }
.price-page .search-controls { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.price-page .search-controls .search-input { flex: 1 1 300px; width: auto; min-width: 0; margin: 0; }
.price-page .search-clear { min-height: 48px; padding: 12px 18px; border: 1px solid var(--green); border-radius: 9px; background: #fff; color: var(--green); font: inherit; font-weight: 650; cursor: pointer; }
.price-page .search-clear:active { transform: translateY(1px); background: var(--mint); }
.price-page .empty-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.price-page .empty-actions a { display: inline-flex; align-items: center; min-height: 48px; }
.price-page .price-section-contact { display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0 16px; color: var(--green); font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.price-mobile-contact { display: none; }
.doctor-filters-disclosure summary:focus-visible, .price-page .search-clear:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (max-width: 767px) {
  .direction-preparation { padding-block: 32px; }
  .direction-preparation-layout { grid-template-columns: 1fr; gap: 20px; }
  .direction-preparation ul { font-size: 16px; }
  .price-page { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); scroll-padding-bottom: 96px; }
  .price-page input, .price-page button, .price-page a { scroll-margin-bottom: 100px; }
  .price-mobile-contact { position: fixed; z-index: 15; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); }
  .price-mobile-contact span { max-width: 12ch; color: var(--muted); font-size: 14px; line-height: 1.4; }
  .price-mobile-contact a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 9px; background: var(--green); color: #fff; font-size: 16px; font-weight: 650; text-decoration: none; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action, .secondary-action, .button, .catalog-button, .doctor-card-action,
  .doctor-card-photo, .specialist-photo img, .doctor-filter-button { transition: none; transform: none; }
}

/* Live schedule: choose a date first, then inspect only that day's intervals. */
.schedule-live-dates {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 132px;
  gap: 10px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #aebfb2 transparent;
}
.schedule-live-date-option {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}
.schedule-live-date-option strong { font-size: 18px; line-height: 1.2; white-space: nowrap; }
.schedule-live-date-option span { color: var(--muted); font-size: 14px; }
.schedule-live-date-option small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.schedule-live-date-option[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--mint);
  box-shadow: inset 0 0 0 1px var(--green);
}
.schedule-live-date-option[aria-pressed="true"] strong { color: var(--green); }
.schedule-live-panel { display: grid; gap: 14px; width: 100%; min-width: 0; padding-top: 8px; }
.schedule-live-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.schedule-live-heading-date { color: var(--ink); font-size: 23px; font-weight: 650; line-height: 1.25; }
.schedule-live-count { color: var(--muted); font-size: 14px; }
.schedule-live-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 10px; }
.schedule-live-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid #b9cec2;
  border-radius: 9px;
  background: var(--page);
  color: var(--green);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.schedule-board--safe > .schedule-live-panel ~ .button-light {
  display: flex;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  text-align: center;
}
.schedule-board--safe > .schedule-live-panel ~ .button-light:hover { background: var(--action-dark); }
.schedule-live-date-option:hover, .schedule-live-time:hover { border-color: var(--green); }
.schedule-live-date-option:focus-visible, .schedule-live-time:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.doctor-card-schedule .schedule-live-dates { grid-auto-columns: 108px; gap: 8px; }
.doctor-card-schedule .schedule-live-date-option { min-height: 88px; padding: 10px; }
.doctor-card-schedule .schedule-live-date-option strong { font-size: 15px; }
.doctor-card-schedule .schedule-live-date-option span { font-size: 13px; }
.doctor-card-schedule .schedule-live-date-option small { font-size: 11px; }
.doctor-card-schedule .schedule-live-heading-date { font-size: 18px; }
.doctor-card-schedule .schedule-live-times { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); gap: 8px; }
.doctor-card-schedule .schedule-live-time { min-height: 46px; padding: 8px; font-size: 15px; }
@media (max-width: 767px) {
  .schedule-live-dates { grid-auto-columns: 112px; scroll-snap-type: x proximity; }
  .schedule-live-date-option { min-height: 94px; padding: 11px; }
  .schedule-live-date-option strong { font-size: 16px; }
  .schedule-live-heading-date { font-size: 20px; }
  .schedule-live-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
