body {
    font-family: "Manrope", sans-serif;
	background: #EBF0F6;
}
/*nav*/
.header {
    padding: 40px 24px;
    font-family: "Manrope", sans-serif;
}

.header *,
.header *::before,
.header *::after {
    box-sizing: border-box;
}

.header__container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.header__top {
    background: #fff;
    border-radius: 80px;
}

.header__top-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 64px;
    padding: 8px 8px 8px 32px;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo a,
.header__logo img {
    display: block;
}

.header__logo img {
    width: 162px;
    height: 40px;
}

/* Меню */

.header__nav .top-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header__nav .top-menu__item {
    position: relative;
}

.header__nav .top-menu__link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #02060f;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s;
}

.header__nav .top-menu__link:hover,
.header__nav .top-menu__link.selected {
    color: #376cb6;
}

/* Мессенджеры и запись */

.header__contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ccd3dd;
    transition: background-color 0.2s;
}

.header__social:hover {
    background-color: #b7c3d4;
}

.header__social img {
    display: block;
    width: 20px;
    height: 20px;
    background: transparent;
}



.header__social img {
    display: block;
    width: 20px;
    height: 20px;
}

.header__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 8px 8px 8px 24px;
    border-radius: 40px;
    background: #09204b;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.header__button:hover {
    background: #15386d;
}

.header__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
}

.header__button-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.header {
    position: fixed;
    top: 40px;
    left: 0;
    z-index: 980;
    width: 100%;
    padding: 0 24px;
}


/* бургер */

.header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #09204b;
    transition: transform 0.2s, opacity 0.2s;
}

.header__burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.header__burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header a:focus-visible,
.header button:focus-visible {
    outline: 2px solid #376cb6;
    outline-offset: 4px;
}

/* Адаптив */

@media (max-width: 1450px) {
    .header__nav .top-menu {
        gap: 22px;
    }

    .header__top-container {
        gap: 20px;
        padding-left: 24px;
    }
}

@media (max-width: 1260px) {
    .header__contacts {
        margin-left: auto;
    }

    .header__burger {
        display: flex;
        order: 3;
    }

    .header__nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        z-index: 100;
        max-height: calc(100dvh - 140px);
        overflow-y: auto;
        padding: 16px 24px;
        border-radius: 24px;
        background: #fff;
        box-shadow: 0 16px 36px rgb(9 32 75 / 10%);
    }

    .header__nav.is-open {
        display: block;
    }

    .header__nav .top-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header__nav .top-menu__link {
        padding: 14px 0;
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 20px 12px;
    }

    .header__top-container {
        gap: 8px;
        padding-left: 16px;
    }

    .header__contacts {
        gap: 8px;
    }

    .header__social {
        display: none;
    }

    .header__button {
        gap: 8px;
        padding-left: 14px;
    }

    .header__burger {
        width: 36px;
    }
}

@media (max-width: 390px) {
    .header__top-container {
        gap: 4px;
        padding-left: 12px;
    }

    .header__button {
        gap: 4px;
        padding-left: 12px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .header__button > span:first-child {
        display: none;
    }

    .header__button {
        padding: 8px;
    }
}


/*about*/
.about {
    padding: 120px 24px;
		background: #FFFFFF;
	border-radius: 80px;
}

.about__container {
    display: grid;
    grid-template-columns: minmax(0, 1113fr) minmax(0, 547fr);
    align-items: start;
    gap: 20px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;

}

.about__content {
    min-width: 0;
}

.about__title {
    margin: 0 0 40px;
    color: #070c12;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 40px;
    background: #fff;
    color: #242f3a;
    font-size: 16px;
    line-height: 28px;
}

.about__text p {
    margin: 0;
}

/**/

.about__education {
    padding: 40px 40px 20px 0;
}

.about__subtitle {
    margin: 0 0 40px;
    color: #02060f;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
}

.about__education-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about__education-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
}

.about__year {
    flex: 0 0 104px;
    padding: 4px 12px;
    border-radius: 80px;
    background: #ebf0f6;
    color: #09204b;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-align: center;
}

.about__education-info {
    flex: 1;
    min-width: 0;
}

.about__education-name {
    margin: 0 0 12px;
    color: #070c12;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
}

.about__education-place {
    margin: 0;
    color: #3f444a;
    font-size: 16px;
    line-height: 24px;
}

/**/

.about__photo {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 547 / 646;
    overflow: hidden;
    border-radius: 16px;
    background: #d6dbde;
}

.about__background {

}

.about__portrait {
    position: absolute;
    top: 11.455%;
    left: 51.919%;
    width: 76.051%;
    height: 88.545%;
    overflow: hidden;
    transform: translateX(-50%);
}

.about__portrait img {
    position: absolute;
    top: -9.16%;
    left: -0.02%;
    display: block;
    width: 100.03%;
    height: 109.16%;
    max-width: none;
}

.about__button {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border-radius: 40px;
    background: #09204b;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.about__button:hover {
    background: #15386d;
    color: #fff;
}

.about__button:focus-visible {
    outline: 2px solid #376cb6;
    outline-offset: 4px;
}

.about__button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
}

.about__button-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

/**/

@media (max-width: 1200px) {
    .about {
        padding: 80px 24px;
    }

    .about__container {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 24px;
    }

    .about__title {
        font-size: 32px;
        line-height: 40px;
    }

    .about__text {
        padding-right: 0;
    }

    .about__education {
        padding-right: 0;
    }

    .about__year {
        flex-basis: 80px;
    }
}

/**/

@media (max-width: 800px) {
    .about {
        padding: 60px 16px;
    }

    .about__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .about__title {
        margin-bottom: 24px;
        font-size: 28px;
        line-height: 36px;
    }

    .about__education {
        padding: 32px 0 0;
    }

    .about__subtitle {
        margin-bottom: 24px;
        font-size: 26px;
        line-height: 34px;
    }

    .about__education-item {
        gap: 16px;
    }

    .about__year {
        flex-basis: 72px;
        font-size: 18px;
    }

    .about__photo {
        max-width: 547px;
        margin: 0 auto;
    }
}

.book {
    padding: 200px 24px;
    font-family: "Manrope", sans-serif;
}

.book,
.book * {
    box-sizing: border-box;
}

.book__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1680px;
    margin: 0 auto;
}

.book__media {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border-radius: 16px;
}

.book__image {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: fill;
}

.book__image--base {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 20px 0 20px 40px;
}

.book__title {
    margin: 0 0 40px;
    color: #070c12;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
}

.book__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #3f444a;
    font-size: 16px;
    line-height: 28px;
}

.book__text p {
    margin: 0;
}

.book__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    padding: 8px 8px 8px 20px;
    border-radius: 40px;
    background: #09204b;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.book__button-icon {
    display: flex;
    flex-shrink: 0;
    padding: 6px;
    border-radius: 50%;
    background: #fff;
}

.book__button-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.book__button:hover {
    background: #15386e;
    color: #fff;
    text-decoration: none;
}

.book__button:focus-visible {
    outline: 2px solid #09204b;
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .book { padding: 100px 24px; }
    .book__content { padding-left: 20px; }
    .book__title { font-size: 32px; line-height: 40px; }
}

@media (max-width: 800px) {
    .book { padding: 64px 16px; }
    .book__container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .book__media { min-height: 0; aspect-ratio: 830 / 460; }
    .book__content { padding: 0; }
    .book__title { margin-bottom: 24px; font-size: 28px; line-height: 36px; }
    .book__text { font-size: 15px; line-height: 26px; }
    .book__button { margin-top: 32px; }
}
.photo-gallery {
    padding: 0 24px;
}

.photo-gallery,
.photo-gallery * {
    box-sizing: border-box;
}

.photo-gallery__container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.photo-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.photo-gallery__item {
    min-width: 0;
    aspect-ratio: 455 / 320;
    overflow: hidden;
    border-radius: 12px;
}

.photo-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .photo-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .photo-gallery {
        padding: 0 16px;
    }

    .photo-gallery__grid {
        gap: 12px;
    }

    .photo-gallery__item {
        border-radius: 8px;
    }
}

/*contacts*/
.contacts {
    padding: 0 20px;
    font-family: "Manrope", sans-serif;
}

.contacts,
.contacts * {
    box-sizing: border-box;
}

.contacts__inner {
    position: relative;
    max-width: 1880px;
    min-height: 616px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background: #c5d2d8;
}

.contacts__map {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.contacts__map > div,
.contacts__map .bx-yandex-view-layout,
.contacts__map .bx-yandex-view-map,
.contacts__map #BX_YMAP_contacts_map {
    width: 100% !important;
    height: 100% !important;
}

.contacts__overlay {
    z-index: 1;
    position: absolute;
    inset: 0;
    background:
        linear-gradient(66.15deg, rgb(8 32 78 / 92%) 12.399%, rgb(8 32 78 / 0%) 60.898%),
        linear-gradient(90deg, #f2f6f6 15.239%, rgb(242 246 246 / 0%) 25.878%),
        linear-gradient(90deg, #c5d2d8 32.497%, rgb(197 210 216 / 0%) 45.399%);
    pointer-events: none;
}

.contacts__marker {
    position: absolute;
    top: 47.73%;
    left: 69.63%;
    display: block;
    width: 30px;
    height: 40px;
}

.contacts__container {
    z-index: 2;
    pointer-events: none;
    position: relative;
    width: calc(100% - 80px);
    max-width: 1680px;
    margin: 0 auto;
    padding: 80px 0;
}

.contacts__content {
    pointer-events: auto;
    width: 100%;
    max-width: 628px;
}

.contacts__title {
    margin: 0 0 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
}

.contacts__text {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
}

.contacts__form {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.contacts__input {
    width: 270px;
    min-width: 0;
    min-height: 48px;
    padding: 10px 24px;
    border: 1px solid #fff;
    border-radius: 80px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 16px;
    line-height: 24px;
}

.contacts__input::placeholder {
    color: rgb(255 255 255 / 50%);
}

.contacts__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border: 0;
    border-radius: 40px;
    background: #09204b;
    color: #fff;
    font: inherit;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}

.contacts__submit-icon {
    display: flex;
    flex-shrink: 0;
    padding: 6px;
    border-radius: 50%;
    background: #fff;
}

.contacts__submit-icon img,
.contacts__social img {
    display: block;
    width: 20px;
    height: 20px;
}

.contacts__details {
    margin-top: 48px;
}

.contacts__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-top: 20px;
    padding: 20px 32px;
    border-radius: 16px;
    background: #ebf0f6;
    color: #070c12;
    font-size: 16px;
    font-style: normal;
    line-height: 28px;
}

.contacts__row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.contacts__label {
    color: #3f444a;
}

.contacts__card a {
    color: #070c12;
    text-decoration: none;
}

.contacts__card a:hover {
    text-decoration: underline;
}

.contacts__phone {
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.contacts__social {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 4px;
}

.contacts__social a {
    display: flex;
    padding: 4px;
}

.contacts__input:focus-visible,
.contacts__submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.contacts__card a:focus-visible {
    outline: 2px solid #09204b;
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .contacts__content {
        max-width: 560px;
    }

    .contacts__overlay {
        background: linear-gradient(90deg, rgb(8 32 78 / 95%) 0%, rgb(8 32 78 / 85%) 55%, rgb(8 32 78 / 25%) 100%);
    }
}

@media (max-width: 700px) {
    .contacts {
        padding: 0 16px;
    }

    .contacts__inner {
        min-height: 0;
        border-radius: 24px;
    }

    .contacts__container {
        width: 100%;
        padding: 40px 24px;
    }

    .contacts__title {
        margin-bottom: 24px;
        font-size: 28px;
        line-height: 36px;
    }

    .contacts__overlay {
        background: rgb(8 32 78 / 88%);
    }

    .contacts__marker {
        display: none;
    }

    .contacts__input,
    .contacts__submit {
        width: 100%;
    }

    .contacts__details {
        margin-top: 32px;
    }

    .contacts__card {
        width: 100%;
        padding: 20px;
    }
}

.services__container-title {
	font-family: 'Manrope';
	font-weight: 600;
	font-size: 40px;
	line-height: 48px;
	text-align: center;
	color: #070C12;
	align-items: center;
	display: flex;
    justify-content: center;
	margin: 120px 0 64px 0;
}

.photo-gallery__title {
	font-weight: 600;
	font-size: 40px;
	line-height: 48px;
	letter-spacing: 0%;
	margin: 64px 0 64px 0;
}

.services__container .services__title {
	align-items: center;
}

/* footer */

.footer {
    overflow: hidden;
    padding: 40px 24px 0;
    border-radius: 40px;
    background: #fff;
    color: #070c12;
    font-family: "Manrope", sans-serif;
}

.footer,
.footer * {
    box-sizing: border-box;
}

.footer__container {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 460px);
    align-items: start;
    gap: 80px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer a:focus-visible {
    outline: 2px solid #09204b;
    outline-offset: 4px;
}

.footer__info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-height: 172px;
    min-width: 0;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.footer__contacts a {
    white-space: nowrap;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
}

.footer__legal p {
    margin: 0;
}

.footer__menu,
.footer__links {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__menu {
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}

.footer__column,
.footer__nav {
    min-width: 0;
}

.footer__title {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}

.footer__links {
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.footer__brand {
    width: min(1440px, 100%);
    aspect-ratio: 1440 / 300;
    margin-top: 48px;
    overflow: hidden;
}

.footer__brand-image {
    width: 100%;
    aspect-ratio: 1440.02 / 355.576;
    background: url("images/footer-logo.svg") left top / contain no-repeat;
}

@media (max-width: 1400px) {
    .footer__top {
        grid-template-columns: 1fr 0.7fr 1fr 1.4fr;
        gap: 32px;
    }
}

@media (max-width: 1000px) {
    .footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    .footer__info {
        min-height: 172px;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 32px 20px 0;
        border-radius: 24px;
    }

    .footer__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .footer__info {
        min-height: 0;
        gap: 24px;
    }

    .footer__brand {
        margin-top: 40px;
    }
}

.footer .top-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .top-menu__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .top-menu__link {
    display: block;
    color: inherit;
    text-decoration: none;
    white-space: normal;
}

.footer__nav .top-menu {
    gap: 16px;
}

.footer__nav .top-menu__link {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}

.footer__column .top-menu {
    gap: 8px;
}

.footer__column .top-menu__link {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-transform: none;
}

.footer .top-menu__link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer {
margin-top: 20px;

}

/*Начните с бесплатной диагностики*/
.diagnostics {
    padding: 0 24px;
}

.diagnostics,
.diagnostics * {
    box-sizing: border-box;
}

.diagnostics__banner {
    max-width: 1680px;
    min-height: 448px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background-color: #c5d2d8;
    background-image: linear-gradient(61.494deg, rgba(8, 32, 78, .92) 12.399%, rgba(8, 32, 78, 0) 60.898%), linear-gradient(98.13deg, #c5d2d8 48.73%, rgba(197, 210, 216, 0) 63.68%), url("/local/templates/drbasin/images/free-background.jpg");
    background-size: 100% 100%, 100% 100%, auto 100%;
background-position: center, center, right center;
background-repeat: no-repeat;
    color: #fff;
	margin-bottom: 120px;
}

.diagnostics__content {
    max-width: 830px;
    padding: 80px 0 80px 40px;
}

.diagnostics__title {
    margin: 0 0 40px;
    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
}

.diagnostics__text {
    max-width: 620px;
    margin: 0 0 48px;
    font-size: 16px;
    line-height: 28px;
    font-weight: 300;
}

.diagnostics__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.diagnostics__contacts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.diagnostics__phone {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 80px;
    background: #fff;
    color: #070c12;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
}

.diagnostics__phone strong {
    font-weight: 600;
    white-space: nowrap;
}

.diagnostics__social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
}

.diagnostics__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border-radius: 40px;
    background: #09204b;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
}

.diagnostics__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
}

.diagnostics__social img,
.diagnostics__arrow img {
    display: block;
    width: 20px;
    height: 20px;
}

.diagnostics__button:hover {
    background: #15386d;
}

.diagnostics__phone:hover,
.diagnostics__social:hover {
    background: #ebf0f6;
}

.diagnostics a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

#contacts {
    scroll-margin-top: 100px;
}

@media (max-width: 1100px) {
    .diagnostics__content {
        max-width: 700px;
        padding: 56px 32px;
    }

    .diagnostics__text {
        max-width: 520px;
    }
}

@media (max-width: 700px) {
    .diagnostics {
        padding: 0 12px;
    }

    .diagnostics__banner {
        --diagnostics-photo-height: clamp(240px, 64vw, 340px);
        min-height: 0;
        margin-bottom: 64px;
        border-radius: 12px;
        background-color: #c5d2d8;
        background-image:
            linear-gradient(180deg, #152b50 9%, #263e60 29%, #77889c 48%, transparent 68%),
            url("/local/templates/drbasin/images/free-background.jpg");
        background-size: 100% 100%, auto calc(var(--diagnostics-photo-height) + 20px);
        background-position: center, 65% bottom;
    }

    .diagnostics__content {
        max-width: none;
        padding: 32px 20px var(--diagnostics-photo-height);
    }

    .diagnostics__title {
        margin-bottom: 32px;
        font-size: clamp(21px, 6.4vw, 24px);
        line-height: 1.17;
    }

    .diagnostics__text {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 20px;
    }

    .diagnostics__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .diagnostics__contacts {
        gap: 8px;
    }

    .diagnostics__phone {
        gap: 4px;
        padding: 6px 12px;
        font-size: clamp(12px, 3.7vw, 14px);
        line-height: 20px;
    }

    .diagnostics__social {
        width: 32px;
        height: 32px;
    }

    .diagnostics__button {
        gap: 8px;
        padding: 4px 4px 4px 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .diagnostics__arrow {
        flex-shrink: 0;
        width: 24px;
        height: 24px;
    }
}

/*breadcrumbs*/
.page-breadcrumbs .breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
	color: #3F444A;
	font-size: 12px;
	
}

.breadcrumbs__list a {
	text-decoration: none;
	color: #3F444A;
	font-size: 12px;
}

.page-breadcrumbs .breadcrumbs__item {
    display: flex;
    align-items: baseline;
    gap: 8px;
    list-style: none;
}
.breadcrumbs {
	margin: 0px 0 20px 0;
}

/*kniga*/

.book-description {
    padding: 0 24px 0px;
    font-family: "Manrope", sans-serif;
}

.book-description,
.book-description * {
    box-sizing: border-box;
}

.book-description__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.book-description__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 830 / 480;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

.book-description__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 20px 0 0 40px;
    color: #3f444a;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.book__container--title{
    max-width: 1680px;
    margin: 0 auto;
	text-align: center;
	margin-bottom: 40px;

}
.book__container--title h2{
	font-weight: 600;
	font-size: 32px;
	line-height: 40px;
	text-align: center;
	color: #070C12;
}
.book-description__text p {
    margin: 0;
}

@media (max-width: 1100px) {
    .book-description__text {
        padding: 0 0 0 12px;
    }
}

@media (max-width: 800px) {
    .book-description {
        padding: 0 20px 48px;
    }

    .book-description__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .book-description__text {
        padding: 0;
    }
}

/**/
.book-order {
    padding: 120px 24px;
    font-family: "Manrope", sans-serif;
}

.book-order,
.book-order * {
    box-sizing: border-box;
}

.book-order__banner {
    position: relative;
    isolation: isolate;
    max-width: 1680px;
    min-height: 448px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background: #c5d2d8;
    color: #fff;
}

.book-order__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("../images/book-order/background.png") center bottom / 100% 100% no-repeat;
}

.book-order__art::before {
    content: "";
    position: absolute;
    left: 24.1%;
    top: -65.35%;
    width: 79.03%;
    height: 165.41%;
    background: url("../images/book-order/book.png") center / 100% 100% no-repeat;
}

.book-order__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(61.494deg, rgba(8, 32, 78, .92) 12.399%, rgba(8, 32, 78, 0) 60.898%), linear-gradient(70.949deg, #c5d2d8 47.242%, rgba(197, 210, 216, 0) 68.441%);
}

.book-order__content {
    width: 100%;
    max-width: 830px;
    padding: 80px 0 80px 40px;
}

.book-order__title {
    margin: 0 0 40px;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
}

.book-order__text {
    margin: 0 0 48px;
    font-size: 16px;
    font-weight: 300;
    line-height: 28px;
}

.book-order__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
}

.book-order__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    border-radius: 40px;
    background: #fff;
    color: #09204b;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
}

.book-order__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #09204b;
}

.book-order__socials {
    display: flex;
    gap: 12px;
}

.book-order__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
}

.book-order__social img,
.book-order__arrow img {
    display: block;
    width: 20px;
    height: 20px;
}

.book-order__button:hover,
.book-order__social:hover {
    background: #ebf0f6;
}

.book-order a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .book-order {
        padding: 80px 24px;
    }

    .book-order__content {
        max-width: 680px;
        padding: 56px 32px;
    }

    .book-order__art::after {
        background: linear-gradient(90deg, rgba(8, 32, 78, .95), rgba(8, 32, 78, .35));
    }

    .book-order__title {
        font-size: 34px;
        line-height: 42px;
    }
}

@media (max-width: 700px) {
    .book-order {
        padding: 48px 12px;
    }

    .book-order__banner {
        border-radius: 24px;
    }

    .book-order__content {
        padding: 40px 24px;
    }

    .book-order__title {
        margin-bottom: 24px;
        font-size: 28px;
        line-height: 36px;
    }

    .book-order__text {
        margin-bottom: 32px;
    }

    .book-order__art {
        background: none;
    }

    .book-order__art::before {
        inset: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: 70% center;
    }

    .book-order__art::after {
        background: rgba(8, 32, 78, .8);
    }
}
.book-order__art {
    background-image: url("/local/templates/drbasin/images/kniga-back.png");
}

.book-order__art::before {
    background-image: url("/local/templates/drbasin/images/kniga-back.png");
}

.book-order__art::after {
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
/**/
/**/

.header-spacer {
    height: 104px;
}

.page-breadcrumbs {
    padding-top: 0;
}

@media (max-width: 600px) {
    .header-spacer {
        height: 88px;
    }
}

/**/

.service-feedback {
    margin-bottom: 64px;
    padding: 56px;
    border-radius: 28px;
    background: #fff;
    color: #09204b;
}

.service-feedback,
.service-feedback * {
    box-sizing: border-box;
}

.service-feedback__header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    margin-bottom: 40px;
}

.service-feedback__title {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 52px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.service-feedback__description {
    max-width: 480px;
    margin: 0;
    color: #687d98;
    font-size: 18px;
    line-height: 1.6;
}

.service-feedback__form {
    margin: 0;
}

.service-feedback__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, .95fr);
    align-items: end;
    gap: 20px;
}

.service-feedback__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    color: #687d98;
    font-size: 16px;
    line-height: 1.4;
}

.service-feedback__field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 68px;
    margin: 0;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: #edf2f8;
    color: #09204b;
    font: inherit;
    font-size: 17px;
    box-shadow: none;
    transition: background .2s, border-color .2s;
}

.service-feedback__field input::placeholder {
    color: #7186a0;
    opacity: 1;
}

.service-feedback__field input:hover {
    background: #e6edf5;
}

.service-feedback__field input:focus-visible {
    border-color: #09204b;
    outline: 2px solid rgba(9, 32, 75, .15);
    outline-offset: 3px;
    background: #fff;
}

.service-feedback__submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    min-height: 68px;
    margin: 0;
    padding: 12px 20px 12px 24px;
    border: 0;
    border-radius: 16px;
    background: #09204b;
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
}

.service-feedback__submit:hover {
    background: #173966;
}

.service-feedback__submit:focus-visible {
    outline: 2px solid #09204b;
    outline-offset: 4px;
}

.service-feedback__arrow {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: transform .2s;
}


.service-feedback__bottom {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, .95fr);
    align-items: center;
    gap: 20px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e0e8f1;
}

.service-feedback__contacts {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.service-feedback__contact {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: #09204b;
    text-decoration: none;
}

.service-feedback__icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #eaf0f7;
    color: #145983;
}

.service-feedback__icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

.service-feedback__contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-feedback__contact-text > span {
    color: #687d98;
    font-size: 14px;
    line-height: 1.4;
}

.service-feedback__contact-text strong {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.service-feedback__contact--max {
    padding-left: 28px;
    border-left: 1px solid #d5e0ec;
}

.service-feedback__max-text {
    font-size: 16px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.service-feedback__consent {
    margin: 0;
    color: #74859b;
    font-size: 12px;
    line-height: 1.6;
}

.service-feedback__consent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1200px) {
    .service-feedback {
        padding: 40px 32px;
    }

    .service-feedback__header {
        gap: 32px;
    }

    .service-feedback__description {
        font-size: 16px;
    }

    .service-feedback__bottom {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-feedback__consent {
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .service-feedback__header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .service-feedback__fields {
        grid-template-columns: 1fr 1fr;
    }

    .service-feedback__submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .service-feedback {
        margin-bottom: 40px;
        padding: 28px 20px;
        border-radius: 20px;
    }


    .service-feedback__title {
        font-size: clamp(28px, 7.5vw, 40px);
    }

    .service-feedback__description {
        font-size: 14px;
    }

    .service-feedback__fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-feedback__field {
        font-size: 14px;
    }

    .service-feedback__field input {
        height: 60px;
        padding: 0 18px;
        font-size: 16px;
        border-radius: 12px;
    }

    .service-feedback__submit {
        min-height: 60px;
        padding: 10px 14px 10px 18px;
        border-radius: 12px;
        font-size: 16px;
    }

    .service-feedback__arrow {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .service-feedback__bottom {
        margin-top: 24px;
        padding-top: 24px;
    }

    .service-feedback__contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .service-feedback__contact--max {
        padding-left: 0;
        border-left: 0;
    }

    .service-feedback__icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .service-feedback__contact-text strong {
        font-size: 17px;
    }

    .service-feedback__max-text {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-feedback__field input,
    .service-feedback__submit,
    .service-feedback__arrow {
        transition: none;
    }
}

/*obo mne*/
.doctor-about {
    margin-bottom: 64px;
    color: #09204b;
}

.doctor-about,
.doctor-about * {
    box-sizing: border-box;
}

.doctor-about__container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: start;
    gap: 64px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 28px;
    background: #fff;
}

.doctor-about__content {
    min-width: 0;
}

.doctor-about__title {
    margin: 0 0 18px;
    font-size: clamp(32px, 3.2vw, 52px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.doctor-about__intro {
    margin: 0;
    color: #687b94;
    font-size: 19px;
    line-height: 1.6;
}

.doctor-about__education {
    margin-top: 32px;
}

.doctor-about__heading {
    margin: 0 0 20px;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.doctor-about__education-list {
    display: grid;
    gap: 20px;
    margin: 0;
}

.doctor-about__education-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 20px;
}

.doctor-about__year {
    margin: 0;
    color: #687b94;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
}

.doctor-about__education-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin: 0;
}

.doctor-about__specialty {
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}

.doctor-about__institution {
    color: #74849a;
    font-size: 15px;
    line-height: 1.5;
}

.doctor-about__description {
    margin-top: 36px;
}

.doctor-about__description p {
    margin: 0 0 14px;
    color: #687b94;
    font-size: 16px;
    line-height: 1.7;
}

.doctor-about__description p:last-child {
    margin-bottom: 0;
}

.doctor-about__photo {
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #e5edf3;
}

.doctor-about__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 1200px) {
    .doctor-about__container {
        gap: 36px;
        padding: 36px;
    }

    .doctor-about__intro {
        font-size: 17px;
    }

    .doctor-about__heading {
        font-size: 24px;
    }

    .doctor-about__education-item {
        grid-template-columns: 60px minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .doctor-about__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .doctor-about__photo {
        width: 100%;
        max-width: 520px;
        justify-self: center;
    }
}

@media (max-width: 600px) {
    .doctor-about {
        margin-bottom: 40px;
    }

    .doctor-about__container {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .doctor-about__title {
        font-size: clamp(28px, 7.5vw, 38px);
    }

    .doctor-about__intro {
        font-size: 15px;
    }

    .doctor-about__education,
    .doctor-about__description {
        margin-top: 28px;
    }

    .doctor-about__heading {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .doctor-about__education-list {
        gap: 18px;
    }

    .doctor-about__education-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .doctor-about__year,
    .doctor-about__specialty {
        font-size: 15px;
    }

    .doctor-about__institution,
    .doctor-about__description p {
        font-size: 14px;
    }

    .doctor-about__photo {
        border-radius: 16px;
    }
}

/* Шапка и первый экран на телефонах */
@media (max-width: 600px) {
    .header {
        top: 28px;
        padding: 0 24px;
    }

    .header.is-scrolled { top: 12px; }

    body:has(.main-banner) .header:not(.is-scrolled) {
        position: relative;
        margin-bottom: -42px;
    }

    body:has(#bx-panel) .header.is-scrolled {
        top: 50px;
    }


    .header__top-container {
        min-height: 42px;
        gap: 12px;
        padding: 3px 4px 3px 12px;
    }

    .header__logo img { width: 140px; height: auto; }
    .header__contacts { display: none; }

    .header__burger {
        width: 34px;
        height: 34px;
        padding: 0;
        gap: 3px;
        border-radius: 50%;
        background: #09204b;
    }

    .header__burger span { width: 14px; height: 1px; background: #fff; }

    .header__burger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .header__burger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .header__nav {
        top: calc(100% + 8px);
        max-height: calc(100dvh - 90px);
        padding: 8px 16px;
        border-radius: 16px;
        overscroll-behavior: contain;
    }

    .header__nav .top-menu__link { min-height: 44px; padding: 10px 0; }
}


/* Подробно о специалисте: мобильный кадр главной */
@media (max-width: 600px) {
    .about {
        margin-inline: 12px;
        padding: 32px 20px 20px;
        border-radius: 12px;
    }

    .about__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .about__title {
        margin-bottom: 24px;
        font-size: clamp(21px, 6.4vw, 24px);
        line-height: 1.2;
    }

    .about__text {
        gap: 16px;
        padding: 0;
        font-size: 14px;
        line-height: 20px;
    }

    .about__education { padding: 40px 0 0; }

    .about__subtitle {
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 24px;
    }

    .about__education-list { gap: 28px; }

    .about__education-item {
        flex-direction: column;
        gap: 16px;
    }

    .about__year {
        flex: none;
        min-width: 80px;
        font-size: 18px;
        line-height: 24px;
    }

    .about__education-info { flex: none; }

    .about__education-name {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 20px;
    }

    .about__education-place {
        font-size: 14px;
        line-height: 20px;
    }

    .about__photo {
        aspect-ratio: 311 / 358;
        border-radius: 12px;
    }

    .about__background {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about__button {
        right: 12px;
        bottom: 12px;
        gap: 8px;
        padding: 4px 4px 4px 12px;
        font-size: 13px;
        line-height: 16px;
        white-space: nowrap;
    }

    .about__button-icon {
        width: 24px;
        height: 24px;
    }
}


/* Атлас на мобильной главной */
@media (max-width: 600px) {
    .book {
        padding: 64px 12px 24px;
    }

    .book__media {
        border-radius: 12px;
    }

    .book__content {
        padding: 0 12px;
    }

    .book__title {
        align-self: stretch;
        margin: 0 0 24px;
        font-size: clamp(21px, 6.4vw, 24px);
        line-height: 1.17;
        text-align: center;
    }

    .book__text {
        gap: 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .book__button {
        align-self: center;
        gap: 8px;
        min-height: 32px;
        margin-top: 32px;
        padding: 4px 4px 4px 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .book__button-icon {
        padding: 0;
    }

    .book__button-icon svg {
        display: block;
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 600px) {
    .contacts {
        padding: 0 12px;
    }

    .contacts__inner {
        display: flex;
        flex-direction: column;
        min-height: 0;
        border-radius: 12px;
        background: linear-gradient(
            180deg,
            #152b50 10%,
            #526983 36%,
            #c5d2d8 65%
        );
    }

    .contacts__container {
        order: 0;
        width: 100%;
        padding: 32px 20px 0;
    }

    .contacts__title {
        margin: 0 0 32px;
        font-size: 24px;
        line-height: 28px;
    }

    .contacts__text {
        margin: 0;
        font-size: 14px;
        line-height: 20px;
    }

    .contacts__form {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 24px;
    }

    .contacts__input {
        width: 100%;
        min-height: 32px;
        padding: 5px 12px;
        font-size: 16px;
        line-height: 20px;
    }

    .contacts__submit {
        min-height: 32px;
        gap: 8px;
        padding: 4px 4px 4px 12px;
        font-size: 14px;
        line-height: 16px;
    }

    .contacts__submit-icon {
        padding: 4px;
    }

    .contacts__details {
        display: grid;
        gap: 20px;
        margin-top: 32px;
        font-size: 14px;
        line-height: 20px;
    }

    .contacts__details > p {
        margin: 0;
    }

    .contacts__card {
        width: 100%;
        gap: 12px;
        padding: 12px;
        border-radius: 8px;
        background: #ebf0f6;
        color: #070c12;
        overflow-wrap: anywhere;
    }

    .contacts__map {
        position: relative;
        order: 1;
        inset: auto;
        height: 400px;
        margin-top: -80px;
        mask-image: linear-gradient(to bottom, transparent, #000 120px);
    }

    .contacts__overlay,
    .contacts__marker {
        display: none;
    }
}

/**/

.callback-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    overflow-y: auto;
    background: rgb(9 32 75 / 55%);
}

.callback-modal[hidden] {
    display: none;
}

.callback-modal__inner {
    display: grid;
    min-height: 100%;
    box-sizing: border-box;
    padding: 16px;
    place-items: center;
}

.callback-modal__panel {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 460px);
    padding: clamp(24px, 5vw, 40px);
    border-radius: 24px;
    background: #fff;
    color: #09204b;
}

.callback-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #edf2f7;
    color: inherit;
    font-size: 24px;
    cursor: pointer;
}

.callback-modal__title {
    margin: 0 32px 24px 0;
    font-size: 26px;
    line-height: 1.2;
}

.callback-modal__form {
    display: grid;
    gap: 16px;
}

.callback-modal__form label {
    display: grid;
    gap: 8px;
}

.callback-modal__form label input {
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #c9d3e0;
    border-radius: 12px;
    font: inherit;
}

.callback-modal__submit {
    min-height: 48px;
    padding: 10px 20px;
    border: 0;
    border-radius: 24px;
    background: #09204b;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.callback-modal__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.callback-modal__status {
    margin: 12px 0 0;
}

/**/

.contacts .contacts__map {
    filter: grayscale(100%);
}

/* Главные заголовки внутренних страниц */
h1:is(.inner-page-title, .services-page__title, .osteonecrosis__title, .cases-page__title, .articles__title) {
    color: #000;
    font-family: Manrope, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
}

.inner-page-title {
    width: calc(100% - 32px);
    max-width: 1680px;
    margin: 0 auto 40px;
}

button[data-callback-open] {
    border: 0;
    font-family: inherit;
    cursor: pointer;
}

.service-feedback__contact--max .service-feedback__icon img {
    display: block;
    width: 25px;
    height: 25px;
}

.contacts__max-icon {
    display: block;
    width: 28px;
    height: 28px;
    background-color: #09204b;
    mask: url("images/max-white.svg?v=2") center / contain no-repeat;
}

.dr-uslugi {
    display: flex;
    flex-direction: column;
    clear: both;
    min-width: 0;
    max-width: 100%;
    margin: 30px 0;
}

.dr-uslugi-photo {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    min-width: 0;
    max-width: 100%;
    margin-bottom: 15px;
}

.dr-uslugi-photo img {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.dr-uslugi p {
    text-align: center;
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .dr-uslugi {
        margin: 24px 0;
    }

    .dr-uslugi-photo {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .dr-uslugi-photo img {
        flex: none;
    }
}

.dr-uslugi-pagination[hidden] {
    display: none;
}

@media (max-width: 767px) {
    .dr-uslugi-photo.dr-uslugi-photo--slider {
        display: block;
        width: 100%;
        overflow: hidden;
        margin: 0;
    }

    .dr-uslugi-photo--slider .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
        min-width: 0;
    }

    .dr-uslugi-photo--slider img {
        width: auto;
        max-width: 100%;
        max-height: 360px;
        height: auto;
    }

    .dr-uslugi-pagination {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
        margin: 8px 0 12px;
    }

    .dr-uslugi-pagination .swiper-pagination-bullet {
        display: grid;
        width: 28px;
        height: 28px;
        margin: 0;
        padding: 0;
        place-items: center;
        border: 0;
        background: transparent;
        opacity: 1;
        cursor: pointer;
    }

    .dr-uslugi-pagination .swiper-pagination-bullet::before {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ccd3dd;
        content: '';
    }

    .dr-uslugi-pagination .swiper-pagination-bullet-active::before {
        background: #09204b;
    }

    .dr-uslugi-pagination button:focus-visible {
        outline: 2px solid #09204b;
        outline-offset: 2px;
    }
}

.contacts-page .contacts__inner {
    display: grid;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    align-items: stretch;
    background: #09204b;
}

.contacts-page .contacts__container {
    grid-column: 1;
    grid-row: 1;
    order: 0;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 48px 40px;
}

.contacts-page .contacts__content {
    max-width: none;
}

.contacts-page .contacts__form {
    flex-wrap: wrap;
}

.contacts-page .contacts__map {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    order: 1;
    inset: auto;
    min-width: 0;
    min-height: 616px;
    height: auto;
    margin: 0;
    mask-image: none;
    -webkit-mask-image: none;
}

.contacts-page .contacts__overlay {
    display: none;
}

@media (max-width: 1100px) {
    .contacts-page .contacts__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .contacts-page .contacts__container {
        padding: 32px 24px;
    }

    .contacts-page .contacts__map {
        grid-column: 1;
        grid-row: 2;
        min-height: 0;
        height: 380px;
    }
}

@media (max-width: 600px) {
    .contacts-page .contacts__container {
        padding: 32px 20px;
    }

    .contacts-page .contacts__map {
        height: 320px;
    }
}
