section.philosofy {
    position: relative;
}
section.philosofy::before {
    content: "";
    position: absolute;
    top: -65px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/local/templates/nobu_2025/images/top-round.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 100% 0;
    z-index: 3;
    pointer-events: none;
}
/* section.philosofy::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/local/templates/nobu_2025/images/bottom-round.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 100% 100%;
    z-index: 3;
    pointer-events: none;
} */

section.philosofy .banner {
    background-color: rgba(255, 255, 255, 0.7882352941);
    border-radius: 200px;
    padding: 32px 68px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}
section.philosofy .banner .title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 8px;
}
section.philosofy .banner .description {
    font-size: 24px;
    line-height: 1.2;
    color: var(--primary-color);
}
@media (max-width: 1200px) {
    section.philosofy {
        background-size: cover;
    }
}
@media (max-width: 700px) {
    section.philosofy .banner .title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    section.philosofy .banner .description {
        font-size: 16px;
    }
}

.philosofy-slider {
    position: relative;
    overflow: hidden;
}
.philosofy-slider .philosofy-slider-slide {
    width: 100%;
    height: auto;
    max-height: 986px;
}
.philosofy-slider .philosofy-slider__slide-pic {
    width: 100%;
    height: 100%;
    /* max-height: 986px; */
    object-fit: cover;
}

.philosofy-banner {
    position: absolute;
    bottom: 242px;
    left: 50%;
    width: 100%;
    max-width: 1170px;
    background: #FFFFFFB2;
    backdrop-filter: blur(70px);
    border-radius: 1000px;
    z-index: 2;
    transform: translate(-50%, 0%);
    padding: 32px 22px 32px 68px;
    margin: 0 auto;
}

.philosofy-banner .philosofy-banner__container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}
/* .philosofy-banner .philosofy-banner__container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 174px;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 1000px;
    background-color: #fff;
    z-index: 0;
    transition: var(--transition);
} */
.philosofy-banner .philosofy-banner__wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}
.philosofy-banner .philosofy-banner__title {
    font-size: 48px;
    line-height: 120%;
    font-weight: 500;
    color: var(--green);
    text-transform: uppercase;
}
.philosofy-banner .philosofy-banner__content {
    font-size: 24px;
    line-height: 120%;
    font-weight: 400;
    color: var(--green);
}
.philosofy-banner .philosofy-banner__content br {
    display: none;
}
.philosofy-banner .philosofy-banner__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 174px;
    aspect-ratio: 1 / 1;
    z-index: 1;
    transition: var(--transition);
}
.philosofy-banner .philosofy-banner__btn.mobile {
    display: none;
}
.philosofy-banner:hover .philosofy-banner__btn {
    transform: rotate(45deg);
}
.philosofy-banner:hover .philosofy-banner__container::before {
    width: calc(100% + 40px);
    transition: var(--transition);
}

@media (max-width: 1440px) {
    section.philosofy::before {
        top: -4px;
    }
    /* section.philosofy::after {
        bottom: -4px;
    } */
}

@media (max-width: 1024px) {
    .philosofy-banner {
        max-width: 665px;
        bottom: 178px;
        padding: 40px 24px 40px 55px;
    }
    .philosofy-banner .philosofy-banner__wrapper {
        gap: 10px;
    }
    .philosofy-banner .philosofy-banner__title {
        font-size: 24px;
    }
    .philosofy-banner .philosofy-banner__content {
        font-size: 18px;
    }
    .philosofy-banner .philosofy-banner__content br {
        display: block;
    }
    .philosofy-banner .philosofy-banner__btn svg {
        width: 58px;
    }
    .philosofy-banner .philosofy-banner__container {
        gap: 50px;
    }
    /* .philosofy-banner .philosofy-banner__container::before {
        width: 153px;
    } */
    .philosofy-banner .philosofy-banner__btn {
        min-width: 153px;
    }
    .philosofy-banner:hover .philosofy-banner__container::before {
        width: 153px;
    }
}

@media (max-width: 768px) {
    .philosofy-slider {
        height: 808px
    }
    section.philosofy::before {
        top: -30px;
        background-size: unset;
        background-position: 30% 0;
    }
    /* section.philosofy::after {
        bottom: 0;
        height: 96px;
        background-size: unset;
        background-position: 35% 0%
    } */
    .philosofy-banner {
        max-width: unset;
        width: auto;
        bottom: 156px;
        left: 20px;
        right: 20px;
        border-radius: 60px;
        transform: translate(0, 0);
        padding: 20px;
    }
    .philosofy-banner .philosofy-banner__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .philosofy-banner .philosofy-banner__title {
        font-size: 20px;
    }
    .philosofy-banner .philosofy-banner__content {
        font-size: 16px;
        max-width: 100%;
        padding: 0 20px;
    }
    /* .philosofy-banner .philosofy-banner__container::before {
        display: none;
    } */
    .philosofy-banner .philosofy-banner__btn:not(.mobile) {
        display: none;
    }
    .philosofy-banner .philosofy-banner__btn.mobile {
        display: block;
        background-color: #fff;
        border-radius: 100px;
        aspect-ratio: unset;
        padding: 10px 24px;
    }
    .philosofy-banner .philosofy-banner__btn svg {
        width: 100%;
    }
    .philosofy-banner:hover .philosofy-banner__btn {
        transform: rotate(0deg);
    }
    .philosofy-slider .philosofy-slider__slide-pic {
        object-position: 40% 100%;
    }
    .philosofy-banner .philosofy-banner__wrapper {
        gap: 8px;
    }
}

@media (min-width: 2450px) {
    .philosofy-banner {
        /*left: 70%;*/
        bottom: 252px;
    }
    section.philosofy::before {
        background-image: url(/local/templates/nobu_2025/images/top-round_2450.svg);
    }
    /* section.philosofy::after {
        background-image: url(/local/templates/nobu_2025/images/bottom-round_2450.svg);
    } */
}