/* ============================================================
   MEDICAL MARKETING — единый стиль раздела /meditsinskiy-marketing/
   Team-B

   Самодостаточный файл: НЕ требует styles.css и sozdanie.css.
   Собран из используемых правил базовых стилей team-b + блоки,
   специфичные для медицинского раздела.

   Токены совпадают с основным сайтом — при смене фирменных цветов
   правится :root здесь и в /seo-landings/styles.css.
   ============================================================ */

:root {
    --bg: #F5F7FA;
    --white: #ffffff;
    --black: #111111;
    --gray: #555555;
    --light-gray: #9F9F9F;
    --orange: #FF9706;
    --blue: #26BCF4;
    --dark-blue: #003E59;
    --radius: 50px;
    --radius-sm: 30px;
}

/* ============================================================
   БАЗА
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--black);
    font-size: 16px;
    line-height: 25px;
    font-weight: 400;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 20px; }
section { margin-bottom: 100px; }
.section-title { font-size: 40px; font-weight: 700; line-height: 50px; color: var(--black); margin-bottom: 57px; }
.section-title span { color: var(--blue); }

/* КНОПКИ */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 50px; font-size: 15px; font-weight: 400; transition: .3s; cursor: pointer; white-space: nowrap; font-family: inherit; }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--blue); color: var(--white); }
.btn-outline { background: none; border: 1px solid var(--orange); color: var(--black); }
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ============================================================
   ШАПКА, КРОШКИ, ПОДВАЛ
   ============================================================ */
.header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.07); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.header__logo { font-size: 26px; font-weight: 700; color: var(--dark-blue); white-space: nowrap; }
.header__nav { display: flex; gap: 28px; align-items: center; }
.header__nav a { color: var(--black); font-size: 15px; transition: color .3s; white-space: nowrap; }
.header__nav a:hover { color: var(--orange); }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__phone { font-size: 17px; font-weight: 700; color: var(--black); white-space: nowrap; }
.tg { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray); transition: color .3s; }
.tg:hover { color: var(--orange); }

.breadcrumbs { padding: 18px 0 0; font-size: 14px; line-height: 20px; color: var(--gray); }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs__list li { display: flex; align-items: center; }
.breadcrumbs__list li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--light-gray); }
.breadcrumbs a { color: var(--gray); transition: color .2s ease; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs [aria-current="page"] { color: var(--black); font-weight: 600; }

.footer { background: var(--white); padding: 40px 0 24px; margin-top: 60px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--gray); font-size: 14px; padding-top: 20px; border-top: 1px solid #E0E5EB; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--gray); transition: color .3s; }
.footer__links a:hover { color: var(--orange); }

.mobile-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid #E0E5EB; padding: 12px 20px; z-index: 99; box-shadow: 0 -4px 20px rgba(0,0,0,.1); }
.mobile-cta .btn { width: 100%; height: 52px; font-size: 16px; }

/* ============================================================
   HERO И STATS
   ============================================================ */
.hero { margin-top: 30px; margin-bottom: 100px; }
.hero__card { background: var(--white); border-radius: var(--radius); padding: 60px 55px 0 55px; display: flex; align-items: flex-end; justify-content: space-between; overflow: hidden; gap: 40px; min-height: 520px; }
.hero__left { max-width: 660px; padding-bottom: 60px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: #FFF3DC; border: 1px solid #FFD88A; border-radius: 50px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: #8B5E00; margin-bottom: 24px; }
.hero__badge::before { content: '🏆'; font-size: 14px; }
.hero__title { font-size: 46px; font-weight: 700; line-height: 56px; color: var(--black); margin-bottom: 24px; }
.hero__title .accent { color: var(--orange); }
.hero__desc { font-size: 16px; line-height: 28px; color: var(--gray); margin-bottom: 28px; }
.hero__kpi { display: flex; gap: 28px; margin-bottom: 32px; flex-wrap: wrap; }
.hero__kpi-item { display: flex; flex-direction: column; }
.hero__kpi-num { font-size: 28px; font-weight: 700; color: var(--orange); line-height: 1; }
.hero__kpi-label { font-size: 13px; color: var(--gray); margin-top: 4px; }
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__image { flex-shrink: 0; align-self: flex-end; }
.hero__image img { max-height: 460px; object-fit: contain; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 100px; }
.stat-item { background: var(--white); border-radius: var(--radius-sm); padding: 32px 24px; text-align: center; }
.stat-number { display: block; font-size: 40px; font-weight: 700; line-height: 1; color: var(--orange); margin-bottom: 10px; }
.stat-label { font-size: 14px; color: var(--gray); line-height: 20px; }

/* ============================================================
   ТЕКСТОВЫЕ И КАРТОЧНЫЕ БЛОКИ
   ============================================================ */
.seo-section { background: var(--white); border-radius: var(--radius); padding: 48px 56px; }
.seo-section p { font-size: 16px; line-height: 28px; color: var(--gray); margin-bottom: 24px; }
.seo-section p:last-child { margin-bottom: 0; }
.paths-intro { font-size: 17px; line-height: 30px; color: var(--gray); margin-bottom: 40px; max-width: 900px; }
.section-lead { font-size: 16px; line-height: 28px; color: var(--gray); max-width: 1000px; margin: 0 0 32px; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; margin: 24px 0; list-style: none; padding: 0; }
.check-list li,
.checklist-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 24px; color: var(--black); }
.check-list li::before,
.checklist-list li::before {
    content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
    background-color: #E8F9FF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 13l4 4L19 7' stroke='%2326BCF4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 14px; background-position: center;
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 16px; transition: transform .3s, box-shadow .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.service-card__title { font-size: 22px; font-weight: 700; line-height: 30px; color: var(--black); }
.service-card__desc { font-size: 15px; line-height: 24px; color: var(--gray); flex: 1; }
.service-card__link { font-size: 15px; font-weight: 600; color: var(--dark-blue); display: flex; align-items: center; gap: 6px; transition: color .3s; }
.service-card__link:hover { color: var(--orange); }
.service-card__link::after { content: '→'; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--white); border-radius: var(--radius-sm); padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s; }
.related-card:hover { transform: translateY(-4px); }
.related-card__title { font-size: 17px; font-weight: 700; color: var(--black); line-height: 24px; }
.related-card__desc { font-size: 13px; line-height: 20px; color: var(--gray); }
.related-card__link { font-size: 13px; font-weight: 600; color: var(--dark-blue); margin-top: 8px; }
.related-card__link::after { content: ' →'; color: var(--orange); }

.tools-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tool-tag { background: var(--white); border-radius: 50px; padding: 10px 22px; font-size: 14px; color: var(--dark-blue); border: 1px solid #D8E3EC; transition: .3s; }
.tool-tag:hover { background: var(--dark-blue); color: var(--white); }

/* КОМАНДА */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.team-card__photo { width: 120px; height: 120px; border-radius: 50%; background: var(--bg); overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__photo--empty { display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; color: var(--light-gray); }
.team-card__role { font-size: 13px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.team-card__name { font-size: 22px; font-weight: 700; color: var(--black); line-height: 28px; }
.team-card__desc { font-size: 14px; line-height: 22px; color: var(--gray); }

/* СЕРТИФИКАТЫ */
.certs-lite__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.certs-lite__item { background: var(--white); border-radius: var(--radius-sm); padding: 28px 24px 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; transition: transform .3s, box-shadow .3s; }
.certs-lite__item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.certs-lite__item img { width: 150px; height: 190px; object-fit: contain; }
.certs-lite__item span { font-size: 15px; line-height: 22px; font-weight: 700; color: var(--black); }

/* ОТЗЫВЫ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius); padding: 36px 36px 32px; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.review-card__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.review-card__name { font-size: 16px; font-weight: 700; color: var(--black); line-height: 22px; }
.review-card__company { font-size: 13px; color: var(--gray); margin-top: 2px; }
.review-card__stars { color: var(--orange); font-size: 14px; white-space: nowrap; }
.review-card__text { font-size: 14px; line-height: 22px; color: var(--gray); flex: 1; }
.review-card__footer { margin-top: auto; padding-top: 16px; border-top: 1px solid #E8ECF0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-card__person { font-size: 12px; color: var(--light-gray); }
.review-card__scan { font-size: 13px; font-weight: 600; color: var(--dark-blue); transition: color .2s; }
.review-card__scan:hover { color: var(--orange); }
.reviews-links { clear: both; margin-top: 38px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { padding: 22px 30px 22px 45px; cursor: pointer; font-size: 20px; font-weight: 700; line-height: 30px; color: var(--black); display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: .3s; }
.faq-question:hover { color: var(--dark-blue); }
.faq-question__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .3s; font-size: 20px; color: var(--gray); }
.faq-item.active .faq-question__icon { background: var(--orange); color: var(--white); }
.faq-answer { display: none; padding: 0 45px 28px; font-size: 15px; line-height: 26px; color: var(--gray); }
.faq-item.active .faq-answer { display: block; }

/* CTA */
.cta-block { background: var(--dark-blue); border-radius: var(--radius); padding: 70px 56px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-block__left { max-width: 600px; }
.cta-block__title { font-size: 36px; font-weight: 700; line-height: 46px; color: var(--white); margin-bottom: 16px; }
.cta-block__title span { color: var(--orange); }
.cta-block__desc { font-size: 16px; line-height: 26px; color: rgba(255,255,255,.75); }
.cta-block__form { flex-shrink: 0; width: 600px; }

/* ПРАЙС-ЛИСТЫ */
.prices-list { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.prices-list__head { display: grid; grid-template-columns: 1fr auto; padding: 18px 32px; background: var(--bg); font-weight: 600; font-size: 14px; color: var(--black); border-bottom: 1px solid #C8CACC; }
.prices-list__row { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 16px 32px; border-bottom: 1px solid #E8ECF0; font-size: 14px; line-height: 22px; gap: 20px; transition: background .2s; }
.prices-list__row:last-child { border-bottom: none; }
.prices-list__row:hover { background: #FFF8EE; }
.prices-list__price { font-weight: 700; color: var(--dark-blue); white-space: nowrap; text-align: right; }
.prices-list__group { padding: 12px 32px 8px; background: #F4F6F9; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--dark-blue); border-bottom: 1px solid #C8CACC; }
.prices-list__total { background: #FFF8EE; font-weight: 700; }
.prices-list__total span:first-child { color: var(--black); }
.prices-list__total .prices-list__price { font-size: 18px; }

/* ТАРИФЫ */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.support-card { background: var(--white); border-radius: var(--radius); padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; border: 1px solid #E0E5EB; transition: transform .3s; }
.support-card:hover { transform: translateY(-4px); }
.support-card--featured { background: var(--dark-blue); border-color: var(--dark-blue); color: var(--white); }
.support-card__name { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.support-card__price { font-size: 34px; font-weight: 700; line-height: 1; color: var(--black); }
.support-card--featured .support-card__price { color: var(--white); }
.support-card__period { font-size: 14px; color: var(--gray); margin-top: -10px; }
.support-card--featured .support-card__period { color: rgba(255,255,255,.6); }
.support-card__divider { height: 1px; background: #E0E5EB; }
.support-card--featured .support-card__divider { background: rgba(255,255,255,.2); }
.support-card__features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.support-card__feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: var(--gray); }
.support-card--featured .support-card__feature { color: rgba(255,255,255,.85); }
.support-card__feature::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ТАБЛИЦА СРАВНЕНИЯ */
.comparison-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comparison-table th { padding: 18px 20px; background: var(--dark-blue); color: var(--white); font-weight: 700; font-size: 13px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.comparison-table th:first-child { text-align: left; background: #002940; }
.comparison-table th:last-child { border-right: none; }
.comparison-table td { padding: 15px 20px; border-bottom: 1px solid #E8ECF0; border-right: 1px solid #E8ECF0; text-align: center; color: var(--gray); vertical-align: middle; }
.comparison-table td:first-child { text-align: left; font-weight: 600; color: var(--black); background: #F9FAFB; }
.comparison-table td:last-child { border-right: none; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: #FFF8EE; }
.comparison-table tr:hover td:first-child { background: #FFF3DC; }
.c-price { font-weight: 700; color: var(--dark-blue); font-size: 13px; }
.c-na { color: var(--light-gray); font-size: 12px; }
.c-check { color: #34C45A; font-size: 16px; font-weight: 700; }
.c-partial { color: var(--orange); font-size: 13px; }
.c-cross { color: #EF4444; font-size: 14px; font-weight: 700; }
.comparison-table th.th-ai { border-top: 3px solid #34C45A; }
.comparison-table th.th-tilda { border-top: 3px solid var(--blue); }
.comparison-table th.th-bitrix { border-top: 3px solid #26BCF4; }
.comparison-table th.th-custom { border-top: 3px solid var(--orange); }

/* СЕТКА ОШИБОК */
.errors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.error-item { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border-radius: var(--radius-sm); padding: 20px 24px; }
.error-item__num { font-size: 18px; font-weight: 800; color: var(--orange); line-height: 22px; flex-shrink: 0; }
.error-item__text { font-size: 14px; line-height: 22px; color: var(--black); }

/* ЧЕК-ЛИСТЫ */
.checklist-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.checklist-group { background: var(--white); border-radius: var(--radius-sm); padding: 32px 30px; }
.checklist-group__title { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 18px; }
.checklist-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist-list li { font-size: 14px; line-height: 22px; color: var(--gray); }

/* TL;DR */
.tldr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tldr-card { background: var(--white); border-radius: var(--radius-sm); padding: 28px 30px; border: 1px solid #E0E5EB; transition: transform .25s, box-shadow .25s; }
.tldr-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.07); border-color: var(--orange); }
.tldr-card__q { font-size: 16px; font-weight: 700; color: var(--dark-blue); line-height: 24px; margin-bottom: 12px; }
.tldr-card__q::before { content: '→ '; color: var(--orange); }
.tldr-card__a { font-size: 14px; line-height: 23px; color: var(--gray); }

/* ТАЙМЛАЙН */
.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline-card { background: var(--white); border-radius: var(--radius-sm); padding: 32px 28px; display: flex; flex-direction: column; gap: 10px; }
.timeline-card__when { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: 2px; }
.timeline-card__title { font-size: 17px; font-weight: 700; color: var(--black); line-height: 24px; }
.timeline-card__desc { font-size: 14px; line-height: 22px; color: var(--gray); flex: 1; }
.timeline-card__result { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--dark-blue); padding-top: 12px; border-top: 1px solid #E8ECF0; }

/* ============================================================
   БЛОКИ МЕДИЦИНСКОГО РАЗДЕЛА
   ============================================================ */

/* Навигация по веткам */
.branches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.branch-card { background: var(--white); border-radius: var(--radius); padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; border: 1px solid #E0E5EB; transition: transform .3s, box-shadow .3s, border-color .3s; }
.branch-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.09); border-color: var(--orange); }
.branch-card__label { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--light-gray); }
.branch-card__title { font-size: 22px; font-weight: 700; color: var(--black); line-height: 30px; }
.branch-card__desc { font-size: 14px; line-height: 22px; color: var(--gray); }
.branch-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.branch-link { display: inline-flex; padding: 8px 15px; border-radius: 50px; background: var(--bg); border: 1px solid #E0E5EB; font-size: 13px; line-height: 18px; color: var(--gray); transition: all .2s; }
.branch-link:hover { color: var(--dark-blue); border-color: var(--orange); background: #FFF8EE; }
/* Страница ещё не опубликована: текст без ссылки, приглушён */
.branch-link--soon, .branch-link--soon:hover { color: var(--light-gray); background: transparent; border: 1px dashed #DDE3EA; cursor: default; }

/* Калькуляторы */
.calc { background: var(--white); border-radius: var(--radius); padding: 48px 52px; }
.calc__modes { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.calc__mode { padding: 11px 22px; border-radius: 50px; border: 1px solid #E0E5EB; background: var(--white); font-size: 14px; font-weight: 600; color: var(--gray); cursor: pointer; transition: all .2s; font-family: inherit; }
.calc__mode:hover { border-color: var(--orange); color: var(--black); }
.calc__mode.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.calc__body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; align-content: start; }
.calc__field { display: flex; flex-direction: column; gap: 7px; }
.calc__label { font-size: 13px; line-height: 18px; color: var(--gray); font-weight: 600; }
.calc__hint { display: block; font-size: 11px; line-height: 15px; color: var(--light-gray); font-weight: 400; }
.calc__input { width: 100%; padding: 13px 18px; border-radius: 50px; border: 1px solid #E0E5EB; background: var(--bg); font-size: 15px; font-family: inherit; color: var(--black); outline: none; transition: border-color .2s, background .2s; -moz-appearance: textfield; }
.calc__input::-webkit-outer-spin-button, .calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__input:focus { border-color: var(--orange); background: var(--white); }
.calc__results { background: var(--dark-blue); border-radius: var(--radius-sm); padding: 36px 34px; color: var(--white); }
.calc__results-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 22px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.calc__row:last-of-type { border-bottom: none; }
.calc__row-label { font-size: 14px; line-height: 20px; color: rgba(255,255,255,.72); }
.calc__row-value { font-size: 17px; font-weight: 700; color: var(--white); white-space: nowrap; text-align: right; }
.calc__row--hero { padding: 18px 0; }
.calc__row--hero .calc__row-label { font-size: 15px; color: rgba(255,255,255,.85); }
.calc__row--hero .calc__row-value { font-size: 26px; color: var(--orange); }
.calc__row-value.is-good { color: #4ADE80; }
.calc__row-value.is-bad { color: #FF8A8A; }
.calc__bottleneck { margin-top: 24px; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,151,6,.45); }
.calc__bottleneck-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.calc__bottleneck-title { font-size: 17px; font-weight: 700; color: var(--white); line-height: 24px; margin-bottom: 8px; }
.calc__bottleneck-text { font-size: 13px; line-height: 21px; color: rgba(255,255,255,.75); }
.calc__cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.calc__note { font-size: 13px; line-height: 22px; color: var(--light-gray); margin-top: 26px; }

/* Воронка потерь */
.funnel { background: var(--white); border-radius: var(--radius); padding: 48px 52px; }
.funnel__stages { display: flex; flex-direction: column; gap: 4px; }
.funnel__stage { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 24px; padding: 18px 0; border-bottom: 1px solid #E8ECF0; }
.funnel__stage:last-child { border-bottom: none; }
.funnel__stage-name { font-size: 15px; font-weight: 700; color: var(--black); line-height: 22px; }
.funnel__stage-name small { display: block; font-size: 12px; font-weight: 400; color: var(--light-gray); line-height: 17px; margin-top: 2px; }
.funnel__bar-track { height: 34px; background: var(--bg); border-radius: 50px; overflow: hidden; }
.funnel__bar { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--dark-blue), var(--blue)); display: flex; align-items: center; padding-left: 16px; color: var(--white); font-size: 13px; font-weight: 700; }
.funnel__stage-loss { font-size: 13px; font-weight: 700; color: #EF4444; white-space: nowrap; text-align: right; min-width: 96px; }
.funnel__stage-loss span { display: block; font-size: 11px; font-weight: 400; color: var(--light-gray); }
.funnel__summary { margin-top: 30px; padding: 24px 28px; background: #FFF8EE; border-radius: var(--radius-sm); font-size: 15px; line-height: 26px; color: var(--black); }
.funnel__summary b { color: var(--dark-blue); }

/* Юридические ограничения */
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.legal-card { background: var(--white); border-radius: var(--radius-sm); padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--orange); }
.legal-card__law { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.legal-card__title { font-size: 17px; font-weight: 700; color: var(--black); line-height: 24px; }
.legal-card__desc { font-size: 14px; line-height: 22px; color: var(--gray); }

/* Сравнение подходов */
.vs-table { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.vs-table__row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid #E8ECF0; }
.vs-table__row:last-child { border-bottom: none; }
.vs-table__row--head { background: var(--bg); }
.vs-table__cell { padding: 20px 32px; font-size: 14px; line-height: 23px; color: var(--gray); display: flex; align-items: flex-start; gap: 12px; }
.vs-table__cell:first-child { border-right: 1px solid #E8ECF0; }
.vs-table__row--head .vs-table__cell { font-size: 15px; font-weight: 700; color: var(--black); }
.vs-table__cell--bad::before { content: '✗'; color: #EF4444; font-weight: 700; flex-shrink: 0; }
.vs-table__cell--good::before { content: '✓'; color: #34C45A; font-weight: 700; flex-shrink: 0; }
.vs-table__row--head .vs-table__cell::before { content: none; }

/* Слоты кейсов */
.case-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-slot { background: var(--white); border-radius: var(--radius-sm); padding: 34px 32px; display: flex; flex-direction: column; gap: 14px; border: 1px dashed #C9D3DC; }
.case-slot__niche { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--orange); }
.case-slot__title { font-size: 18px; font-weight: 700; color: var(--black); line-height: 26px; }
.case-slot__metrics { display: flex; flex-direction: column; gap: 9px; padding-top: 12px; border-top: 1px solid #E8ECF0; }
.case-slot__metric { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; line-height: 20px; color: var(--gray); }
.case-slot__metric b { color: var(--dark-blue); }

/* Дисклеймер */
.med-disclaimer { background: var(--white); border-radius: var(--radius-sm); padding: 28px 34px; font-size: 13px; line-height: 22px; color: var(--gray); border-left: 3px solid #E0E5EB; }
.med-disclaimer b { color: var(--black); }
.footer .med-disclaimer { background: var(--bg); }

/* Классы-хуки без собственных стилей: .btn-24 (открывает попап формы),
   .rot-block / .rot-errors / .rot-tldr (маркеры ротационных блоков для сборки).
   Оставлены осознанно — по ним удобно собирать и подменять блоки. */

/* Хелперы отступов и типографики */
.mt-24 { margin-top: 24px; }
.mt-36 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.note-small { font-size: 13px; color: var(--light-gray); text-align: center; margin-top: 20px; }
.section-note { font-size: 14px; line-height: 24px; color: var(--gray); max-width: 900px; margin-top: 20px; }
.section-note--lg { font-size: 15px; line-height: 26px; max-width: 1000px; margin-top: 24px; }
.inline-link { color: var(--dark-blue); font-weight: 600; }
.inline-link:hover { color: var(--orange); }
.mt-0 { margin-top: 0; }
.mt-70 { margin-top: 70px; }
.prices-list--narrow { max-width: 900px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .section-title { font-size: 32px; line-height: 40px; }
    .hero__title { font-size: 38px; line-height: 46px; }
    .hero__card { padding: 50px 40px 0; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .branches-grid { grid-template-columns: 1fr; }
    .legal-grid { grid-template-columns: repeat(2, 1fr); }
    .calc__body { grid-template-columns: 1fr; gap: 30px; }
    .case-slots { grid-template-columns: 1fr; }
    .timeline-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-lite__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .header__nav { display: none; }
    .services-grid, .reviews-grid, .related-grid, .team-grid { grid-template-columns: 1fr 1fr; }
    .support-grid { grid-template-columns: 1fr; }
    .cta-block { flex-direction: column; }
    .cta-block__form { width: 100%; }
    .hero__card { flex-direction: column; padding: 40px 30px; min-height: auto; }
    .hero__image { display: none; }
    .mobile-cta { display: block; }
    body { padding-bottom: 80px; }
    .errors-grid { grid-template-columns: 1fr; }
    .tldr-grid { grid-template-columns: 1fr; }
    .checklist-cols { grid-template-columns: 1fr; }
    .calc { padding: 36px 30px; }
    .funnel { padding: 36px 30px; }
    .funnel__stage { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
    .funnel__stage-loss { text-align: left; }
    .vs-table__row { grid-template-columns: 1fr; }
    .vs-table__cell:first-child { border-right: none; border-bottom: 1px solid #E8ECF0; }
    .comparison-table th, .comparison-table td { padding: 12px 14px; font-size: 12px; }
}
@media (max-width: 600px) {
    .section-title { font-size: 26px; line-height: 34px; margin-bottom: 32px; }
    section { margin-bottom: 64px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .reviews-grid, .related-grid, .team-grid, .legal-grid, .certs-lite__grid { grid-template-columns: 1fr; }
    .timeline-grid { grid-template-columns: 1fr; }
    .check-list { grid-template-columns: 1fr; }
    .hero__title { font-size: 28px; line-height: 36px; }
    .hero__card { border-radius: var(--radius-sm); padding: 30px 24px; }
    .seo-section { padding: 32px 24px; border-radius: var(--radius-sm); }
    .cta-block { padding: 36px 24px; }
    .cta-block__title { font-size: 26px; line-height: 34px; }
    .calc { padding: 28px 22px; border-radius: var(--radius-sm); }
    .calc__inputs { grid-template-columns: 1fr; }
    .calc__results { padding: 28px 24px; }
    .calc__row--hero .calc__row-value { font-size: 22px; }
    .funnel { padding: 28px 22px; border-radius: var(--radius-sm); }
    .branch-card { padding: 28px 24px; }
    .vs-table__cell { padding: 16px 22px; }
    .comparison-wrap { overflow-x: auto; }
    .comparison-table { min-width: 580px; }
    .prices-list__group { padding: 10px 20px; }
    .prices-list__row, .prices-list__head { padding: 14px 20px; }
    .header__right { gap: 8px; }
    .header__phone { font-size: 13px; font-weight: 600; }
    .tg span { display: none; }
    .tg svg { width: 18px; height: 18px; }
    .header .btn { display: none; }
}
