/* Новые SEO-страницы ratinovclinic: блоки в стиле главной Тильды.
   Шрифт Montserrat, текст #121212, синий #3344bb, голубой #0097db, серый фон #efefef. */
.rc { font-family: 'Montserrat', Arial, sans-serif; color: #121212; font-size: 17px; line-height: 1.55; }
.rc *, .rc *::before, .rc *::after { box-sizing: border-box; }
.rc a { color: #0097db; }
.rc-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.rc-sec { padding: 70px 0; }
.rc-sec_gray { background: #efefef; }
/* Два белых блока подряд: один отступ между ними, а не два */
.rc-sec:not(.rc-sec_gray) + .rc-sec:not(.rc-sec_gray) { padding-top: 0; }
.rc h1, .rc h2, .rc h3 { font-family: inherit; margin: 0; color: #121212; }
.rc h2 { font-size: 32px; font-weight: 600; line-height: 1.25; text-transform: uppercase; margin-bottom: 32px; }
.rc h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.rc p { margin: 0 0 16px; }
.rc ul { margin: 0 0 16px; padding-left: 22px; }
.rc li { margin-bottom: 8px; }
.rc-text { max-width: 860px; }

/* Хлебные крошки */
.rc-crumbs { font-size: 13px; color: #6b6b6b; padding: 18px 0 0; }
.rc-crumbs a { color: #6b6b6b; text-decoration: none; }
.rc-crumbs a:hover { color: #0097db; }
.rc-crumbs span { margin: 0 6px; }

/* Первый экран */
.rc-hero { position: relative; overflow: hidden; border-bottom: 4px solid #0097db; }
/* Текст по центру высоты фото, без пустой полосы над заголовком на страницах с широким фото и без фото */
.rc-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.rc-hero__text { padding: 32px 0 56px; }
.rc-hero h1 { font-size: 34px; font-weight: 700; line-height: 1.25; margin-bottom: 22px; }
.rc-hero__lead { font-size: 18px; margin-bottom: 22px; max-width: 620px; }
.rc-checks { list-style: none; padding: 0; margin: 0 0 30px; }
.rc-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 17px; }
.rc-checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #0097db url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/18px no-repeat; }
.rc-hero__img { align-self: end; text-align: center; background: url('/img/spine.webp') right top / auto 100% no-repeat; }
.rc-hero__img img { display: block; max-height: 540px; width: auto; max-width: 100%; margin: 0 auto; }
.rc-hero__img_wide img { max-height: none; width: 100%; height: auto; border-radius: 8px; margin-bottom: 60px; }

/* Кнопки как на главной */
.rc-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.rc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 34px; border-radius: 30px; font-size: 15px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: opacity .2s; white-space: nowrap; }
.rc a.rc-btn_dark, .rc-btn_dark { background: #121212; color: #fff; }
.rc a.rc-btn_blue, .rc-btn_blue { background: #3344bb; color: #fff; }
.rc a.rc-btn_line, .rc-btn_line { background: #fff; color: #3344bb; border-color: #3344bb; }
.rc a.rc-btn_white, .rc-btn_white { background: #fff; color: #3344bb; }
.rc-btn:hover { opacity: .85; }

/* Карточки */
.rc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rc-cards_2 { grid-template-columns: repeat(2, 1fr); }
.rc-card { background: #fff; border-radius: 8px; padding: 22px 22px 18px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.rc-card h3 { padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #121212; font-size: 19px; }
.rc-card p { font-size: 15px; margin: 0; color: #383838; }
.rc-intro { max-width: 860px; margin: -12px 0 28px; }

/* Шаги лечения */
.rc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.rc-step__head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #121212; min-height: 66px; }
.rc-step__head svg { flex: none; margin-top: 2px; }
.rc-step__num { font-weight: 300; color: #3344bb; }
.rc-step__title { font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.3; }
.rc-step p { font-size: 15px; color: #383838; }

/* Оборудование */
.rc-eq { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rc-eq__item { text-align: center; }
.rc-eq__item img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: contain; display: block; margin: 0 auto 14px; }
.rc-eq__item h3 { font-size: 16px; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.rc-eq__item p { font-size: 14px; color: #525252; }

/* Предупреждение */
.rc-warn { border-left: 4px solid #0097db; background: #f2f8fc; padding: 26px 30px; border-radius: 0 8px 8px 0; max-width: 900px; }
.rc-warn h2 { font-size: 24px; margin-bottom: 16px; }
.rc-warn ul { margin: 0; }

/* Врачи */
.rc-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rc-doc { display: flex; gap: 18px; background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.rc-doc__ava { flex: none; width: 80px; height: 80px; border-radius: 50%; background: #3344bb; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.rc-doc__ava_photo { object-fit: cover; background: #eef1f6; }
.rc-doc h3 { font-size: 18px; margin-bottom: 6px; }
.rc-doc p { font-size: 14px; margin: 0 0 4px; color: #383838; }
.rc-doc__exp { color: #0097db !important; font-weight: 600; }

/* Призыв записаться */
.rc-cta { background: linear-gradient(90deg, #3344bb 0%, #0097db 100%); color: #fff; border-radius: 8px; padding: 46px 50px; display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.rc-cta h2 { color: #fff; margin: 0 0 10px; font-size: 28px; }
.rc-cta p { margin: 0; font-size: 17px; opacity: .95; }
.rc-cta .rc-btns { flex: none; }

/* Вопросы */
.rc-faq { max-width: 900px; }
.rc-faq details { border-bottom: 1px solid #d6d6d6; }
.rc-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.rc-faq summary::-webkit-details-marker { display: none; }
.rc-faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font-size: 28px; font-weight: 300; color: #3344bb; }
.rc-faq details[open] summary::after { content: '−'; }
.rc-faq details p { padding: 0 0 20px; margin: 0; color: #383838; }

/* Ссылки на другие страницы */
.rc-links { display: flex; flex-wrap: wrap; gap: 12px; }
.rc-links a { display: inline-block; padding: 12px 22px; border: 1px solid #3344bb; border-radius: 30px; color: #3344bb; text-decoration: none; font-size: 15px; font-weight: 500; }
.rc-links a:hover { background: #3344bb; color: #fff; }

/* Блок «Направления» для главной и подвала */
.rc-nav { padding: 50px 0; }
.rc-nav h2 { font-size: 26px; margin-bottom: 22px; }

@media (max-width: 980px) {
  .rc-hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .rc-hero__text { padding-bottom: 20px; }
  .rc-hero__img img { max-height: 440px; }
  .rc-cards, .rc-eq { grid-template-columns: repeat(2, 1fr); }
  .rc-steps { grid-template-columns: repeat(2, 1fr); }
  .rc-docs { grid-template-columns: 1fr; }
  .rc-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .rc { font-size: 16px; }
  .rc-sec { padding: 46px 0; }
  .rc h2 { font-size: 22px; margin-bottom: 22px; }
  .rc-hero h1 { font-size: 25px; }
  .rc-hero__lead { font-size: 16px; }
  .rc-hero__text { padding-top: 24px; }
  .rc-cards, .rc-cards_2, .rc-steps { grid-template-columns: 1fr; }
  .rc-eq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rc-eq__item h3 { font-size: 13px; }
  .rc-step__head { min-height: 0; }
  .rc-btns { width: 100%; }
  .rc-btn { width: 100%; padding: 0 20px; }
  .rc-cta { padding: 30px 22px; }
  .rc-cta h2 { font-size: 22px; }
  .rc-warn { padding: 20px; }
  .rc-warn h2 { font-size: 20px; }
  .rc-faq summary { font-size: 16px; }
  .rc-doc { padding: 18px; gap: 14px; }
  .rc-doc__ava { width: 64px; height: 64px; font-size: 18px; }
}

/* Шапка главной шире 980px фиксированная (80px) и не занимает места: отступаем. Уже 980px шапка в потоке. */
@media (min-width: 981px) { .rc-hero { padding-top: 80px; } }
/* Карта 2ГИС в подвале шире телефона: на главной это прятал отдельный код, здесь ограничиваем сами. */
.t123 iframe { max-width: 100%; }
html, body { overflow-x: hidden; }
.rc-eq__item p, .rc-card p { overflow-wrap: break-word; }
@media (max-width: 400px) {
  .rc-eq { grid-template-columns: 1fr; }
  .rc-eq__item img { max-width: 170px; }
}
.rc-nav__legal { margin: 22px 0 0; font-size: 14px; color: #6b6b6b; }
.rc-nav__legal a { color: #6b6b6b; }
.rc-nav__group { margin-bottom: 22px; }
.rc-nav__group h3 { font-size: 15px; font-weight: 600; text-transform: uppercase; color: #6b6b6b; margin: 0 0 12px; letter-spacing: .03em; }
.rc-nav .rc-links { gap: 10px; }
.rc-nav .rc-links a { padding: 9px 18px; font-size: 14px; }
