

/*-- carousel_controls --*/
.carousel_controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 70px;
}
.carousel_controls button {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    transition: border .4s ease, box-shadow .4s ease;
}
.carousel_controls button:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--black-100);
}
.carousel_controls > span {
    margin-left: 20px;
    color: var(--primary);
    font-size: var(--text-22);
}
.section_top .carousel_controls {
    margin-top: 0;
}

/*---------------- home_hero ----------------*/
.home_hero {
    margin-bottom: 100px;
}

.hero_slides {
    width: calc(100% - 120px);
    margin: auto;
    padding-bottom: 130px;
}

/*-- hero_slide --*/
.hero_slide {
    height: calc(100svh - 180px);
    position: relative;
    background: var(--primary);
    border-radius: 30px;
}
.home_hero_image {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 77.78%;
    border-radius: 0 30px 30px 0;
    object-position: left;
}
.hero_slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,var(--primary) 22.2%,transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}
.hero_copy {
    position: relative;
    z-index: 1;
    padding: 160px 8%;
    color: #fff;
}
.hero_copy .hero_title {
    font-size: var(--ft50);
    font-weight: var(--semi-bold);
}
.hero_copy .hero_desc {
    margin-top: 36px;
    font-size: var(--ft24);
    color: #fff;
}

/*-- hero_controls --*/
.hero_controls {
    position: absolute;
    z-index: 3;
    top: 480px;
    left: 8%;
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--white-500);
    font-size: var(--ft22);
}
.hero_controls [data-hero-count] {
    width: 100px;
    color: #fff;
    text-align: center;
}
.hero_controls button {
    min-height: 32px;
    min-width: 28px;
    display: grid;
    place-items: center;
}


.hero_controls button:last-child {
    position: relative;
    margin-left: 24px;
}
.hero_controls button:last-child::before {
    content: '';
    display: block;
    width: 1px;
    height: 18px;
    background: var(--white-300);
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
}

/*-- hero_promotion --*/
.hero_promotion {
    position: absolute;
    z-index: 2;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px,calc(100% - 120px));
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 30px var(--black-100);
}
.hero_promotion .promotion_title {
    font-size: var(--ft24);
}
.hero_promotion .promotion_desc {
    margin-top: 10px;
    font-size: var(--ft18);
}
.hero_promotion .button_row {
    margin-left: auto;
    flex-wrap: nowrap;
}
.promotion_portrait_box {
    width: 100px;
    height: 100px;
    flex: none;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    background: var(--gray-200);
}
.hero_slides:not(.swiper-initialized) .hero_slide:not(:first-child) {
    display: none;
}
.hero_controls [aria-pressed='true'] {
    opacity: .55;
}


/*---------------- service_sec ----------------*/
.service_sec {
    padding-block: 160px;
    background: var(--gray-100);
    border-radius: 30px 30px 0 0;
}
.badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-weight: var(--semi-bold);
}
.service_heading .service_title {
    margin-top: 30px;
}
.service_heading > .service_desc {
    margin-top: 36px;
    font-size: var(--text-22);
}

.service_picker {
    margin-top: 54px;
    padding: 80px 80px 120px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    background: #fff;
    border-radius: 30px;
}

/*-- service_tabs --*/
.service_tabs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service_tabs button {
    min-height: 122px;
    padding: 28px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid transparent;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-400);
    font-size: var(--text-22);
    font-weight: var(--medium);
    text-align: left;
}
.service_tabs figure {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: brightness(0);
    opacity: .1;
}

.service_tabs button[aria-selected=true] {
    background: #fff;
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 20px var(--black-100);
}
.service_tabs button[aria-selected=true] figure {
    filter: brightness(1);
    opacity: 1;
}


/*-- service_panel --*/
.service_panel {
    min-width: 0;
}
.service_image {
    width: 100%;
    height: 460px;
    border-radius: 20px;
}
.service_panel .service_panel_item_title {
    margin-top: 36px;
    font-size: var(--text-32);
}
.service_panel > .service_panel_desc {
    margin-block: 20px 36px;
    font-size: var(--text-22);
}
.service_carousel {
    width: 100%;
    min-width: 0;
}
.service_carousel .swiper-slide {
    height: auto;
}

/*---------------- health_sec ----------------*/
.health_sec {
    padding-top: 230px;
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 80px;
}
.product_intro > .product_intro_desc {
    margin-top: 36px;
    font-size: var(--text-22);
}

/*-- home_products --*/
.home_products {
    width: calc(100% + var(--content-edge));
    min-width: 0;
}
.home_product.swiper-slide {
    width: 360px;
    height: auto;
}
.home_product > figure {
    width: 360px;
    height: 360px;
    border-radius: 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-100);
    transition: border .4s ease, box-shadow .4s ease;
}

.home_product .home_product_item_title {
    margin-top: 20px;
    font-size: var(--text-22);
    transition: color .4s ease;
}
.home_product .home_product_desc {
    margin-top: 16px;
    font-size: var(--text-18);
}

.home_product:hover > figure {
    border-color: var(--primary);
    box-shadow: 0 4px 20px var(--black-100);
}
.home_product:hover .home_product_item_title {
    color: var(--primary);
}


/*---------------- partner_strip ----------------*/
.partner_strip {
    margin-top: 140px;
}
.partner_strip > div {
    position: relative;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    border-radius: 30px;
}
.strip_image {
    position: absolute;
    inset: 0;
}
.strip_copy,
.partner_strip .action_btn {
    position: relative;
}
.partner_strip .action_btn {
    flex-shrink: 0;
}
.strip_copy .partner_strip_item_title,
.strip_copy .partner_strip_desc {
    color: #fff;
}
.strip_copy .partner_strip_desc {
    margin-top: 24px;
    font-size: var(--text-22);
}

/*---------------- home_brand ----------------*/
.home_brand {
    margin: 230px 40px 0;
    padding-bottom: 160px;
    width: calc(100% - 80px);
    text-align: center;
    background: linear-gradient(180deg,#fff,var(--gray-100));
    border-radius: 30px;
}

.home_brand > .container-lg > .home_brand_desc {
    max-width: 560px;
    margin: 36px auto 50px;
    font-size: var(--text-22);
}

.brand_preview {
    position: relative;
    max-width: 1000px;
    margin: auto;
    height: 500px;
}
.brand_preview > figure {
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    object-position: 50% 31%;
}
.brand_preview .action_btn {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

/*---------------- home_insights ----------------*/
.home_insights {
    margin-top: 230px;
}

.home_insights .home_insights_title,
.home_notices .home_notices_title {
    font-size: var(--text-36);
}
.insights_carousel {
    width: calc(100% + var(--content-edge));
    min-width: 0;
    margin-top: 35px;
}
.insights_carousel .swiper-slide {
    width: calc((100% - var(--content-edge) - 60px) / 3);
    height: auto;
}
.insights_carousel figure {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow .4s ease;
}
.insights_carousel figure img {
    transition: transform .4s ease;
}
.insights_carousel .insights_carousel_item_title {
    margin-top: 24px;
    font-size: var(--text-20);
    transition: color .4s ease;
}
.insights_carousel time {
    margin-top: 20px;
}

.insights_carousel a:hover figure {
    box-shadow: 0 4px 10px var(--black-100);
}
.insights_carousel a:hover figure img {
    transform: scale(1.05);
}
.insights_carousel a:hover .insights_carousel_item_title {
    color: var(--primary);
}

/*---------------- home_notices ----------------*/
.home_notices {
    margin-top: 180px;
}

.home_notice_list {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}

.home_notice_list a {
    padding: 32px;
    border-radius: 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-100);
    transition: border .4s ease, box-shadow .4s ease, background .4s ease;
}
.home_notice_list .home_notice_list_item_title {
    font-size: var(--text-20);
    transition: color .4s ease;
}
.home_notice_list time {
    margin-top: 20px;
}

.home_notice_list a:hover {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 4px 10px var(--black-100);
}
.home_notice_list a:hover .home_notice_list_item_title {
    color: var(--primary);
}

/*---------------- 반응형 ----------------*/
@media (prefers-reduced-motion: no-preference) {
    .hero_slides.swiper-initialized .swiper-slide-active .hero_copy {
        animation: hero_enter .75s ease-out both;
    }

    @keyframes hero_enter {
        from {
            opacity: 0;
            transform: translateY(18px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero_slides.swiper-initialized .swiper-slide-active .home_hero_image {
        animation: hero_reveal 1s ease-out both;
    }

    @keyframes hero_reveal {
        from {
            opacity: .35;
        }
    }
}

@media (max-width: 1600px) {
    /*-- home_hero --*/
    .hero_copy {
        padding: 100px 8%;
    }
    .hero_copy .hero_title {
        font-size: var(--ft45);
    }
    .hero_controls {
        top: 400px;
    }

    .hero_promotion {
        width: calc(100% - 100px);
        padding-inline: 28px;
    }
    .promotion_portrait_box {
        width: 85px;
        height: 85px;
    }
    .hero_promotion .action_btn {
        min-width: 190px;
        font-size: var(--ft16);
    }

    .service_picker {
        grid-template-columns: 340px 1fr;
        gap: 40px;
        padding: 60px;
    }

    .health_sec {
        grid-template-columns: 480px 1fr;
        gap: 60px;
    }
}

@media (max-width: 1200px) {
    /*-- home_hero --*/
    .hero_slides {
        width: calc(100% - 60px);
    }
    .hero_copy {
        padding: 120px 6%;
    }
    .hero_copy .hero_title {
        font-size: var(--ft40);
    }
    .hero_copy .hero_desc {
        font-size: var(--ft22);
    }
    .home_hero_image {
        width: 100%;
        border-radius: 30px;
    }
    .hero_controls {
        left: 6%;
    }

    .hero_promotion {
        width: calc(100% - 60px);
    }
    .promotion_portrait_box {
        display: none;
    }
    .hero_promotion .promotion_title {
        font-size: var(--ft22);
    }

    .service_picker {
        grid-template-columns: 280px 1fr;
        padding: 40px;
        gap: 30px;
    }

    .service_tabs button {
        padding: 24px;
    }

    .service_image {
        height: 340px;
    }

    .health_sec {
        grid-template-columns: 38% 1fr;
        gap: 40px;
    }

    .partner_strip > div {
        padding: 50px;
    }
}

@media (max-width: 1000px) {
    /*-- home_hero --*/
    .hero_promotion {
        flex-direction: column;
        align-items: start;
    }
    .hero_promotion .button_row {
        width: 100%;
        margin-left: 0;
    }
    .hero_promotion .action_btn {
        width: 100%;
    }


    .service_picker {
        grid-template-columns: 1fr;
    }

    .service_tabs {
        flex-direction: row;
    }

    .service_tabs button {
        flex: 1;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /*-- home_hero --*/
    .home_hero {
        margin-bottom: 20px;
    }
    .hero_slides {
        width: calc(100% - 24px);
        padding-bottom: 142px;
    }

    .hero_slide {
        height: calc(100svh - 160px);
        border-radius: 20px;
    }
    .home_hero_image {
        top: 0;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        object-position: 55%;
        opacity: .7;
    }
    .hero_slide::after {
        background: linear-gradient(90deg,rgba(17,77,73,.92),rgba(17,77,73,.1));
    }
    .hero_copy {
        padding: 60px 24px;
    }

    .hero_copy .hero_title {
        font-size: var(--ft24);
    }
    .hero_copy .hero_desc {
        font-size: var(--ft17);
        margin-top: 18px;
    }
    .hero_controls {
        top: 280px;
        left: 24px;
        gap: 4px;
        font-size: var(--ft15);
    }
    .hero_controls [data-hero-count] {
        width: 70px;
    }
    .hero_controls button:last-child {
        margin-left: 30px;
    }
    .hero_controls button:last-child::before {
        height: 14px;
        left: -20px;
    }
    .pause_icon {
        width: 10px;
    }

    .hero_promotion {
        width: calc(100% - 24px);
        bottom: -70px;
        padding: 20px;
        gap: 16px;
        border-radius: 20px;
    }

    .promotion_portrait_box {
        width: 60px;
        height: 60px;
    }

    .promotion_copy {
        flex: 1;
        min-width: 0;
    }

    .hero_promotion .promotion_title {
        font-size: var(--ft16);
    }
    .hero_promotion .promotion_desc {
        display: none;
    }
    .hero_promotion .button_row {
        flex-direction: column;
    }
    .hero_promotion .action_btn {
        font-size: var(--ft14);
    }

    /*-- service_sec --*/
    .service_sec {
        padding-block: 60px;
    }

    .badge {
        font-size: var(--ft16);
        padding: 10px 18px;
        border-radius: 14px;
    }

    .service_heading .service_title {
        margin-top: 24px;
        font-size: var(--ft20);
    }

    .service_heading > .service_desc:last-child {
        font-size: var(--ft16);
        margin-top: 24px;
    }

    .service_picker {
        padding: 20px 20px 40px;
        margin-top: 32px;
        gap: 28px;
        border-radius: 20px;
    }

    .service_tabs {
        flex-direction: column;
        gap: 10px;
    }
    .service_tabs button {
        flex-direction: row;
        min-height: 76px;
        padding: 16px;
        text-align: left;
        gap: 14px;
        border-radius: 14px;
    }
    .service_tabs figure {
        width: 28px;
        height: 28px;
    }

    .service_image {
        height: auto;
        aspect-ratio: 1.7;
        border-radius: 14px;
    }

    .service_panel .service_panel_item_title {
        margin-top: 24px;
    }

    .service_panel > .service_panel_desc {
        margin-block: 16px 24px;
    }
    .service_panel .button_row {
        flex-direction: column;
    }

    .health_sec {
        padding-top: 80px;
        grid-template-columns: minmax(0,1fr);
        gap: 30px;
    }

    .product_intro > .product_intro_desc {
        margin-top: 24px;
    }

    .carousel_controls {
        margin-top: 28px;
        gap: 10px;
    }

    .carousel_controls button {
        width: 42px;
        height: 42px;
    }

    .carousel_controls > span {
        margin-left: 8px;
    }

    .home_product.swiper-slide {
        width: min(260px, 78%);
    }

    .home_product > figure {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .partner_strip {
        margin-top: 60px;
    }

    .partner_strip > div {
        padding: 32px 24px;
        flex-direction: column;
        align-items: start;
        border-radius: 20px;
    }

    .strip_copy .partner_strip_item_title {
        font-size: var(--ft18);
    }

    .strip_copy .partner_strip_desc {
        margin-top: 18px;
    }

    .home_brand {
        margin: 80px 12px 0;
        width: calc(100% - 24px);
        padding-bottom: 60px;
    }

    .home_brand > .container-lg > .home_brand_desc {
        margin: 24px auto 32px;
    }

    .brand_preview {
        height: 300px;
    }

    .brand_preview .action_btn {
        white-space: nowrap;
    }

    .home_insights {
        margin-top: 80px;
    }

    .home_insights .home_insights_title,
    .home_notices .home_notices_title {
    }

    .insights_carousel .swiper-slide {
        width: 82%;
    }

    .insights_carousel .insights_carousel_item_title {
        margin-top: 18px;
    }

    .insights_carousel time {
        font-size: var(--ft15);
        margin-top: 12px;
    }

    .home_notices {
        margin-top: 80px;
    }

    .home_notice_list {
        margin-top: 28px;
        gap: 12px;
    }

    .home_notice_list a {
        padding: 24px;
        border-radius: 16px;
    }

    .home_notice_list time {
        font-size: var(--ft15);
        margin-top: 16px;
    }
}
