/* Heebo and Secular One, self-hosted (Hebrew + Latin subsets, from @fontsource; SIL Open Font License) */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/heebo-hebrew-300-normal.woff2) format('woff2');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/heebo-latin-300-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;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/heebo-hebrew-400-normal.woff2) format('woff2');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/heebo-latin-400-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;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/heebo-hebrew-500-normal.woff2) format('woff2');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/heebo-latin-500-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;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/heebo-hebrew-700-normal.woff2) format('woff2');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/heebo-latin-700-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;
}
@font-face {
  font-family: 'Secular One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/secular-one-hebrew-400-normal.woff2) format('woff2');
  unicode-range: U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;
}
@font-face {
  font-family: 'Secular One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/secular-one-latin-400-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 {
    color-scheme: light;
    --gutter: clamp(20px, 5vw, 40px);
    --ground: #FFFCF9;
    --surface: #FFFFFF;
    --surface-2: #F8F1EA;
    --ink: #1F1A17;
    --ink-2: #574B44;
    --ink-3: #7A6B62;
    --edge: #EBE0D6;
    --edge-strong: #CFBCAD;
    --accent: #A34455;
    --accent-hover: #83313F;
    --accent-soft: #FAEBE9;
    --on-accent: #FFF9F7;
    --ph-tint: #FBF1DA;
    --ph-line: #B9911F;
    --shadow: 0 1px 2px rgba(31,26,23,.04), 0 14px 34px -18px rgba(31,26,23,.14);
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "Heebo", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
  }

  .wrap { max-width: 1080px; margin: 0 auto; padding-inline: var(--gutter); }
  .rule { height: 1px; background: var(--edge); border: 0; margin: 0; }

  h1, h2, h3 {
    font-family: "Secular One", "Heebo", sans-serif;
    font-weight: 400;
    line-height: 1.24;
    margin: 0;
    text-wrap: balance;
    letter-spacing: 0;
  }

  .eyebrow {
    font-family: "Heebo", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .13em;
    color: var(--accent);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--edge);
  }

  /* ---------- masthead ---------- */
  .masthead {
    border-bottom: 1px solid var(--edge);
    background: var(--ground);
  }
  .masthead-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px var(--gutter);
    max-width: 1080px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .logotype {
    font-family: "Secular One", sans-serif;
    font-size: 20px;
    font-weight: 400;
  }
  .logotype span { color: var(--accent); }
  .nav {
    display: flex;
    gap: 22px;
    font-size: 15px;
    font-weight: 400;
    color: var(--ink-2);
  }
  .nav a { color: inherit; text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
  .nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

  /* ---------- hero ---------- */
  .hero { padding: 60px 0 52px; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr .92fr;
    gap: 52px;
    align-items: start;
  }
  .hero h1 { font-size: clamp(34px, 5.4vw, 54px); }
  .hero .role {
    font-family: "Heebo", sans-serif;
    font-size: 19px;
    font-weight: 500;
    color: var(--accent);
    margin: 16px 0 0;
  }
  .hero .lede {
    font-size: 18.5px;
    font-weight: 400;
    color: var(--ink-2);
    max-width: 34em;
    margin: 20px 0 0;
    line-height: 1.72;
  }

  .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 3px;
    font-family: "Heebo", sans-serif;
    font-size: 16.5px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
  }
  .btn-primary { background: var(--accent); color: var(--on-accent); }
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-ghost { color: var(--ink); border-color: var(--edge-strong); background: var(--surface); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn svg { width: 18px; height: 18px; flex: none; }

  /* portrait */
  .portrait-frame { position: relative; padding: 10px 0 0 10px; }
  .portrait-frame::before {
    content: "";
    position: absolute;
    inset: 0 10px 10px 0;
    border: 1px solid var(--accent);
    opacity: .5;
  }
  .portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--surface-2);
    border: 1px solid var(--edge);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 24px;
  }
  .portrait svg { width: 56px; height: 56px; color: var(--edge-strong); }
  .portrait-note {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-3);
    max-width: 22ch;
  }

  /* ---------- credential ledger ---------- */
  .ledger {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--surface-2);
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
  }
  .ledger div {
    padding: 20px 22px;
    border-inline-start: 1px solid var(--edge);
  }
  .ledger div:first-child { border-inline-start: 0; }
  .ledger dt {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--ink-3);
    margin: 0 0 6px;
  }
  .ledger dd {
    margin: 0;
    font-family: "Secular One", sans-serif;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
  }

  /* ---------- sections ---------- */
  section { padding: 58px 0; }
  section h2 { font-size: clamp(25px, 3.2vw, 32px); }
  .section-lede {
    font-size: 17.5px;
    font-weight: 400;
    color: var(--ink-2);
    max-width: 62ch;
    margin: 16px 0 0;
  }

  .services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--edge);
    margin-top: 34px;
    border: 1px solid var(--edge);
  }
  .service {
    background: var(--surface-2);
    padding: 26px 24px 28px;
  }
  .service h3 { font-size: 20px; }
  .service .lat {
    display: block;
    direction: ltr;
    text-align: right;
    font-family: "Heebo", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--ink-3);
    margin-top: 7px;
  }
  .service p {
    margin: 12px 0 0;
    font-size: 16px;
    color: var(--ink-2);
    line-height: 1.68;
  }

  /* visit steps */
  .steps { margin-top: 34px; border-top: 1px solid var(--edge); }
  .step {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid var(--edge);
    align-items: start;
  }
  .step-num {
    font-family: "Secular One", sans-serif;
    font-size: 30px;
    color: var(--accent);
    line-height: 1;
    padding-top: 6px;
    font-variant-numeric: tabular-nums;
  }
  .step h3 { font-size: 19.5px; }
  .step p { margin: 9px 0 0; color: var(--ink-2); font-size: 16.5px; }

  /* contact */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 32px;
  }
  .facts { margin: 0; }
  .facts div {
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--edge);
  }
  .facts dt { font-size: 14px; font-weight: 700; color: var(--ink-3); margin: 0; }
  .facts dd { margin: 0; font-size: 16.5px; }
  .map-plate {
    background: var(--surface-2);
    border: 1px solid var(--edge);
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    font-size: 14px;
    color: var(--ink-3);
    line-height: 1.65;
  }

  /* footer */
  footer {
    border-top: 1px solid var(--edge);
    background: var(--surface-2);
    padding: 38px 0 96px;
    font-size: 14.5px;
    color: var(--ink-2);
  }
  .footer-grid { display: flex; flex-wrap: wrap; gap: 28px 48px; justify-content: space-between; }
  footer a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
  footer a:hover { border-bottom-color: currentColor; }
  .disclaimer { max-width: 52ch; line-height: 1.68; }

  /* sticky mobile CTA */
  .sticky {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    display: none;
    gap: 1px;
    background: var(--edge);
    border-top: 1px solid var(--edge);
    z-index: 40;
  }
  .sticky a {
    flex: 1;
    padding: 15px 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .sticky .wa { background: var(--accent); color: var(--on-accent); }
  .sticky .tel { background: var(--surface); color: var(--ink); }
  .sticky svg { width: 18px; height: 18px; }

  /* placeholder marking */
  .ph {
    background: var(--ph-tint);
    box-shadow: 0 1px 0 var(--ph-line);
    padding: 0 2px;
  }
  :root[data-ph="off"] .ph { background: transparent; box-shadow: none; }
  .ph-toggle {
    position: fixed;
    inset-inline-start: 16px;
    bottom: 16px;
    z-index: 50;
    background: var(--surface);
    color: var(--ink-2);
    border: 1px solid var(--edge-strong);
    border-radius: 999px;
    padding: 8px 15px;
    font-family: "Heebo", sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow);
  }
  .ph-toggle:hover { border-color: var(--accent); color: var(--accent); }

  .draft-flag {
    display: inline-block;
    font-family: "Heebo", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--ph-line);
    border: 1px solid var(--ph-line);
    border-radius: 3px;
    padding: 2px 8px;
    margin-inline-start: 10px;
    vertical-align: middle;
  }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .portrait-frame { max-width: 380px; }
    .ledger { grid-template-columns: 1fr 1fr; }
    .ledger div:nth-child(3) { border-inline-start: 0; }
    .ledger div:nth-child(-n+2) { border-bottom: 1px solid var(--edge); }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  }
  @media (max-width: 620px) {
    body { font-size: 16.5px; }
    .nav { display: none; }
    .hero { padding: 42px 0 38px; }
    section { padding: 42px 0; }
    .ledger { grid-template-columns: 1fr; }
    .ledger div { border-inline-start: 0; border-bottom: 1px solid var(--edge); }
    .ledger div:last-child { border-bottom: 0; }
    .step { grid-template-columns: 44px 1fr; gap: 14px; }
    .step-num { font-size: 25px; padding-top: 4px; }
    .sticky { display: flex; }
    .ph-toggle { bottom: 72px; }
    footer { padding-bottom: 40px; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
  }

  /* ================= shared additions ================= */

  .skip {
    position: absolute;
    inset-inline-start: 12px;
    top: -60px;
    background: var(--ink);
    color: var(--ground);
    padding: 10px 16px;
    z-index: 60;
    text-decoration: none;
    font-weight: 500;
  }
  .skip:focus { top: 12px; }

  .logotype { color: var(--ink); text-decoration: none; }
  .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

  /* services: 8 cards, 4 across, linked ones carry an affordance */
  .services { grid-template-columns: repeat(4, 1fr); }
  a.service {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
  }
  a.service:hover { background: var(--surface); }
  a.service:hover h3 { color: var(--accent); }
  .service .more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--accent);
  }
  .service .unconfirmed {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--ph-line);
  }
  :root[data-ph="off"] .service .unconfirmed { display: none; }

  /* "≠" reassurance rows — her own phrasing, used on home and colposcopy */
  .remember {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--edge);
    border: 1px solid var(--edge);
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
  }
  .remember li { background: var(--surface); padding: 22px 22px 24px; }
  .remember .eq {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    font-family: "Secular One", "Heebo", sans-serif;
    font-size: 21px;
    line-height: 1.3;
    color: var(--ink);
  }
  .remember .neq { color: var(--accent); font-family: "Heebo", sans-serif; font-weight: 300; font-size: 26px; line-height: 1; }
  .remember p { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
  .remember.stack { grid-template-columns: 1fr; }

  /* guide index on home */
  .guide-list { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--edge); }
  .guide-list a {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 18px;
    align-items: baseline;
    padding: 20px 4px;
    border-bottom: 1px solid var(--edge);
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
  }
  .guide-list a:hover { background: var(--surface-2); }
  .guide-list a:hover .g-title { color: var(--accent); }
  .guide-list .g-num {
    font-family: "Secular One", sans-serif;
    font-size: 24px;
    color: var(--accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .guide-list .g-title { font-family: "Secular One", sans-serif; font-size: 20px; display: block; }
  .guide-list .g-desc { display: block; margin-top: 4px; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
  .guide-list .g-go { font-size: 14.5px; font-weight: 500; color: var(--accent); white-space: nowrap; }

  .footer-guides { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
  .footer-col h2 {
    font-family: "Heebo", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--ink-3);
    margin: 0 0 8px;
  }

  /* ================= guide pages ================= */

  .art-head { padding-block: 44px 30px; }
  .crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    color: var(--ink-3);
  }
  .crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--edge-strong); }
  .crumbs a { color: var(--ink-2); text-decoration: none; }
  .crumbs a:hover { color: var(--accent); }
  .art-head h1 { font-size: clamp(30px, 4.6vw, 46px); max-width: 22ch; }
  .art-head .art-sub {
    font-family: "Heebo", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--accent);
    margin: 12px 0 0;
  }
  .art-head .lede {
    font-size: 19px;
    color: var(--ink-2);
    max-width: 58ch;
    margin: 18px 0 0;
    line-height: 1.75;
  }
  .art-head .lede strong { color: var(--ink); font-weight: 700; }

  /* series strip: the five guides in Dr. Agizim's order */
  .series-band {
    background: var(--surface-2);
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
  }
  .series {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1080px;
    margin: 0 auto;
    padding-inline: var(--gutter);
  }
  .series a:last-child { border-inline-end: 1px solid var(--edge); }
  .series a:first-child { border-inline-start: 1px solid var(--edge) !important; }
  .series a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    padding: 13px 16px 14px;
    border-inline-start: 1px solid var(--edge);
    color: var(--ink-2);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.35;
  }
  .series a:first-child { border-inline-start: 0; }
  .series a small {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--ink-3);
    font-variant-numeric: tabular-nums;
  }
  .series a:hover { color: var(--accent); }
  .series a[aria-current="page"] {
    background: var(--surface);
    color: var(--ink);
    font-weight: 500;
    box-shadow: inset 0 -2px 0 var(--accent);
  }
  .series a[aria-current="page"] small { color: var(--accent); }

  /* reading column */
  .prose { max-width: 68ch; padding: 40px 0 8px; font-size: 17.5px; line-height: 1.85; color: var(--ink); }
  .prose > * { margin: 0; }
  .prose > * + * { margin-top: 1em; }
  .prose h2 { font-size: clamp(22px, 2.8vw, 27px); line-height: 1.3; margin-top: 2.2em; }
  .prose h3 { font-size: 19px; line-height: 1.35; margin-top: 1.6em; }
  .prose h2 + *, .prose h3 + * { margin-top: .55em; }
  .prose strong { font-weight: 700; }
  .prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .prose a:hover { color: var(--accent-hover); }
  .prose ul, .prose ol { padding-inline-start: 1.3em; }
  .prose li + li { margin-top: .35em; }
  .ltr { direction: ltr; unicode-bidi: isolate; }

  .note {
    background: var(--surface-2);
    padding: 20px 24px;
    border-radius: 3px;
  }
  .note > * { margin: 0; }
  .note > * + * { margin-top: .6em; }
  .label {
    font-family: "Heebo", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent);
    display: block;
  }
  .note.firm { background: var(--accent-soft); }
  .note.firm p { color: var(--ink); }

  .warn {
    border: 1px solid var(--edge-strong);
    background: var(--surface);
    padding: 20px 24px;
    border-radius: 3px;
  }
  .warn > * { margin: 0; }
  .warn > * + * { margin-top: .6em; }

  .fact {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 16px;
    border-top: 1px solid var(--edge);
    border-bottom: 1px solid var(--edge);
    padding: 16px 0;
  }
  .fact .label { color: var(--ink-3); }
  .fact b { font-family: "Secular One", sans-serif; font-weight: 400; font-size: 21px; color: var(--ink); }
  .fact b em { font-style: normal; color: var(--accent); }

  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1px;
    background: var(--edge);
    border: 1px solid var(--edge);
    padding: 0;
    list-style: none;
  }
  .cards > * { background: var(--surface-2); padding: 18px 20px 20px; margin: 0; }
  .cards h3, .cards h4 { font-family: "Secular One", "Heebo", sans-serif; font-weight: 400; font-size: 18px; margin: 0; line-height: 1.35; }
  .cards h3 .tag { display: block; font-family: "Heebo", sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent); margin-bottom: 4px; }
  .cards p { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); line-height: 1.7; }

  /* HPV: how persistent infection progresses (her chain, in order) */
  .chain {
    display: flex;
    gap: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
  }
  .chain li {
    flex: 1;
    position: relative;
    background: var(--surface-2);
    padding: 16px 18px;
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink);
    margin: 0;
  }
  .chain li + li { margin-top: 0; margin-inline-start: 28px; }
  .chain li + li::before {
    content: "←";
    position: absolute;
    inset-inline-start: -24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 18px;
    width: 20px;
    text-align: center;
  }
  .chain li:last-child { background: transparent; border: 1px dashed var(--edge-strong); color: var(--ink-2); }

  /* colposcopy: the procedure, step by step */
  .proc { list-style: none; padding: 0; counter-reset: proc; border-top: 1px solid var(--edge); }
  .proc li {
    counter-increment: proc;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--edge);
    margin: 0;
  }
  .proc li + li { margin-top: 0; }
  .proc li::before {
    content: counter(proc);
    font-family: "Secular One", sans-serif;
    font-size: 20px;
    color: var(--accent);
    line-height: 1.6;
  }

  .check { list-style: none; padding: 0; }
  .check li { position: relative; padding-inline-start: 30px; }
  .check li::before {
    content: "";
    position: absolute;
    inset-inline-start: 2px;
    top: .55em;
    width: 14px;
    height: 8px;
    border-inline-start: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
  }
  .prose .check { padding-inline-start: 0; }

  /* conization at a glance */
  .glance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--edge);
    border: 1px solid var(--edge);
  }
  .glance div { background: var(--surface-2); padding: 14px 18px; }
  .glance dt { font-size: 13px; font-weight: 700; color: var(--ink-3); margin: 0; }
  .glance dd { margin: 2px 0 0; font-family: "Secular One", sans-serif; font-size: 18px; font-variant-numeric: tabular-nums; }

  .art-cta {
    margin: 48px 0 0;
    background: var(--surface-2);
    padding: 28px 28px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    max-width: 68ch;
  }
  .art-cta h2 { font-size: 22px; }
  .art-cta p { margin: 6px 0 0; color: var(--ink-2); font-size: 16px; }

  .pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 40px 0 64px;
    max-width: 68ch;
  }
  .pager a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 18px;
    border: 1px solid var(--edge);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    border-radius: 3px;
    transition: border-color .15s ease;
  }
  .pager a:hover { border-color: var(--accent); }
  .pager small { font-size: 13px; color: var(--ink-3); }
  .pager span { font-family: "Secular One", sans-serif; font-size: 18px; }
  .pager .next { grid-column: 2; text-align: left; }
  .pager .prev + .next { grid-column: auto; }

  @media (max-width: 900px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .remember { grid-template-columns: 1fr; }
    .chain { flex-direction: column; }
    .chain li + li { margin-inline-start: 0; margin-top: 30px; }
    .chain li + li::before { content: "↓"; inset-inline-start: 50%; top: -26px; transform: translateX(50%); }
  }
  @media (max-width: 760px) {
    .series { display: flex; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .series::-webkit-scrollbar { display: none; }
    .series a { flex: 0 0 auto; min-width: 132px; }
  }
  @media (max-width: 620px) {
    .services { grid-template-columns: 1fr; }
    .guide-list a { grid-template-columns: 36px 1fr; }
    .guide-list .g-go { display: none; }
    .guide-list .g-num { font-size: 20px; }
    .art-head { padding-block: 32px 24px; }
    .prose { font-size: 17px; padding-top: 30px; }
    .glance { grid-template-columns: 1fr; }
    .art-cta { padding: 22px 20px 24px; }
    .pager { grid-template-columns: 1fr; margin-bottom: 40px; }
    .pager .next, .pager .prev + .next { grid-column: auto; text-align: right; }
  }

  .tel-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--edge-strong); font-variant-numeric: tabular-nums; }
  .tel-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

  .nav-links { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .nav-addr { margin: 0; font-family: "Secular One", "Heebo", sans-serif; font-size: 22px; color: var(--ink); line-height: 1.35; }
  .nav-addr span { display: block; font-family: "Heebo", sans-serif; font-size: 15px; color: var(--ink-2); margin-top: 2px; }
  .nav-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

  /* contact: desktop map + navigation buttons (replaces the placeholder plate) */
  .map-plate {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    text-align: right;
    font-size: inherit;
    color: inherit;
  }
  .map-frame {
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    border: 1px solid var(--edge);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .map-frame[hidden] { display: none; }
  .map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
  .map-plate .label { margin: 0; }
  .nav-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--edge-strong);
    border-radius: 3px;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease;
  }
  .nav-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
  .nav-btn svg {
    flex: none;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
  }
  .nav-btn span { display: flex; flex-direction: column; line-height: 1.3; }
  .nav-btn b { font-weight: 500; font-size: 16.5px; text-align: right; }
  .nav-btn small { font-size: 13.5px; color: var(--ink-3); }
  @media (max-width: 900px) {
    .map-frame { display: none !important; }
  }
  .nav-btn::after { content: "←"; margin-inline-start: auto; color: var(--ink-3); font-size: 17px; }
  .nav-btn:hover::after { color: var(--accent); }
  @media (max-width: 620px) {
    .nav-btns { grid-template-columns: 1fr; gap: 8px; }
    .nav-btn { min-height: 68px; }
  }

  /* portrait with the real photo */
  .portrait.has-photo { padding: 0; display: block; overflow: hidden; background: var(--surface-2); }
  .portrait.has-photo picture, .portrait.has-photo img { display: block; width: 100%; height: 100%; }
  .portrait.has-photo img { object-fit: cover; object-position: 50% 30%; }

  /* hero: second line under the title */
  .hero .role-sub { margin: 4px 0 0; font-size: 16px; font-weight: 400; color: var(--ink-2); }

  /* About: training (chronological) and current roles */
  .cv {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px 48px;
    margin-top: 30px;
    max-width: 960px;
  }
  .cv-h {
    font-family: "Heebo", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--accent);
    margin: 0 0 12px;
  }
  .cv-list { list-style: none; margin: 0; padding: 0; }
  .cv-list li {
    position: relative;
    padding: 0 0 16px;
    padding-inline-start: 24px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ink);
  }
  .cv-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 3px;
    top: .55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: var(--ground);
  }
  /* ordered training list reads as a timeline: a line joins the dots */
  ol.cv-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-start: 7px;
    top: calc(.55em + 11px);
    bottom: -2px;
    width: 1px;
    background: var(--edge-strong);
  }
  .cv-list.now li::before { background: var(--accent); }
  @media (max-width: 760px) {
    .cv { grid-template-columns: 1fr; }
  }

  /* credentials strip: two items (hospital, languages) */
  .ledger { grid-template-columns: repeat(2, 1fr); }
  @media (min-width: 621px) and (max-width: 900px) {
    .ledger div:nth-child(-n+2) { border-bottom: 0; }
    .ledger div:nth-child(2) { border-inline-start: 1px solid var(--edge); }
  }

  /* Russian / English note under the hero buttons */
  .lang-note {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-size: 15px;
    color: var(--ink-2);
  }

  /* header: menu and round logo mark on the left */
  .mast-end { display: flex; align-items: center; gap: 26px; }
  .mark { display: block; flex: none; line-height: 0; border-radius: 50%; }
  .mark img { width: 46px; height: 46px; display: block; }
  .masthead-in { align-items: center; padding-block: 12px; }

  /* services: general gynecology leads, two columns wide */
  .service.wide { grid-column: span 2; }
  @media (max-width: 620px) {
    .service.wide { grid-column: auto; }
    .mark img { width: 40px; height: 40px; }
  }
  .step p { max-width: 66ch; }
  .mark img { width: 52px; height: 52px; }
  @media (max-width: 620px) { .mark img { width: 42px; height: 42px; } }

  /* booking link on service cards that have no explainer page */
  article.service { display: flex; flex-direction: column; }
  .service a.more.book { text-decoration: none; }
  .service a.more.book:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }

  /* check marks: draw with physical left/bottom borders so RTL doesn't mirror them into arrows */
  .check li::before { border-inline-start: 0; border-right: 0; border-left: 2px solid var(--accent); }
  /* pages without the guide strip: no extra gap above the first heading */
  .prose > h2:first-child { margin-top: 0; }
