/* ==========================================================================
   ТехМедЭксперт 1-6-8 — медкомиссия в Краснодаре
   Восстановленная таблица стилей (на основе архива doctean + Elementor)
   Бренд: бирюзовый #28A9B4 / #028C98 / #36b3b9, тёмный #1C1C1E, #031B4E
   Шрифты: Inter (заголовки), IBM Plex Sans (текст)
   ========================================================================== */

:root {
  --brand: #28a9b4;
  --brand-dark: #028c98;
  --brand-light: #36b3b9;
  --brand-soft: #eaf7f7;
  --brand-faint: #f4fbfb;
  --ink: #1c1c1e;
  --navy: #031b4e;
  --navy-2: #000f30;
  --body: #46474f;
  --muted: #5c6670;
  --line: #e4eded;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(3, 27, 78, .06);
  --shadow: 0 14px 40px rgba(3, 27, 78, .10);
  --shadow-lg: 0 24px 60px rgba(3, 27, 78, .16);
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 24px;
}

/* ---------------------- Reset / base ---------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 78px 0; }
.section--tint { background: var(--brand-faint); }
.section--navy { background: var(--navy); color: #c9d3e8; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------- Buttons ---------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(40, 169, 180, .32); }
.btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brand-dark); border-color: rgba(40, 169, 180, .45); }
.btn--ghost:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--brand); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--brand); color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ---------------------- Top bar ---------------------- */
.topbar {
  background: var(--navy);
  color: #c6d0e6;
  font-size: 13.5px;
}
.topbar__inner { display: flex; align-items: center; gap: 26px; min-height: 44px; flex-wrap: wrap; padding: 8px 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { color: var(--brand-light); flex: 0 0 auto; }
.topbar__item a { color: #e8eefb; }
.topbar__item a:hover { color: var(--brand-light); }
.topbar__spacer { margin-left: auto; }
.topbar__eye {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); color: #e8eefb;
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 14px; border-radius: 999px; font-family: var(--font-head);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: .2s;
}
.topbar__eye:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------------------- Header / nav ---------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 30px rgba(3,27,78,.05);
}
.header__inner { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 46px; height: 46px; flex: 0 0 auto; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 1.05; color: var(--ink); }
.brand__name small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--brand-dark); text-transform: uppercase; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: inline-block; padding: 10px 14px; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: 15.5px; border-radius: 10px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a { color: var(--brand-dark); }
.main-nav > ul > li.has-drop > a { display: inline-flex; align-items: center; gap: 5px; }
@media (min-width: 1201px) {
  .header__inner { gap: 12px; }
  .site-header .brand, .header__cta, .main-nav > ul > li { flex-shrink: 0; }
  .main-nav { flex: 0 0 auto; }
  .main-nav > ul > li > a { font-size: 14px; padding: 10px; white-space: nowrap; }
}
.main-nav .drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: .22s ease; list-style: none; margin: 0;
}
.main-nav > ul > li.has-drop:hover .drop,
.main-nav > ul > li.has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .drop a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--body); font-weight: 500; }
.main-nav .drop a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; }
.header__phone a { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); }
.header__phone a:hover { color: var(--brand-dark); }
.header__phone small { color: var(--muted); font-size: 12px; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 12px; color: var(--ink);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s; }

/* ---------------------- Hero ---------------------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero__slide {
  position: relative; min-height: 620px; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero__slide::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(1, 4, 11, .88) 18%, rgba(3, 27, 78, .55) 55%, rgba(40, 169, 180, .30) 100%);
}
.hero__slide--grad {
  background:
    radial-gradient(900px 520px at 82% 30%, rgba(40,169,180,.35), transparent 60%),
    linear-gradient(120deg, #000f30 0%, #031b4e 55%, #04606b 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 660px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-family: var(--font-head);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero__title { color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.06; font-weight: 800; margin-bottom: 20px; }
.hero__lead { font-size: 18px; line-height: 1.6; color: #dbe4f4; max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 40px; }
.hero__stat { display: flex; align-items: center; gap: 12px; }
.hero__stat b { font-family: var(--font-head); font-size: 26px; color: #fff; }
.hero__stat span { font-size: 13.5px; color: #b9c6e2; line-height: 1.25; max-width: 150px; }
.hero__stat .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--brand-light); }
.hero__dots { position: absolute; z-index: 5; left: 50%; transform: translateX(-50%); bottom: 26px; display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .2s; }
.hero__dots button.active { width: 26px; background: var(--brand); }
.hero__pattern { position: absolute; right: -80px; bottom: -120px; opacity: .18; pointer-events: none; width: 520px; height: 520px; color: #fff; }

/* ---------------------- Section heading ---------------------- */
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-dark); font-family: var(--font-head); font-weight: 700;
  font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px;
}
.sec-head__kicker::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-head--center .sec-head__kicker::after { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------------------- Feature / info cards ---------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 20px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card--teal { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; border: 0; }
.card--teal h3, .card--teal .num { color: #fff; }
.card--teal p { color: rgba(255,255,255,.92); }
.card--teal .card__icon { background: rgba(255,255,255,.16); color: #fff; }

/* ---------------------- About / split ---------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; }
.split__media .frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, #eaf7f7, #f4fbfb);
  min-height: 420px; display: grid; place-items: center; position: relative;
}
.split__media .frame svg.hero-illo { width: 78%; max-width: 480px; }
.split__badge {
  position: absolute; left: -18px; bottom: 30px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.split__badge b { font-family: var(--font-head); font-size: 28px; color: var(--brand-dark); display: block; line-height: 1; }
.split__badge span { font-size: 13px; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; margin-top: 2px;
}
.check-list .tick svg { width: 14px; height: 14px; }

/* ---------------------- Service cards ---------------------- */
.service-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: .25s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { position: relative; height: 200px; display: grid; place-items: center; overflow: hidden; }
.service-card__media svg { width: 92px; height: 92px; }
.service-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { font-size: 21px; }
.service-card__body p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.service-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--brand-dark); }
.service-card__link:hover { gap: 12px; }
.service-card__link { transition: gap .2s ease; }
.service-card--drivers .service-card__media { background: linear-gradient(150deg, #e7f7f8, #d5eff1); color: var(--brand-dark); }
.service-card--tractor .service-card__media { background: linear-gradient(150deg, #eef2fb, #dde6f7); color: var(--navy); }
.service-card--boat .service-card__media { background: linear-gradient(150deg, #e6f6f2, #d2ede8); color: #0d7d6b; }

/* ---------------------- Price table ---------------------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
table.price-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 760px; }
.price-table thead th {
  background: var(--navy); color: #fff; text-align: left; padding: 16px 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .02em; white-space: nowrap;
}
.price-table tbody td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table tbody tr:nth-child(even) { background: var(--brand-faint); }
.price-table tbody tr:hover { background: var(--brand-soft); }
.price-table td.code { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.price-table td.price { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.price-table td.note { color: var(--muted); font-size: 13.5px; }

/* ---------------------- Steps ---------------------- */
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); overflow: hidden; }
.step-card__num { font-family: var(--font-head); font-size: 64px; font-weight: 800; line-height: 1; color: var(--brand-soft); position: absolute; top: 18px; right: 24px; }
.step-card .card__icon { background: var(--brand); color: #fff; }
.step-card h3 { font-size: 21px; margin-top: 4px; }
.step-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------------------- Inner page title ---------------------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 400px at 85% 20%, rgba(40,169,180,.4), transparent 60%),
              linear-gradient(120deg, #000f30, #031b4e 60%, #04606b);
}
.page-hero__inner { position: relative; z-index: 2; padding: 74px 0; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: #aebadb; margin: 0; padding: 0; list-style: none; }
.breadcrumbs a { color: #cfe0f6; }
.breadcrumbs a:hover { color: var(--brand-light); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #5f6f97; }

/* ---------------------- FAQ accordion ---------------------- */
.accordion { display: grid; gap: 14px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: .2s; }
.acc-item.open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.acc-item__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; text-align: left; cursor: pointer; padding: 20px 22px;
  font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.acc-item__head .plus { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-size: 20px; line-height: 1; transition: transform .25s ease, background .25s ease, color .25s ease; }
.acc-item.open .plus { transform: rotate(45deg); background: var(--brand); color: #fff; }
.acc-item__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item__body-inner { padding: 0 22px 22px; color: var(--muted); }

/* ---------------------- Specialists ---------------------- */
.specialist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 18px; align-items: flex-start; transition: .2s; }
.specialist:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.avatar { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(150deg, var(--brand), var(--brand-dark)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.specialist h3 { font-size: 18px; margin-bottom: 4px; }
.specialist .role { color: var(--brand-dark); font-weight: 600; font-size: 14.5px; margin-bottom: 8px; }
.specialist .meta { font-size: 14px; color: var(--muted); margin: 0; }
.specialist .meta + .meta { margin-top: 6px; }
.specialist .meta b { color: var(--ink); font-weight: 600; }

/* ---------------------- Documents list ---------------------- */
.doc-item { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: .2s; }
.doc-item:hover { box-shadow: var(--shadow-sm); border-color: var(--brand); }
.doc-item__ico { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; }
.doc-item h3 { font-size: 17px; margin-bottom: 4px; }
.doc-item p { color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
.doc-item__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.doc-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; font-family: var(--font-head); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--brand-dark); }
.doc-chip:hover { background: var(--brand-soft); border-color: var(--brand); }
.doc-chip--muted { color: var(--muted); }

/* ---------------------- Contact ---------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-block h3 { font-size: 19px; margin-bottom: 16px; }
.contact-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; }
.contact-row b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 15px; }
.contact-row a, .contact-row span { color: var(--body); font-size: 15px; }
.contact-row a:hover { color: var(--brand-dark); }
.contact-row .sub { color: var(--muted); font-size: 13.5px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--brand-faint); }
.map-frame iframe { display: block; width: 100%; height: 440px; border: 0; }

/* ---------------------- Forms ---------------------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
.form-grid .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(40,169,180,.15); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 4px; }

/* ---------------------- Notice / alert ---------------------- */
.alert { border-radius: 16px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.alert--warn { background: #fff8ec; border: 1px solid #f3d9a8; color: #6b4d12; }
.alert--info { background: var(--brand-soft); border: 1px solid #cdebec; color: #17585e; }
.alert b { font-family: var(--font-head); }
.alert .ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.7); }
.alert p:last-child { margin-bottom: 0; }

/* ---------------------- Legal prose ---------------------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose h3 { font-size: 19px; margin-top: 26px; }
.prose p, .prose li { color: #3c4149; }
.prose ul { list-style: disc; }

/* ---------------------- Footer ---------------------- */
.footer { background: var(--navy); color: #b9c4dd; position: relative; overflow: hidden; margin-top: 0; }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 15% 0%, rgba(40,169,180,.16), transparent 55%); pointer-events: none; }
.footer .container { position: relative; z-index: 2; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding: 66px 0 40px; }
.footer h5 { color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .01em; margin-bottom: 18px; }
.footer__about { font-size: 15px; }
.footer__brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; margin-bottom: 18px; }
.footer__brand .brand__mark { width: 40px; height: 40px; }
.footer__brand .brand__name { color: #fff; font-size: 18px; }
.footer__brand .brand__name small { color: var(--brand-light); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { color: #b9c4dd; font-size: 15px; }
.footer ul a:hover { color: var(--brand-light); }
.footer__hours { display: grid; gap: 10px; font-size: 15px; }
.footer__hours div { display: flex; justify-content: space-between; gap: 10px; }
.footer__hours span:first-child { color: #8fa0c4; }
.footer__contact { display: grid; gap: 14px; font-size: 15px; }
.footer__contact a { color: #dbe4f4; }
.footer__contact a:hover { color: var(--brand-light); }
.footer__contact .lbl { color: #8fa0c4; font-size: 13px; display: block; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; }
.footer__bottom a { color: #dbe4f4; }
.footer__dev { font-weight: 500; }
.footer__dev b { color: #ff5b5b; }

/* ---------------------- Disclaimer bar ---------------------- */
.disclaimer { background: var(--brand-dark); color: #fff; text-align: center; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 14.5px; line-height: 1.3; padding: 13px 16px; }

/* ---------------------- Cookie banner ---------------------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20000;
  background: rgba(20, 24, 28, .96); color: #eef2f7; padding: 16px 20px;
  font-size: 14px; transform: translateY(110%); transition: transform .35s ease;
}
.cookie.show { transform: translateY(0); }
.cookie__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie p { margin: 0; flex: 1; min-width: 240px; line-height: 1.5; }
.cookie a { color: var(--brand-light); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie button {
  font-family: var(--font-head); font-weight: 600; font-size: 13.5px; border-radius: 999px;
  padding: 10px 18px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer;
}
.cookie button.accept { background: var(--brand); border-color: var(--brand); }

/* ---------------------- Popup ---------------------- */
.popup {
  position: fixed; left: max(20px, env(safe-area-inset-left)); bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 21000; width: min(380px, calc(100vw - 40px)); pointer-events: none;
}
.popup[hidden] { display: none; }
.popup__card {
  pointer-events: auto; position: relative; overflow: hidden; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.22);
  animation: popIn .4s ease both;
}
.popup__media { position: relative; height: 110px; background: linear-gradient(140deg, var(--brand), var(--brand-dark)); }
.popup__media svg { position: absolute; inset: 0; margin: auto; width: 90px; height: 90px; opacity: .9; color: rgba(255,255,255,.9); }
.popup__badge { position: absolute; left: 14px; bottom: 10px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.popup__close { position: absolute; top: 10px; right: 10px; z-index: 5; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: #666; font-size: 20px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.popup__close:hover { background: var(--brand); color: #fff; }
.popup__body { padding: 16px 18px 18px; display: grid; gap: 12px; }
.popup__title { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--ink); text-align: center; margin: 0; }
.popup__desc { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.popup__note { padding: 9px 12px; border-radius: 999px; background: var(--brand-soft); font-size: 12px; font-weight: 600; color: var(--brand-dark); text-align: center; }
.popup__actions { display: flex; gap: 8px; }
.popup__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; border: 1px solid rgba(40,169,180,.5); background: #fff; color: var(--brand-dark); font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: none; }
.popup__btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.popup__btn--primary { flex: 0 0 auto; width: 100%; background: var(--brand); border-color: var(--brand); color: #fff; padding: 12px 16px; }
.popup__btn--primary:hover { background: var(--brand-dark); }
.popup__wait { font-size: 14px; font-weight: 700; color: var(--brand-dark); text-align: center; margin: 0; }
.popup__legal { font-size: 10px; color: #9aa3ad; text-align: center; margin: 0; }
@keyframes popIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ---------------------- Scroll top ---------------------- */
.scroll-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 15000; width: 52px; height: 52px;
  border-radius: 50%; background: var(--brand); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(40,169,180,.4);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--brand-dark); }

/* ---------------------- Utilities ---------------------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .center { text-align: center; }
.text-brand { color: var(--brand-dark); }
.nowrap { white-space: nowrap; }

/* ---------------------- Responsive ---------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; z-index: 2000;
    background: #fff; box-shadow: -20px 0 60px rgba(0,0,0,.18); padding: 80px 24px 30px;
    transition: right .3s ease; overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav > ul > li > a { display: block; padding: 13px 14px; font-size: 17px; }
  .main-nav .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; display: none; }
  .main-nav > ul > li.has-drop.open .drop { display: block; }
  .nav-toggle { display: flex; }
  .header__phone { display: none; }
  .topbar__item--hide { display: none; }
  .step { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .hero__slide { min-height: 520px; }
}

/* Recovered photos and portable, accessible controls. */
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide--grad { background-size: cover; background-position: center; background-repeat: no-repeat; }
.archived-prices summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); padding: 18px 0; }
.archived-prices > p { font-size: 15px; }
.cookie:not(.show) { visibility: hidden; pointer-events: none; }
.cookie.show { visibility: visible; pointer-events: auto; }
.price-table td:nth-child(2) { min-width: 250px; }
.price-table td:nth-child(4) { min-width: 370px; }
.holiday-notice { background: #fff0d8; border-bottom: 1px solid #e4c28a; color: #663e0b; padding: 16px 0; }
.holiday-notice .container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.patient-notice { padding: 24px; border-left: 4px solid var(--brand-dark); background: var(--brand-faint); margin-bottom: 32px; }
.patient-notice h2 { font-size: 24px; }
.license-qr { width: 160px; height: 160px; margin-top: 16px; }
.price-table th:nth-child(2), .price-table td:nth-child(2) { min-width: 150px; }
.price-table th:nth-child(3), .price-table td:nth-child(3) { min-width: 250px; }
.price-table td:nth-child(4) { min-width: 100px; white-space: nowrap; }
.price-table th:nth-child(5), .price-table td:nth-child(5) { min-width: 320px; }
@media (max-width: 620px) {
  .hero__slide { padding: 36px 0 78px; }
  .hero__dots { bottom: 22px; }
}

.split__media .frame img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.map-choice { min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; padding: 28px; text-align: center; background: var(--brand-soft); }
.map-frame iframe:not([src]), [hidden] { display: none !important; }
.form-explanation, [data-contact-status] { font-size: 15px; overflow-wrap: anywhere; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 30000; background: var(--navy); color: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; color: white; }
:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 4px; }
.nav-toggle { position: relative; z-index: 2001; }
.footer__contact, .topbar__item, .contact-block, .doc-item { overflow-wrap: anywhere; }
.reading-mode body { color: #111; background: #fff; }
.reading-mode p, .reading-mode li, .reading-mode td, .reading-mode th, .reading-mode label, .reading-mode input, .reading-mode button, .reading-mode .meta, .reading-mode .role { font-size: 20px !important; line-height: 1.7; }
.reading-mode .text-brand, .reading-mode a, .reading-mode .sec-head__kicker { color: #00616b; }
.reading-mode .btn--primary { color: #fff; background: #00616b; }
.reading-mode .section--navy, .reading-mode .hero { color: #fff; }
.reading-mode .hero__lead { color: #fff; }
@media (min-width: 1201px) and (max-width: 1440px) {
  .header__phone { display: none; }
  .header__inner { gap: 12px; }
  .main-nav > ul > li > a { padding: 10px; font-size: 14px; }
}
@media (max-width: 620px) {
  .brand__name { font-size: 17px; }
  .brand__mark { width: 38px; height: 38px; }
  .topbar__inner { flex-wrap: wrap; }
  .hero__title { overflow-wrap: break-word; }
  .doc-item { padding: 18px; gap: 12px; }
  .doc-item__ico { width: 38px; height: 38px; }
  .popup { bottom: 18px; }
  body:has(.cookie.show) .popup { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 620px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .form-grid .row2 { grid-template-columns: 1fr; }
  .hero__slide { min-height: 560px; }
  .hero__foot { gap: 20px; }
  .header__cta .btn { display: none; }
  .split__badge { left: 8px; }
}

/* Shared layout corrections for the restored pages. */
:root { --link: #006e78; --action: #007e89; }
html { scroll-padding-top: 100px; }
::selection { background: #c6ecee; color: var(--navy); }
a { color: var(--link); text-underline-offset: 3px; }
input, textarea { caret-color: var(--link); }
.btn--primary, .popup__btn--primary { background: var(--action); box-shadow: 0 4px 12px rgba(3,27,78,.1); }
.btn--primary:hover, .popup__btn--primary:hover { background: #00636d; }
.hero__tag, .cookie button.accept { background: var(--action); border-color: var(--action); }
.card--teal { background: linear-gradient(160deg, #007e89, #006b76); }
.card--teal p { color: #fff; }
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--link); }
.header__phone { display: none; }
.doc-chip, .specialist .role, .price-table td.code { color: var(--link); }
.doc-chip { min-height: 44px; line-height: 1.45; }
.doc-chip--muted { color: var(--muted); border: 0; padding: 0; min-height: 0; border-radius: 0; background: transparent; }
.topbar__inner { padding: 8px var(--gutter); gap: 8px 12px; }
.topbar__spacer { display: none; }
.topbar__eye { margin-left: auto; }
.topbar a.topbar__item { color: #dceaf4; }
.page-hero__inner { padding: 56px var(--gutter); }
.page-hero h1 { margin-top: 16px; margin-bottom: 0; max-width: 24ch; text-wrap: balance; }
.sec-head__kicker { display: none; }
.sec-head { margin-bottom: 28px; }
.sec-head h2, .specialist h3, .doc-item h3 { text-wrap: pretty; }
.section > .container > p:not([data-price-date]) { max-width: 78ch; }
.patient-notice { border: 1px solid #cde4e6; border-radius: 12px; }
.patient-notice > :first-child { margin-top: 0; }
.patient-notice > :last-child { margin-bottom: 0; }
.document-links, .doc-item__actions { display: flex; flex-wrap: wrap; gap: 10px; }
[data-price-date] { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.grid > *, .specialist > div, .doc-item > div, .contact-row > div { min-width: 0; }
.doc-item > div:last-child { display: flex; flex-direction: column; align-self: stretch; }
.doc-item__actions { margin-top: auto; padding-top: 8px; }
.card, .step-card, .specialist, .service-card, .contact-block, .form-card { border-radius: 16px; }
.specialist { align-self: start; }
.specialist .meta { line-height: 1.7; font-size: 15px; }
.specialist .meta + .meta { margin-top: 12px; }
.specialist:hover, .card:hover, .service-card:hover { transform: none; }
.form-card { position: relative; }
.form-grid button { white-space: normal; line-height: 1.4; }
.price-table-wrap { box-shadow: none; border-radius: 16px; }
table.price-table { table-layout: fixed; min-width: 900px; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { min-width: 0 !important; }
.price-table th:nth-child(1) { width: 6%; }
.price-table th:nth-child(2) { width: 16%; }
.price-table th:nth-child(3) { width: 28%; }
.price-table th:nth-child(4) { width: 11%; }
.price-table th:nth-child(5) { width: 39%; }
.price-table thead th { white-space: normal; }
.price-table tbody td { padding: 16px 14px; }
.service-code { display: block; white-space: nowrap; }
.price-note > summary { display: none; }
.price-note > div { line-height: 1.65; }
.hero__dots { gap: 0; }
.hero__dots button, .hero__dots button.active { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: transparent; }
.hero__dots button::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 12px; background: rgba(255,255,255,.6); }
.hero__dots button.active::before { width: 24px; background: var(--brand); }
.acc-item.open .acc-item__body { max-height: none !important; }
.reading-mode .topbar a, .reading-mode .footer a { color: #fff; }
.reading-mode .doc-chip { font-size: 18px; }
.popup { max-height: calc(100dvh - 40px); overflow-y: auto; border-radius: 16px; }
.popup__media { display: none; }
.popup__body { padding: 48px 20px 20px; gap: 12px; }
.popup__title { line-height: 1.4; }
.popup__note { border-radius: 10px; }
.cookie { max-height: 45dvh; overflow-y: auto; }
.nav-open { overflow: hidden; }
.nav-open .cookie, .nav-open .popup, .nav-open .scroll-top { visibility: hidden; pointer-events: none; }
.scroll-top { width: 44px; height: 44px; right: 16px; bottom: 16px; }
body:has(.cookie.show) .scroll-top, body:has(.popup:not([hidden])) .scroll-top { visibility: hidden; pointer-events: none; }
@media (max-width: 1200px) {
  .main-nav { width: min(340px, calc(100vw - 40px)); right: -380px; height: 100dvh; padding: 84px 20px 28px; visibility: hidden; }
  .main-nav.open { visibility: visible; }
  .site-header:has(.main-nav.open)::after { content: ""; position: fixed; inset: 0; background: rgba(0,15,48,.5); z-index: 1999; }
  .nav-toggle[aria-expanded="true"] { position: fixed; top: 16px; right: 16px; background: var(--brand-soft); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 900px) {
  .price-table-wrap { border: 0; border-radius: 0; background: transparent; overflow: visible; }
  table.price-table { display: block; min-width: 0; width: 100%; }
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .price-table tbody { display: grid; gap: 16px; }
  .price-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .price-table tbody tr:nth-child(even) { background: #fff; }
  .price-table tbody td { display: block; padding: 0; border: 0; width: auto; white-space: normal; }
  .price-table td:nth-child(1) { grid-column: 1; grid-row: 1; align-self: center; font-size: 13px; }
  .price-table td:nth-child(1)::before { content: "№ "; }
  .price-table td:nth-child(4) { grid-column: 2; grid-row: 1; font-size: 23px; color: var(--ink); line-height: 1.25; }
  .price-table td:nth-child(4)::after { content: " ₽"; }
  .price-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 2; font-size: 16px; line-height: 1.55; }
  .price-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 3; display: flex; gap: 4px 12px; flex-wrap: wrap; font-size: 12px; font-weight: 500; }
  .price-table td:nth-child(5) { grid-column: 1 / -1; grid-row: 4; font-size: 14px; }
  .service-code { display: inline; }
  .price-note > summary { display: list-item; cursor: pointer; font-weight: 600; color: var(--link); padding: 6px 0; }
  .price-note > div { margin-top: 10px; }
  .price-table td.note:empty { display: none; }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .topbar__inner { gap: 8px; }
  .topbar__spacer { display: none; }
  .topbar__item { font-size: 12px; line-height: 1.5; }
  .topbar__eye { padding: 6px 10px; font-size: 12px; margin-left: 0; }
  .header__inner { min-height: 72px; gap: 8px; }
  .brand { gap: 9px; }
  .brand__name { font-size: 16px; }
  .page-hero__inner { padding: 32px var(--gutter); }
  .page-hero h1 { font-size: 30px; line-height: 1.2; }
  .breadcrumbs { font-size: 13px; }
  .holiday-notice { font-size: 14px; line-height: 1.5; }
  .holiday-notice .container { gap: 6px; }
  .hero__title { font-size: clamp(30px, 8.7vw, 36px); line-height: 1.1; }
  .hero__lead { font-size: 16px; line-height: 1.6; }
  .hero__tag { font-size: 11px; letter-spacing: .025em; padding: 8px 12px; }
  .section { padding: 40px 0; }
  .sec-head h2 { font-size: 28px; line-height: 1.2; }
  .specialist { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 10px 12px; padding: 20px; }
  .specialist > div:last-child { display: contents; }
  .specialist .avatar { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 16px; }
  .specialist h3 { grid-column: 2; font-size: 18px; margin: 0; }
  .specialist .role { grid-column: 2; margin: 0 0 6px; line-height: 1.5; }
  .specialist .meta { grid-column: 1 / -1; font-size: 15px; }
  .specialist .meta + .meta { margin-top: 4px; }
  .contact-block, .form-card, .step-card { padding: 20px; }
  .contact-row { gap: 10px; }
  .contact-row .ico { width: 30px; height: 30px; border-radius: 8px; }
  .contact-row > div:last-child { flex: 1; }
  .doc-item { padding: 20px; gap: 12px; }
  .doc-item h3 { line-height: 1.35; }
  .doc-item p { line-height: 1.6; }
  .doc-item__ico { width: 32px; height: 38px; background: transparent; }
  .doc-item__actions { gap: 8px; }
  .doc-chip { max-width: 100%; padding: 10px 12px; }
  .patient-notice { padding: 20px; }
  .popup { right: 16px; bottom: 16px; width: calc(100vw - 32px); max-width: 360px; max-height: calc(100dvh - 110px); }
  .cookie { padding: 16px 20px; }
  .cookie p { font-size: 13px; min-width: 0; }
  .cookie__inner { gap: 12px; }
  .map-choice { min-height: 240px; padding: 20px; }
}

/* Documents: a categorized directory with consistent file actions. */
.documents-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 40px; margin-top: 32px; align-items: start; }
.documents-navigation { position: sticky; top: 104px; }
.documents-navigation > p { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.documents-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.documents-navigation a { display: block; padding: 9px 0; color: var(--body); font-size: 15px; line-height: 1.5; }
.documents-navigation a:hover { color: var(--link); text-decoration: underline; }
.documents-catalog.grid { display: block; }
.documents-group { scroll-margin-top: 0; }
.documents-group + .documents-group { margin-top: 44px; }
.documents-group h2 { font-size: 25px; line-height: 1.3; margin-bottom: 16px; }
.documents-catalog .doc-item { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.documents-catalog .doc-item:first-child { border-top: 1px solid var(--line); }
.documents-catalog .doc-item:hover { box-shadow: none; }
.documents-catalog .doc-item__ico { width: 36px; height: 36px; background: var(--brand-faint); border-radius: 8px; }
.documents-catalog .doc-item > div:last-child { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: start; }
.documents-catalog .doc-item h3 { grid-column: 1; font-size: 16px; font-weight: 600; line-height: 1.5; margin: 0; }
.documents-catalog .doc-item p { grid-column: 1; font-size: 14px; line-height: 1.6; margin: 0; }
.documents-catalog .doc-item__actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; max-width: 216px; justify-content: flex-start; }
.documents-catalog .doc-chip { font-size: 12px; padding: 10px 12px; white-space: nowrap; }
.documents-catalog .doc-chip--muted { font-size: 12px; padding: 0; white-space: normal; }
.documents-archive { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.documents-archive summary { display: flex; align-items: center; gap: 16px; cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--ink); }
.documents-archive summary::after { content: "+"; margin-left: auto; font-weight: 400; font-size: 26px; color: var(--link); }
.documents-archive details[open] > summary::after { content: "−"; }
.documents-archive__count { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--muted); }
.documents-archive__body { padding: 16px 0 0; max-width: 85ch; }
.documents-archive__body li { margin-bottom: 10px; font-size: 15px; }
@media (max-width: 1100px) {
  .documents-layout { display: block; }
  .documents-navigation { position: static; margin-bottom: 32px; }
  .documents-navigation > p { display: none; }
  .documents-navigation ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
  .documents-navigation a { font-size: 14px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .documents-layout { margin-top: 24px; }
  .documents-group + .documents-group { margin-top: 36px; }
  .documents-group h2 { font-size: 22px; margin-bottom: 12px; }
  .documents-catalog .doc-item { display: block; padding: 20px 0; }
  .documents-catalog .doc-item__ico { display: none; }
  .documents-catalog .doc-item > div:last-child { display: block; }
  .documents-catalog .doc-item h3 { font-size: 17px; margin-bottom: 6px; }
  .documents-catalog .doc-item p { margin-bottom: 12px; }
  .documents-catalog .doc-item__actions { max-width: none; margin-top: 12px; }
  .documents-catalog .doc-chip { white-space: normal; font-size: 13px; }
  .documents-archive { margin-top: 36px; }
  .documents-archive summary { font-size: 20px; gap: 12px; }
  .documents-archive__count { font-size: 13px; }
}
