/* 메인 공통 */
.upic-main {overflow:hidden;}
.sub-tit h2,.sub-tit h3 {line-height:1;}


/* 메인 비주얼 */
.visual-section {position:relative; height:100svh; min-height:620px; background:#133a30 url('/images/upic/hero-poster.png') center/cover no-repeat; display:flex; align-items:center; justify-content:center; overflow:hidden;}
.visual-video {position:absolute; inset:0; pointer-events:none;}
.visual-video iframe {position:absolute; top:50%; left:50%; width:100vw; height:56.25vw; min-width:177.78svh; min-height:100%; transform:translate(-50%,-50%);}
.visual-section::before {content:""; position:absolute; inset:0; background:#001e182b; z-index:1;}
.visual-text {position:relative; z-index:2; color:white; text-align:center; padding:20px;}
.visual-text p {font-size:32px; letter-spacing:-.05em; margin-bottom:40px;}
.visual-text h1 img {width:270px; height:100px; margin:auto;}

@media(max-width:1080px) {
    .visual-section {height:100svh; min-height:640px;}
    .visual-text {padding-bottom:118px;}
    .visual-text p {font-size:16px; margin-bottom:20px;}
    .visual-text h1 img {width:122px; height:45px;}
}


/* 이벤트 : 한 줄 슬라이더 */
.event-section {background:#fff; overflow:hidden;}
.event-section .sub-inner {max-width:none; padding:0;}
.event-section .sub-tit {padding:0 20px;}
.event-carousel {width:100%; overflow:visible; touch-action:pan-y;}
.event-track {display:flex; flex-wrap:nowrap; align-items:flex-start; gap:13px;}
.event-carousel:not(.swiper-initialized) .event-track {justify-content:center;}
.event-carousel.swiper-initialized .event-track {gap:0;}
.event-carousel .event-slide {flex:0 0 370px; width:370px; height:auto; min-width:0;}
.event-card {display:block; min-width:0;}
.event-card .imgbox {aspect-ratio:1; border:1px solid #e0e0e0; overflow:hidden;}
.event-card img {width:100%; height:100%; object-fit:cover; transition:transform .4s;}
.event-card:hover img {transform:scale(1.025);}
.event-card h3 {font-size:24px; font-weight:500; margin-top:12px; line-height:1.4;}

@media(max-width:1080px) {
    .event-track {gap:12px;}
    .event-carousel .event-slide {flex-basis:304px; width:304px;}
    .event-card h3 {font-size:16px; margin-top:8px;}
}
@media(min-width:768px) and (max-width:1080px) {
    .event-track {gap:14px;}
}


/* 솔루션 */
.solution-arrow .arrow-mask {width:80px; animation:none;}
.solution-section {position:relative; background:var(--mint);}
.solution-section > .sub-tit {position:absolute; left:0; right:0; top:180px; z-index:2; pointer-events:none;}
.solution-list {display:flex;}
.solution-item {position:relative; flex:1; min-width:0; height:1000px; padding:40px clamp(20px,2.08vw,40px) 180px; display:flex; align-items:flex-end; isolation:isolate; overflow:hidden;}
.solution-bg {position:absolute; inset:0; z-index:-1; opacity:0; transform:none; transition:opacity .8s ease; overflow:hidden;}
.solution-bg img {width:100%; height:100%; object-fit:cover;}
.solution-copy {position:relative; display:flex; flex-direction:column; gap:40px; width:100%; transform:translateY(0); transition:transform .8s cubic-bezier(.175,.885,.32,1.275);}
.solution-copy h3 {font-size:40px; font-weight:400; line-height:1.2;}
.solution-line {width:25px; height:1px; background:#222;}
.solution-copy strong {font-size:18px; line-height:1.2;}
.solution-copy p {font-size:16px; font-weight:300; line-height:1.2; letter-spacing:-.04em; word-break:keep-all;}
.solution-arrow {position:absolute; top:calc(100% + 40px); left:0; display:flex; align-items:center; justify-content:center; width:168px; height:42px; border:1px solid var(--green); border-radius:99px; opacity:0; transform:translateY(16px); transition:opacity .8s ease,transform .8s cubic-bezier(.175,.885,.32,1.275);}
.solution-arrow .arrow-mask img {width:80px; height:8px;}
.solution-item:hover .solution-bg,.solution-item:focus-within .solution-bg {opacity:1; transform:none;}
.solution-item:hover .solution-arrow,.solution-item:focus-within .solution-arrow {opacity:1; transform:none;}

@media(max-width:1080px) {
    .solution-section {padding-top:200px;}
    .solution-section > .sub-tit {top:80px;}
    .solution-list {flex-direction:column;}
    .solution-item {flex:auto; height:140px; padding:40px 20px; align-items:flex-end;}
    .solution-bg {opacity:1; transform:none;}
    .solution-copy {min-height:0; gap:10px; padding:0;}
    .solution-copy h3 {font-size:25px; line-height:1.2; letter-spacing:-.04em;}
    .solution-copy h3 br {display:none;}
    .solution-copy strong {font-size:14px; padding-right:90px;}
    .solution-copy p,.solution-line {display:none;}
    .solution-arrow {opacity:1; transform:none; left:auto; top:auto; bottom:0; right:0; width:80px; height:20px; margin:0; background:transparent;}
    .solution-item:hover .solution-copy,.solution-item:focus-within .solution-copy {transform:none;}
    .solution-arrow .arrow-mask {width:40px; height:8px; animation:none;}
    .solution-arrow .arrow-mask img {width:40px; height:8px;}
}
@media(min-width:1081px) {
    .solution-item:hover .solution-copy,.solution-item:focus-within .solution-copy {transform:translateY(-86px);}
    .solution-copy h3 {min-height:96px; overflow-wrap:anywhere;}
    .solution-copy p {min-height:38px;}
    .solution-arrow {height:46px;}
}
@media(min-width:1081px)and(max-width:1600px) {
    .solution-item {padding-left:12px; padding-right:12px;}
    .solution-copy h3 {min-height:144px; letter-spacing:-.04em;}
    .solution-copy p {min-height:96px;}
}


/* 브랜드 소개 */
.greenery-section {display:flex; flex-direction:column; align-items:center; gap:40px; padding:80px 20px; background:#103329 url('/images/upic/greenery.png') center/cover no-repeat; color:#fff; text-align:center;}
.brand-mark {width:200px; height:100px; object-fit:contain;}
.brand-mark-top {transform:rotate(180deg);}
.greenery-section h2 {font-size:60px; font-weight:700; line-height:1;}
.greenery-section p {font-size:24px; letter-spacing:-.05em; line-height:1.4;}

@media(max-width:1080px) {
    .greenery-section {padding:40px 20px; gap:25px;}
    .brand-mark {width:80px; height:40px;}
    .greenery-section h2 {font-size:26px;}
    .greenery-section p {font-size:16px; max-width:420px;}
}


/* 디바이스 · 인기 시술 */
.device-section {padding:180px 0; overflow:hidden; background:#f9f9f9;}
.device-section .sub-inner {max-width:1440px; padding:0; margin:0 auto;}
.device-section .device-gallery {position:relative;}
.device-section .swiper {width:100%; height:100%;}
.device-section .swiper-wrapper {align-items:stretch;}
.device-section .swiper-slide {display:flex; flex-direction:column; align-items:center; position:relative; will-change:width, height, transform;}
.device-section .swiper-slide .imgbox {position:relative; overflow:hidden; border-radius:16px; margin:0 auto; transition:width .6s ease, height .6s ease, margin-top .6s ease;}
.device-section .swiper-slide .imgbox img {display:block; width:100%; height:100%; object-fit:cover;}
.device-section .swiper-slide .tag {position:absolute; left:20px; bottom:28px; z-index:2;}
.device-section .swiper-slide .tag p {width:fit-content; margin:0 0 4px; padding:5px 10px; text-align:left; color:#fff; background:rgba(0,89,76,.6); border-radius:19px; font-size:14px; font-weight:400; line-height:1.5; letter-spacing:-.05em;}
.device-section .swiper-slide .textbox {width:max-content; max-width:calc(100vw - 40px); flex-shrink:0; margin-top:32px; opacity:0; transform:translateY(8px); transition:opacity .35s ease .1s, transform .35s ease .1s; pointer-events:none;}
.device-section .swiper-slide .textbox em {display:block; color:var(--green); font-size:14px; font-weight:700; line-height:1.2; letter-spacing:-.04em;}
.device-section .swiper-slide .textbox h4 {margin:20px 0 0; color:#222; font-size:22px; font-weight:700; line-height:1.2; letter-spacing:-.04em;}
.device-section .swiper-slide .textbox p {margin:20px 0 0; color:#666; line-height:1.2; letter-spacing:-.04em; word-break:keep-all;}
.device-section .swiper-slide-active .textbox {opacity:1; transform:none; pointer-events:auto;}
.device-section .sub-tit {margin-bottom:80px;}
.device-section .sub-tit h3 {font-size:60px; color:var(--green); font-family:var(--font-english);}
.device-section .textbox {text-align:center;}
.device-section .textbox .detail-btn {width:204px; margin-top:50px; font-size:16px;}
.device-section .detail-btn img {height:8px;}

@media(min-width:1080px) {
    .device-section {display:block;}
    .device-section .device-swiper .swiper-slide {width:auto; padding-top:420px;}
    .device-section .device-swiper .swiper-slide .imgbox {position:absolute; left:50%; top:0; transform:translateX(-50%); width:280px; height:360px; margin-top:calc((420px - 360px) / 2); border-radius:16px; overflow:hidden; transition:height .6s ease, margin-top .6s ease;}
    .device-section .device-swiper .swiper-slide-active .imgbox {width:280px; height:420px; margin-top:0;}
}
@media(max-width:767px) {
    .device-section {padding:100px 0;}
    .device-section .device-swiper .swiper-slide {width:280px !important; padding-top:420px; flex-shrink:0;}
    .device-section .device-swiper .swiper-slide .imgbox {position:absolute; top:0; left:50%; transform:translateX(-50%); width:280px; height:360px; margin-top:30px; transition:height .6s ease, margin-top .6s ease;}
    .device-section .device-swiper .swiper-slide-active .imgbox {width:280px; height:420px; margin-top:0;}
}
@media(max-width:1080px) {
    .device-section {padding:80px 0; background:#fff;}
    .device-section .sub-tit {margin-bottom:40px;}
    .device-section .sub-tit h3 {font-size:26px;}
}
@media(min-width:768px)and(max-width:1079px) {
    .device-section .swiper-slide .imgbox {width:100%; height:360px;}
    .device-section .swiper-slide-active .imgbox {height:420px;}
}


/* 공간 소개 */
.space-section {background:#fff; overflow:hidden;}
.space-swiper {overflow:visible;}
.space-swiper .swiper-slide {width:min(1031px,70vw); aspect-ratio:1031/580; height:auto; border-radius:20px; overflow:hidden; opacity:.5; transition:opacity .6s; box-shadow:0 4px 14px #0002;}
.space-swiper .swiper-slide-active {opacity:1;}
.space-swiper img {width:100%; height:100%; object-fit:cover;}

@media(max-width:1080px) {
    .space-section {background:#f9f9f9;}
    .space-swiper .swiper-slide {width:calc(100% - 40px); max-width:700px; border-radius:6.207px;}
    .space-section .sub-tit p {max-width:520px; margin-left:auto; margin-right:auto;}
}


/* 유튜브 영상 */
.archive-thumbnail-viewport {position:relative; overflow:hidden;}
.archive-thumbnail-viewport .archive-thumbnails-outgoing {position:absolute; inset:0; pointer-events:none;}
.archive-section {background:var(--cream);}
.archive-inner {max-width:1200px; padding:0 80px; margin:auto;}
.archive-player {aspect-ratio:16/9; position:relative; background:#043b33;}
.archive-player iframe {width:100%; height:100%; display:block;}
.archive-categories {display:flex; justify-content:center; flex-wrap:wrap; gap:16px; margin-top:40px;}
.archive-categories button {padding:12px 30px; border:1px solid #626262; border-radius:99px; font-size:20px;}
.archive-categories button[aria-pressed="true"] {background:var(--green); border-color:var(--green); color:white;}
.archive-thumbnails {display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:40px;}
.video-thumb {position:relative; aspect-ratio:16/9; overflow:hidden; border:2px solid transparent;}
.video-thumb img {width:100%; height:100%; object-fit:cover; transition:transform .3s;}
.video-thumb:hover img {transform:scale(1.04);}
.video-thumb[aria-pressed="true"] {border-color:var(--green);}
.video-thumb[aria-pressed="true"]::after {content:"선택됨"; position:absolute; bottom:0; left:0; padding:3px 8px; color:#fff; background:var(--green); font-size:12px;}
.archive-controls {gap:22px; color:var(--green); font-size:13px; position:absolute; inset:0 -80px; display:flex; justify-content:space-between; align-items:center; margin:0; pointer-events:none;}
.archive-controls button {width:30px; height:30px; pointer-events:auto; flex:none;}
.archive-controls [data-video-next] img {transform:rotate(180deg);}
.archive-controls button:disabled {opacity:.3; cursor:default;}
.archive-navigation {position:relative; margin-top:40px;}
.archive-navigation .archive-thumbnails {margin-top:0;}

@media(max-width:1080px) {
    .archive-inner {max-width:740px; padding:0 20px;}
    .archive-thumbnails {grid-template-columns:repeat(2,1fr); gap:10px; margin-top:20px;}
    .archive-categories {gap:10px; margin-top:20px;}
    .archive-categories button {padding:8px 20px; font-size:16px;}
    .archive-navigation {margin:20px 0 0;}
    .archive-controls {position:static; inset:auto; justify-content:center; gap:16px; margin-top:20px;}
    .archive-controls button {width:29.268px; height:30px;}
}
