@font-face {
    font-family: "Pretendard";
    src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
    font-style: normal;
    font-weight: 45 920;
    font-display: swap;
}

:root {
    --wb-blue: #007694;
    --wb-blue-deep: #305368;
    --wb-cyan: #07728d;
    --wb-pale: #e8f4f7;
    --wb-ice: #f1f7f8;
    --wb-ink: #17262a;
    --wb-radius: 26px;
}

body {
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

.wb-header__inner {
    min-height: 100px;
}

.wb-header {
    background: rgba(0, 118, 148, .985);
    box-shadow: 0 8px 24px rgba(7, 70, 86, .13);
}

.wb-logo--header .wb-logo__image { height: 40px; }

.wb-logo {
    font-size: 18px;
    letter-spacing: -.035em;
}

.wb-logo .wb-mark {
    transform: scale(.86);
    transform-origin: left center;
}

.wb-gnb {
    gap: clamp(34px, 3.6vw, 64px);
    margin-left: clamp(42px, 5vw, 88px);
}

.wb-gnb__trigger {
    min-height: 100px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 18px;
    font-weight: 780;
}

.wb-call {
    margin-left: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.wb-design-hero {
    min-height: calc(100dvh - 100px);
    padding: 16px;
    background: #fff;
}

.wb-design-hero__frame {
    position: relative;
    min-height: calc(100dvh - 132px);
    overflow: hidden;
    border-radius: 36px;
    background: #dceaed;
}

.wb-design-hero__frame > img,
.wb-design-hero__frame > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.01);
}

.wb-design-hero__frame > video {
    display: block;
}

.wb-design-hero__veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 48, 58, .18), transparent 52%),
        linear-gradient(0deg, rgba(5, 40, 49, .72), transparent 58%);
}

.wb-header__badges {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 22px rgba(5, 59, 72,.13);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    backdrop-filter: blur(10px) saturate(120%);
}

.wb-header__badges img {
    width: auto;
    height: 38px;
    max-width: none;
    object-fit: contain;
    filter: contrast(1.16) saturate(1.06) drop-shadow(0 1px 0 rgba(255,255,255,.75));
}

.wb-design-hero__badges {
    position: absolute;
    z-index: 3;
    top: clamp(24px, 3.2vw, 52px);
    right: clamp(24px, 3.2vw, 52px);
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 16px 38px rgba(7, 50, 61, .16);
    backdrop-filter: blur(12px);
}

.wb-design-hero__badges img {
    flex: 0 0 auto;
    width: auto;
    height: 48px;
    max-width: none;
    object-fit: contain;
}

.wb-design-hero__copy {
    position: absolute;
    z-index: 2;
    left: clamp(32px, 6.8vw, 130px);
    bottom: clamp(54px, 9vh, 104px);
    max-width: 760px;
    color: #fff;
}

.wb-design-hero__copy p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    font-weight: 780;
    letter-spacing: .08em;
}

.wb-design-hero__copy h1 {
    max-width: 710px;
    margin: 0;
    font-size: clamp(44px, 5.3vw, 92px);
    font-weight: 520;
    line-height: .98;
    letter-spacing: -.065em;
}

.wb-design-hero__copy h1 strong {
    display: block;
    margin-top: 9px;
    font-weight: 820;
}

.wb-design-hero__copy > span {
    display: block;
    max-width: 620px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.7;
}

.wb-design-hero__phone {
    position: absolute;
    z-index: 2;
    right: clamp(26px, 4vw, 70px);
    bottom: clamp(28px, 5vh, 56px);
    display: grid;
    gap: 2px;
    min-width: 184px;
    padding: 17px 21px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    background: rgba(0, 118, 148, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
    backdrop-filter: blur(14px);
    transition: transform .25s, background .25s;
}

.wb-design-hero__phone:hover,
.wb-design-hero__phone:focus-visible {
    transform: translateY(-3px);
    background: rgba(0, 118, 148, .94);
}

.wb-design-hero__phone span {
    font-size: 12px;
    opacity: .78;
}

.wb-design-hero__phone strong {
    font-size: 17px;
    line-height: 1.2;
}

.wb-design-doctors {
    position: relative;
    overflow: hidden;
    padding-top: 105px;
    padding-bottom: 0;
    background:
        linear-gradient(116deg, rgba(255, 255, 255, .1), rgba(197, 235, 245, .42)),
        #eefafd;
}

.wb-design-doctors::after {
    content: "W";
    position: absolute;
    right: -2vw;
    bottom: -15vw;
    color: rgba(0, 118, 148, .035);
    font-size: min(62vw, 920px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.14em;
    pointer-events: none;
}

.wb-design-doctors__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: .76fr 1.24fr;
    gap: 48px;
    min-height: 860px;
    align-items: end;
}

.wb-design-doctors header {
    align-self: center;
    max-width: 620px;
    padding-bottom: 85px;
}

.wb-design-doctors h2 {
    margin: 0;
    font-size: clamp(44px, 4.35vw, 78px);
    line-height: 1.08;
    letter-spacing: -.065em;
}

.wb-design-doctors h2 em {
    display: block;
    color: var(--wb-blue);
    font-style: normal;
}

.wb-design-doctors header > p:not(.wb-kicker) {
    margin: 25px 0 28px;
    color: #58777f;
    font-size: 17px;
}

.wb-design-doctors figure {
    position: relative;
    align-self: end;
    min-height: 760px;
    margin: 0;
}

.wb-design-doctors figure > span {
    position: absolute;
    z-index: -1;
    top: 10%;
    right: -2%;
    color: rgba(0, 118, 148, .08);
    font-size: clamp(66px, 8vw, 145px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.08em;
    white-space: nowrap;
}

.wb-design-doctors figure img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(100%, 920px);
    height: auto;
    max-height: 750px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 26px 34px rgba(37, 108, 126, .12));
}

.wb-design-care {
    background: #fff;
}

.wb-design-care__fallback {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 18px;
}

.wb-design-care__fallback a {
    display: grid;
    min-height: 420px;
    align-items: end;
    padding: 30px;
    color: #fff;
    border-radius: var(--wb-radius);
    background: var(--wb-blue);
    font-size: 24px;
    font-weight: 800;
}

.wb-design-endoscopy {
    overflow: hidden;
    color: #fff;
    background: var(--wb-blue);
}

.wb-design-endoscopy__lead {
    position: relative;
    min-height: min(760px, 78vw);
    overflow: hidden;
    border-radius: 26px;
    background: var(--wb-blue-deep);
}

.wb-design-endoscopy__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wb-design-endoscopy__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    transform: scale(1.02);
    transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}

.wb-design-endoscopy__media > span {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 118, 148, .97) 0%, rgba(0, 118, 148, .86) 44%, rgba(0, 118, 148, .36) 76%, rgba(0, 118, 148, .2) 100%);
    transition: background .5s ease;
}

.wb-design-endoscopy__media.is-blue > span {
    background: rgba(0, 118, 148, .78);
}

.wb-design-endoscopy__media.is-blue img {
    transform: scale(1.06);
}

.wb-design-endoscopy__media button {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 28px;
    min-height: 46px;
    padding: 0 18px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    background: rgba(13, 82, 99, .66);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.wb-design-endoscopy__media button i {
    display: inline-block;
    margin-left: 8px;
    font-style: normal;
    transition: transform .25s;
}

.wb-design-endoscopy__media.is-blue button i {
    transform: rotate(45deg);
}

.wb-design-endoscopy__copy {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: clamp(30px, 6vw, 100px);
    width: min(690px, calc(100% - 60px));
    transform: translateY(-50%);
}

.wb-design-endoscopy__copy > p {
    margin: 0 0 14px;
    color: #9ce1f2;
    font-size: 15px;
    font-weight: 780;
}

.wb-design-endoscopy__copy h2 {
    margin: 0;
    font-size: clamp(44px, 4.8vw, 82px);
    line-height: 1.08;
    letter-spacing: -.06em;
}

.wb-design-endoscopy__copy > span {
    display: block;
    max-width: 610px;
    margin-top: 26px;
    color: rgba(255, 255, 255, .76);
    font-size: 17px;
}

.wb-btn--light {
    margin-top: 30px;
    color: var(--wb-blue-deep);
    background: #fff;
}

.wb-design-facility {
    margin-top: 46px;
}

.wb-design-facility__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.wb-design-facility__head p {
    margin: 0;
    font-size: 18px;
    font-weight: 730;
}

.wb-design-facility__head div {
    display: flex;
    gap: 8px;
}

.wb-design-facility__head button {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.wb-design-facility__head button:hover,
.wb-design-facility__head button:focus-visible {
    background: rgba(255, 255, 255, .13);
    transform: translateY(-2px);
}

.wb-design-facility__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 31vw);
    gap: 18px;
    overflow-x: auto;
    padding: 3px 0 18px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(255, 255, 255, .34) transparent;
}

.wb-design-facility figure {
    position: relative;
    min-height: 360px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    scroll-snap-align: start;
}

.wb-design-facility figure img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.wb-design-facility figure:hover img {
    transform: scale(1.035);
}

.wb-design-facility figcaption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 13px 15px;
    color: #fff;
    border-radius: 13px;
    background: rgba(13, 72, 87, .72);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.wb-consult {
    background: #fff;
}

.wb-consult__form {
    border-radius: 28px;
    background: #f5f9fa;
}

.wb-consult__form label > span:first-child {
    color: #243f46;
}

.wb-consult__form input,
.wb-consult__form textarea {
    color: #17262a;
    background: #fff;
    border-color: #c9dbdf;
}

.wb-consult__form input::placeholder,
.wb-consult__form textarea::placeholder {
    color: #71818d;
}

.wb-consult__form input:focus,
.wb-consult__form textarea:focus {
    outline: 3px solid rgba(0, 118, 148, .2);
    border-color: var(--wb-blue);
}

.wb-consult__channels i {
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .02em;
}

@media (max-width: 1200px) {
    .wb-design-hero__copy h1 {
        font-size: clamp(48px, 6vw, 72px);
    }

    .wb-design-doctors__inner {
        grid-template-columns: .88fr 1.12fr;
        min-height: 720px;
    }

    .wb-design-doctors figure {
        min-height: 640px;
    }

    .wb-design-endoscopy__lead {
        min-height: 680px;
    }

    .wb-design-facility__track {
        grid-auto-columns: minmax(310px, 47vw);
    }
}

@media (max-width: 760px) {
    .wb-header__inner {
        min-height: 68px;
    }

    .wb-call {
        margin-left: auto;
        flex: 0 0 42px;
        width: 42px;
        min-height: 42px;
        padding: 0;
        justify-content: center;
        font-size: 0;
    }

    .wb-call span {
        font-size: 18px;
    }

    .wb-design-hero {
        min-height: calc(100dvh - 68px);
        padding: 8px;
    }

    .wb-design-hero__frame {
        min-height: calc(100dvh - 148px);
        border-radius: 24px;
    }

    .wb-header__badges { display: none; }

    .wb-design-hero__badges {
        display: flex;
        top: 14px;
        right: 14px;
        left: 14px;
        justify-content: center;
        gap: 8px;
        padding: 7px 9px;
        border-radius: 15px;
    }

    .wb-design-hero__badges img { height: 44px; }

    .wb-design-hero__frame > img,
    .wb-design-hero__frame > video {
        object-position: 55% center;
    }

    .wb-design-hero__veil {
        background: linear-gradient(0deg, rgba(5, 40, 49, .82), rgba(5, 40, 49, .08) 76%);
    }

    .wb-design-hero__copy {
        right: 24px;
        bottom: 112px;
        left: 24px;
    }

    .wb-design-hero__copy p {
        font-size: 11px;
    }

    .wb-design-hero__copy h1 {
        font-size: clamp(42px, 12vw, 58px);
        line-height: 1.02;
    }

    .wb-design-hero__copy > span {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.6;
    }

    .wb-design-hero__phone {
        right: 20px;
        bottom: 26px;
        left: 20px;
        display: flex;
        min-width: 0;
        align-items: center;
        justify-content: space-between;
        padding: 15px 18px;
    }

    .wb-design-doctors {
        padding-top: 80px;
    }

    .wb-design-doctors__inner {
        display: block;
        min-height: 0;
    }

    .wb-design-doctors header {
        padding-bottom: 30px;
    }

    .wb-design-doctors h2 {
        font-size: 43px;
    }

    .wb-design-doctors figure {
        min-height: 460px;
    }

    .wb-design-doctors figure > span {
        top: 13%;
        font-size: 70px;
    }

    .wb-design-doctors figure img {
        right: 50%;
        width: 116%;
        max-width: none;
        transform: translateX(50%);
    }

    .wb-design-care__fallback {
        grid-template-columns: 1fr;
    }

    .wb-design-care__fallback a {
        min-height: 210px;
    }

    .wb-design-endoscopy {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .wb-design-endoscopy__lead {
        min-height: 670px;
        border-radius: 22px;
    }

    .wb-design-endoscopy__media img {
        object-position: 65% center;
    }

    .wb-design-endoscopy__media > span {
        background: linear-gradient(0deg, rgba(0, 118, 148, .98) 0%, rgba(0, 118, 148, .86) 68%, rgba(0, 118, 148, .36) 100%);
    }

    .wb-design-endoscopy__copy {
        top: auto;
        right: 26px;
        bottom: 86px;
        left: 26px;
        width: auto;
        transform: none;
    }

    .wb-design-endoscopy__copy > p {
        font-size: 13px;
    }

    .wb-design-endoscopy__copy h2 {
        font-size: 42px;
    }

    .wb-design-endoscopy__copy > span {
        margin-top: 18px;
        font-size: 15px;
    }

    .wb-design-endoscopy__media button {
        right: 18px;
        bottom: 18px;
    }

    .wb-design-facility__track {
        grid-auto-columns: 84%;
    }

    .wb-design-facility figure,
    .wb-design-facility figure img {
        min-height: 310px;
    }
}

@media (max-width: 360px) {
    .wb-design-hero__badges img { height: 39px; }
}

@media (prefers-reduced-motion: reduce) {
    .wb-design-hero__frame > video {
        display: none;
    }

    .wb-design-hero__frame > img,
    .wb-design-endoscopy__media img,
    .wb-design-facility figure img {
        transform: none !important;
    }

    .wb-design-facility__track {
        scroll-behavior: auto;
    }
}
