/* ============================================================
   ATLANT CHILD — дизайн-система v0.3
   Характер: премиальный медицинский модерн.
   Глубокий тёмно-синий + электрик-синий + циан, крупная
   типографика Manrope (заголовки) / Inter (текст), пиллюль-кнопки,
   стекло в шапке, мягкие тени, радиусы 20-28px.
   Спор с китом Elementor решаем двойными классами + !important.
   ============================================================ */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--a-deep: #071a30;        /* тёмная поверхность */
	--a-deep-2: #0b2444;
	--a-blue: #4d65ff;        /* электрик-синий, действие */
	--a-blue-d: #3a4ae0;
	--a-cyan: #35d6c6;        /* акцент-подсветка */
	--a-ink: #0c1b2e;         /* текст на светлом */
	--a-muted: #5c6c81;
	--a-bg: #f4f7fb;
	--a-card: #ffffff;
	--a-line: #e4eaf2;
	--a-radius: 20px;
	--a-radius-lg: 28px;
	--a-shadow: 0 20px 50px rgba(7, 24, 48, .10);
	--a-font-head: 'Manrope', -apple-system, Arial, sans-serif;
	--a-font-body: 'Manrope', -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
.a-body {
	margin: 0; background: var(--a-bg); color: var(--a-ink);
	font: 400 17px/1.65 var(--a-font-body);
	-webkit-font-smoothing: antialiased;
}
.a-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: var(--a-blue); }
h1, h2, h3, h4 { font-family: var(--a-font-head); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
.a-ico { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* ---------- Шапка: стекло ---------- */
.a-header { background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(12,27,46,.08); position: sticky; top: 0; z-index: 50; }
.a-header__in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.a-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--a-ink); }
.a-logo__mark { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, var(--a-blue), #2f3fd6); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 20px rgba(77,101,255,.35); }
.a-logo__mark svg { width: 22px; height: 22px; }
.a-logo__text { font-family: var(--a-font-head); font-weight: 800; font-size: 19px; letter-spacing: -.01em; display: flex; flex-direction: column; line-height: 1.05; }
.a-logo__text small { font-family: var(--a-font-body); font-weight: 500; font-size: 10.5px; color: var(--a-muted); text-transform: uppercase; letter-spacing: .16em; }
.a-nav { display: flex; gap: 26px; margin-right: auto; }
.a-nav a { text-decoration: none; color: var(--a-ink); font-weight: 500; font-size: 15.5px; }
.a-nav a:hover { color: var(--a-blue); }
.a-header__cta { display: flex; align-items: center; gap: 18px; }
.a-phone { font-family: var(--a-font-head); font-weight: 700; text-decoration: none; color: var(--a-ink); white-space: nowrap; font-size: 16px; }

/* ---------- Кнопки-пиллюли (двойной класс против кита Elementor) ---------- */
a.a-btn, button.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0 !important; cursor: pointer; font-family: var(--a-font-head) !important; font-size: 15.5px; font-weight: 700 !important; letter-spacing: .01em; text-decoration: none !important; border-radius: 999px !important; padding: 13px 26px !important; transition: box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; background: transparent; color: var(--a-ink); }
.a-btn:hover { box-shadow: 0 16px 34px rgba(77,101,255,.25); }
.a-btn.a-btn--primary { background: linear-gradient(135deg, var(--a-blue), #3b4fe0) !important; color: #fff !important; box-shadow: 0 12px 28px rgba(77,101,255,.35); }
.a-btn.a-btn--primary:hover { background: linear-gradient(135deg, var(--a-blue-d), #3243c9) !important; box-shadow: 0 16px 34px rgba(77,101,255,.42); }
.a-btn.a-btn--ghost { background: transparent !important; color: var(--a-ink) !important; border: 1.5px solid rgba(12,27,46,.16) !important; }
.a-btn.a-btn--ghost:hover { border-color: var(--a-blue) !important; color: var(--a-blue) !important; }
.a-btn.a-btn--lg { padding: 17px 34px !important; font-size: 17px !important; }
.a-btn.a-btn--wide { width: 100%; }
.a-btn.a-btn--hero-ghost { background: #fff !important; color: var(--a-blue) !important; border: 1.5px solid rgba(77,101,255,.35) !important; }
.a-btn.a-btn--hero-ghost:hover { background: #eef4ff !important; }
.a-btn.a-btn--white { background: #fff !important; color: var(--a-blue-d) !important; box-shadow: 0 14px 30px rgba(9,40,100,.25); }
.a-btn.a-btn--white:hover { background: #eaf2ff !important; }

/* ---------- Хлебные крошки ---------- */
.a-crumbs { padding: 22px 0 8px; font-size: 14px; color: var(--a-muted); }
.a-crumbs a { color: var(--a-muted); text-decoration: none; }
.a-crumbs a:hover { color: var(--a-blue); }

/* ---------- HERO главной: тёмная сцена со свечением ---------- */
.a-hero { background: #f2f7ff; color: var(--a-ink); position: relative; overflow: hidden; }
.a-hero::before { content: ""; position: absolute; inset: 0; background:
	radial-gradient(720px 440px at 84% 12%, rgba(77,101,255,.14), transparent 62%),
	radial-gradient(560px 400px at 8% 92%, rgba(53,214,198,.14), transparent 60%),
	radial-gradient(900px 520px at 46% -30%, rgba(77,101,255,.10), transparent 70%);
}
.a-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(77,101,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(77,101,255,.05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(720px 480px at 68% 40%, rgba(0,0,0,.9), transparent 75%); }
.a-hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 1fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.a-hero__tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid rgba(77,101,255,.18); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 500; letter-spacing: .02em; color: var(--a-blue-d); box-shadow: 0 6px 18px rgba(77,101,255,.10); margin-bottom: 26px; }
.a-hero__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--a-cyan); box-shadow: 0 0 12px var(--a-cyan); }
.a-hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1.08; margin: 0 0 22px; color: var(--a-ink); }
.a-hero__sub { font-size: 19px; line-height: 1.6; color: var(--a-muted); max-width: 540px; margin: 0 0 32px; }
.a-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.a-hero__facts { display: flex; flex-wrap: wrap; gap: 28px; color: var(--a-muted); font-size: 14.5px; font-weight: 500; }
.a-hero__facts span { display: inline-flex; align-items: center; gap: 8px; }
.a-hero__facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--a-cyan); }
.a-hero__media { position: relative; }
.a-hero__img { width: 100%; border-radius: var(--a-radius-lg); box-shadow: var(--a-shadow); display: block; aspect-ratio: 4/3; object-fit: cover; }
.a-hero__badge { position: absolute; left: -22px; bottom: 26px; background: #fff; color: var(--a-ink); border-radius: 18px; padding: 14px 20px; box-shadow: 0 20px 50px rgba(12,40,90,.18); border: 1px solid var(--a-line); }
.a-hero__badge strong { display: block; font-family: var(--a-font-head); font-size: 20px; font-weight: 800; color: var(--a-blue); letter-spacing: -.01em; }
.a-hero__badge small { color: var(--a-muted); font-size: 12.5px; }

/* ---------- Секции ---------- */
.a-section { padding: 92px 0; }
.a-section--soft { background: #ecf1f8; }
.a-h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin-bottom: .6em; }
.a-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--a-blue); margin-bottom: 14px; }
.a-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--a-cyan); }
.a-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.a-section__head .a-h2 { margin-bottom: 0; }
.a-link { font-family: var(--a-font-head); font-weight: 700; font-size: 15.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.a-link:hover { text-decoration: underline; }

/* ---------- Преимущества ---------- */
.a-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.a-feature { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 30px 26px; transition: box-shadow .2s ease, border-color .2s ease; }
.a-feature:hover { box-shadow: 0 24px 50px rgba(77,101,255,.18); border-color: rgba(77,101,255,.35); }
.a-feature__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #e8effc, #dceafd); color: var(--a-blue); margin-bottom: 18px; }
.a-feature__icon svg { width: 26px; height: 26px; }
.a-feature h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.a-feature p { color: var(--a-muted); font-size: 15px; margin: 0; }

/* ---------- О методе ---------- */
.a-about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.a-about__media { position: relative; }
.a-about__media::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border-radius: var(--a-radius-lg); background: linear-gradient(135deg, rgba(77,101,255,.14), rgba(53,214,198,.14)); }
.a-about__media img { position: relative; width: 100%; border-radius: var(--a-radius-lg); box-shadow: var(--a-shadow); display: block; aspect-ratio: 4/3; object-fit: cover; }
.a-about__text .a-btn { margin-top: 10px; }
.a-about__text p { color: var(--a-muted); font-size: 17px; }
.a-checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.a-checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; font-weight: 500; }
.a-checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--a-blue), #3b4fe0); }
.a-checklist li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* ---------- Врачи: премиальная карточка ---------- */
.a-docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; padding-bottom: 8px; }
.a-doc-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .22s ease, border-color .22s ease; }
.a-doc-card:hover { box-shadow: 0 30px 60px rgba(7, 24, 48, .18); border-color: rgba(77,101,255,.45); }
.a-doc-card__photo { position: relative; aspect-ratio: 4/4.2; background: #e6edf5; overflow: hidden; }
.a-doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; display: block; transition: filter .25s ease; }
.a-doc-card:hover .a-doc-card__photo img { filter: brightness(1.07) saturate(1.04); }
.a-doc-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,32,0) 46%, rgba(6,16,32,.62) 100%); }
.a-doc-card__exp { position: absolute; left: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: var(--a-blue-d); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 16px rgba(4,12,24,.25); }
.a-doc-card__exp svg { width: 13px; height: 13px; color: #0fa38f; }
.a-doc-card__rate { position: absolute; right: 14px; top: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(6,16,32,.55); backdrop-filter: blur(6px); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 700; }
.a-doc-card__rate svg { width: 13px; height: 13px; color: #ffc531; }
.a-doc-card__body { padding: 18px 20px 4px; }
.a-doc-card__name { font-size: 19.5px; font-weight: 800; margin: 0 0 4px; line-height: 1.25; }
.a-doc-card__name a { color: inherit; text-decoration: none; }
.a-doc-card__name a:hover { color: var(--a-blue); }
.a-doc-card__spec { color: var(--a-blue); font-weight: 600; font-size: 14px; margin: 0 0 10px; }
.a-doc-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.a-meta { display: inline-flex; align-items: center; gap: 5px; color: var(--a-muted); font-size: 13px; }
.a-meta svg { width: 14px; height: 14px; flex: none; color: var(--a-blue); }
.a-meta a { color: inherit; text-decoration: none; }
.a-meta a:hover { color: var(--a-blue); }
.a-doc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.a-tag { display: inline-flex; align-items: center; background: #eef3fb; color: #40536b; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; }
.a-tag--more { background: var(--a-blue); color: #fff; }
.a-doc-card__cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 16px 20px 20px; margin-top: auto; }
.a-doc-card__cta .a-btn { width: 100%; padding: 11px 16px !important; font-size: 14.5px !important; }
.a-doc-card__more svg { width: 15px; height: 15px; transition: color .18s ease; }
.a-doc-card__more:hover svg { color: var(--a-blue); }

/* ---------- Города ---------- */
.a-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.a-city { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 210px; border-radius: var(--a-radius); overflow: hidden; text-decoration: none; background: linear-gradient(160deg, var(--a-deep-2), var(--a-deep)); }
.a-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .25s ease, filter .25s ease; }
.a-city:hover img { opacity: .78; filter: brightness(1.08); }
.a-city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,16,32,.85)); }
.a-city__name { position: relative; z-index: 1; color: #fff; font-family: var(--a-font-head); font-weight: 800; font-size: 23px; letter-spacing: -.01em; padding: 14px 22px 2px; }
.a-city__count { position: relative; z-index: 1; color: #9fb8d4; font-size: 13.5px; padding: 0 22px 18px; }

/* ---------- Шаги ---------- */
.a-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-step { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 30px 28px; position: relative; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.a-step:hover { box-shadow: 0 24px 50px rgba(77,101,255,.18); border-color: rgba(77,101,255,.35); }
.a-step__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--a-blue), #3b4fe0); color: #fff; font-family: var(--a-font-head); font-weight: 800; font-size: 17px; margin-bottom: 16px; box-shadow: 0 10px 22px rgba(77,101,255,.3); }
.a-step h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.a-step p { color: var(--a-muted); font-size: 15px; margin: 0; }

/* ---------- CTA ---------- */
.a-cta { padding: 40px 0 92px; }
.a-cta__in { background: linear-gradient(120deg, var(--a-blue) 0%, #3b4fe0 55%, #0ba0b8 100%); border-radius: var(--a-radius-lg); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 60px 64px; box-shadow: 0 30px 60px rgba(77,101,255,.30); }
.a-cta__in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 300px at 88% 12%, rgba(255,255,255,.18), transparent 60%), radial-gradient(420px 300px at 6% 100%, rgba(53,214,198,.25), transparent 60%); }
.a-cta__in > * { position: relative; z-index: 1; }
.a-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.a-cta p { color: #d6e4ff; margin: 0; max-width: 520px; }
.a-cta__actions { display: flex; align-items: center; gap: 22px; flex: none; }
.a-cta__phone { color: #fff; font-family: var(--a-font-head); font-weight: 800; font-size: 22px; text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
.a-cta__phone:hover { color: var(--a-cyan); }

/* ---------- Карточка врача ---------- */
.a-doc-hero { display: grid; grid-template-columns: 340px 1fr; gap: 48px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius-lg); padding: 40px; margin: 18px 0 28px; align-items: start; box-shadow: var(--a-shadow); }
.a-doc__photo { border-radius: var(--a-radius); overflow: hidden; background: #e6edf5; aspect-ratio: 3/3.4; display: grid; place-items: center; }
.a-doc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a-doc__photo-ph { color: #9db4c8; }
.a-doc__photo-ph svg { width: 96px; height: 96px; }
.a-doc__name { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: .2em; }
.a-doc__spec { font-size: 20px; color: var(--a-blue); font-weight: 600; margin: 0 0 16px; }
.a-doc__facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.a-doc__schedule { color: var(--a-muted); margin: 0 0 26px; }
.a-doc__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Чипы ---------- */
.a-chip { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 999px; background: #e9f0fb; color: var(--a-blue-d); font-size: 14px; font-weight: 600; text-decoration: none; }
.a-chip--teal { background: #e0f7f4; color: #0b8f83; }
.a-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Контент карточки ---------- */
.a-doc-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.a-block { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 32px 34px; margin-bottom: 20px; }
.a-block h2 { font-size: 24px; font-weight: 700; }
.a-prose p { margin: 0 0 1em; color: #33465c; }
.a-side-card { background: #fff; border: 1px solid var(--a-line); color: var(--a-ink); border-radius: var(--a-radius); padding: 30px 28px; position: sticky; top: 100px; overflow: hidden; box-shadow: var(--a-shadow); }
.a-side-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px 190px at 92% -4%, rgba(77,101,255,.12), transparent 62%); }
.a-side-card > * { position: relative; z-index: 1; }
.a-side-card h3 { font-family: var(--a-font-body); font-size: 12.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--a-muted); font-weight: 600; }
.a-side-card__name { font-family: var(--a-font-head); font-weight: 700; font-size: 20px; color: var(--a-ink); margin: 0 0 10px; letter-spacing: -.01em; }
.a-side-card__row { color: var(--a-muted); margin: 0 0 6px; font-size: 15px; }
.a-side-card .a-btn { margin-top: 18px; }

/* ---------- Хаб / архив ---------- */
.a-archive-head { padding: 16px 0 28px; }
.a-archive-head h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
.a-archive-head p { color: var(--a-muted); max-width: 640px; font-size: 18px; }
.a-archive-head .a-chips { margin-top: 16px; }

/* ---------- Модальное окно ---------- */
.a-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.a-modal[hidden] { display: none; }
.a-modal__backdrop { position: absolute; inset: 0; background: rgba(5, 14, 28, .62); backdrop-filter: blur(6px); }
.a-modal__box { position: relative; background: #fff; border-radius: var(--a-radius-lg); padding: 36px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; box-shadow: 0 40px 90px rgba(3,10,22,.45); }
.a-modal__close { position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; color: var(--a-muted); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.a-modal__close:hover { background: var(--a-bg); color: var(--a-ink); }
.a-modal__close svg { width: 20px; height: 20px; }
.a-modal__title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.a-modal__sub { color: var(--a-muted); font-size: 15px; margin: 0 0 22px; }

/* ---------- Форма ---------- */
.a-field { display: block; margin-bottom: 14px; }
.a-field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--a-ink); }
.a-field input, .a-field textarea { width: 100%; border: 1.5px solid var(--a-line); border-radius: 14px; padding: 13px 15px; font: inherit; font-size: 15.5px; background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease; }
.a-field input:focus, .a-field textarea:focus { outline: none; border-color: var(--a-blue); box-shadow: 0 0 0 4px rgba(77,101,255,.12); background: #fff; }
.a-hp { position: absolute; left: -9999px; }
.a-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--a-muted); margin-bottom: 18px; }
.a-consent input { margin-top: 3px; accent-color: var(--a-blue); }
.a-form-msg { background: #fdecec; color: #a33333; border-radius: 12px; padding: 11px 14px; font-size: 14px; margin-bottom: 14px; }
.a-form-msg[hidden] { display: none; }
.a-lead-success { text-align: center; padding: 24px 0; }
.a-lead-success svg { width: 56px; height: 56px; color: #0fa38f; }
.a-lead-success[hidden] { display: none; }

/* ---------- Футер ---------- */
.a-footer { background: #eaf0f8; color: var(--a-muted); border-top: 1px solid var(--a-line); margin-top: 0; font-size: 14.5px; }
/* .a-footer__in заменён на .a-footer__cols */
.a-footer a { color: var(--a-blue-d); text-decoration: none; }
.a-footer a:hover { text-decoration: underline; }
.a-footer__col strong { color: var(--a-ink); font-family: var(--a-font-head); font-weight: 700; }

/* ---------- 404 ---------- */
.a-404 { padding: 90px 24px; text-align: center; }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
	.a-features { grid-template-columns: repeat(2, 1fr); }
	.a-hero__in { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
	.a-hero__media { max-width: 560px; }
	.a-about { grid-template-columns: 1fr; gap: 44px; }
	.a-doc-hero { grid-template-columns: 1fr; padding: 26px; }
	.a-doc__photo { max-width: 320px; }
	.a-doc-grid { grid-template-columns: 1fr; }
	.a-side-card { position: static; }
	.a-cta__in { flex-direction: column; text-align: center; padding: 48px 32px; }
	.a-cta__actions { flex-direction: column; }
}
@media (max-width: 640px) {
	.a-features, .a-steps { grid-template-columns: 1fr; }
	.a-nav { display: none; }
	.a-header__cta .a-phone { display: none; }
	.a-section { padding: 64px 0; }
	.a-hero__badge { left: 12px; }
}

/* v0.3.1 фиксы: лица в кадре, светлее плитки городов */
.a-doc-card__photo img, .a-doc__photo img { object-position: 50% 8%; }
.a-city img { opacity: .62; }
.a-city::after { background: linear-gradient(180deg, rgba(6,16,32,.08) 30%, rgba(6,16,32,.8)); }

/* Отзывы */
.a-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.a-review { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 28px 26px; margin: 0; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .2s ease, border-color .2s ease; }
.a-review:hover { box-shadow: 0 24px 50px rgba(77,101,255,.16); border-color: rgba(77,101,255,.35); }
.a-review blockquote { margin: 0; color: #33465c; font-size: 15.5px; line-height: 1.6; }
.a-review figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.a-review__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--a-blue), #0ba0b8); color: #fff; font-weight: 700; font-size: 17px; flex: none; }
.a-review__name { font-weight: 600; }
.a-review__stars { display: inline-flex; gap: 2px; margin-left: auto; color: #f5a623; }
.a-review__stars svg { width: 14px; height: 14px; }
@media (max-width: 1020px) { .a-reviews { grid-template-columns: 1fr; } }

/* Выпадающее меню врачей */
.a-nav__item { position: relative; }
.a-nav__item > a { display: inline-flex; align-items: center; gap: 5px; }
.a-nav__caret { width: 14px; height: 14px; transition: color .18s ease; }
.a-nav__item:hover .a-nav__caret { color: var(--a-blue); }
.a-nav__drop { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 300px; max-height: 420px; overflow: auto; background: #fff; border: 1px solid var(--a-line); border-radius: 16px; box-shadow: 0 24px 60px rgba(7,24,48,.16); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s; z-index: 60; }
.a-nav__drop::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.a-nav__item:hover .a-nav__drop, .a-nav__item:focus-within .a-nav__drop { opacity: 1; visibility: visible; }
.a-nav__drop a { display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; color: var(--a-ink); font-size: 14.5px; }
.a-nav__drop a:hover { background: var(--a-bg); color: var(--a-blue); }

/* ===== v0.5: услуги, футер-карта, мобильное меню ===== */

/* Карточка услуги */
.a-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; padding-bottom: 60px; }
.a-svc-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 26px 24px 20px; display: flex; flex-direction: column; transition: box-shadow .22s ease, border-color .22s ease; }
.a-svc-card:hover { box-shadow: 0 24px 50px rgba(7, 24, 48, .16); border-color: rgba(77,101,255,.45); }
.a-svc-card__link { text-decoration: none; color: inherit; display: block; }
.a-svc-card__name { font-size: 18.5px; font-weight: 800; margin: 0 0 10px; line-height: 1.3; }
.a-svc-card__link:hover .a-svc-card__name { color: var(--a-blue); }
.a-svc-card__feats { list-style: none; padding: 0; margin: 0 0 14px; }
.a-svc-card__feats li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--a-muted); margin-bottom: 5px; }
.a-svc-card__feats li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--a-cyan); }
.a-svc-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--a-line); padding-top: 14px; }
.a-svc-card__price { font-family: var(--a-font-head); font-weight: 800; color: var(--a-blue-d); font-size: 15px; }
.a-svc-card__more { padding: 9px 16px !important; font-size: 14px !important; }
.a-svc-card__more svg { width: 14px; height: 14px; }
.a-svc-card__more:hover svg { color: var(--a-blue); }

/* Футер-карта сайта */
.a-footer__cols { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 28px; padding: 52px 24px 36px; }
.a-footer__col em { display: block; font-style: normal; font-family: var(--a-font-head); font-weight: 700; color: var(--a-ink); margin-bottom: 12px; font-size: 15px; }
.a-footer__col a { display: block; padding: 3px 0; font-size: 14px; }
.a-footer__bottom { border-top: 1px solid #d9e3ee; }
.a-footer__bottom > div { max-width: 1180px; margin: 0 auto; padding: 16px 24px; font-size: 13px; color: var(--a-muted); }
.a-footer__bottom > div + div { padding-top: 0; }
@media (max-width: 1020px) { .a-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .a-footer__cols { grid-template-columns: 1fr; } }

/* Бургер и мобильное меню */
.a-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 10px; }
.a-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--a-ink); }
.a-burger:hover { background: var(--a-bg); }
.a-mobile { position: fixed; inset: 0; z-index: 300; }
.a-mobile[hidden] { display: none; }
.a-mobile__backdrop { position: absolute; inset: 0; background: rgba(5,14,28,.6); opacity: 0; transition: opacity .2s ease; }
.a-mobile__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, calc(100vw - 48px)); background: #fff; padding: 20px 22px 28px; overflow: auto; opacity: 0; transition: opacity .2s ease; }
.a-mobile:not([hidden]) .a-mobile__backdrop, .a-mobile:not([hidden]) .a-mobile__panel { opacity: 1; }
.a-mobile__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a-mobile__link { display: block; padding: 10px 4px; font-weight: 700; text-decoration: none; color: var(--a-ink); border-bottom: 1px solid var(--a-line); font-family: var(--a-font-head); font-size: 16px; }
.a-mobile__sub { display: block; padding: 6px 4px 6px 18px; font-size: 14px; color: var(--a-muted); text-decoration: none; }
.a-mobile__sub:hover { color: var(--a-blue); }
.a-mobile__cta { margin-top: 18px; display: grid; gap: 12px; }
.a-mobile__cta .a-phone { font-family: var(--a-font-head); font-weight: 800; font-size: 18px; color: var(--a-ink); text-decoration: none; }
@media (max-width: 1020px) { .a-burger { display: inline-flex; } .a-nav { display: none !important; } }

/* v0.5.1: герой услуг во всю ширину, бургер только на мобиле */
.a-doc-hero--wide { grid-template-columns: 1fr; }
.a-doc-hero--wide .a-doc__info { max-width: 860px; }
.a-burger { display: none !important; }
@media (max-width: 1020px) { .a-burger { display: inline-flex !important; } }

.a-mobile__head .a-modal__close { color: var(--a-ink) !important; border: 0 !important; background: var(--a-bg) !important; }
.a-mobile__head .a-modal__close:hover { background: #e8eef6 !important; }

/* v0.5.4: ссылкам — фирменный цвет (кит красит голые ссылки) */
.a-link { color: var(--a-blue) !important; }
.a-link:hover { color: var(--a-blue-d) !important; }
.a-main a { color: var(--a-blue); }
.a-main a.a-btn { color: #fff !important; }
.a-main .a-btn.a-btn--ghost { color: var(--a-ink) !important; }
.a-main .a-btn.a-btn--hero-ghost { color: var(--a-blue) !important; }
.a-main .a-chip { color: var(--a-blue-d); }
.a-main .a-chip--teal { color: var(--a-teal-d); }
.a-prose a { color: var(--a-blue); text-decoration: underline; text-decoration-color: rgba(77,101,255,.35); text-underline-offset: 3px; }
.a-prose a:hover { text-decoration-color: var(--a-blue); }
.a-side-card a { color: #d7e5f4; }
.a-consent a { color: var(--a-blue); }
.a-mobile__sub, .a-mobile__link { color: var(--a-ink); }

/* ===== v0.6: продающая главная, документы, контакты, фильтры ===== */

/* Статистика под hero */
.a-hero__stats { position: relative; z-index: 1; background: rgba(255,255,255,.5); border-top: 1px solid var(--a-line); }
.a-hero__stats-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 22px 24px; }
.a-stat { text-align: center; }
.a-stat strong { display: block; font-family: var(--a-font-head); font-weight: 800; font-size: 30px; letter-spacing: -.02em; color: var(--a-blue); }
.a-stat span { color: var(--a-muted); font-size: 13.5px; }

/* Лид-полоса с инлайн-формой */
.a-leadband { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius-lg); padding: 44px 46px; box-shadow: var(--a-shadow); }
.a-leadband h2 { font-size: clamp(24px, 3vw, 32px); }
.a-leadband p { color: var(--a-muted); }
.a-leadband__perks { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.a-leadband__perks span { position: relative; padding-left: 28px; font-weight: 500; }
.a-leadband__perks span::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--a-blue), #3b4fe0); }
.a-leadband__perks span::after { content: ""; position: absolute; left: 5px; top: 7px; width: 8px; height: 4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.a-quickform { background: var(--a-bg); border-radius: var(--a-radius); padding: 26px; }
.a-quickform .a-field input, .a-quickform .a-field select { background: #fff; }

/* Симптомы */
.a-symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.a-symptom { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; transition: box-shadow .2s ease, border-color .2s ease; }
.a-symptom:hover { box-shadow: var(--a-shadow); border-color: rgba(77,101,255,.35); }
.a-symptom svg { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--a-blue); background: #eaf2fb; border-radius: 12px; padding: 8px; box-sizing: content-box; }
.a-symptom strong { font-size: 15.5px; }
.a-symptom span { color: var(--a-muted); font-size: 13.5px; }
.a-symptoms__note { margin-top: 20px; color: var(--a-muted); }
.a-linklike { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--a-blue); text-decoration: underline; text-underline-offset: 3px; }

/* Программы */
.a-programs__sub { color: var(--a-muted); max-width: 640px; margin: 0 0 24px; }
.a-programs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.a-program { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius-lg); padding: 34px 32px; transition: box-shadow .22s ease, border-color .22s ease; }
.a-program:hover { box-shadow: var(--a-shadow); border-color: rgba(77,101,255,.4); }
.a-program--kids { background: linear-gradient(160deg, #f0fbf9, #fff); }
.a-program__badge { display: inline-block; background: #eaf2fb; color: var(--a-blue-d); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 6px 14px; margin-bottom: 14px; }
.a-program--kids .a-program__badge { background: #e0f7f4; color: #0b8f83; }
.a-program h3 { font-size: 21px; margin-bottom: 14px; }
.a-program ul { list-style: none; padding: 0; margin: 0 0 22px; }
.a-program li { position: relative; padding-left: 26px; margin-bottom: 8px; color: #33465c; }
.a-program li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #e4f5f5; }
.a-program li::after { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 4px; border-left: 2px solid var(--a-teal-d); border-bottom: 2px solid var(--a-teal-d); transform: rotate(-45deg); }

/* FAQ */
.a-faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.a-faq-side { position: sticky; top: 100px; }
.a-faq-side p { color: var(--a-muted); margin-bottom: 14px; }
.a-faq-side .a-phone { font-family: var(--a-font-head); font-weight: 800; font-size: 22px; color: var(--a-blue); text-decoration: none; }
.a-faq__item { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.a-faq__item[open] { border-color: rgba(77,101,255,.4); }
.a-faq__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--a-font-head); font-weight: 700; font-size: 16.5px; position: relative; }
.a-faq__item summary::-webkit-details-marker { display: none; }
.a-faq__item summary svg { position: absolute; right: 18px; top: 20px; width: 18px; height: 18px; color: var(--a-blue); transition: transform .2s ease; }
.a-faq__item[open] summary svg { transform: rotate(180deg); }
.a-faq__item[open] summary { color: var(--a-blue); }
.a-faq__item p { padding: 0 22px 20px; color: #33465c; margin: 0; }

/* Контакты */
.a-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.a-contact-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; transition: box-shadow .22s ease, border-color .22s ease; }
.a-contact-card:hover { box-shadow: var(--a-shadow); border-color: rgba(77,101,255,.4); }
.a-contact-card h2 { font-size: 20px; margin-bottom: 4px; }
.a-contact-card__addr { font-weight: 600; margin: 0; }
.a-contact-card__hours { color: var(--a-muted); font-size: 14px; margin: 0; }
.a-contact-card__phone { font-family: var(--a-font-head); font-weight: 800; color: var(--a-blue); text-decoration: none; font-size: 17px; }
.a-contact-card__map { background: #e6edf5; border: 1px dashed #b9cbdd; border-radius: 12px; padding: 22px; text-align: center; color: var(--a-muted); font-size: 13px; margin: 12px 0 14px; }
.a-contact-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.a-contact-card__actions .a-btn { padding: 10px 12px !important; font-size: 14px !important; }

/* Шаблон документов */
.a-doc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding-bottom: 60px; }
.a-doc-nav { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 20px; position: sticky; top: 100px; }
.a-doc-nav__title { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a-muted); margin-bottom: 10px; }
.a-doc-nav a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--a-ink); font-size: 14px; }
.a-doc-nav a:hover { background: var(--a-bg); }
.a-doc-nav a.is-current { background: #e9f0fb; color: var(--a-blue-d); font-weight: 700; }
.a-doc-nav__contact { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--a-line); font-size: 13px; color: var(--a-muted); }
.a-doc-nav__contact span { display: block; margin-bottom: 4px; }
.a-doc-nav__contact a { display: block; font-family: var(--a-font-head); font-weight: 800; font-size: 17px; color: var(--a-blue); text-decoration: none; }
.a-doc-page { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius-lg); padding: 40px 44px; }
.a-doc-page__head { border-bottom: 2px solid var(--a-line); padding-bottom: 18px; margin-bottom: 22px; }
.a-doc-page__head h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 8px; }
.a-doc-page__meta { color: var(--a-muted); font-size: 13.5px; }
.a-doc-page__prose h3 { font-size: 18px; margin: 1.4em 0 .5em; }
.a-doc-page__prose a { color: var(--a-blue); }

/* Фильтры врачей */
.a-filters { display: flex; flex-direction: column; gap: 10px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 18px 20px; margin-bottom: 24px; }
.a-filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.a-filters__label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--a-muted); width: 64px; flex: none; }
.a-fchip { border: 1.5px solid var(--a-line); background: #fff; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--a-ink); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.a-fchip:hover { border-color: var(--a-blue); color: var(--a-blue); }
.a-fchip--on { background: var(--a-blue); border-color: var(--a-blue); color: #fff; }
.a-filters__count { margin-left: auto; font-size: 13.5px; color: var(--a-muted); }
.a-empty { text-align: center; padding: 40px 20px 70px; color: var(--a-muted); }

@media (max-width: 1020px) {
	.a-leadband { grid-template-columns: 1fr; padding: 30px 26px; }
	.a-symptoms { grid-template-columns: 1fr 1fr; }
	.a-programs { grid-template-columns: 1fr; }
	.a-faq-wrap { grid-template-columns: 1fr; }
	.a-faq-side { position: static; }
	.a-doc-layout { grid-template-columns: 1fr; }
	.a-doc-nav { position: static; }
	.a-hero__stats-in { grid-template-columns: repeat(3, 1fr); }
	.a-doc-page { padding: 26px 22px; }
}
@media (max-width: 640px) {
	.a-symptoms { grid-template-columns: 1fr; }
	.a-hero__stats-in { grid-template-columns: repeat(2, 1fr); }
	.a-filters__label { width: auto; }
}

/* ===== v0.7: липкая мобильная панель, квиз, симптомы, цены/FAQ на посадочных ===== */

/* Рейтинг в шапке */
.a-header__rate { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; background: #fff8e6; border: 1px solid #f2dfae; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: #8a6d1a; }
.a-header__rate svg { width: 14px; height: 14px; color: #f5a623; }
.a-header__rate small { font-weight: 600; color: #a8842b; }

/* Липкая мобильная панель действий */
.a-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--a-line); box-shadow: 0 -8px 30px rgba(7,24,48,.12); }
.a-stickybar .a-btn { width: 100%; }
.a-stickybar__quiz { position: absolute; right: 12px; top: -46px; border-radius: 999px; padding: 10px 16px !important; font-size: 13.5px !important; box-shadow: 0 10px 24px rgba(77,101,255,.35); }
@media (max-width: 640px) { .a-stickybar { display: grid; } body { padding-bottom: 74px; } }

/* Квиз */
.a-quiz__steps { position: relative; min-height: 240px; }
.a-quiz__step[hidden] { display: none; }
.a-quiz__q { font-family: var(--a-font-head); font-weight: 700; font-size: 18px; margin: 0 0 14px; }
.a-quiz__opts { display: grid; gap: 10px; }
.a-quiz__opt { border: 1.5px solid var(--a-line); background: #fff; border-radius: 12px; padding: 12px 16px; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
.a-quiz__opt:hover { border-color: var(--a-blue); color: var(--a-blue); }
.a-quiz__opt.is-picked { border-color: var(--a-blue); background: #eef4ff; color: var(--a-blue-d); }
.a-quiz__nav { display: flex; gap: 10px; margin-top: 16px; }
.a-quiz__dots { display: flex; gap: 6px; margin-bottom: 16px; }
.a-quiz__dots i { width: 24px; height: 5px; border-radius: 3px; background: var(--a-line); }
.a-quiz__dots i.is-done { background: var(--a-blue); }
.a-quiz .a-modal__sub { margin-bottom: 12px; }

/* Симптомы */
.a-sym-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; padding-bottom: 60px; }
.a-sym-card { background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 26px 24px; text-decoration: none; color: inherit; display: block; transition: box-shadow .22s ease, border-color .22s ease; }
.a-sym-card:hover { box-shadow: var(--a-shadow); border-color: rgba(77,101,255,.4); }
.a-sym-card h2 { font-size: 18.5px; margin: 0 0 8px; }
.a-sym-card p { color: var(--a-muted); font-size: 14px; margin: 0; }
.a-sym-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius-lg); padding: 40px; margin: 18px 0 26px; box-shadow: var(--a-shadow); }
.a-sym-hero h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: .3em; }
.a-sym-hero p { color: var(--a-muted); margin: 0 0 18px; }
.a-sym-hero__media img { width: 100%; border-radius: var(--a-radius); display: block; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--a-shadow); }
@media (max-width: 1020px) { .a-sym-hero { grid-template-columns: 1fr; padding: 26px; } }

/* v0.7.1: квиз-кнопки против кита */
.a-quiz__opt { color: var(--a-ink) !important; border-color: var(--a-line) !important; background: #fff !important; }
.a-quiz__opt:hover { color: var(--a-blue) !important; border-color: var(--a-blue) !important; }
.a-quiz__opt.is-picked { color: var(--a-blue-d) !important; border-color: var(--a-blue) !important; background: #eef4ff !important; }
.a-linklike { color: var(--a-blue) !important; }
.a-linklike:hover { color: var(--a-blue-d) !important; }
.a-stickybar .a-btn.a-btn--ghost { color: var(--a-ink) !important; border: 1.5px solid var(--a-line) !important; background: #fff !important; }

/* ===== v0.8: новая архитектура главной, единая радиус-система, стрелки-переходы ===== */

/* Единая радиус-система: панели 32, карточки 24, поля/внутренние 16, кнопки и чипы — пиллюли */
:root { --a-radius: 24px; --a-radius-lg: 32px; --a-radius-in: 16px; }
.a-doc-card { border-radius: var(--a-radius) !important; }
.a-svc-card, .a-feature, .a-step, .a-review, .a-contact-card, .a-side-card, .a-filters, .a-block, .a-program, .a-doc-nav, .a-symptom { border-radius: var(--a-radius); }
.a-modal__box, .a-cta__in, .a-leadband, .a-doc-page, .a-program { border-radius: var(--a-radius-lg) !important; }
.a-faq__item, .a-symptom, .a-quiz__opt { border-radius: var(--a-radius-in) !important; }
.a-field input, .a-field textarea, .a-field select { border-radius: var(--a-radius-in) !important; }
.a-doc-hero, .a-sym-hero { border-radius: var(--a-radius-lg); }
.a-doc__photo, .a-contact-card__map { border-radius: var(--a-radius); }

/* Стрелка-переход у ссылок «все/подробнее» */
.a-link { display: inline-flex; align-items: center; gap: 7px; }
.a-link::after { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'><path d='M5 12h14M13 6l6 6-6 6'/></svg>") center / contain no-repeat; }
.a-side-card .a-side-card__row a[href*='goroda'], .a-side-card p a { color: #cfe2f6 !important; }

/* Ссылки-«лайклик» — против кита раз и навсегда */
.a-linklike { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; color: var(--a-blue) !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(77,101,255,.35); text-underline-offset: 3px; }
.a-linklike:hover { color: var(--a-blue-d) !important; text-decoration-color: var(--a-blue); }

/* Hero: доверие + фон-водяной знак */
.a-hero { overflow: hidden; position: relative; }
.a-hero::before { content: "АТЛАНТ"; position: absolute; right: -40px; top: 8px; font-family: var(--a-font-head); font-weight: 800; font-size: 200px; line-height: 1; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(77,101,255,.10); pointer-events: none; }
.a-hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.a-hero__trust span { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--a-line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--a-muted); }
.a-hero__trust svg { width: 15px; height: 15px; color: var(--a-blue); flex: none; }
.a-hero__trust span:nth-child(3) svg { color: #f5a623; }

/* Симптом-матрица */
.a-sym-matrix { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.a-symchip { border: 1.5px solid var(--a-line); background: #fff; border-radius: 999px; padding: 12px 22px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--a-ink); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.a-symchip:hover { border-color: var(--a-blue); color: var(--a-blue); }
.a-symchip--on { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.a-sym-panel { display: grid; grid-template-columns: 1fr auto; gap: 10px 32px; align-items: center; background: var(--a-card); border: 1px solid var(--a-line); border-left: 4px solid var(--a-blue); border-radius: var(--a-radius); padding: 26px 30px; }
.a-sym-panel h3 { font-size: 20px; margin: 0 0 6px; }
.a-sym-panel p { color: var(--a-muted); margin: 0; }

/* Принципы — крупные номера */
.a-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 22px; }
.a-principle { position: relative; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 90px 28px 28px; transition: box-shadow .2s ease, border-color .2s ease; }
.a-principle:hover { box-shadow: 0 24px 50px rgba(77, 101, 255, .18); border-color: rgba(77, 101, 255, .4); }
.a-principle__num { position: absolute; top: 16px; right: 22px; display: block; font-family: var(--a-font-head); font-weight: 800; font-size: 42px; line-height: 1; letter-spacing: -.03em; background: linear-gradient(135deg, var(--a-blue), #35d6c6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.a-principle__icon { position: absolute; top: 22px; left: 26px; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(135deg, #eaf2fb, #e0f7f4); color: var(--a-blue); display: grid; place-items: center; }
.a-principle__icon svg { width: 27px; height: 27px; }
.a-principle h3 { font-size: 21px; line-height: 1.3; margin-bottom: 10px; background: var(--a-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.a-principle p { color: var(--a-muted); font-size: 14.5px; margin: 0; }
.a-about-mini { display: grid; grid-template-columns: 380px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius-lg); padding: 26px; }
.a-about-mini img { width: 100%; border-radius: var(--a-radius); aspect-ratio: 16/9; object-fit: cover; display: block; }
.a-about-mini__text p { font-size: 16px; }
.a-about-mini__text .a-btn { margin-top: 12px; }

/* Рейтинг-бейдж в шапке секции */
.a-rate-badge { display: inline-flex; align-items: center; gap: 7px; background: #fff8e6; border: 1px solid #f2dfae; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; color: #8a6d1a; white-space: nowrap; }
.a-rate-badge svg { width: 15px; height: 15px; color: #f5a623; }

/* Филиалы: строгий NAP-список */
.a-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.a-branch { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 22px 24px; text-decoration: none; color: inherit; display: block; transition: box-shadow .22s ease, border-color .22s ease; }
.a-branch:hover { box-shadow: var(--a-shadow); border-color: rgba(77,101,255,.4); }
.a-branch__city { display: flex; align-items: center; justify-content: space-between; font-family: var(--a-font-head); font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.a-branch__city svg { width: 18px; height: 18px; color: var(--a-blue); }
.a-branch__row { font-size: 14.5px; color: #33465c; margin-bottom: 4px; }
.a-branch__row--muted { color: var(--a-muted); font-size: 13.5px; }

/* Финальный CTA: глубокая панель с формой */
.a-cta-deep { background: linear-gradient(135deg, #0a2f63 0%, #0b4aa0 55%, #0e63ae 100%); }
.a-cta-deep__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.a-cta-deep h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.a-cta-deep__text p { color: #b9cfe6; font-size: 16.5px; max-width: 480px; }
.a-cta-deep__phone { display: inline-block; margin-top: 18px; color: #fff; font-family: var(--a-font-head); font-weight: 800; font-size: 26px; text-decoration: none; letter-spacing: -.01em; }
.a-cta-deep__phone:hover { color: var(--a-cyan); }
.a-quickform--onDark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--a-radius-lg); padding: 30px; backdrop-filter: blur(6px); }
.a-quickform--onDark .a-field span { color: #cfe0f4; }
.a-quickform--onDark .a-field input, .a-quickform--onDark .a-field select { background: rgba(255,255,255,.97); border-color: transparent; }
.a-quickform--onDark .a-consent { color: #b9cfe6; }
.a-quickform--onDark .a-consent a { color: #fff; text-decoration: underline; }

@media (max-width: 1020px) {
	.a-principles { grid-template-columns: 1fr; }
	.a-about-mini { grid-template-columns: 1fr; }
	.a-cta-deep__in { grid-template-columns: 1fr; gap: 36px; }
	.a-hero::before { font-size: 120px; }
	.a-sym-panel { grid-template-columns: 1fr; }
}

/* v0.8.1: фокус против кита (красная рамка) — наш синий ring */
.a-symchip:focus, .a-fchip:focus, .a-btn:focus, .a-svc-card__more:focus,
.a-nav__drop a:focus, .a-fchip:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 4px rgba(77, 101, 255, .18) !important;
}

/* v0.8.2: активный симтом-чип и фокус — против кита жёстко */
.a-symchip--on, .a-symchip--on:hover, .a-symchip--on:focus {
	background: var(--a-ink) !important;
	color: #fff !important;
	border-color: var(--a-ink) !important;
	box-shadow: none !important;
}
.a-symchip:focus { outline: none !important; box-shadow: none !important; }
.a-fchip--on, .a-fchip--on:hover, .a-fchip--on:focus {
	background: var(--a-blue) !important; color: #fff !important; border-color: var(--a-blue) !important; box-shadow: none !important;
}
.a-fchip:focus { outline: none !important; box-shadow: none !important; }


/* ===== v0.9: градиентные линии + кнопки с градиентной рамкой (без заливки) ===== */
:root { --a-grad: linear-gradient(90deg, var(--a-blue) 0%, #2b9fd4 55%, #35d6c6 100%); }

/* Базовая кнопка: прозрачная, градиентная рамка 2px */
body a.a-btn, body button.a-btn {
	background: linear-gradient(#ffffff, #ffffff) padding-box, var(--a-grad) border-box !important;
	border: 2px solid transparent !important;
	color: var(--a-blue-d) !important;
	box-shadow: 0 6px 18px rgba(77, 101, 255, .14) !important;
}
body a.a-btn:hover, body button.a-btn:hover {
	background: linear-gradient(#f2f8ff, #f2f8ff) padding-box, var(--a-grad) border-box !important;
	box-shadow: 0 10px 26px rgba(77, 101, 255, .24) !important;
}
/* Тёмные/цветные подложки: прозрачная подложка + белый текст */
body .a-cta-deep button.a-btn, body .a-hero button.a-btn--hero-ghost {
	background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0)) padding-box, var(--a-grad) border-box !important;
	color: var(--a-blue-d) !important;
}
body .a-cta-deep button.a-btn {
	color: #fff !important;
	background: linear-gradient(rgba(10, 47, 99, .25), rgba(10, 47, 99, .25)) padding-box, var(--a-grad) border-box !important;
}
body .a-cta-deep button.a-btn:hover {
	background: linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, .14)) padding-box, var(--a-grad) border-box !important;
}
body .a-hero button.a-btn--hero-ghost { color: var(--a-blue-d) !important; }
/* Модалка/sticky — как на светлом */

/* Активные фильтры/чипы: градиентная заливка состояния */
body button.a-fchip--on, body button.a-fchip--on:hover, body button.a-fchip--on:focus {
	background: var(--a-grad) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 8px 20px rgba(77, 101, 255, .28) !important;
}
body button.a-symchip--on, body button.a-symchip--on:hover, body button.a-symchip--on:focus {
	background: var(--a-grad) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 8px 20px rgba(77, 101, 255, .28) !important;
}
body button.a-fchip, body button.a-symchip { border-width: 1.5px !important; }

/* Градиентные акцентные линии */
.a-sym-panel { position: relative; border-left: 0 !important; }
.a-sym-panel::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 4px; background: var(--a-grad); }
.a-svc-card__foot { position: relative; border-top: 0 !important; padding-top: 16px; }
.a-svc-card__foot::before { content: ""; position: absolute; top: 0; left: 0; width: 46%; height: 2px; border-radius: 2px; background: var(--a-grad); }
.a-doc-page__head { position: relative; border-bottom: 0 !important; padding-bottom: 18px; }
.a-doc-page__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 220px; height: 2px; border-radius: 2px; background: var(--a-grad); }
.a-footer__bottom { position: relative; border-top: 0 !important; }
.a-footer__bottom::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: linear-gradient(90deg, transparent, rgba(77,101,255,.45), rgba(53,214,198,.45), transparent); }
.a-header { border-bottom: 0 !important; position: sticky; }
.a-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: linear-gradient(90deg, rgba(77,101,255,.35), rgba(53,214,198,.35), transparent 70%); pointer-events: none; }
.a-mobile__link { border-bottom: 0 !important; position: relative; }
.a-mobile__link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(77,101,255,.25), transparent); }

/* v0.9.1: перебивание старых заливок модификаторов (специфичность выше) */
body .a-btn.a-btn--primary, body .a-btn.a-btn--white, body .a-btn.a-btn--ghost,
body .a-btn.a-btn--hero-ghost, body a.a-btn, body button.a-btn {
	background: linear-gradient(#ffffff, #ffffff) padding-box, var(--a-grad) border-box !important;
	border: 2px solid transparent !important;
	color: var(--a-blue-d) !important;
	box-shadow: 0 6px 18px rgba(77, 101, 255, .14) !important;
}
body .a-btn.a-btn--primary:hover, body .a-btn.a-btn--white:hover, body .a-btn.a-btn--ghost:hover,
body .a-btn.a-btn--hero-ghost:hover, body a.a-btn:hover, body button.a-btn:hover {
	background: linear-gradient(#f0f7ff, #f0f7ff) padding-box, var(--a-grad) border-box !important;
	box-shadow: 0 12px 28px rgba(77, 101, 255, .26) !important;
}
body .a-cta-deep .a-btn.a-btn--white, body .a-cta-deep button.a-btn {
	background: linear-gradient(rgba(10, 47, 99, .2), rgba(10, 47, 99, .2)) padding-box, var(--a-grad) border-box !important;
	color: #fff !important;
}
body .a-cta-deep .a-btn.a-btn--white:hover, body .a-cta-deep button.a-btn:hover {
	background: linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, .16)) padding-box, var(--a-grad) border-box !important;
}

/* v0.9.2: фокус на активных чипах — кит красит :focus сильнее, добиваем специфичностью */
body button.a-symchip--on:focus, body button.a-symchip--on:focus-visible {
	border-color: var(--a-ink) !important;
	outline: none !important;
	box-shadow: none !important;
	background: var(--a-grad) !important;
	color: #fff !important;
}
body button.a-fchip--on:focus, body button.a-fchip--on:focus-visible {
	border-color: var(--a-blue) !important;
	outline: none !important;
	box-shadow: 0 8px 20px rgba(77, 101, 255, .28) !important;
	background: var(--a-grad) !important;
	color: #fff !important;
}
body button.a-linklike:focus, body button.a-linklike:focus-visible {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: var(--a-blue-d) !important;
}

/* v0.9.3: переменные кита (малиновый акцент их старого сайта) → наш фирменный синий */
body, [class*="elementor-kit"] {
	--e-global-color-accent: #0e63ae;
	--e-global-color-primary: #0e63ae;
	--e-global-color-secondary: #0e63ae;
}
body button { --e-global-color-accent: #0e63ae; }

/* v0.9.4: базовые цвета чипов/опций — body-скоуп против кита */
body button.a-symchip, body button.a-fchip, body button.a-quiz__opt {
	background: #fff !important;
	color: var(--a-ink) !important;
	border: 1.5px solid var(--a-line) !important;
	box-shadow: none !important;
}
body button.a-symchip:hover, body button.a-fchip:hover, body button.a-quiz__opt:hover {
	color: var(--a-blue) !important;
	border-color: var(--a-blue) !important;
}
body button.a-linklike {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--a-blue) !important;
}
body button.a-linklike:hover {
	color: var(--a-blue-d) !important;
}

/* v0.9.5: hero-ghost — белая подложка + градиентная рамка (финальное слово) */
body .a-hero button.a-btn--hero-ghost, body .a-hero a.a-btn--hero-ghost {
	background: linear-gradient(#ffffff, #ffffff) padding-box, var(--a-grad) border-box !important;
	color: var(--a-blue-d) !important;
	border: 2px solid transparent !important;
	box-shadow: 0 6px 18px rgba(77, 101, 255, .14) !important;
}
body .a-hero button.a-btn--hero-ghost:hover, body .a-hero a.a-btn--hero-ghost:hover {
	background: linear-gradient(#eef5ff, #eef5ff) padding-box, var(--a-grad) border-box !important;
}

/* v0.9.6: финал — белый текст на градиентной заливке активного чипа */
html body button.a-symchip--on, html body button.a-symchip--on:focus, html body button.a-symchip--on:focus-visible {
	background: var(--a-grad) !important;
	color: #fff !important;
	border-color: transparent !important;
}
html body button.a-fchip--on, html body button.a-fchip--on:focus, html body button.a-fchip--on:focus-visible {
	background: var(--a-grad) !important;
	color: #fff !important;
	border-color: transparent !important;
}

/* v0.9.7: форма на тёмном CTA — светлая кнопка + градиентная рамка панели */
.a-quickform--onDark {
	background: linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .05)) padding-box, var(--a-grad) border-box !important;
	border: 2px solid transparent !important;
	box-shadow: 0 24px 60px rgba(4, 20, 45, .35) !important;
}
body .a-cta-deep .a-btn.a-btn--white, body .a-cta-deep button.a-btn {
	background: linear-gradient(#ffffff, #ffffff) padding-box, var(--a-grad) border-box !important;
	color: var(--a-blue-d) !important;
	box-shadow: 0 12px 28px rgba(4, 20, 45, .3) !important;
}
body .a-cta-deep .a-btn.a-btn--white:hover, body .a-cta-deep button.a-btn:hover {
	background: linear-gradient(#eef5ff, #eef5ff) padding-box, var(--a-grad) border-box !important;
}

/* v0.9.8: primary-кнопка hero — градиентная заливка (отличается от рамочной secondary) */
body .a-hero button.a-btn--fill {
	background: linear-gradient(120deg, var(--a-blue) 0%, #1fb3c9 100%) !important;
	color: #fff !important;
	border: 2px solid transparent !important;
	box-shadow: 0 14px 30px rgba(77, 101, 255, .35) !important;
}
body .a-hero button.a-btn--fill:hover {
	background: linear-gradient(120deg, var(--a-blue-d) 0%, #199aa8 100%) !important;
	box-shadow: 0 16px 36px rgba(77, 101, 255, .45) !important;
}
/* чипы доверия в один ряд не разъезжались */
.a-hero__trust { margin-top: 4px; }

/* v0.9.9: hero-кнопки — компактнее, чтобы стояли в одну строку */
.a-hero__cta .a-btn--lg { padding: 16px 24px !important; font-size: 16px !important; }

/* v0.10: шапка — без линии, мягкое размытие снизу */
.a-header { border-bottom: 0 !important; box-shadow: 0 14px 34px -16px rgba(7, 24, 48, .22) !important; }
.a-header::after { display: none !important; }

/* v0.10.1: телефон на тёмном CTA — белый; градиент панели: слева светлее, справа темнее */
body .a-cta-deep .a-cta-deep__phone {
	color: #fff !important;
}
body .a-cta-deep .a-cta-deep__phone:hover {
	color: var(--a-cyan) !important;
}
.a-cta-deep {
	background: linear-gradient(135deg, #1173c4 0%, #0b4aa0 45%, #082c5e 100%) !important;
}

/* v0.10.2: тёмный футер + низ в одну строку с кредитом */
.a-footer { background: var(--a-deep, #0c1b2e); border-top: 0; }
.a-footer__cols { padding: 48px 24px 40px; }
.a-footer__col em { color: #fff; }
.a-footer__col { color: #9fb3c8; }
.a-footer__col strong { color: #fff; }
.a-footer__col a { color: #c6d6ea; font-size: 14px; padding: 3px 0; }
.a-footer__col a:hover { color: #fff; }
.a-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.a-footer__bottom > div { padding: 14px 24px; font-size: 13px; color: #7f97b4; }
.a-footer__bottom > div + div { padding-top: 14px; }
.a-footer__bottom a { color: #c6d6ea; }

/* v0.12.1: иконки в карточках услуг; полосу в подвале карточки убрали */
.a-svc-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #eaf2fb, #e0f7f4); color: var(--a-blue); margin-bottom: 14px; }
.a-svc-card__icon svg { width: 24px; height: 24px; }
.a-svc-card__foot::before { display: none !important; }
.a-svc-card__foot { padding-top: 12px; }

/* v0.12.2: единые скругления кнопок. reset.css hello-elementor красит
   [type=button]/button с специфичностью (0,1,1) — выше класса (.a-symchip = 0,1,0),
   из-за чего все чипы/опции квиза сплющились в его дефолт 3px/1rem/.5rem 1rem.
   Возвращаем pill-язык темы (как у .a-btn). */
body button.a-symchip, body button.a-fchip {
	border-radius: 999px !important;
	font-size: 15px !important;
	padding: 8px 14px !important;
	white-space: nowrap !important;
}
body button.a-quiz__opt { border-radius: 12px !important; padding: 12px 16px !important; }
/* Симптом-матрица: 8 чипов в одну строку на десктопе (замер: 1059px из 1132px).
   Ниже 1180px контейнер уже строки — разрешаем перенос, иначе переполнение. */
.a-sym-matrix { gap: 8px; }
@media (min-width: 1180px) { .a-sym-matrix { flex-wrap: nowrap; } }

/* v0.12.2: QR выписки лицензии (приказ 118н) в подвале */
.a-footer__qr { display: flex; align-items: center; gap: 12px; padding: 14px 24px; font-size: 13px; color: #7f97b4; }
.a-footer__qr img { width: 76px; height: 76px; border-radius: 12px; background: #fff; padding: 4px; box-sizing: content-box; }
.a-footer__qr a { color: #c6d6ea; }
.a-footer__qr a:hover { color: #fff; }

/* v0.12.2: QR в реквизитах на «Контактах» */
.a-req-row { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.a-req-qr { width: 96px; height: 96px; border-radius: 12px; background: #fff; border: 1px solid var(--a-line); padding: 4px; box-sizing: content-box; flex: none; }

/* v0.12.4: фото в карточке врача — ссылка на профиль (был div) */
a.a-doc-card__photo { display: block; }

/* v0.12.5: страница врача — титул и списки квалификации/направлений */
.a-doc__role { margin: -6px 0 8px; color: var(--a-muted); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.a-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a-list li { position: relative; padding-left: 22px; color: #33465c; }
.a-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 2px; border-radius: 2px; background: var(--a-grad); }
.a-list--cols { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 720px) { .a-list--cols { grid-template-columns: 1fr; } }

/* v0.12.6: дипломы на странице врача + «О центре» и «Телемедицина» на главной */
.a-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.a-certs__item { display: block; border: 1px solid var(--a-line); border-radius: var(--a-radius-in); overflow: hidden; background: #fff; }
.a-certs__item img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
@media (max-width: 860px) { .a-certs { grid-template-columns: repeat(2, 1fr); } }
.a-center { display: grid; grid-template-columns: 380px 1fr; gap: 36px; align-items: center; margin-top: 22px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 30px 32px; }
.a-center > * { min-width: 0; }
.a-center__text h3 { font-size: 24px; margin: 0 0 10px; }
.a-center__text p { color: var(--a-muted); margin: 0 0 14px; }
.a-center__text .a-btn { margin-top: 16px; }
.a-center__slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.a-center__slide { flex: 0 0 72%; scroll-snap-align: start; }
.a-center__slide img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--a-radius-in); display: block; }
.a-tv { margin-top: 22px; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 30px 32px; }
.a-tv h3 { font-size: 20px; margin: 0 0 16px; }
.a-tv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.a-tv__frame { aspect-ratio: 16/9; border-radius: var(--a-radius-in); overflow: hidden; background: #071a30; }
.a-tv__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.a-tv__item p { margin: 10px 0 0; color: var(--a-muted); font-size: 14.5px; font-weight: 600; }
@media (max-width: 1020px) { .a-center { grid-template-columns: 1fr; } .a-tv__grid { grid-template-columns: 1fr; } }

/* v0.12.7: постеры Телемедицины (фаcade — iframe только по клику) + мобильная шапка */
.a-tv__frame { position: relative; }
.a-tv__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-tv__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .92); color: var(--a-blue); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(4, 20, 45, .35); }
body button.a-tv__play { background: rgba(255, 255, 255, .92) !important; border-radius: 999px !important; color: var(--a-blue) !important; width: 64px !important; height: 64px !important; }
body button.a-tv__play:hover { background: #fff !important; box-shadow: 0 16px 38px rgba(4, 20, 45, .45) !important; }
body button.a-tv__play svg { width: 30px !important; height: 30px !important; margin-left: 3px; fill: var(--a-blue) !important; }
@media (max-width: 640px) {
	.a-header__in { gap: 10px; min-height: 62px; flex-wrap: nowrap; }
	.a-header__rate { display: none; }
	.a-header__cta { gap: 8px; margin-left: auto; }
	.a-header__cta .a-btn { padding: 10px 16px !important; font-size: 14px !important; }
	.a-logo__text { font-size: 17px; white-space: nowrap; }
	.a-section__head { flex-wrap: wrap; row-gap: 10px; }
}

/* v0.12.12: крошки-ссылки, футер с отступом, слайдер «О центре» без нативного скроллбара */
.a-crumbs a { color: var(--a-blue); text-decoration: underline; text-decoration-color: rgba(77, 101, 255, .35); text-underline-offset: 3px; }
.a-crumbs a:hover { text-decoration-color: var(--a-blue); }
.a-footer { margin-top: 48px; }
.a-center__media { min-width: 0; }
.a-center__slider { scrollbar-width: none; -ms-overflow-style: none; }
.a-center__slider::-webkit-scrollbar { display: none; }
.a-center__dots { display: flex; gap: 6px; margin-top: 12px; }
body button.a-center__dot { width: 8px !important; height: 8px !important; padding: 0 !important; border: 0 !important; border-radius: 999px !important; cursor: pointer; background: #cdd9e6 !important; transition: background .2s ease, width .2s ease !important; }
body button.a-center__dot.is-active { width: 24px !important; background: var(--a-grad) !important; }

/* ==== Правки приёмки 19.09 (0.12.13) ==== */
.a-hero__fact { max-width: 640px; margin: 14px 0 0; font-size: 14.5px; line-height: 1.55; color: #5a6b80; }
.a-disclaimer { margin: 18px 0 0; font-size: 12.5px; color: #8494a7; }
body a.a-symchip { display: inline-flex; align-items: center; border: 1px solid #dbe4ee; border-radius: 999px !important; padding: 8px 14px !important; font-size: 15px; white-space: nowrap; background: #fff; color: #16283c !important; text-decoration: none; cursor: pointer; }
body a.a-symchip:hover { border-color: var(--a-blue, #4d65ff); color: var(--a-blue, #4d65ff) !important; }
body a.a-symchip--on { border-color: var(--a-blue, #4d65ff); background: var(--a-blue, #4d65ff); color: #fff !important; }
.a-chip--teal a { color: inherit !important; text-decoration: none; }
.a-doc__line { margin: 4px 0 12px; font-size: 15px; color: #5a6b80; }
.a-contra { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.a-contra li { background: #fff; border: 1px solid #f3d6d6; color: #a24949; border-radius: 999px; padding: 8px 16px; font-size: 14.5px; }
.a-compare__sub { max-width: 640px; color: #5a6b80; }
.a-compare { margin-top: 18px; overflow-x: auto; }
.a-compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #dbe4ee; border-radius: 16px; overflow: hidden; min-width: 640px; }
.a-compare th, .a-compare td { padding: 14px 16px; text-align: left; font-size: 15px; border-bottom: 1px solid #dbe4ee; vertical-align: top; }
.a-compare thead th { background: #f4f7fb; font-size: 14px; color: #5a6b80; }
.a-compare tbody th { font-weight: 700; white-space: nowrap; width: 180px; }
.a-compare tbody tr:last-child th, .a-compare tbody tr:last-child td { border-bottom: 0; }
.a-compare tbody tr:last-child th { color: var(--a-blue, #4d65ff); }
.a-ba__links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.a-ba__note { margin: 10px 0 0; font-size: 13.5px; color: #8494a7; }
.a-svc-card__price--note { font-size: 12.5px; color: #8494a7; max-width: 200px; line-height: 1.4; }
.a-review--source .a-btn { margin-top: 10px; }
.a-review__src { font-size: 13px; color: #5a6b80; text-decoration: underline; }
.a-review__city { font-size: 13px; color: #8494a7; }
.a-foto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.a-foto-grid__item { margin: 0; border-radius: 16px; overflow: hidden; }
.a-foto-grid__item img { width: 100%; display: block; }
@media (max-width: 720px) { .a-foto-grid { grid-template-columns: repeat(2, 1fr); } .a-compare tbody th { width: auto; white-space: normal; } }

/* ==== v0.12.14: карусель до/после (квадратные слайды, драг мышью) ==== */
.a-center__slider { cursor: grab; user-select: none; -webkit-user-select: none; }
.a-center__slider.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.a-ba__slider .a-center__slide { flex: 0 0 260px; }
.a-ba__slider .a-center__slide img { aspect-ratio: 1/1; border-radius: 14px; border: 1px solid #dbe4ee; background: #f4f7fb; }
.a-ba__dots { margin-top: 12px; }
@media (max-width: 640px) { .a-ba__slider .a-center__slide { flex-basis: 64%; } }

/* ==== v0.12.15: карточка-источник отзывов на всю ширину, кнопка без гигантского svg ==== */
.a-review--source { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
.a-review--source blockquote { max-width: 620px; }
.a-review--source .a-btn { flex: none; }
.a-review--source .a-btn svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 720px) { .a-review--source { flex-direction: column; align-items: flex-start; } }

/* ==== v0.12.16: сравнение подходов: строки-карточки вместо эксель-таблицы ==== */
.a-comp { display: grid; gap: 10px; }
.a-comp__head { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px; padding: 0 24px; }
.a-comp__head span { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8494a7; }
.a-comp__row { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 24px; align-items: center; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 18px 24px; transition: box-shadow .18s ease, border-color .18s ease; }
.a-comp__row:hover { border-color: rgba(77, 101, 255, .3); }
.a-comp__name { font-family: var(--a-font-head); font-weight: 700; font-size: 16.5px; color: var(--a-ink); }
.a-comp__cell p { margin: 0; color: #33465c; font-size: 15px; line-height: 1.55; }
.a-comp__k { display: none; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8494a7; }
.a-comp__row--hero { border: 1px solid transparent; background: linear-gradient(var(--a-card, #fff), var(--a-card, #fff)) padding-box, var(--a-grad) border-box; box-shadow: 0 12px 28px rgba(77, 101, 255, .12); }
.a-comp__row--hero .a-comp__name { color: var(--a-blue); }
@media (max-width: 860px) {
	.a-comp__head { display: none; }
	.a-comp__row { grid-template-columns: 1fr; gap: 10px; padding: 16px 18px; }
	.a-comp__k { display: block; margin: 0 0 2px; }
}

/* ==== v0.12.17: полноценный виджет отзывов Яндекс.Карт ==== */
.a-yr { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: stretch; background: var(--a-card); border: 1px solid var(--a-line); border-radius: var(--a-radius); padding: 28px 32px; }
.a-yr__summary { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--a-line); padding-right: 32px; }
.a-yr__score { font-family: var(--a-font-head); font-size: 58px; font-weight: 800; line-height: 1; color: var(--a-ink); }
.a-yr__stars { display: flex; gap: 3px; margin: 12px 0 10px; color: #f5a623; }
.a-yr__stars svg { width: 20px; height: 20px; }
.a-yr__meta { margin: 0; color: var(--a-muted); font-size: 14px; line-height: 1.55; }
.a-yr__body { min-width: 0; display: flex; flex-direction: column; }
.a-yr__slider { flex: 1; }
.a-yr__card { flex: 0 0 320px; scroll-snap-align: start; margin: 0; background: #f7f9fc; border: 1px solid var(--a-line); border-radius: 16px; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.a-yr__card blockquote { margin: 0; color: #33465c; font-size: 14.5px; line-height: 1.55; }
.a-yr__card figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.a-yr__src { margin-left: auto; font-size: 13px; color: var(--a-blue); text-decoration: underline; text-decoration-color: rgba(77, 101, 255, .35); text-underline-offset: 3px; white-space: nowrap; }
.a-yr__src:hover { text-decoration-color: var(--a-blue); }
.a-yr__dots { margin-top: 14px; }
.a-yr__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.a-yr__note { font-size: 13px; color: #8494a7; }
@media (max-width: 1020px) { .a-yr { grid-template-columns: 1fr; } .a-yr__summary { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--a-line); padding-bottom: 18px; } .a-yr__card { flex-basis: 80%; } }

/* ==== v0.12.18: официальный виджет отзывов Яндекс.Карт ==== */
.a-yrw { max-width: 760px; margin: 0 auto; }
.a-yrw iframe { width: 100%; height: 820px; border: 1px solid var(--a-line); border-radius: var(--a-radius); display: block; background: #fff; }
.a-yrw__link { display: block; text-align: center; padding: 10px 20px 0; font-size: 11px; color: #b3b3b3; text-decoration: none; }
.a-yrw__link:hover { color: var(--a-muted); }

/* ==== v0.12.19: тонкий скроллбар вместо системного (дропдауны, модалка) ==== */
.a-nav__drop, .a-modal__box { scrollbar-width: thin; scrollbar-color: #c3d0de transparent; }
.a-nav__drop::-webkit-scrollbar { width: 6px; }
.a-nav__drop::-webkit-scrollbar-track { background: transparent; }
.a-nav__drop::-webkit-scrollbar-thumb { background: #c3d0de; border-radius: 999px; }
.a-nav__drop::-webkit-scrollbar-thumb:hover { background: #a4b6c8; }
.a-modal__box::-webkit-scrollbar { width: 6px; }
.a-modal__box::-webkit-scrollbar-track { background: transparent; }
.a-modal__box::-webkit-scrollbar-thumb { background: #c3d0de; border-radius: 999px; }
.a-modal__box::-webkit-scrollbar-thumb:hover { background: #a4b6c8; }

/* ==== v0.12.20: виджет отзывов: сводка слева + официальный iframe справа ==== */
.a-yr2 { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 560px); gap: 40px; align-items: stretch; }
.a-yr2__info { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.a-yr2__score { display: flex; align-items: baseline; gap: 12px; }
.a-yr2__num { font-family: var(--a-font-head); font-size: 92px; font-weight: 800; line-height: .95; color: var(--a-ink); letter-spacing: -.02em; }
.a-yr2__of { color: var(--a-muted); font-size: 19px; font-weight: 600; }
.a-yr2__stars { display: flex; gap: 4px; color: #f5a623; }
.a-yr2__stars svg { width: 26px; height: 26px; }
.a-yr2__counts { margin: 0; color: var(--a-muted); font-size: 15px; line-height: 1.55; max-width: 400px; }
.a-yr2__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.a-yr2__note { margin: 0; font-size: 12.5px; color: #8494a7; max-width: 400px; line-height: 1.5; }
.a-yr2__frame iframe { width: 100%; height: 800px; border: 1px solid var(--a-line); border-radius: var(--a-radius); display: block; background: #fff; }
@media (max-width: 1100px) {
	.a-yr2 { grid-template-columns: 1fr; gap: 26px; }
	.a-yr2__frame iframe { height: 840px; }
	.a-yr2__num { font-size: 72px; }
}
