/* Страница «Подготовка к МРТ». Перенос дизайн-системы prep-* из Claude Design.
   Палитра и типографика - как на сайте (Inter + JetBrains Mono подключены в header.tmpl). */

.prep {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: #1B2A36;
    -webkit-font-smoothing: antialiased;
    background: #fff;
}
.prep * { box-sizing: border-box; }
.prep :focus-visible { outline: 2px solid #2C8BC9; outline-offset: 2px; border-radius: 6px; }

.prep__inner { max-width: 1120px; margin: 0 auto; padding: 56px 56px 64px; }
.prep__block { margin-top: 72px; }

/* кнопки */
.prep-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border-radius: 10px; font-family: inherit; font-weight: 600; cursor: pointer;
    border: 1px solid transparent; text-decoration: none;
    transition: background-color .15s, color .15s, border-color .15s; white-space: nowrap;
}
.prep-btn--primary { background: #1FA97A; color: #fff; }
.prep-btn--primary:hover { background: #188e66; color: #fff; }
.prep-btn--lg { padding: 14px 26px; font-size: 15px; }
.prep-btn--md { padding: 11px 20px; font-size: 14px; }

/* eyebrow / заголовки */
.prep-eyebrow { font-size: 13px; color: #7A8A99; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin: 0 0 10px; }
.prep-h1 { font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
.prep-h2 { font-size: 28px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.prep-lead { font-size: 17px; line-height: 1.55; color: #6B7785; margin: 16px 0 0; max-width: 46ch; text-wrap: pretty; }
.prep-sechead { margin-bottom: 28px; }

/* hero */
.prep-hero__head { max-width: 720px; }
.prep-hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.prep-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.prep-trust__card { background: #fff; border: 1px solid #E4EAF0; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.prep-trust__ic { width: 42px; height: 42px; border-radius: 11px; background: #EEF4F9; color: #2C8BC9; display: flex; align-items: center; justify-content: center; }
.prep-trust__t { font-size: 15px; font-weight: 600; line-height: 1.25; }
.prep-trust__d { font-size: 13px; color: #6B7785; line-height: 1.4; }

/* сетка рекомендаций */
.prep-rec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prep-rec__card { background: #fff; border: 1px solid #E4EAF0; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.prep-rec__card:hover { border-color: #2C8BC9; box-shadow: 0 6px 22px rgba(44, 139, 201, .08); }
.prep-rec__ic { width: 48px; height: 48px; border-radius: 13px; background: #EEF4F9; color: #2C8BC9; display: flex; align-items: center; justify-content: center; }
.prep-rec__t { font-size: 17px; font-weight: 600; }
.prep-rec__d { font-size: 14px; color: #6B7785; line-height: 1.5; }

/* таймлайн области */
.prep-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.prep-step__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.prep-step__ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #EEF4F9; color: #2C8BC9; display: flex; align-items: center; justify-content: center; }
.prep-step__when { font-size: 15px; font-weight: 700; line-height: 1.15; color: #1B2A36; }
.prep-step__sub { font-size: 12.5px; color: #9AA8B5; margin-top: 2px; }
.prep-step__body { font-size: 13.5px; line-height: 1.55; color: #2A3A48; }
.prep-step__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.prep-step__list li { font-size: 13.5px; line-height: 1.5; color: #2A3A48; padding-left: 16px; position: relative; }
.prep-step__list li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: #2C8BC9; }
.prep-step__list li.is-plain { padding-left: 0; }
.prep-step__list li.is-plain::before { display: none; }
.prep-step__list li.is-dash { padding-left: 14px; color: #6B7785; }
.prep-step__list li.is-dash::before { display: none; }

/* колауты */
.prep-callouts { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; }
.prep-callout { display: flex; gap: 12px; align-items: flex-start; background: #F7F9FB; border: 1px solid #EDF1F5; border-radius: 12px; padding: 16px 18px; }
.prep-callout__ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #fff; border: 1px solid #DCE7F0; color: #2C8BC9; display: flex; align-items: center; justify-content: center; }
.prep-callout__t { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.prep-callout__d { font-size: 13.5px; color: #6B7785; line-height: 1.5; margin: 0; }

/* важное примечание */
.prep-important-wrap { margin-top: 22px; }
.prep-important { display: flex; gap: 14px; align-items: flex-start; background: #EEF4F9; border: 1px solid #DCE7F0; border-radius: 14px; padding: 20px 22px; }
.prep-important__ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #1F6FAA; display: flex; align-items: center; justify-content: center; }
.prep-important__t { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.prep-important__d { font-size: 14px; color: #2A3A48; line-height: 1.55; margin: 0; }

/* faq */
.prep-faq { border: 1px solid #E4EAF0; border-radius: 14px; overflow: hidden; background: #fff; }
.prep-faq__item + .prep-faq__item { border-top: 1px solid #EDF1F5; }
.prep-faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; background: transparent; border: none; cursor: pointer; font-family: inherit; text-align: left; font-size: 16px; font-weight: 600; color: #1B2A36; }
.prep-faq__btn:hover { background: #F7F9FB; }
.prep-faq__chev { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #EEF4F9; color: #1F6FAA; display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.prep-faq__btn[aria-expanded="true"] .prep-faq__chev { transform: rotate(180deg); }
.prep-faq__panel { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.6; color: #6B7785; max-width: 70ch; }

/* вкладки */
.prep-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.prep-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 11px; border: 1px solid #E4EAF0; background: #fff; color: #2A3A48; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.prep-tab:hover { border-color: #2C8BC9; color: #2C8BC9; }
.prep-tab[aria-selected="true"] { background: #1F6FAA; border-color: #1F6FAA; color: #fff; }
.prep-tab[aria-selected="true"] .prep-tab__ic { color: #fff; }
.prep-tab__ic { color: #2C8BC9; display: flex; }

/* карточка области */
.prep-card { background: #fff; border: 1px solid #E4EAF0; border-radius: 18px; padding: 30px 32px; }
.prep-cathead { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.prep-cathead__ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; background: #EEF4F9; color: #2C8BC9; display: flex; align-items: center; justify-content: center; }
.prep-cathead__t { font-size: 21px; font-weight: 700; letter-spacing: -.01em; color: #1F6FAA; margin: 0; }
.prep-cathead__s { font-size: 13.5px; color: #6B7785; margin-top: 2px; }

/* блок записи */
.prep-book { background: #1F6FAA; border-radius: 20px; padding: 40px 44px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.prep-book__eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: rgba(255, 255, 255, .6); margin: 0 0 10px; }
.prep-book__t { font-size: 28px; font-weight: 700; letter-spacing: -.015em; margin: 0; color: #fff; }
.prep-book__s { font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .82); margin: 12px 0 0; max-width: 42ch; }
.prep-book__card { background: #fff; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.prep-book__phone { display: block; text-align: center; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 18px; font-weight: 600; color: #1F6FAA; text-decoration: none; }
.prep-book__phone:hover { color: #2C8BC9; }
.prep-book__note { font-size: 12px; color: #9AA8B5; line-height: 1.45; margin: 0; text-align: center; }

/* ссылка-баннер «Как подготовиться к МРТ» на странице /mri/ */
.mri-prep-link { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 12px 18px; border: 1px solid #DCE7F0; border-radius: 12px; background: #EEF4F9; color: #1F6FAA; text-decoration: none; font-family: 'Inter', -apple-system, system-ui, sans-serif; font-weight: 600; font-size: 14px; transition: border-color .15s, color .15s; }
.mri-prep-link:hover { border-color: #2C8BC9; color: #2C8BC9; }
.mri-prep-link__ic { display: flex; flex: 0 0 auto; }
.mri-prep-link__arrow { transition: transform .15s; }
.mri-prep-link:hover .mri-prep-link__arrow { transform: translateX(3px); }

/* адаптив (брейкпоинты как в дизайне: 900 / 560 / 380) */
@media (max-width: 900px) {
    .prep__inner { padding: 40px 32px 48px; }
    .prep-h1 { font-size: 34px; }
    .prep-h2 { font-size: 24px; }
    .prep-rec { grid-template-columns: repeat(2, 1fr); }
    .prep-steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .prep-book { grid-template-columns: 1fr; gap: 26px; padding: 30px; }
    .prep-card { padding: 24px; }
}
@media (max-width: 560px) {
    .prep__inner { padding: 28px 18px 40px; }
    .prep-h1 { font-size: 27px; }
    .prep-trust { grid-template-columns: repeat(2, 1fr); }
    .prep-rec { grid-template-columns: 1fr; }
    .prep-steps { grid-template-columns: 1fr; gap: 18px; }
    .prep-hero__cta { flex-direction: column; align-items: stretch; }
    .prep-hero__cta .prep-btn { width: 100%; }
    .prep-card { padding: 18px; border-radius: 14px; }
    .prep-cathead__t { font-size: 18px; }
    .prep-book { padding: 22px; }
    .prep-faq__btn { font-size: 15px; padding: 16px 18px; }
}
@media (max-width: 380px) {
    .prep-trust { grid-template-columns: 1fr; }
}
