section {
    scroll-margin-top: 100px;
    position: relative;
}

.sections__container {
    display: flex;
    flex-direction: column;
    gap: 100px;
    width: 100%;
    padding-block: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.sections__container.blue {
    background: var(--section-background);
    border-radius: 40px;
}

.sections__container.gradient {
    background-image: url("../images/bl9_bg1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.sections__container.start {
    background-image: url("../images/bl1_bg1.webp");
    /*color: #fff;*/
}

.sections__container.reg {
    background-image: url("../images/bl14_bg1.webp");
    /*color: #ffffff;*/
}


@media screen and (max-width: 480px) {
    .sections__container.blue {
        border-radius: 16px;
    }

    .section__bg-image {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

}

.section__bg-image {
    position: absolute;
    bottom: 0;
    right: 252px;
}

@media screen and (max-width: 1440px) {

    .section__bg-image {
        right: 0px;
        height: 784px;
        object-position: center;
    }
}


.sections__container.gray {
    background: #ffe5e3;
}

.sections__container.gray.gradient-1 {
    background: linear-gradient(172deg, rgba(255, 254, 250, 0.7) 41.14%, rgba(131, 193, 0, 0.7) 141.61%);
}

.sections__container.blue .section__card,
.sections__container.blue .section__image-card,
.sections__container.gray .boxed,
.sections__container.gray .section__card,
.sections__container.gray .section__image-card {
    background-color: var(--card-color-2);
    border: none;
}

.sections__container.blue .section__image-card .section__item-text-container {
    border: none;
}

.section__bg-deco {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100dvw;
    z-index: -1;
    object-fit: fill;
}

.section__container {
    display: flex;
    flex-direction: column;
    gap: var(--gap-section-container);
}

.section__top-container,
.section__bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-inline: auto;
    text-align: center;
}


.section__row-container {
    display: flex;
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.section__row-container.boxed {
    padding: 32px;
    border-radius: 16px;
    background: #fffefa;
    position: relative;
}

.section__row-container.boxed .large:last-child {
    max-width: 520px;
}

.section__row-container.center {
    align-items: center;
}

.reg .section__row-container {
    gap: 32px;
}

.section__column-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.section__item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;

}


.section__item.min-height {
    min-height: 290px;
    justify-content: space-between;
}

.section__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    padding: 24px;
    height: unset;
    transition: 0.3s ease;
    border-radius: 16px;
    background: #fff;
}

.section__card > i {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px; /* 100% */
    letter-spacing: -0.64px;
    color: #0f4146;
}

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

.section__card-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}

.section__card-icon {
    width: 48px;
    height: 48px;
}

.section__image-card {
    gap: 0;
    background: var(--card-color);
    border-radius: 8px;
    overflow: hidden;
    height: unset;
    padding: 0;
    position: relative;
}

.section__image-card.horizontal {
    flex-direction: row;
}

.section__image-card-number {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px; /* 100% */
    letter-spacing: -0.4px;
    text-align: center;
    z-index: 1;
}

.section__image-card .section__item-text-container {
    padding: 16px;
    border-radius: 0 0 8px 8px;
    border-right: 1px solid var(--standart-stroke, #D2D2D2);
    border-bottom: 1px solid var(--standart-stroke, #D2D2D2);
    border-left: 1px solid var(--standart-stroke, #D2D2D2);
    flex: 0 1 100%;
}

.section__image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section__icon {
    width: 100px;
    height: 100px;
}

.section__image {
    display: flex;
    width: 100%;
    max-width: 689px;
    border-radius: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.section__image-price {
    position: absolute;
    left: 60px;
    top: -25px;
    width: 140px;
    height: 140px;
    background-image: url("../images/icons/price-icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section__image-price p {
    color: #f42f29;
    text-align: center;
    font-family: Domine, serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px; /* 100% */
    letter-spacing: -0.96px;
    white-space: wrap;
    line-break: anywhere;
}

.section__image-card.horizontal img {
    max-width: 384px;
}

.section__item-text-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.section__list-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section__list-container > div {
    position: relative;
    padding-left: 34px;
    gap: 8px;
}

.section__list-container > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    background-image: url("../images/icons/list-icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper .section__card {
    padding: 32px;
    gap: 16px;
    justify-content: flex-start;
}

.section__form {
    position: relative;
    width: 100%;
    max-width: 486px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 8px;
    background: var(--body-background);
    box-shadow: 0 15px 35px 0 rgba(134, 124, 93, 0.40);
}

.section__form h3 {
    color: var(--title-color);
    text-align: center;
}


.section__form-price {
    border-radius: 4px;
    border: 2px dashed var(--primary-color-2);
    background: rgba(255, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    text-align: center;

    padding: 12px;
}

.section__form-price p {
    color: var(--standart-black, #000);
    text-align: center;

    /* paragraphs/p - medium */
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.16px;
}

.section__form-price p span {
    color: var(--standart-white, #FFF);
    text-align: center;
    border-radius: 4px;
    background: var(--standart-red, #F00);
    display: inline-flex;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;

    /* paragraphs/p - medium (bold) */
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.16px;
}

.section__form-price p b {
    font-weight: 600;
}


.section__form-discount {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */
    letter-spacing: -0.32px;
    margin-bottom: -15px;
    text-align: center;
}

.section__form-discount span {
    text-decoration-line: line-through;
}

.section__form-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section__form-input-wrapper {
    position: relative;
    width: 100%;
}

.section__form-input {
    width: 100%;
    padding: 14px 12px;

    overflow: hidden;

    text-overflow: ellipsis;

    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 125% */

    outline: none;
    border: none;
    border-radius: 4px;
    border: 1.5px solid var(--standart-stroke, #D2D2D2);
    background: var(--standart-grey, #F3F3F3);
}

.section__form-input::placeholder {
    overflow: hidden;
    color: var(--standart-black, #000);
    text-overflow: ellipsis;

    /* paragraphs/p - medium */
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.16px;
}

.section__form-button {
    width: 100% !important;
}


.section__form.floating {
    position: fixed;
    bottom: 24px;
    max-width: 1200px;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
    /*margin-inline: 10px;*/
}

.section__form.floating.active {
    opacity: 1;
    pointer-events: all;
}

.section__form.floating > * {
    max-width: 100%;
}

.section__nest-icon {
    flex-shrink: 0;
    display: flex;
    position: relative;
    width: 24px;
    height: 24px;
    border: 2px solid #0f4146;
    border-radius: 100%;
}

.section__nest-icon::before,
.section__nest-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background-color: #0f4146;
    transform: translate(-50%, -50%);
    transition: 0.3s ease;
    transform-origin: center;
}

.section__nest-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.section__card.active .section__nest-icon::before {
    transform: translate(-50%, -50%);
}

.small {
    max-width: 282px;
}

.medium {
    max-width: 384px;
}

.large {
    max-width: 588px;
}

.full-width {
    max-width: 100%;
}

.full-height {
    height: 100%;
}

.section__column-container.center {
    align-items: center;
}

.section__row-container.center {
    justify-content: center;
}

.section__column-container.spaced {
    justify-content: space-between;
}

.section__row-container.spaced {
    justify-content: space-between;
}

.section__column-container.nowrap {
    flex-wrap: nowrap;
}

.section__row-container.nowrap {
    flex-wrap: nowrap;
}

.text-center {
    text-align: center;
}

@media (max-width: 1200px) {
    .section__bg-image {
        right: 0px;
    }

    .sections__container {
        padding-block: 32px;
        gap: 64px;
    }

    .section__container {
        gap: 24px;
    }

    .section__row-container {
        gap: 16px;
    }

    .section__item.min-height {
        min-height: auto;
    }

    .section__item.large {
        max-width: 384px;
    }

    .section__card {
        padding: 16px;
        gap: 16px;
    }

    .section__image {
        max-width: 400px;
        margin-inline: auto;
        object-fit: contain;
    }

    .section__image-card img {
        min-height: 200px;
    }

    .section__form.floating {
        max-width: calc(100% - 20px);
    }

}

@media (max-width: 700px) {

    .section__form.floating {
        position: static;
        transform: none;
        flex-direction: column;
        max-width: 100%;
    }

    .section__top-container,
    .section__bottom-container {
        text-align: left;
        align-items: flex-start;
    }

    .section__image-card.horizontal {
        flex-direction: column;
        max-width: 380px;
    }

    .section__image-card.horizontal img {
        max-width: 100%;
    }

    .section__image-price {
        position: absolute;
        right: 25px;
        top: 25px;
        width: 74px;
        height: 74px;
    }

    .section__image-price p {
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 100%; /* 14px */
        letter-spacing: -0.28px;
    }

    .section__form {
        padding: 16px;
        gap: 16px;
    }

    .section__form-row {
        gap: 12px;
    }

    .section__form-price {
        padding: 12px 3px;
    }
}

.section__swiper .section__item {
    max-width: none;
}

@media (max-width: 480px) {
    .sections__container.start {
        background-position: center;
    }


    .section__item {
        max-width: none;
    }

    .section__image-card img {
        max-height: 220px;
    }

    #doctor .section__image-card img {
        max-height: unset;
    }
}
