/* РЖД-Медицина, эстетика: дизайн-слой. Тексты, фото и цены меняются в блоках как обычно. Здесь общая типографика, сетка и выравнивание. */
:root{--ink:#1b1a18;--pearl:#f4f3f0;--paper:#ffffff;--gold:#c6a25b;--gold-hover:#d6b672;--gold-deep:#8c6b2e;--mute:#6b675f;--line:#e4dfd4;--light:#f2eee6}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
/* Заголовки секций */
#allrecords .t-section__title{font-size:48px!important;line-height:1.08!important;letter-spacing:-0.015em;max-width:820px;margin-bottom:24px!important;text-wrap:balance}
#allrecords .t-section__descr{font-size:19px!important;line-height:1.55!important;color:var(--mute)!important;max-width:660px!important;margin-bottom:64px!important;text-wrap:pretty}
#allrecords .t-section__container:not(:has(.t-section__descr)) .t-section__title{margin-bottom:56px!important}
@media (max-width:960px){#allrecords .t-section__title{font-size:34px!important}#allrecords .t-section__descr{font-size:17px!important;margin-bottom:40px!important}}
@media (max-width:480px){#allrecords .t-section__title{font-size:30px!important;line-height:1.12!important}}
/* Первый экран */
#allrecords .t799__title{font-size:72px!important;line-height:1.02!important;letter-spacing:-0.025em;font-weight:500!important;margin-bottom:28px!important;text-wrap:balance}
#allrecords .t799__text{font-size:20px!important;line-height:1.55!important;color:#cfc8bb!important;max-width:500px}
#allrecords .t799__text strong{color:var(--gold);font-weight:500}
#allrecords .t799__button{margin-top:40px!important;height:60px!important;padding:0 36px!important;font-size:17px!important}
#allrecords .t799 .t-slds__item .t-bgimg,#allrecords .t799 .t-slds__bgimg,#allrecords .t799 .t-slds__wrapper{border-radius:20px;overflow:hidden}
@media (max-width:960px){#allrecords .t799__title{font-size:44px!important}#allrecords .t799__text{font-size:17px!important}#allrecords .t799 .t-col_7{margin-top:40px}}
@media (max-width:480px){#allrecords .t799__title{font-size:38px!important}}
/* Карточки: одинаковая высота, кнопки на одной линии */
#allrecords .t853__container{display:flex!important;flex-wrap:wrap;align-items:stretch}
#allrecords .t853__col{display:flex!important;float:none!important}
#allrecords .t853__col > .t-card__col{display:flex;flex-direction:column;width:100%}
#allrecords .t853__content{flex:1 1 auto;display:flex;flex-direction:column}
#allrecords .t853__textwrapper{flex:1 1 auto}
#allrecords .t853 .t-card__btn-wrapper{margin-top:auto!important;padding-top:24px}
#allrecords .t853 .t-card__title{font-size:22px!important;line-height:1.25!important;margin-bottom:10px}
#allrecords .t853 .t-card__descr{font-size:16px!important;line-height:1.55!important}
#allrecords .t853 .t-card__descr strong{color:var(--ink);font-weight:500}
#allrecords .t853 .t-uptitle{text-transform:none!important;letter-spacing:0!important;font-size:15px!important;color:var(--gold-deep)!important;font-weight:500!important;margin-bottom:10px}
#allrecords .t853__imgwrapper{border-radius:16px;overflow:hidden;margin-bottom:24px!important}
#allrecords .t853__bgimg{transition:transform .6s ease}
@media (hover:hover){#allrecords .t853__col:hover .t853__bgimg{transform:scale(1.03)}}
/* Шаги */
@media (min-width:961px){
#allrecords .t568 .t-container:has(> .t568__col){display:flex!important;flex-wrap:nowrap;gap:32px;max-width:1160px}
#allrecords .t568 .t-container:has(> .t568__col)::before,#allrecords .t568 .t-container:has(> .t568__col)::after{display:none!important}
#allrecords .t568 .t568__col{flex:1 1 0;max-width:none!important;width:auto!important;margin:0!important;float:none!important}
}
#allrecords .t568 .t568__col{text-align:left!important}
#allrecords .t568__numberwrapper,#allrecords .t568__circle{margin-left:0!important;margin-right:auto!important}
#allrecords .t568__textwrapper{text-align:left!important}
#allrecords .t568__circle{background:transparent!important;border:1px solid var(--gold)!important;width:56px!important;height:56px!important}
#allrecords .t568__number{color:var(--gold-deep)!important;font-size:20px!important}
#allrecords .t568__title{font-size:20px!important;margin-top:24px!important}
#allrecords .t568__text{font-size:16px!important;line-height:1.55!important}
#allrecords .t-section__bottomwrapper{margin-top:56px!important}
@media (max-width:960px){#allrecords .t568 .t568__col{margin-bottom:36px!important}#allrecords .t568__title{margin-top:16px!important}}
/* Прайс */
#allrecords .t-catalog__card-list_style_list .t-catalog__card{padding:22px 0!important;border-bottom:1px solid var(--line);align-items:center!important}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__contentwrapper{display:grid!important;grid-template-columns:minmax(0,1fr) auto;column-gap:40px;align-items:center;width:100%}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__textwrapper{padding:0!important;margin:0!important;min-width:0}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__textwrapper,#allrecords .t-catalog__card-list_style_list .t-catalog__card__text-stack{align-self:center;display:flex;flex-direction:column;justify-content:center}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__title{margin:0!important;font-size:18px!important;line-height:1.4!important;max-width:720px!important}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__descr{font-size:14px!important;color:#9a9488!important;margin-top:4px!important}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__wrap_price-and-btns{height:auto!important;width:auto!important}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__price-buttons{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:24px;margin:0!important;min-width:300px}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__price-wrapper{margin:0!important;justify-content:flex-end;min-width:120px}
#allrecords .t-catalog__card__price{white-space:nowrap;font-size:20px!important;font-weight:500!important;text-align:right}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__price-value{margin-right:4px}
#allrecords .t-catalog__card__price-currency{font-size:0!important;margin-left:0!important}
#allrecords .t-catalog__card__price-currency::after{content:"₽";font-size:20px}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__btns-wrapper{margin:0!important;padding:0!important;width:auto!important}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__btn.t-btnflex.t-btnflex_type_button{background:transparent!important;color:var(--ink)!important;border:1px solid var(--gold)!important;border-style:solid!important;height:44px!important;padding:0 22px!important;margin:0!important;white-space:nowrap}
@media (hover:hover){#allrecords .t-catalog__card-list_style_list .t-catalog__card__btn.t-btnflex.t-btnflex_type_button:hover{background:var(--gold)!important}}
#allrecords .t-catalog__load-more-btn{background:var(--ink)!important;color:var(--light)!important;height:56px!important;padding:0 40px!important}
#allrecords .t-catalog__load-more-btn-wrap{text-align:center;margin-top:48px}
@media (max-width:640px){
#allrecords .t-catalog__card-list_style_list .t-catalog__card__contentwrapper{grid-template-columns:1fr;row-gap:14px}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__price-buttons{justify-content:space-between!important;min-width:0}
#allrecords .t-catalog__card-list_style_list .t-catalog__card__price-wrapper{min-width:0}
}
/* Врачи */
@media (min-width:961px){
#allrecords .t537 .t537__container{display:flex!important;flex-wrap:nowrap;gap:24px;max-width:1160px}
#allrecords .t537 .t537__container::before,#allrecords .t537 .t537__container::after{display:none!important}
#allrecords .t537 .t537__col{flex:1 1 0;max-width:none!important;width:auto!important;margin:0!important;float:none!important}
#allrecords .t537 .t537__container > .t-clear,#allrecords .t537 .t537__separator{display:none!important}
}
@media (max-width:960px){
#allrecords .t537 .t537__container{display:grid!important;grid-template-columns:1fr 1fr;gap:28px 16px;padding:0 20px;box-sizing:border-box}
#allrecords .t537 .t537__container::before,#allrecords .t537 .t537__container::after{display:none!important}
#allrecords .t537 .t537__col{margin:0!important;padding:0!important;width:auto!important}
#allrecords .t537 li.t537__col:last-of-type:nth-of-type(odd){grid-column:1/-1;justify-self:center;width:calc(50% - 8px)!important}
}
#allrecords .t537__bgimg{background-position:center top!important;background-color:#fff;border-radius:16px}
#allrecords .t537__persname{font-size:20px!important;line-height:1.3!important;margin-top:20px!important;min-height:2.6em}
#allrecords .t537__persname a{color:var(--ink)!important;text-decoration:none;transition:color .2s ease}
#allrecords .t537__persdescr{font-size:15px!important;line-height:1.45!important;color:var(--mute)!important;margin-top:6px!important;min-height:2.9em}
#allrecords .t537__perstext{font-size:15px!important;color:var(--gold-deep)!important;margin-top:12px!important}
#allrecords .t537__perstext a.doc-more{display:inline-block;margin-top:8px;color:var(--gold-deep)!important;text-decoration:none;border-bottom:1px solid rgba(140,107,46,.4);padding-bottom:1px;transition:border-color .2s ease}
@media (hover:hover){#allrecords .t537__persname a:hover{color:var(--gold-deep)!important}#allrecords .t537__perstext a.doc-more:hover{border-bottom-color:var(--gold-deep)}}
@media (max-width:960px){#allrecords .t537__persname{font-size:17px!important}#allrecords .t537__persdescr,#allrecords .t537__perstext{font-size:14px!important}}
/* Вопросы */
#allrecords .t1119__title{font-size:20px!important;line-height:1.4!important}
#allrecords .t1119__text{font-size:17px!important;line-height:1.6!important;color:var(--mute)!important;max-width:680px}
/* Контакты */
#allrecords .t570__map{border-radius:20px;overflow:hidden}
#allrecords .t570__title{font-size:48px!important;letter-spacing:-0.015em}
#allrecords .t570__descr{font-size:22px!important;line-height:1.45!important}
#allrecords .t570__text{font-size:17px!important;line-height:1.6!important}
/* Подвал */
#allrecords .t977__logo{max-width:170px!important;width:170px!important}
#allrecords .t977 .rq{display:block;font-size:12px;line-height:1.6;opacity:.65;max-width:560px}
/* Шапка: логотип, меню, телефон, соцсети и кнопки в одну линию */
@media (min-width:961px){
#allrecords .t1272 .t-menu-base__maincontainer{flex-wrap:nowrap!important;gap:40px!important}
#allrecords .t1272 .t-menu-base__logowrapper{flex:0 0 auto!important;max-width:none!important}
#allrecords .t1272 .t-menu-base__leftwrapper{flex:1 1 auto!important;max-width:none!important;justify-content:center!important}
#allrecords .t1272 .t-menu-base__list{flex-wrap:nowrap!important}
#allrecords .t1272 .t-menu-base__rightwrapper{flex:0 0 auto;margin-left:0!important}
#allrecords .t1272 .t-menu-base__additionalwrapper{flex-wrap:nowrap!important;gap:18px!important}
#allrecords .t1272 .t-menu-base__buttons{flex-wrap:nowrap!important;gap:12px!important}
#allrecords .t1272 .t-menu-base .t-btn{--height:42px;padding-left:24px;padding-right:24px}
#allrecords .t1272 .t-menu-base__right_descr a{transition:color .2s ease;white-space:nowrap}
#allrecords .t1272 .t-menu-base__right_descr a:hover{color:var(--gold)!important}
#allrecords .t1272 .t-menu-base__additionalwrapper .t-sociallinks__wrapper{gap:4px!important}
#allrecords .t1272 .t-sociallinks__item a,#allrecords .t1272 .t-sociallinks__item svg{width:22px!important;height:22px!important}
}
@media (min-width:961px) and (max-width:1365px){#allrecords .t1272 .t-menu-base__additionalwrapper .t-sociallinks{display:none}}
@media (min-width:961px) and (max-width:1320px){
#allrecords .t1272 .t-menu-base__maincontainer{gap:28px!important}
#allrecords .t1272 .t-menu-base__list{gap:10px 22px!important}
#allrecords .t1272 a.t-menu__link-item,#allrecords .t1272 .t-menu-base__right_descr{font-size:14px!important}
}
@media (min-width:961px) and (max-width:1180px){#allrecords .t1272 .t-menu-base__right_descr{display:none}}
/* Соцсети: ровный ряд и фирменные цвета */
#allrecords .t-sociallinks__wrapper{display:flex!important;flex-wrap:wrap;align-items:center;gap:10px}
#allrecords .t-sociallinks__item{margin:0!important;padding:0!important;line-height:0}
#allrecords .t-sociallinks__item a{display:block!important;line-height:0}
#allrecords .t-sociallinks__item svg{display:block}
#allrecords .t977 .t-sociallinks__wrapper{max-width:220px}
#allrecords .t-sociallinks__item_telegram a,#allrecords .t-sociallinks__item_vk a,#allrecords .t-sociallinks__item_maxmessenger a,#allrecords .t-sociallinks__item_rutube a{border-radius:50%;background:radial-gradient(circle,#fff 0 58%,transparent 60%)}
#allrecords .t-sociallinks__item_telegram svg path{fill:#2aabee!important}
#allrecords .t-sociallinks__item_vk svg path{fill:#0077ff!important}
#allrecords .t-sociallinks__item_rutube svg path{fill:#100943!important}
#allrecords .t-sociallinks__item_rutube a{box-shadow:0 0 0 1px rgba(255,255,255,.22)}
#allrecords .t-sociallinks__item_maxmessenger svg{background:linear-gradient(225deg,#45c6ff 0%,#4a6bff 48%,#9b3dff 100%);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill-rule='evenodd' d='M24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0ZM24.2314 12.5C17.8663 12.5 12.4942 17.4255 12.4941 23.9727C12.4941 26.714 13.0015 28.6059 13.4482 30.3047C13.8233 31.6836 14.1543 32.9467 14.1543 34.4414C14.3143 36.4326 17.9823 35.2685 19.1406 33.7793C20.9718 35.1031 22.0251 35.4346 24.292 35.4346C30.5586 35.4011 35.6151 30.2999 35.5938 24.0332C35.5937 17.6682 30.602 12.5 24.2314 12.5ZM24.3857 18.1592V18.165C27.5981 18.349 30.0709 21.0719 29.9453 24.2871C29.7296 27.4955 26.9854 29.9406 23.7734 29.7861C22.768 29.7055 21.8016 29.3614 20.9717 28.7881C20.4699 29.2899 19.6648 29.9402 19.3447 29.8633C18.6774 29.6868 17.8938 26.2951 18.335 23.5098C18.87 20.1452 21.2859 17.9993 24.3857 18.1592Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill-rule='evenodd' d='M24 0C37.2548 0 48 10.7452 48 24C48 37.2548 37.2548 48 24 48C10.7452 48 0 37.2548 0 24C0 10.7452 10.7452 0 24 0ZM24.2314 12.5C17.8663 12.5 12.4942 17.4255 12.4941 23.9727C12.4941 26.714 13.0015 28.6059 13.4482 30.3047C13.8233 31.6836 14.1543 32.9467 14.1543 34.4414C14.3143 36.4326 17.9823 35.2685 19.1406 33.7793C20.9718 35.1031 22.0251 35.4346 24.292 35.4346C30.5586 35.4011 35.6151 30.2999 35.5938 24.0332C35.5937 17.6682 30.602 12.5 24.2314 12.5ZM24.3857 18.1592V18.165C27.5981 18.349 30.0709 21.0719 29.9453 24.2871C29.7296 27.4955 26.9854 29.9406 23.7734 29.7861C22.768 29.7055 21.8016 29.3614 20.9717 28.7881C20.4699 29.2899 19.6648 29.9402 19.3447 29.8633C18.6774 29.6868 17.8938 26.2951 18.335 23.5098C18.87 20.1452 21.2859 17.9993 24.3857 18.1592Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
#allrecords .t-sociallinks__item_maxmessenger svg path{fill:transparent!important}
/* Кликабельность: кнопки, ссылки, карточки */
#allrecords .t-btn,#allrecords .t-btntext,#allrecords .t-card__link{cursor:pointer}
#allrecords .t-btn{transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,color .2s ease,border-color .2s ease!important}
#allrecords .t853 .t-btntext__text{border-bottom:1px solid rgba(140,107,46,.4);padding-bottom:2px;transition:border-color .2s ease}
#allrecords .t853__col:has(.t-card__link){cursor:pointer}
#allrecords .t853 .t-card__link{transition:color .2s ease}
#allrecords .t977 a,#allrecords .t-sociallinks a{transition:color .2s ease,opacity .2s ease}
@media (hover:hover){
#allrecords .t-btn:hover{transform:translateY(-2px);box-shadow:0 12px 24px -14px rgba(140,107,46,.7)!important}
#allrecords .t853__col:has(.t-card__link):hover .t-card__link,#allrecords .t853__col:has(.t-card__link):hover .t-card__title{color:var(--gold-deep)!important}
#allrecords .t853__col:hover .t-btntext__text{border-bottom-color:var(--gold-deep)}
#allrecords .t977 a:hover{color:var(--gold)!important}
#allrecords .t-sociallinks a:hover{opacity:.75}
}
/* Доступность */
#allrecords .t-btn{letter-spacing:.01em}
#allrecords .t-btn:focus-visible,#allrecords a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}#allrecords .t-btn:hover{transform:none}}