:root {
    --purple-main: #704592;
    --text-dark: #252525;
    --bg-gray: #F0F0F0;
    --color-gray-20:#78757B;
    --color-red-20: #984D66;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    margin: 0;
    background-color: #F8F8F8;
    overflow-x: hidden;
}
html {
    scrollbar-width: thin;
    scrollbar-color: #704592 transparent;
}

*{
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    box-shadow: none;
}

::-webkit-scrollbar-thumb {
    background-color: var(--purple-main);
    border-radius: 100px;
}

::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::selection {
    background: var(--purple-main);
    color: #ffffff;
}


::-moz-selection {
    background: var(--purple-main);
    color: #ffffff;
}

@media (min-width: 1200px) {
    body {
        overflow-x: hidden;
    }

    .price-modal, 
    .main-header {
        zoom: var(--site-zoom, 1);
    }
}

h1, h2, h3, h4, h5{
    margin: 0;
}

.main-header {
    width: 100%;
    padding: 4px clamp(12px, calc(16px - (8 * ((100vw - 1440px) / 480))), 20px) 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    transform: none;
    z-index: 10000;
}

.header-container {
    width: 100%;
    height: 64px;
    background: #FFFFFF;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    box-sizing: border-box;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.header-address {
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.4;
    gap: 3px;
}

.header-address span {
    font-size: 10px;
    line-height: 10px;
    color: var(--text-dark, #252525);
    letter-spacing: -0.3px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    font-size: 11px;
    line-height: 17px;
    color: var(--text-dark, #252525);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--purple-main, #704592);
}

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

.header-phone {
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-dark, #252525);
    margin-right: 8px;
}

.social-icons {
    display: flex;
    gap: 4px;
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: var(--bg-gray, #EFEFEF);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.icon-circle:hover {
    transform: translateY(-2px);
}

.icon-circle img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

.btn-appointment {
    font-family: 'Golos Text', sans-serif;
    font-weight: 400;
    background: var(--purple-main, #704592);
    border-radius: 100px;
    padding: 0 24px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.btn-appointment:hover {
    opacity: 0.9;
}

.btn-menu-toggle {
    width: 44px;
    height: 44px;
    background: var(--purple-main, #704592);
    border-radius: 100px;
    border: none;
    display: grid;
    grid-template-columns:6px 6px;
    grid-template-rows: 6px 6px;
    gap: 3px;
    align-content: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-menu-toggle:hover {
    opacity: 0.9;
}

.btn-menu-toggle span {
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    max-width: 450px;
    min-width: 320px;
    height: 100vh;
    background: #F8F8F8;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    padding: 40px;
    box-sizing: border-box;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 64px;
}

.side-logo {
    height: 48px;
    width: auto;
}

.btn-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-grow: 1;
}

.side-nav-link {
    text-decoration: none;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #252525;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-arrow {
    font-size: 14px;
    color: #252525;
}

.side-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: auto;
    margin-bottom: 10px;
}
.contacts-map-container {
    width: 100%;
    height: 400px; 
    overflow: hidden; 
    position: relative;
    border-radius: 12px; 
}

.contacts-map-container iframe {
    width: 100%;
    height: 460px;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}
.side-socials {
    display: flex;
    gap: 12px;
}

.side-icon {
    width: 40px;
    height: 40px;
    background: var(--purple-main, #704592);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.side-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.side-phone {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #252525;
    text-decoration: none;
}
.phone-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.phone-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background-color: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 100;
    min-width: max-content;
}

.phone-dropdown::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.phone-wrapper:hover .phone-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.phone-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.phone-dropdown-item:last-child {
    margin-bottom: 0;
}

.phone-dropdown-item img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.phone-dropdown-item span {
    font-size: 11px;
    color: #000000;
    white-space: nowrap;
    line-height: 1.2;
}

.header-mobile-phone-icon{
    display: none;
}
@media (max-width: 1200px) {
    .header-left-group {
        gap: 20px;
    }
    .header-nav {
        display: none;
    }
}

@media (max-width: 992px) {
    .header-address {
        display: none;
    }
    .header-container {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 16px 4vw;
    }
    .side-menu {
        width: 50%;
        padding: 32px 24px;
    }
}

@media (max-width: 690px) {
    .header-phone {
        display: none;
    }
    .header-mobile-phone-icon{
        display: flex;
    }
    .btn-appointment {
        display: none;
    }
}

@media (max-width: 500px) {
    .header-right {
        gap: 0;
    }
}
.accordion-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.acc-header, .acc-single {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 8px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #252525;
    text-decoration: none;
    cursor: pointer;
    text-align: left;
}

.acc-sub-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 10px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #252525;
    cursor: pointer;
    text-align: left;
}


.acc-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.acc-header.active .acc-arrow,
.acc-sub-header.active .acc-arrow {
    transform: rotate(180deg);
}

.acc-content, .acc-sub-content {
    display: none;
    flex-direction: column;
    padding-top: 4px;
    padding-bottom: 8px;
}

.acc-content {
    padding-left: 16px;
}

.acc-sub-content {
    padding-left: 16px;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 8px;
}

.acc-link {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #252525;
    text-decoration: none;
    line-height: 1.4;
    padding: 6px 0;
    display: block;
}

.acc-direct {
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
}

.acc-divider {
    height: 1px;
    background: #EAEAEA;
    margin: 8px 0;
    width: 100%;
}
/* --- ГЛОБАЛЬНЫЙ ОТСТУП МЕЖДУ БЛОКАМИ --- */
.block-margin {
    margin-top: 80px;
}

/* --- БЛОК ТРАСТ-БАР (Скрытые платежи) --- */
.trust-bar-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 58px;
}



.trust-bar-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    padding: 56px 32px 0; /* В фигме padding: 56px 32px 0px */
}

.trust-bar-headings {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 4px;
    width: 100%;
}



.trust-heading-purple {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 46px;
    line-height: 100%;
    letter-spacing: -1px;
    color: #704592;
    margin: 0;
}

.trust-bar-banner {
    width: 100%;
    background-color: #E05160;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    padding: 32px 38px;
}

.trust-banner__title{
    font-size: 32px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1px;
    color: #ffffff;
}

.banner-col-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    width: 100%;
    max-width: 303px;
}

.trust-bar__text{
    font-size: 16px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.5px;
    margin: 0;
    padding: 24px;
    background-color: #FDD9E5;
    border-radius: 16px;
    color: var(--color-red-20);
}





.banner-col-right{
    display: flex;
    align-items: center;
    padding: 24px;
    width: 100%;
    max-width: 350px;
    background-color: #ffffff;
    border-radius: 16px;
}

.banner-col-right__title{
    font-size: 32px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1px;
}

.banner-col-right__title span{
    color: #984D66;
}

.banner-text {
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.banner-arrow-img {
    width: 88px;
    height: auto;
}

.banner-title-dark {
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}


.animate-arrow{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    transition: height 300ms;
}

.animate-arrow.show{
    height: 224px;
}


.animate-track {
    width: 160px;
    height: 160px;
    border-radius: 100%;
    border: 8px solid var(--purple-main);
    overflow: hidden;
    position: relative;
}

.animate-arrow svg {
    position: absolute;
    left: 50%;
    top: 0;
    animation: moveDown 2.1s linear infinite;
}

.animate-arrow svg:nth-child(1) {
    animation-delay: 0s;
}

.animate-arrow svg:nth-child(2) {
    animation-delay: 0.7s;
}

.animate-arrow svg:nth-child(3) {
    animation-delay: 1.4s;
}

@keyframes moveDown {
    0% {
        transform: translate(-50%, -160px);
    }
    100% {
        transform: translate(-50%, 160px);
    }
}







/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 992px) {
    .trust-heading-dark, 
    .trust-heading-purple {
        font-size: 36px;
    }

    .trust-bar-banner {
        gap: 32px;
    }

    .banner-title-dark {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .block-margin {
        margin-top: 40px; 
    }

    .trust-heading-dark, 
    .trust-heading-purple {
        font-size: 28px;
        text-align: left;
    }

    .trust-bar-headings {
        align-items: flex-start;
        padding: 0;
    }

    .trust-bar-container{
        padding: 32px 20px 0;
    }
    
    /* Поворачиваем стрелку вниз на мобильных */
    .banner-arrow-img {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .banner-col-left{
        max-width: 100%;
    }

    .trust-bar-banner{
        flex-direction: column;
        gap: 20px;
        padding: 32px 20px;
    }

    .trust-bar-section{
        gap: 40px;
    }
    .animate-arrow.show{
        height: 132px;
    }

    .animate-track{
        height: 100px;
        width: 100px;
        border: 5px solid var(--purple-main);
    }

    .animate-arrow svg {
        width: 50px;
        height: 50px;
    }


    @keyframes moveDown {
        0% {
            transform: translate(-50%, -100px);
        }
        100% {
            transform: translate(-50%, 100px);
        }
    }

    .banner-col-right{
        max-width: 100%;
    }
}
.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
	margin-top: 126px;
}

.hero-container {
    width: 100%;
    height: 710px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/hero.webp') center/cover no-repeat;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 72px;
    box-sizing: border-box;
	
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;

}

.hero-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 52px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -2px;
    color: #FFFFFF;
    font-family: 'Manrope', sans-serif;
}

.title-highlight {
    background: #704592;
    border-radius: 40px;
    padding: 0 16px 6px;
}

.hero-action-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 406px;
}

.trust-card {
    background: #EFEFEF;
    border-radius: 16px;
    padding: 16px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
    overflow: visible;
}

.trust-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.medal-icon-wrapper {
    width: 48px;
    height: 64px; 
    flex-shrink: 0;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.medal-icon {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-bottom: -15px; 
}

.trust-card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.trust-card-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #797979;
    margin: 0;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    width: 235px;
    height: 56px;
    background: #704592;
    border-radius: 40px;
    text-decoration: none;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.98);
}

.textNoWrap{
    white-space: nowrap;
}

@media (max-width: 1440px) {

    .banner-col-right__content{
        padding-bottom: 60px;
    }

}

@media (max-width: 1200px) {
    .hero-container {
        width: 100%;
    }
    .hero-action-block{
        max-width: 308px;
    }
}

@media (max-width: 992px) {
    .hero-container {
        padding: 60px 40px 20px;
        height: 480px;
    }

    .hero-content{
        height: 100%;
        justify-content: space-between;
    }

    .hero-title {
        font-size: 40px;
    }


}

@media (max-width: 768px) {
    .hero-container {
        padding: 40px 20px 20px;
    }

    .hero-action-block{
        gap: 8px;
        max-width: 100%;
    }


    .hero-title {
        letter-spacing: -1px;
    }

    .title-highlight {
        padding: 4px 12px;
    }

    .hero-action-block, .trust-card {
        width: 100%;
    }

    .trust-card{
        padding: 8px 12px;
    }

    .btn-primary {
        width: 100%;
        height: 46px;
        padding: 12px 24px;
    }
    .btn-menu-toggle{
        margin-left: 4px;
        grid-template-columns: 5px 5px;
        grid-template-rows: 5px 5px;
        gap: 2px;
    }

    .banner-col-right__content{
        padding-bottom: 80px;
    }
}
.price-banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.price-banner-container {
    width: 100%;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 32px 40px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: #E2D2F0;
/*    background-image: url("/img/medical-equipment.webp");
    background-repeat: no-repeat;
    background-position: center bottom;*/
}

.banner-equipment__image{
    display: flex;
    width: 100%;
    max-width: 322px;
}
.banner-equipment__image img{
    width: 100%;
}

.coin-bg {
    position: absolute;
    width: 270px;
    height: auto;
    left: 28%;
    top: 50%;
    filter: blur(1.5px);
    transform: rotate(-19.48deg);
    z-index: 0;
}

.coin-fg {
    position: absolute;
    width: 270px;
    height: auto;
    left: 39%;
    top: 20%;
    z-index: 1;
}

.price-banner-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.price-banner-titles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-title-dark {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -1px;
    color: #252525;
    margin: 0;
}

.price-title-purple {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
    margin: 0;
}

.btn-yellow {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    width: max-content;
    min-width: 216px;
    height: 56px;
    background: #FFB400;

    border-radius: 40px;
    text-decoration: none;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.btn-yellow:active {
    transform: scale(0.98);
}

.price-banner-right {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    max-width: 404px;
}

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

.benefit-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.benefit-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: #704592;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
}

.benefit-text {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
}


.text-dark {
    color: #252525;
}

.text-purple {
    color: #704592;
}

@media (max-width: 992px) {
    .price-banner-container {
        flex-direction: column;
        padding: 24px 20px;
    }
    .price-banner-left{
        width: 100%;
    }
    
    .coin-bg {
        left: 50%;
        top: 40%;
        transform: translateX(-50%) rotate(-19.48deg);
    }

    .coin-fg {
        left: 55%;
        top: 35%;
        transform: translateX(-50%);
    }

    .price-banner-right {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
/*    .price-title-dark {
        font-size: 26px;
    }*/

    .price-title-purple {
        font-size: 20px;
    }

    .btn-yellow {
        width: 100%;
    }

    .coin-bg, .coin-fg {
        width: 180px;
    }

    .price-banner-right{
        padding: 16px;
    }

    .benefit-text {
        font-size: 16px;
    }

}
.cases-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.cases-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 56px 32px 0px;
    gap: 32px;
    box-sizing: border-box;
}

.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.cases-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.cases-grid::-webkit-scrollbar {
    display: none;
}

.cases-nav {
    display: flex;
    gap: 4px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #F0F0F0;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}


.nav-btn:hover {
    background: #E2D2F0; 
}

.nav-btn.auto-click {
    background: #E2D2F0;
    transform: scale(0.9);
}

.nav-btn:active {
    transform: scale(0.95);
}

.case-card {
    display: flex;
    flex-direction: row;
    padding: 20px;
    gap: 24px;
    background: #FFFFFF;
    border: 1px solid #C6B5D3;
    border-radius: 16px;
    box-sizing: border-box;
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.case-video-wrapper{
    border-radius: 12px;
    width: 100%;
}

.case-video{
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.case-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 486px;
    height: 390px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;

}

.swiper-slide{
    height: auto;
}

.case-image-before, 
.case-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*.case-card:not(:first-child) .case-image-before,
.case-card:not(:first-child) .case-image-after {
    width: 100%;
    height: 100%;
}*/




.case-image-before img, 
.case-image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-image-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    z-index: 1;
}

.label-before, 
.label-after {
    position: absolute;
    top: 16px;
    background: #FFFFFF;
    border-radius: 40px;
    padding: 2px 12px 6px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
    z-index: 2;
}

.label-before {
    left: 16px;
}

.label-after {
    /*left: calc(50% + 16px);*/
    right: 16px;
}

.slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    margin: 0;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 26px;
    margin-left: -13px; /* Центрируем бегунок относительно оси */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: ew-resize;
    z-index: 10;
    pointer-events: none;
}

.handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: #FFFFFF;
    z-index: 1;
}

.handle-button {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Легкая тень, чтобы бегунок не сливался со светлыми зубами на фото */
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.3));
}

.case-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.case-info-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -1px;
    color: var(--purple-main);
    margin: 0;
}

.case-info-subtitle{
    font-size: 20px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.5px;
}

.case-info-text{
    margin: 0;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
}

.case-video-info{
    background-color: #E2D2F0;
    padding: 20px;
    border-radius: 12px;
}


.info-block {
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.block-pink { background: #FDD9E5; }
.block-light-purple { background: #F5EEFB; }
.block-dark-purple { background: #E2D2F0; }

.info-block-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    margin: 0;
}

.text-pink { color: #984D66; }
.text-purple { color: #704592; }

.info-block-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.info-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-list li {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #252525;
}

.info-list li::marker {
    color: #704592;
}

.text-center{
    text-align: center;
}
.f-center{
    justify-content: center;
}

@media (max-width: 992px) {
    .case-card {
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

    .case-slider-wrapper {
        width: 100%;
        max-width: 486px;
        height: auto;
        aspect-ratio: 486 / 390;
    }

    .label-after {
        left: auto;
        right: 16px;
    }
}

@media (max-width: 768px) {
    .cases-container {
        padding: 40px 16px 0px;
    }

    .cases-title {
        font-size: 32px;
        text-align: left;
    }

    .cases-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .case-slider-wrapper__video{
        flex: 1;
    }

    .case-video-info.case-info{
        flex: 0;
    }



    .case-info-title {
        font-size: 26px;
    }


}
.prices-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.prices-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 32px;
}

.prices-cards-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.price-card {
    background: #FFFFFF;
    border: 1px solid #C6B5D3;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(33.333% - 14px);
    box-sizing: border-box;
}

.price-card__top{
    position: relative;
}

.price-card-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}
.badge-pensioner {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 12px;
    gap: 6px;
    background: #E2D2F0;
    border-radius: 40px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    color: #704592;
    z-index: 2;
}

.badge-pensioner svg {
    flex-shrink: 0;
}
.price-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E2D2F0;
    border-radius: 40px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-badge span {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #704592;
}

.price-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.price-card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
    min-height: 44px;
}

.price-card-cost {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cost-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cost-dark {
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
}

.cost-purple {
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
}

.cost-sub {
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #797979;
}

.price-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.price-card__tooltip.step-card__tooltip{
    position: absolute;
    top: 12px;
    right: 12px;
    padding-bottom: 16px;
}

.step-tooltip__container.price-tooltip__container{
    width: 350px;
    top: 100%;
}

.price-tooltip-body{
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    overflow-y: auto;
}

.price-tooltip-body .btn-primary-card{
    min-height: 56px;
}







.btn-primary-card {
    font-family: 'Golos Text', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 56px;
    background: #704592;
    border-radius: 40px;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary-card:active { transform: scale(0.98); }

.btn-secondary-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 56px;
    background: #EFEFEF;
    border: 1px solid #C6B5D3;
    border-radius: 40px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #704592;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-secondary-card:hover { background: #e6e6e6; }
.btn-secondary-card:active { transform: scale(0.98); }

.modals-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}
.price-modal {
    background: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    max-width: 376px;
    position: relative;
    display: none;
    box-sizing: border-box;
}

.modal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.modal-body {
    padding: 40px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.modal-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.modal-pros {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pros-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
}

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

.pros-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #252525;
}

.pros-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-cost-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

@media (max-width: 992px) {
    .price-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .prices-main-title {
        font-size: 32px;
        text-align: left;
    }
    .price-card {
        width: 100%;
        padding: 24px 20px;
    }
    .step-tooltip__container.price-tooltip__container{
        width: 290px;
        right: -32px;
    }
    .badge-pensioner{
        top: auto;
        bottom: 12px;
    }

    .step-tooltip__container.price-tooltip__container:before {
        right: 42px;
    }
    .price-tooltip-body{
        max-height: 310px;
    }


}
.banner-action-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.banner-action-container {
    width: 100%;
    background-color: #FFB338;
    background-image: url('../img/Banners.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 40px 112px 56px 56px;
    box-sizing: border-box;
    gap: 240px;
}

.banner-action-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    max-width: 524px;
}

.banner-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 24px;
    gap: 12px;
    border-radius: 40px;
}

.bg-white {
    background: #FFFFFF;
}


/*
.benefit-item-card .benefit-dot {
    margin-right: 0;
}
*/

.benefit-text-dark {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
}

.benefit-text-strikethrough {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    text-decoration-line: line-through;
}

.benefit-text-purple-bold {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
}

.benefit-text-dark-bold {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
}

.banner-action-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 272px;
    flex-shrink: 0;
}

.banner-gift-img {
    width: 260px;
    height: auto;
    object-fit: contain;
    margin-bottom: -40px; /* Эффект "вылезания" картинки */
    z-index: 1;
    transform: matrix(-1, 0, 0, 1, 0, 0); /* Отражение по горизонтали из макета */
}

.btn-primary-large {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    min-height: 74px;
    padding: 16px 24px;
    background: #704592 ;
    border-radius: 40px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    z-index: 2;
    box-sizing: border-box;
    transition: transform 0.2s;
}

.btn-primary-large:active {
    transform: scale(0.98);
}

.banner-phone {
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #252525;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s;
}

.banner-phone:hover {
    color: #704592;
}


/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 1200px) {
    .banner-action-container {
        gap: 60px;
        padding: 40px 60px 40px 40px;
    }
}

@media (max-width: 992px) {
    .banner-action-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px;
        gap: 40px;
    }

    .banner-action-left {
        align-items: center;
        max-width: 100%;
    }

    .benefit-item-card {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-container{
        padding: 0 12px;
    }
    .btn-menu-toggle,
    .icon-circle{
        width: 42px;
        height: 42px;
    }
    .banner-action-container {
        background-image: url('../img/banners-mobile.webp');
        padding: 30px 20px;
    }

    .banner-action-title {
        font-size: 32px;
    }

    .benefit-item-card {
        padding: 12px 16px;
        gap: 8px;
    }

    .benefit-text-dark,
    .benefit-text-strikethrough,
    .benefit-text-purple-bold,
    .benefit-text-dark-bold {
        font-size: 14px;
    }
    
    .banner-action-right {
        width: 100%;
    }

    .hero-section{
        margin-top: 98px;
    }

    .trust-card-title{
        font-size: 18px;
    }
    .trust-card-header{
        gap: 8px;
    }
    .trust-card-text{
        font-size: 13px;
    }

}
.quiz-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.quiz-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 32px 0;
    gap: 32px;
    box-sizing: border-box;
}

.quiz-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.quiz-body {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #704592;
    border-radius: 16px;
    padding: 12px;
    gap: 12px;
    box-sizing: border-box;
}

.quiz-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #8D6AA8;
    border-radius: 12px;
    padding: 24px;
    width: 271px;
    flex-shrink: 0;
    box-sizing: border-box;
}
.quiz-content.is-final {
/*    background-image: url('../img/quizendframe.webp');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 16px 16px 16px;
}

.quiz-step-final.active {
    display: flex;
    flex-direction: column;
    min-height: 250px;
}
.quiz-step.quiz-step-final{
    gap: 0;
    min-height: 315px;
}





.doctor-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doctor-photo {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    background: #F5EEFB;
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-role {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.doctor-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.doctor-quote {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    margin: 0;
}

.gift-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border-radius: 8px;
    padding-right: 12px;
}

.gift-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
}

.gift-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #704592;
}

.quiz-content {
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.quiz-final-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    letter-spacing: -1px;
    color: #252525;
    margin-bottom: 10px;
}

.quiz-final-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

@media (max-width: 768px) {
    .quiz-final-title {
        font-size: 24px;
        margin-bottom: 16px;
    }
    .quiz-final-text {
        font-size: 16px;
    }
}
.quiz-progress-wrapper {
    width: 100%;
    height: 10px;
    background: #CBB7DB;
    position: relative;
    /* Полосатая текстура как в макете */
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.3) 10px,
        rgba(255,255,255,0.3) 20px
    );
}

.progress-bar-fill {
    height: 100%;
    background: #704592;
    transition: width 0.3s ease;
}

.quiz-step {
    display: none;
    flex-direction: column;
    padding: 40px 32px 24px;
    gap: 40px;
    flex: 1;
}

.quiz-step.active {
    display: flex;
}

.quiz-question {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.question-num {
    color: #704592;
}

.quiz-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.quiz-radio-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 20px;
    gap: 10px;
    background: #F5EEFB;
    border-radius: 120px;
    cursor: pointer;
    transition: background 0.2s;
    width: calc(50% - 5px);
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
}

.quiz-radio-label:hover {
    background: #e9deff;
}

.quiz-radio {
    display: none;
}

.radio-custom {
    width: 16px;
    height: 16px;
    background: #FFFFFF;
    border: 1px solid #704592;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.quiz-radio:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #704592;
    border-radius: 50%;
}

.quiz-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px 24px;
    margin-top: auto;
}

.quiz-counter {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #797979;
}

.quiz-actions {
    display: flex;
    gap: 8px;
}

.btn-quiz-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    width: 96px;
    height: 56px;
    background: #EFEFEF;
    border: 1px solid #C6B5D3;
    border-radius: 40px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #704592;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-quiz-next {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    width: auto;
    height: 56px;
    background: #704592;
    /*box-shadow: 2px 2px 0px #4E008B;*/
    border-radius: 40px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-quiz-prev:active, .btn-quiz-next:active {
    transform: scale(0.95);
}

@media (max-width: 992px) {
    .quiz-body {
        flex-direction: column;
    }
    .quiz-sidebar {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }
    .doctor-card {
        flex: 1;
    }
    .quiz-radio-label {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .quiz-sidebar {
        flex-direction: column;
        align-items: flex-start;
    }
    .quiz-step {
        padding: 24px 16px;
    }
    .quiz-footer {
        padding: 0 16px 24px;
    }
}
.benefits-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.benefits-container {
    width: 100%;
    background: #E2D2F0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    gap: 32px;
    box-sizing: border-box;
}

.benefits-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.benefits-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.benefits-card {
    border-radius: 16px;
    box-sizing: border-box;
}

.benefits-left {
    flex: 0 1 420px;
    height: 250px;
    background-color: #FFFFFF;
    transition: all 1.5s;
}

.benefits-content-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 8px;
    padding: 24px;
    transition: all 1.5s;
}

.benefits-front-content{
    opacity: 1;
    visibility: visible;
    background: url('../img/coin2.webp') center bottom/contain no-repeat;
}

.benefits-back-content{
    opacity: 0;
    visibility: hidden;
    background: url('../img/coin2-back.webp') center bottom/contain no-repeat;
    transform: scale(1, -1);
}

.benefits-content.tear .benefits-front-content{
    opacity: 0;
    visibility: hidden;
    display: none;
}

.benefits-content.tear .benefits-back-content{
    opacity: 1;
    visibility: visible;
}

.benefits-content.tear .benefits-left {
    transform: translateX(-50px) rotate(-5deg) translateY(-10px) scale(1, -1);
}

.benefits-content.tear .benefits-divider__wrapper {
    opacity: 0;
    transition: 0.5s;
}



.benefits-left-text {
    font-size: 32px;
    line-height: 100%;
    letter-spacing: -1px;
    text-align: center;
}

.benefits-left-sub {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #797979;
    margin: 0;
    text-align: center;
}

.benefits-divider {
    width: 20px;
    height: 250px;
    object-fit: contain;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.benefits-right {
    flex: 1 1 auto;
    height: 258px;
    background-image: url('../img/vygodaright.webp');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    gap: 20px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 360px;
}

.benefits-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 20px;
    gap: 8px;
    background: rgba(239, 239, 239, 0.9);
    border-radius: 40px;
    white-space: nowrap;
}

.benefit-name, .benefit-old-price, .benefit-free {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #252525;
}

.benefit-name {
    font-weight: 500;
}

.benefit-old-price {
    font-weight: 500;
    text-decoration-line: line-through;
}

.benefit-free {
    font-weight: 800;
    color: #704592;
}

.btn-benefits {
    width: 100%;
    max-width: 340px;
}

@media (max-width: 1100px) {
    .benefits-list-item {
        padding: 12px 16px;
    }
    .benefit-name, .benefit-old-price, .benefit-free {
        font-size: 13px;
    }
    .benefits-right{
        background-image: none;
    }
}

@media (max-width: 992px) {
    .benefits-content {
        flex-direction: column;
    }

    .benefits-divider__wrapper{
        width: 100%;
        max-width: 600px;
        padding: 0 14px;
    }

    .benefits-divider__mobile{
        background-color: #ffffff;
        height: 12px;
        display: flex;
        align-items: center;
    }
    .line-dot{
        width: 100%;
        height: 1px;
        border: 1px dashed rgba(239, 239, 239, 0.9);
    }

    .benefits-divider{
        display: none;
    }

    
    .benefits-left {
        width: 100%;
        max-width: 600px;
        max-height: 200px; 
    }

    .benefits-right {
        width: 100%;
        max-width: 600px;
        height: auto;
        padding: 32px 24px;
        background-position: right bottom;
        align-items: flex-start;
    }
    
    .benefits-list {
        max-width: 100%;
    }
    
    .btn-benefits {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .benefits-container {
        padding: 32px 20px;
    }

    .benefits-content-item{
        padding: 20px 16px;
    }

    .benefits-left-text{
        font-size: 24px;
    }

    .benefits-left-sub {
        font-size: 16px;
    }

    .benefits-left {
        height: 180px;
        max-height: 180px;
    }


    .benefits-list-item {
        white-space: normal;
        flex-wrap: wrap;
    }

    .benefits-right {
        background: #FFFFFF;
        align-items: center;
        padding: 32px 16px 24px;
    }

    .prices-container{
        gap: 20px;
    }
}


.equipment-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.equipment-container {
    width: 100%;
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px;
    gap: 200px;
    box-sizing: border-box;
    justify-content: space-between;
}

.equipment-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    max-width: 645px;
}

.equipment-text-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.equipment-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
}

.badge-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    background: #F5EEFB;
    border-radius: 40px;
}

.badge-item span {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #704592;
}

.btn-equipment {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    width: max-content;
    min-width: 374px;
    height: 56px;
    background: #704592;
    border-radius: 40px;
    text-decoration: none;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.btn-equipment:active {
    transform: scale(0.98);
}

.equipment-right {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 16px 12px;
    width: 379px;
    flex-shrink: 0;
}

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 6px);
    position: relative;
    padding-top: 25px; 
}

.brand-flag {
    width: 80px;
    height: auto;
    object-fit: contain;
    position: absolute;
    top: 0;
    z-index: 1;
    filter: drop-shadow(0px 2px 8px rgba(0, 0, 0, 0.15));
}

.brand-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 16px 12px; 
    gap: 8px;
    width: 100%;
    height: 102px; 
    background: #EFEFEF;
    border-radius: 12px;
    box-sizing: border-box;
    z-index: 0;
}

.brand-country {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #252525;
    text-align: center;
    margin: 0;
}

.brand-logo {
    width: 100%;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 992px) {
    .equipment-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    
    .equipment-left {
        max-width: 100%;
    }
    
    .equipment-right {
        width: 100%;

        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .equipment-container {
        padding: 32px 20px;
    }
    
    .btn-equipment {
        width: 100%;
        min-width: unset;
    }
    
    .brand-card {
        width: 100%; 
    }
}
.advantages-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.advantages-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 32px 0px;
    gap: 32px;
    box-sizing: border-box;
}

.advantages-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; 
    gap: 6px;
    width: 100%;
    flex-wrap: wrap;
}

.section-title{
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 500;
    font-size: 46px;
    line-height: 100%;
    letter-spacing: -1px;
    color: #252525;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-title-purple{
    color: #704592;
}

.trust-bar-title span{
    color: var(--color-red-20);
}

.advantages-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 20px;
    justify-content: space-between;
}

.advantage-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    background: #FFFFFF;
    border-radius: 16px;
    flex: 1;
    min-height: 238px;
    box-sizing: border-box;
    box-shadow: 0 0 6px 1px var(--bg-gray);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.advantage-text-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advantage-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.advantage-desc {
    font-size: 14px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #797979;
    margin: 0;
}

@media (max-width: 992px) {
    .advantages-grid {
        flex-wrap: wrap;
    }
    
    .advantage-card {
        min-width: calc(50% - 10px); /* По две карточки в ряд на планшете */
    }
}

@media (max-width: 768px) {
    .advantages-container {
        padding: 40px 20px 0;
    }

    .advantages-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .section-title{
        font-size: 28px;
        line-height: 113%;
    }

    .advantages-grid {
        flex-direction: column;
        gap: 16px;
    }
    
    .advantage-card {
        width: 100%;
    }
}
.doctors-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.doctors-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 32px 0px;
    gap: 32px;
    box-sizing: border-box;
}

.doctors-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
}

.doctors-controls__wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.doctors-controls__info{
    color: var(--color-gray-20);
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.doctors-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    width: 100%;
    justify-content: space-between;
}

.btn-outline-small {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    height: 44px;
    background: #EFEFEF;
    border: 1px solid #C6B5D3;
    border-radius: 40px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #704592;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s;
}

.btn-outline-small:hover {
    background: #e6e6e6;
}

.doctors-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.doctors-grid::-webkit-scrollbar {
    display: none;
}

.doctor-profile-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    background: #FFFFFF;
    border-radius: 16px;
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
    box-sizing: border-box;
    border: 1px solid #f0f0f0; 
    scroll-snap-align: start;
}
@media (max-width: 992px) {
    .doctor-profile-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .doctor-profile-card {
        flex: 0 0 100%;
        min-width: 100%;
        padding: 20px;
    }
    .doctors-controls__wrapper{
        width: 100%;
        gap: 12px;
    }
    .doctors-controls__info{
        gap: 12px;
    }
}
.doctor-profile-top {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.doctor-profile-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.doctor-name-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-spec {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    margin: 0;
	min-height: 53px;
}

.doctor-fullname {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
    height: 35px;
}

.doctor-diploma-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    background: #EFEFEF;
    border-radius: 12px;
}

.diploma-icon {
    width: 36px;
    height: 52px;
    background-image: url(../img/diplom.webp);
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: center; 
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    flex-shrink: 0;
}

.diploma-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.diploma-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
}

.diploma-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #797979;
}

.doctor-stats {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    gap: 2px;
    background: #EFEFEF;
    border-radius: 12px;
    flex: 1;
}

.stat-value {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #704592;
}

.stat-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #797979;
}

.doctor-profile-photo {
    width: 200px;
    height: 240px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: #F5EEFB; 
    flex-shrink: 0;
}

.doctor-rating-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #EFEFEF;
    border-radius: 12px;
}

.rating-stars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stars-row {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.rating-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 115%;
    letter-spacing: -0.5px;
    color: #797979;
}

.rating-divider {
    width: 1px;
    height: 40px;
    background: #C6B5D3;
}

.rating-logo {
    width: auto;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 1100px) {
    .doctor-profile-top {
        flex-direction: column-reverse;
    }
    .doctor-profile-photo {
        width: 100%;
        height: 280px;
    }
}

@media (max-width: 992px) {

    
    .doctor-profile-top {
        flex-direction: row;
    }
    
    .doctor-profile-photo {
        width: 200px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .doctors-container {
        padding: 40px 20px 0;
    }

    .doctors-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .doctor-profile-top {
        flex-direction: column-reverse;
    }

    .doctor-profile-photo {
        width: 100%;
        height: 300px;
    }

    .doctor-stats {
        flex-direction: column;
    }
    
    .doctor-rating-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .rating-divider {
        display: none;
    }
}
.services-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.services-container {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 56px 32px 0px;
    gap: 30px;
    box-sizing: border-box;
}

.services-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.services-grid {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}

.service-card {
    flex: 1;
    background: #F8F8F8;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.service-card-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.service-card-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 25px;
    letter-spacing: -0.3px;
    color: #252525;
    margin: 0;
    word-break: break-word;
}

.service-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.service-card-info {
    background: #EFEFEF;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-card-title{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

.service-card-number{
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.5px;
}
















.service-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.price-label, .price-value {
    font-family: 'Golos Text', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.3px;
    color: var(--color-gray-20);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.service-more-link {
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    color: var(--purple-main);
    background: #E2D2F0;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    gap: 12px;
    padding: 0 6px 0 24px;
    border-radius: 15px;
    width: 100%;
}

.service-arrow-btn {
    width: 38px;
    height: 38px;
    background: rgba(112, 69, 146, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-1deg);
}

.overflowHidden{
    overflow: hidden;
}

@media (max-width: 992px) {
    .services-grid {
        flex-direction: column;
        margin-top: 6px;
    }
    
    .service-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 26px 16px;
        gap: 12px;
    }

    .services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
.sales-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.sales-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 56px 40px 0px;
    gap: 32px;
    box-sizing: border-box;
}

.sales-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.sales-grid {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.sales-card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 12px;
}

.sale-badge {
    position: absolute;
    top: 0;
    left: 24px;
    background: #FFB136;
    border-radius: 40px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.sale-badge img {
    width: 14px;
    height: 16px;
}

.sale-badge span {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #252525;
    letter-spacing: -0.5px;
}

.sale-card {
    background: #FFFFFF;
    border: 1px solid #EFEFEF;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    box-sizing: border-box;
}

.sale-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.sale-image {
    width: 112px;
    height: 112px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

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

.sale-card-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    color: #252525;
    margin: 0;
}

.sale-card-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    color: #797979;
    margin: 0;
}

.sales-footer-banner {
    width: 100%;
    background: #E2D2F0;
    border-radius: 12px 40px 40px 12px;
    padding: 8px 8px 8px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.footer-banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-banner-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    color: #252525;
    margin: 0;
}

@media (max-width: 992px) {
    .sales-grid {
        flex-direction: column;
    }
    .sales-footer-banner {
        flex-direction: column;
        border-radius: 16px;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
    .footer-banner-left {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .sales-container {
        padding: 40px 20px 0;
    }

    .sale-card-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .sale-image {
        width: 100%;
        height: 150px;
    }
    .footer-banner-title {
        font-size: 16px;
    }
}
.steps-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.steps-container {
    width: 100%;
    background-color: #E2D2F0;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 56px 32px 40px;
    gap: 32px;
    box-sizing: border-box;
}

.steps-top{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-subtitle{
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    color: var(--color-gray-20);
    font-size: 16px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.5px;
    margin: 0;
}
.section-subtitle svg{
    margin:  0 10px;
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.step-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
    aspect-ratio: 1.3;
}

.step-card__top{
    display: flex;
    gap: 12px;
}

.step-number{
    background-color: #EFEFEF;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color:  var(--purple-main);
    font-size: 24px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.5px;
    min-width: 32px;
    width: 32px;
    height: 48px;
}

.step-card__title{
    font-size: 20px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.5px;
    max-width: 213px;
}
.step-card__tooltip{
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
}

.step-tooltip__icon{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 4px;
    border-radius: 100%;
    background:  var(--purple-main);
    box-shadow: 0 2px 20px 0 rgba(163, 40, 231, 0.40);
}

.step-card__image{
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
}
.step-card__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-card__image-assistant{
    background-size: 125%;
}

.step-tooltip__container{
    position: absolute;
    right: 0;
    top: calc(100% + 16px);
    width: 268px;
    padding: 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 20px 0 rgba(163, 40, 231, 0.40);
    z-index: 10;
}

.step-tooltip__container:before{
    content: url("/img/tooltip-inner-icon.webp");
    position: absolute;
    right: 12px;
    top: -16px;
}

.step-tooltip__text{
    font-size: 14px;
    font-weight: 500;
    line-height: 115%;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}

.step-advantages{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-advantages__title{
    font-size: 16px;
    font-weight: 800;
    line-height: 110%;
    letter-spacing: -0.5px;
    word-break: break-word;
}

.step-advantages__item{
    display: flex;
    align-items: center;
    gap: 16px;
}

.step-advantages__img{
    width: 73px;
    min-width: 73px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
}
.step-advantages__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-tooltip__container{
    display: none;
}

@media (hover: hover) {
    .step-card__tooltip:hover .step-tooltip__container {
        display: block;
    }
}


/*

.step-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 16px;
}
.step-number {
    width: 48px;
    height: 48px;
    background: #F5EEFB;
    box-shadow: 0px 2px 20px rgba(163, 40, 231, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #704592;
    position: absolute;
    top: 0;
    z-index: 2;
}
.step-image-card {
    width: 100%;
    height: 344px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
}
.step-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    color: #252525;
    margin: 0;
}
.step-card__text{
    font-size: 14px;
    line-height: 115%;
    color: #252525;
    margin: 0;
}
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.step-list li {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 115%;
    color: #252525;
    position: relative;
    padding-left: 14px;
}
.step-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #704592;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 6px;
}
.step-sub-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

*/




.sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sub-img {
    width: 112px;
    min-width: 112px;
    height: 72px;
    border-radius: 8px;
    border: 2px solid #FFFFFF;
    object-fit: cover;
}

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

.sub-text strong {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: #252525;
    word-break: break-word;
}

.sub-text span {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #252525;
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-container {
        padding: 40px 20px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .step-card {
        min-height: auto;
        padding:24px 20px;
    }

    .step-tooltip__container.is-open {
        display: block;
    }
    .step-advantages__img {
        width: 66px;
        min-width: 66px;
        height: 40px;
    }

    .step-advantages__title{
        font-size: 14px;
    }
}

.video-comfort-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}


.video-comfort-container {
    width: 100%;
    background-color: var(--purple-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 64px;
}


.video-comfort__info{
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    color: #ffffff;
}

.video-comfort-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    height: 100%;
    padding: 40px 0;
    flex: 1;
}

.video-comfort-left .section-title{
    color: #ffffff;
}



.video-quote-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    color: #ffffff;
}


.video-quote-list{
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: -0.5px;
    padding: 0;
    margin: 0;
}

.video-quote-list .benefit-dot{
    background-color: #FFFFFF;
}
.video-quote-item{
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-comfort-right {
    width: 400px;
    height: 600px;
    flex-shrink: 0;
    background-color: #FFFFFF;
    padding: 8px;
    border-radius: 16px;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #704592;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    margin-left: 5px;
}




@media (max-width: 1100px) {
    .video-comfort-container {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .video-comfort-container {
        flex-direction: column;
        gap: 40px;
        padding: 32px 20px;
    }
    .video-comfort-left {
        width: 100%;
        padding: 0;
    }
    .video-comfort-right {
        width: 100%;
    }
    .video-comfort__info{
        display: none;
    }
}

@media (max-width: 768px) {
    .video-quote-card {
        flex-direction: column;
    }
    .video-comfort-right {
        height: 410px;
    }

    .video-comfort-left{
        gap: 24px;
    }

    .video-quote-list{
        font-size: 16px;
    }

    .trust-banner__title{
        font-size: 27px;
    }
    .banner-col-right__title{
        font-size: 20px;
    }

}

.advantages-turnkey-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}



.advantages-turnkey-section .advantage-card {
    min-height: 222px;
}


@media (max-width: 992px) {
    .advantages-turnkey-section .advantage-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .advantages-turnkey-section .advantage-card {
        width: 100%;
    }
}
.faq-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.faq-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 56px 0 40px;
    gap: 32px;
    box-sizing: border-box;
}

.faq-main-title {
    padding: 0 30px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 40px;
    padding: 0 30px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 15px;
    height: fit-content;
    overflow: hidden;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
    color: #252525;
}

.faq-question span {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.faq-arrow-btn {
    width: 44px;
    height: 44px;
    background: #F0F0F0; /* Изначальный серый фон */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #704592; /* Изначально фиолетовые точки */
    transition: all 0.3s ease;
}

/* Эффект наведения - инверсия только кнопки */
.faq-question:hover .faq-arrow-btn {
    background: #704592;
    color: #FFFFFF; /* Точки становятся белыми */
}

.faq-answer {
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

/* Состояние при открытии */
.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Переворачиваем кнопку (и треугольник точек в ней) */
.faq-item.active .faq-arrow-btn {
    transform: rotate(180deg);
}

/* Цвет открытой кнопки (опционально, если нужно чтобы она оставалась фиолетовой при открытии) */
.faq-item.active .faq-arrow-btn {
    background: #704592;
    color: #FFFFFF;
}

.answer-content {
    padding: 0 30px 32px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #797979;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-question {
        padding: 24px 20px;
    }
    .faq-question span {
        font-size: 16px;
    }
}
.contacts-section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.contacts-container {
    width: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 14%, #FFFFFF 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 56px 32px 0px;
    gap: 32px;
    box-sizing: border-box;
}

.contacts-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.contacts-info-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 24px 32px;
    gap: 12px;
    background: #FFFFFF;
    border-radius: 16px;
    box-sizing: border-box;
}

.info-item-purple, .info-item-gray {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    gap: 6px;
    border-radius: 40px;
    flex: 1;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    letter-spacing: -0.5px;
    text-decoration: none;
    box-sizing: border-box;
}

.info-item-purple {
    background: #F5EEFB;
    color: #704592;
}

.info-item-gray {
    background: #EFEFEF;
    border: 1px solid #C6B5D3;
    color: #704592;
}

.btn-contacts-cta {
    width: 268px;
    height: 56px;
    background: #704592;
    border-radius: 40px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    flex: none;
}

.contacts-map-container {
    width: 100%;
    height: 398px;
    border: 8px solid #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
}

.contacts-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1100px) {
    .contacts-info-panel {
        flex-wrap: wrap;
        padding: 20px;
    }
    .info-item-purple, .info-item-gray, .btn-contacts-cta {
        flex: 0 0 calc(50% - 6px);
        width: auto;
    }
}

@media (max-width: 768px) {
    .contacts-container {
        padding: 40px 20px 0;
    }
    .contacts-info-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .info-item-purple, .info-item-gray, .btn-contacts-cta {
        flex: none;
        width: 100%;
    }
    .contacts-map-container {
        height: 250px;
    }
}

/*footer*/


.footer-section {
    font-family: "Golos Text";
    color: #ffffff;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr max-content;
    grid-template-areas:
        "main contacts"
        "mail map";

    padding: 30px;
    border-radius: 15px;
    background: var(--purple-main);
    position: relative;
}

.footer-logo {
    position: absolute;
    left: 0;
    top: 0;
}

.footer-main{
    grid-area: main;
}

.footer-contacts{
    grid-area: contacts;
    display: flex;
    flex-direction: column;
    text-align: right;
    font-weight: 400;
}

.footer__mail__creator{
    grid-area: mail;
    display: flex;
    align-items: end;
    justify-content:space-between;
    gap: 40px;
}

.footer-map{
    grid-area: map;
    display: flex;
    justify-content: end;
    align-items: end;
}

.footer-container a{
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

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

.footer-col__title{
    color: #A98FBE;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.3px;
    margin-bottom: 24px;
}

.footer-phone{
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.footer-schedule{
    margin-top: 4px;
    color: #C1AAD3;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.3px;
}

.footer-nav{
    padding-top: 77px;
}

.footer-main__navs{
    display: flex;
    gap: 40px;
}

.footer-main{
    display: flex;
    gap: 40px;
    justify-content: space-between;
    padding-right: 172px;
}

.footer-address{
    display: block;
    font-size: 14px;
    max-width: 164px;
}

.footer-address a{
    text-decoration: underline;
}

.footer-map__wrapper{
    width: 140px;
    border-radius: 10px;
    padding: 10px 5px 5px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-map__title{
    display: block;
    text-align: center;
    font-size: 10px;
    line-height: 13px;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.footer-map__frame{
    border-radius: 5px;
    width: 100%;
}

.footer-mail{
    font-family: Manrope;
    font-size: 52px;
    line-height: 73px;
    letter-spacing: -2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-creator{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.site-creator .footer-col__title{
    margin-bottom: 0;
}

.site-creator-mobile{
    display: none;
}

@media (max-width: 1100px) {
    .footer-main{
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "main main"
            "contacts contacts"
            "mail map";
    }

    .footer-contacts{
        margin-bottom: 56px;
    }

    .site-creator{
        display: none;
    }

    .footer-mail {
        font-size: clamp(36px, calc(52px - (1024px - 100vw) * 0.041666667), 52px);
        line-height: clamp(50.6px, calc(73px - (1024px - 100vw) * 0.058333333), 73px);
        letter-spacing: clamp(-1.2px, calc(-2px + (1024px - 100vw) * 0.002083333), -2px);
        gap: clamp(8px, calc(12px - (1024px - 100vw) * 0.010416667), 12px);
    }

    .footer-mail__icon {
        width: clamp(28px, calc(44px - (1024px - 100vw) * 0.041666667), 44px);
        height: auto;
    }
}

@media (max-width: 640px) {
    .footer-logo{
        top: -1px;
        width: 126px;
        height: 83px;
    }
    .footer-container {
        padding: 88px 20px 20px;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "main contacts"
            "main map"
            "mail mail";
    }

    .footer-main,
    .footer-main__navs{
        flex-direction: column;
    }

    .footer-main__navs{
        gap: 2px;
    }

    .footer-nav{
        padding-top: 0;
    }

    .footer-col__title{
        margin-bottom: 16px;
    }

    .footer__mail__creator{
        margin-top: 40px;
        justify-content: center;
    }

    .footer-main a,
    .footer-address{
        font-size: calc(12px + (12 + 12 * 0.7) * ((100vw - 360px) / 640) );
    }

    .footer-phone{
        font-size: calc(18px + (4 + 4 * 0.7) * ((100vw - 360px) / 640) );
    }

    .footer-main{
        padding-right: 24px;
        gap: 72px;
    }

    .footer-mail{
        font-size: calc(28px + (24 + 24 * 0.7) * ((100vw - 360px) / 640) );
    }
    .footer-mail__icon{
        width: 27px;
    }

    .footer-map__wrapper{
        width:calc(120px + (20 + 20 * 0.7) * ((100vw - 360px) / 640) );
    }

    .site-creator-mobile{
        display: flex;
        flex-direction: column;
        align-items: center;
        font-weight: 400;
    }






    .mb-hide{
        display: none;
    }

}



.f-socials-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 16px 0;
}

.f-social-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 8px 8px 8px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.f-social-card:hover {
    transform: translateY(-2px);
}

.f-social-handle {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #797979;
}

.f-social-icon {
    width: 64px;
    height: 64px;
    background: #704592;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.f-social-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}


.f-legal-row {
    background: #60387D;
    border-radius: 16px;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.f-legal-links {
    display: flex;
    gap: 32px;
}

.f-legal-links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.f-legal-links a:hover {
    color: #FFFFFF;
}

.f-developer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: opacity 0.2s;
}

.f-developer:hover {
    opacity: 0.8;
}

.footer-disclaimer {
    text-align: center;
    color: #959595; /* Серый цвет текста, как на скриншоте */
    font-size: 12px;
    font-family: 'Golos Text', Arial, sans-serif;
    line-height: 1.55; /* или 19px, как в твоем примере */
    font-weight: 400;
    width: 100%;
    margin-top: 40px; /* Отступ сверху от соцсетей, подкорректируй при необходимости */
    padding-bottom: 20px; /* Свободное место снизу */
}

/*END footer*/



.accept-cookie-window{
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 1001;
}

.accept-cookie-container{
    background-color: var(--purple-main);
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    padding: 15px 25px;
    position: relative;
}

.accept-cookie__btn{
    position: absolute;
    right: 5px;
    top: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.accept-text,
.accept-text a{
    color: #ffffff;
    font-size: 12px;
    line-height: 1.2;
}




@media (max-width: 1340px) {
    .f-bottom-purple {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    .f-email-area { padding: 0; }
    .f-map-area { align-items: center; margin-right: 0; }
    .f-socials-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Создаем единую сетку для всего фиолетового блока */
    .f-purple-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        background: #704592;
        border-radius: 16px;
        padding: 0 20px 32px;
        gap: 24px 16px;
        position: relative;
    }
    
    /* "Растворяем" старые обертки */
    .f-top-row, .f-top-purple, .f-bottom-purple {
        display: contents; 
    }
    
    /* Скрываем десктопный уголок */
    .f-top-purple::before { display: none; }

    /* ВЫЕМКА ЛОГОТИПА */
    .f-logo-wrapper {
        grid-column: 1 / -1;
        background: #EFEFEF; /* ЗАМЕНИТЕ НА ЦВЕТ ФОНА ВАШЕГО САЙТА */
        border-radius: 0 0 24px 0;
        padding: 24px 24px 24px 0;
        margin: 0 0 0 -20px;
        width: max-content;
        position: relative;
    }
    .f-logo-wrapper::after {
        content: "";
        position: absolute;
        right: -24px;
        top: 0;
        width: 24px;
        height: 24px;
        background: radial-gradient(circle at 100% 100%, transparent 24px, #EFEFEF 24.5px); /* ЦВЕТ ФОНА САЙТА */
    }

    /* ЛЕВАЯ КОЛОНКА */
    .f-nav-area {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: left;
    }
    .f-address-col {
        grid-column: 1;
        grid-row: 3;
        align-items: flex-start;
        text-align: left;
    }

    /* ПРАВАЯ КОЛОНКА */
    .f-contacts-col {
        grid-column: 2;
        grid-row: 2;
        align-items: flex-end;
        text-align: right;
    }
    .f-map-area {
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        justify-content: flex-end;
        align-items: flex-start;
    }
    .f-map-card-bg {
        padding: 14px 8px 8px 8px;
        width: 100%;
        align-items: center;
        max-width: 180px;
    }
    .f-map-img-wrap {
        width: 100%;
        height: 154px;
    }

    .f-map-card__title{
        font-size: 16px;
        text-decoration: none;
    }

    /* ЦЕНТР НИЗ (ПОЧТА) */
    .f-email-area {
        grid-column: 1 / -1;
        grid-row: 4;
        padding: 16px 0 0;
        justify-content: center;
    }
    .f-email-link {
        font-size: 26px;
        white-space: nowrap; /* Запрещаем перенос */
        justify-content: center;
        gap: 12px;
    }
    .f-email-link svg {
        width: 32px;
        height: auto;
    }

    /* СОЦСЕТИ И ПОДВАЛ */
    .f-socials-row { grid-template-columns: 1fr; }
    .f-social-card { padding: 8px 8px 8px 24px; }
    .f-legal-row {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .f-legal-links {
        flex-direction: column;
        gap: 12px;
    }
    .f-developer { align-items: center; }


}
@media (max-width: 455px) {
    .f-purple-wrapper {
        display: flex;
        flex-direction: column;
    }

    .f-nav-area {
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .f-address-col, 
    .f-contacts-col {
        align-items: center;
        text-align: center;
        margin-top: 16px;
    }

    .f-map-area {
        width: 100%;
        margin-top: 24px;
        align-items: center;
    }

    .f-map-card-bg {
        width: 100%;
        max-width: 300px; 
        align-items: center;
    }

    .f-map-img-wrap {
        width: 100%;
        height: 180px; 
    }

    .f-email-area {
        margin-top: 32px;
    }

    .f-email-link {
        font-size: 20px; 
    }

    .accept-cookie-window{
        bottom: 0;
        right: 0;
    }
    .accept-cookie-container{
        border-radius: 0;
        max-width: 100%;
        padding: 15px 30px 15px 25px;
    }
}
.diploma-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.diploma-modal.active {
    display: flex;
}

.diploma-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.diploma-modal-container {
    position: relative;

    border-radius: 12px;
    padding: 40px 80px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    box-sizing: border-box;
}

.diploma-modal-img {
    max-width: 100%;
    max-height: calc(90vh - 80px);
    object-fit: contain;
}

.diploma-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #252525;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diploma-modal-prev,
.diploma-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    transition: opacity 0.2s;
}

.diploma-modal-prev:hover,
.diploma-modal-next:hover {
    opacity: 0.8;
}

.diploma-modal-prev {
    left: 20px;
}

.diploma-modal-next {
    right: 20px;
}

.doctor-diploma-block {
    cursor: pointer;
}

@media (max-width: 768px) {
    .diploma-modal-container {
        padding: 40px 16px;
    }
    .diploma-modal-prev {
        left: 8px;
    }
    .diploma-modal-next {
        right: 8px;
    }
}
/* Затемнение и размытие фона */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px); /* Делает фон расплывчатым */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Основной контейнер попапа */
.popup-container {
    display: flex;
    flex-direction: row;
    width: 800px;
    height: 644px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: translateY(0);
}

/* Левая часть (Картинка) */
.popup-image-side {
    width: 400px;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 16px 0 0 16px;
    flex-shrink: 0;
}

/* Правая часть (Форма) */
.popup-form-side {
    width: 400px;
    height: 100%;
    background: linear-gradient(180deg, #E2D2F0 0%, #EFEFEF 100%);
    border-radius: 0 16px 16px 0;
    padding: 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex-shrink: 0;
}

/* Кнопка закрытия */
.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Тексты */
.popup-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

.popup-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.5px;
    color: #252525;
    margin: 0;
}

/* Форма и инпуты */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-input {
    width: 100%;
    height: 52px;
    background: #FFFFFF;
    border-radius: 40px;
    border: none;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #252525;
    outline: none;
}

.popup-input::placeholder {
    color: #797979;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.country-code {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 20px;
    color: #797979;
    pointer-events: none;
}

.phone-input-wrapper .popup-input {
    padding-left: 65px; /* Освобождаем место под флаг */
}
.quiz-step .quiz-final-form .popup-inputs{
    flex-direction: row;
}
.quiz-step .quiz-final-form .popup-input,
.quiz-step .quiz-final-form .phone-input-wrapper{
    width: 100%;
}
.quiz-step .quiz-final-form .popup-input{
    background-color: #e9deff;
    color: #252525;
}

.quiz-final-form{
    margin-top: 10px;
}


/* Кнопка отправки и политика */
.popup-submit-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.popup-btn-submit {
    width: 100%;
    height: 56px;
    background: #704592;
    border-radius: 40px;
    border: none;
    font-family: 'Golos Text', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.popup-btn-submit:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.popup-policy {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 115%;
    text-align: center;
    color: #797979;
    margin: 0;
}

.popup-policy a {
    color: #797979;
    text-decoration: underline;
}

/* Блок таймера */
.popup-timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: auto; /* Прижимает таймер к низу */
}

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

.timer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.timer-digits {
    display: flex;
    gap: 4px;
}

.digit {
    width: 28px;
    height: 44px;
/*    background: #FDD9E5;*/
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #252525;
}

.digit.accent {
    color: #984D66;
}

.timer-separator {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 32px;
    color: #252525;
    margin-bottom: 18px; /* Выравнивание по центру цифр */
}

.timer-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #797979;
}

.timer-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #984D66;
    margin: 0;
}

/* Адаптив для мобильных (чтобы в будущем не поплыло) */
@media (max-width: 850px) {
    .popup-container {
        width: 90%;
        flex-direction: column;
        height: auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    .popup-image-side {
        width: 100%;
        height: 200px;
        border-radius: 16px 16px 0 0;
    }
    .popup-form-side {
        width: 100%;
        border-radius: 0 0 16px 16px;
    }
}
.popup-success-message {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    gap: 16px;
}

.success-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #252525;
    margin: 16px 0 0 0;
}

.success-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #797979;
    margin: 0;
}
/* --- Адаптив для планшетов (1024px и меньше) --- */
@media (max-width: 1024px) {
    .main-header {
        padding: 20px 40px; /* Сохраняем отступ сверху и снизу */
    }

    .trust-bar-section,
    .hero-section,
    .price-banner-section,
    .cases-section,
    .prices-section,
    .banner-action-section,
    .quiz-section,
    .benefits-section,
    .equipment-section,
    .advantages-section,
    .doctors-section,
    .services-section,
    .sales-section,
    .steps-section,
    .video-comfort-section,
    .advantages-turnkey-section,
    .faq-section,
    .contacts-section,
    .footer-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* --- Адаптив для мобильных телефонов (768px и меньше) --- */
@media (max-width: 768px) {
    .main-header {
        padding: 8px 4vw;
    }

    .trust-bar-section,
    .hero-section,
    .price-banner-section,
    .cases-section,
    .prices-section,
    .banner-action-section,
    .quiz-section,
    .benefits-section,
    .equipment-section,
    .advantages-section,
    .doctors-section,
    .services-section,
    .sales-section,
    .steps-section,
    .video-comfort-section,
    .advantages-turnkey-section,
    .faq-section,
    .contacts-section,
    .footer-section {
        padding-left: 4vw;
        padding-right: 4vw;
    }

    .quiz-container{
        padding: 24px 20px;
    }
    .quiz-header{
        align-items: start;
        text-align: left;
    }

    .quiz-step .quiz-final-form .popup-inputs{
        flex-direction: column;
    }

    .service-card-info{
        padding: 8px;
    }

}
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: auto;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-scene {
    position: relative;
    width: 400px;
    height: 300px;
    transform: translateZ(0);
}

.preload-img {
    position: absolute;
    opacity: 0;
    transform: scale(0.01);
    animation: popIn 0.3s forwards;
    will-change: transform, opacity;
}

.step-1 {
    top: 40px;
    left: 0;
    width: 124px;
    animation-delay: 0.1s;
}

.step-2 {
    top: 0;
    left: 64px;
    width: 162px;
    animation-delay: 0.4s;
}

.step-3 {
    top: -42px;
    left: 145px;
    width: 206px;
    animation-delay: 0.7s;
}

.step-4 {
    top: 23px;
    left: 265px;
    width: 136px;
    animation-delay: 1.0s;
}

.step-5 {
    top: 173px;
    left: 13px;
    width: 367px;
    animation-delay: 1.3s;
}

.preloader-text {
    position: absolute;
    top: 250px;
    width: 100%;
    text-align: center;
    font-family: sans-serif;
    font-size: 20px;
    color: #6a4a8c;
    opacity: 0;
    animation: fadeIn 0.4s forwards;
    animation-delay: 1.6s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.01);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .preloader-scene {
        transform: scale(0.7) translateZ(0);
    }
}
.f-nav-col-info {
    margin-right: auto;
    margin-left: 5vw;
}

@media (max-width: 991px) {
    .f-nav-col-info {
        margin-left: 0;
        margin-right: 0;
    }
}
.custom-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.popup-policy {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.custom-checkbox-box {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1.5px solid #7B5F9E;
    border-radius: 4px;
    margin-right: 10px;
    flex-shrink: 0;
    background-color: transparent;
}

.custom-checkbox-input:checked ~ .custom-checkbox-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #7B5F9E;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.policy-text a {
    color: #7B5F9E;
    text-decoration: none;
}
@media (max-width: 768px) {
    .popup-container {
        display: flex;
        flex-direction: column;
        max-height: 95vh; 
        overflow: hidden; 
    }

    .popup-image-side {
        flex: 1 1 0; 
        min-height: 120px; 
        display: none !important;
        background-position: center 29%;
        background-size: cover;
        
    }

    .popup-form-side {
        flex: 0 0 auto; 
        overflow-y: auto; 
        padding: 20px; 
    }
}
select.popup-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23252525' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 40px;
    cursor: pointer;
}
@media (max-width: 320px) {
  .popup-title {
    font-size: 20px;
  }
  
  .popup-subtitle {
    font-size: 13px;
  }
  
  .popup-input {
    height: 42px;
    font-size: 12px;
  }
  
  .popup-btn-submit {
    height: 49px;
    font-size: 14px;
  }
  
  .timer-text {
    font-size: 13px;
  }
}