:root{--be-blue:#124d86;--be-blue-dark:#0b3765;--be-gold:#e5a14b;--be-bg:#f4f8fb;--be-line:#d9e5ef;--be-text:#163f6d;--be-radius:24px;--be-shadow:0 16px 40px rgba(20,65,105,.09)}
body.single-services,body.beleira-home-final{overflow-x:hidden;background:var(--be-bg)}
body.single-services .wrapper.new-services,body.beleira-home-final .wrapper.new-services{overflow:visible!important}

/* Шапка: сохраняем штатную структуру темы, запрещаем наложения. */
body.single-services .menu .nav-menu,body.beleira-home-final .menu .nav-menu{display:flex!important;align-items:center!important;grid-template-columns:none!important;min-width:0!important}
body.single-services .menu .header-logo,body.beleira-home-final .menu .header-logo{flex:0 0 auto!important}
body.single-services .menu .overlay-menu,body.beleira-home-final .menu .overlay-menu{flex:1 1 auto!important;min-width:0!important}
body.single-services .menu .navbar,body.beleira-home-final .menu .navbar{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(18px,2vw,38px)!important;min-width:0!important}
body.single-services .menu .navbar>*,body.beleira-home-final .menu .navbar>*{min-width:0!important}
body.single-services .menu .navbar a,body.beleira-home-final .menu .navbar a{white-space:nowrap!important}
body.single-services .menu .navbar .button,body.beleira-home-final .menu .navbar .button{flex:0 0 auto!important;max-width:280px!important}

/* Единая геометрия услуг. */
body.single-services .wrapper.new-services>section,body.single-services .wrapper.new-services>div:not(.breadcrumbs){max-width:1920px;margin-left:auto!important;margin-right:auto!important}
body.single-services .breadcrumbs{max-width:1800px;margin:18px auto 26px!important;padding:0 clamp(24px,4vw,72px)!important}
body.single-services section{scroll-margin-top:120px}
body.single-services h1,body.single-services h2,body.single-services h3{color:#103f70;letter-spacing:-.025em;text-wrap:balance}
body.single-services p,body.single-services li,body.single-services td{overflow-wrap:anywhere}

/* Первый экран: обе половины равны, изображение не растягивается. */
body.single-services .main__content{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;min-height:clamp(500px,52vw,680px)!important;height:auto!important;overflow:hidden!important;border:1px solid rgba(18,77,134,.24)!important;border-radius:30px!important;background:linear-gradient(135deg,#2367a1,#0d467d)!important;box-shadow:var(--be-shadow)!important}
body.single-services .main__info{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;padding:clamp(38px,5vw,88px)!important;color:#fff!important;background:transparent!important}
body.single-services .main__info h1,body.single-services .main__info h2,body.single-services .main__info p{color:#fff!important}
body.single-services .main__info h1,body.single-services .main__info h2{font-size:clamp(40px,4.1vw,72px)!important;line-height:1.04!important;margin:0 0 28px!important}
body.single-services .main__info p{font-size:clamp(18px,1.35vw,25px)!important;line-height:1.62!important;max-width:780px!important}
body.single-services .main__image{min-width:0!important;min-height:100%!important;height:100%!important;overflow:hidden!important;border-radius:0 28px 28px 0!important;background:#eaf1f6!important}
body.single-services .main__image img,body.single-services .main__image picture{width:100%!important;height:100%!important;min-height:clamp(500px,52vw,680px)!important;display:block!important}
body.single-services .main__image img{object-fit:cover!important;object-position:center!important}
body.single-services .main__info .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:max-content!important;max-width:100%!important;margin-top:26px!important;padding:18px 32px!important;border-radius:16px!important;background:#fff!important;color:var(--be-blue)!important}

/* Главный экран главной: не растягиваем фото и не прячем основную кнопку. */
body.beleira-home-final .main__content{overflow:hidden!important}
body.beleira-home-final .main__image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
body.beleira-home-final .main__info .button,body.beleira-home-final .main__buttons .button{display:inline-flex!important;visibility:visible!important;opacity:1!important}

/* Убираем действительно устаревшие дубли шаблона. */
body.single-services .application:not(.popup):not(#applicationpopup),body.single-services .benefits,body.single-services .experts-reviews,body.beleira-home-final .benefits,body.beleira-home-final .experts-reviews{display:none!important}

/* Коммерческие текстовые секции. */
body.single-services .seo,body.single-services .text-block,body.single-services .service-text{margin-block:30px!important}
body.single-services .seo__container,body.single-services .text-block__container,body.single-services .service-text__container{padding:clamp(30px,4vw,64px)!important;border:1px solid var(--be-line)!important;border-radius:var(--be-radius)!important;background:#fff!important;box-shadow:var(--be-shadow)!important}
body.single-services .seo__container ul,body.single-services .text-block ul,body.single-services .service-text ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 20px!important;margin:24px 0!important;padding:0!important;list-style:none!important}
body.single-services .seo__container li,body.single-services .text-block li,body.single-services .service-text li{position:relative!important;display:block!important;margin:0!important;padding:18px 20px!important;border:1px solid var(--be-line)!important;border-radius:16px!important;background:#f7fafc!important;line-height:1.55!important}
body.single-services .seo__container li::before,body.single-services .seo__container li::after,body.single-services .text-block li::before,body.single-services .text-block li::after,body.single-services .service-text li::before,body.single-services .service-text li::after{content:none!important;display:none!important}
body.single-services .seo__container li>img:first-child,body.single-services .text-block li>img:first-child,body.single-services .service-text li>img:first-child{display:none!important}

/* Тарифы и прайс: никакого текста по одной букве. */
body.single-services .rates__slider,body.single-services .rates__wrapper{align-items:stretch!important}
body.single-services .rates__item,body.single-services .rates__slide{min-width:0!important;height:auto!important;overflow:hidden!important;border:1px solid var(--be-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--be-shadow)!important}
body.single-services .rates__item *,body.single-services .rates__slide *{word-break:normal!important;overflow-wrap:anywhere!important;writing-mode:horizontal-tb!important;white-space:normal!important;min-width:0!important}
body.single-services .rates__row{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(100px,.55fr)!important;align-items:center!important;gap:18px!important;padding:15px 18px!important;border:1px solid var(--be-line)!important;border-radius:14px!important;background:#f7fafc!important;color:var(--be-text)!important}
body.single-services .rates__row>img{display:none!important}
body.single-services .rates__row>*:last-child{text-align:right!important;white-space:nowrap!important}

/* Обычные таблицы. */
body.single-services .be-table-scroll{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border:1px solid var(--be-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--be-shadow)!important}
body.single-services .be-table-scroll table{width:100%!important;min-width:760px!important;table-layout:auto!important;border-collapse:collapse!important;margin:0!important}
body.single-services table th,body.single-services table td{width:auto!important;min-width:160px!important;height:auto!important;padding:18px 20px!important;vertical-align:top!important;line-height:1.45!important;word-break:normal!important;overflow-wrap:break-word!important;white-space:normal!important}
body.single-services table th{background:var(--be-blue)!important;color:#fff!important}
body.single-services table tr:nth-child(even) td{background:#f7fafc!important}

/* Врачи. */
body.single-services .doctors__slide,body.single-services .doctors__item{height:auto!important;min-height:430px!important;overflow:hidden!important;border:1px solid var(--be-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--be-shadow)!important;transition:transform .22s ease,background-color .22s ease,color .22s ease!important}
body.single-services .doctors__slide img,body.single-services .doctors__item img{object-fit:cover!important}
@media (hover:hover){body.single-services .doctors__slide:hover,body.single-services .doctors__item:hover{transform:translateY(-6px)!important;background:var(--be-blue)!important;color:#fff!important}body.single-services .doctors__slide:hover *,body.single-services .doctors__item:hover *{color:#fff!important}}

/* FAQ как на главной: компактные одинаковые строки. */
body.single-services .faq__container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 18px!important}
body.single-services .faq__item{min-width:0!important;height:auto!important;min-height:92px!important;margin:0!important;overflow:hidden!important;border:1px solid var(--be-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 8px 22px rgba(18,65,105,.06)!important;transition:transform .2s ease,border-color .2s ease!important}
body.single-services .faq__question{min-height:92px!important;padding:22px 72px 22px 24px!important;display:flex!important;align-items:center!important;line-height:1.35!important}
body.single-services .faq__answer{padding:0 24px 22px!important;line-height:1.6!important}
body.single-services .faq__item::before,body.single-services .faq__item::after{content:none!important}
@media (hover:hover){body.single-services .faq__item:hover{transform:translateY(-3px)!important;border-color:rgba(229,161,75,.7)!important}}

/* Чипы и другие услуги. */
body.single-services .services__list,body.single-services .other-services__list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
body.single-services .services__item,body.single-services .other-services__item{min-width:0!important;height:auto!important;min-height:112px!important;padding:24px!important;border:1px solid var(--be-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 22px rgba(18,65,105,.05)!important}

/* Нативный блог темы остается внутри страницы. */
body.single-services .recommend{display:block!important;margin-block:34px!important;padding:clamp(28px,4vw,58px)!important;border-radius:28px!important;background:#eef5fa!important}
body.single-services .recommend__slider,body.single-services .recommend__list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important}
body.single-services .recommend__slide,body.single-services .recommend__item{height:auto!important;min-height:470px!important;overflow:hidden!important;border:1px solid var(--be-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--be-shadow)!important;transition:transform .2s ease!important}
body.single-services .recommend img{width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important}
@media (hover:hover){body.single-services .recommend__slide:hover,body.single-services .recommend__item:hover{transform:translateY(-5px)!important}}

@media(max-width:1180px){body.single-services .menu .navbar{gap:16px!important}body.single-services .menu .navbar a{font-size:15px!important}body.single-services .main__content{min-height:500px!important}body.single-services .recommend__slider,body.single-services .recommend__list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:900px){body.single-services .menu .nav-menu,body.beleira-home-final .menu .nav-menu{display:block!important}body.single-services .main__content{grid-template-columns:1fr!important}body.single-services .main__image{min-height:360px!important;border-radius:0 0 26px 26px!important}body.single-services .main__image img,body.single-services .main__image picture{min-height:360px!important}body.single-services .seo__container ul,body.single-services .text-block ul,body.single-services .service-text ul,body.single-services .faq__container,body.single-services .services__list,body.single-services .other-services__list{grid-template-columns:1fr!important}}
@media(max-width:640px){body.single-services .breadcrumbs{padding-inline:16px!important}body.single-services .main__content{border-radius:20px!important}body.single-services .main__info{padding:30px 22px!important}body.single-services .main__info h1,body.single-services .main__info h2{font-size:36px!important}body.single-services .main__image,body.single-services .main__image img,body.single-services .main__image picture{min-height:280px!important}body.single-services .seo__container,body.single-services .text-block__container,body.single-services .service-text__container{padding:24px 18px!important}body.single-services .recommend__slider,body.single-services .recommend__list{grid-template-columns:1fr!important}body.single-services .rates__row{grid-template-columns:1fr!important}body.single-services .rates__row>*:last-child{text-align:left!important}}
@media(prefers-reduced-motion:reduce){body.single-services *,body.beleira-home-final *{scroll-behavior:auto!important;animation-duration:.001ms!important;transition-duration:.001ms!important}}
