/* 라피끄 & 피트니스온 공통 스타일 */

:root{--ink:#151515;--sub:#666;--line:#e8e8e8;--paper:#fff;--soft:#f5f5f3}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{margin:0;font-family:Pretendard,'Noto Sans KR',Arial,sans-serif;color:var(--ink);background:var(--paper)}

button,a{font:inherit}

button{cursor:pointer}

a{text-decoration:none;color:inherit}

.wrap{max-width:1180px;margin:auto;padding:0 26px}

header{height:76px;position:sticky;top:0;z-index:10;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}

.nav{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}

.logo{font-size:17px;font-weight:900;letter-spacing:-.8px}

.logo small{font-size:10px;display:block;letter-spacing:2px;margin-top:3px}

.links{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:650}

.pill{border:1px solid #222;border-radius:30px;padding:11px 18px}

.hero{min-height:690px;background:#f1f1ef;position:relative;overflow:hidden;display:flex;align-items:center}

.hero:after{content:'FITNESS';position:absolute;right:-10px;bottom:-85px;font-size:clamp(120px,23vw,350px);font-weight:900;letter-spacing:-.11em;color:#e5e5e2;pointer-events:none}

.hero .wrap{position:relative;z-index:1;width:100%}

.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .8s;pointer-events:none;filter:brightness(.45)}

.hero.video-ready .hero-video{opacity:1}

.eyebrow{font-size:12px;font-weight:800;letter-spacing:3px;text-transform:uppercase}

.hero h1{font-size:clamp(58px,10vw,136px);letter-spacing:-.095em;line-height:.96;margin:26px 0 28px;font-weight:850}

.hero p{font-size:17px;line-height:1.8;color:#555;max-width:490px}

.cta{display:inline-flex;justify-content:center;align-items:center;gap:18px;background:#151515;color:white;border:1px solid #151515;padding:17px 25px;border-radius:3px;font-weight:700;font-size:14px;margin-top:24px}

.cta:hover{background:#333}

.cta.secondary{background:transparent;color:#151515}

.switch{display:flex;gap:9px;margin-top:45px}

.switch button{border:1px solid #bbb;border-radius:30px;padding:11px 21px;background:transparent;font-weight:700}

.switch button.active{background:#151515;color:white;border-color:#151515}

.section{padding:110px 0}

.section.soft{background:var(--soft)}

.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:35px}

.heading h2{font-size:clamp(35px,5vw,66px);letter-spacing:-.07em;line-height:1.08;margin:12px 0}

.heading p{color:var(--sub);line-height:1.7;max-width:360px}

.tour{min-height:410px;background:linear-gradient(130deg,#222,#525252);color:white;display:flex;align-items:center;justify-content:center;text-align:center;padding:35px}

.tour strong{font-size:45px;letter-spacing:-2px}

.tour p{color:#ddd;line-height:1.8}

.tour button{background:white;border:0;padding:14px 24px;font-weight:800;margin-top:15px}

.note{font-size:12px;color:#888;margin-top:14px}

.tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:28px}

.tabs button{background:white;border:1px solid #ddd;border-radius:40px;padding:12px 23px;font-weight:750}

.tabs button.active{background:#151515;color:white;border-color:#151515}

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

.card{border:1px solid #e3e3e3;background:#fff;padding:30px;min-height:260px;display:flex;flex-direction:column;align-items:start}

.card .badge{font-size:11px;letter-spacing:1px;font-weight:800;color:#777}

.card h3{font-size:25px;margin:24px 0 8px;letter-spacing:-1px}

.card .price{font-size:33px;font-weight:850;letter-spacing:-1.5px;margin:0}

.card p{font-size:13px;color:#777;line-height:1.7}

.card button{width:100%;background:#151515;color:#fff;border:0;padding:15px;font-weight:750;margin-top:auto}

.features{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}

.feature{background:#f3f3f3;min-height:180px;padding:24px;display:flex;align-items:end;font-size:22px;font-weight:800;letter-spacing:-1px}

.team{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

.person .placeholder{height:270px;background:linear-gradient(140deg,#e9e9e9,#ccc)}

.person h3{margin:18px 0 4px}

.person p{margin:0;color:#777;font-size:13px}

.location{display:grid;grid-template-columns:1fr 1fr;gap:22px}

.loc{border:1px solid var(--line);padding:35px}

.loc h3{font-size:28px}

.loc p{color:#666;line-height:1.8}

footer{padding:50px 0 110px;background:#171717;color:white}

footer p{color:#aaa;font-size:12px}

.bottom{display:none}

.modal{position:fixed;inset:0;background:#0009;z-index:30;display:none;align-items:center;justify-content:center;padding:18px}

.modal.show{display:flex}

.dialog{width:min(460px,100%);background:white;padding:32px;max-height:90vh;overflow:auto}

.dialog h2{margin:5px 0 10px}

.dialog label{display:block;margin-top:18px;font-size:13px;font-weight:700}

.dialog input{width:100%;border:1px solid #ccc;padding:13px;margin-top:7px;font-size:15px}

.dialog .actions{display:flex;gap:8px;margin-top:22px}

.dialog .actions button{flex:1;padding:14px;border:1px solid #111;background:white}

.dialog .actions button.primary{background:#111;color:white}

.muted{font-size:12px;color:#777;line-height:1.7}

.hidden{display:none!important}

@media(max-width:800px){header{height:66px}

.links a:not(.pill){display:none}

.hero{min-height:640px}

.hero h1{font-size:68px}

.section{padding:75px 0}

.heading{display:block}

.grid,.team{grid-template-columns:1fr 1fr}

.features{grid-template-columns:repeat(2,1fr)}

.location{grid-template-columns:1fr}

.bottom{display:block;position:fixed;bottom:0;left:0;right:0;background:white;padding:10px 16px max(10px,env(safe-area-inset-bottom));box-shadow:0 -4px 25px #0002;z-index:15}

.bottom a{display:block;background:#111;color:white;text-align:center;padding:16px;font-weight:800}

}

@media(max-width:520px){.wrap{padding:0 20px}

.hero h1{font-size:56px}

.hero p{font-size:14px}

.grid,.team{grid-template-columns:1fr}

.features{grid-template-columns:1fr 1fr}

.feature{min-height:130px;font-size:18px}

.tour{min-height:300px}

.tour strong{font-size:32px}

.card{min-height:240px}

}

/* v2 refinements */
.hero{background:radial-gradient(circle at 85% 28%,#dededb,transparent 38%),linear-gradient(125deg,#fafaf9,#eaeae7)}

.hero .eyebrow{display:inline-block;border-left:3px solid #111;padding-left:13px}

.hero h1{animation:rise .8s ease-out both}

.hero p{animation:rise 1s .1s ease-out both}

@keyframes rise{from{opacity:0;transform:translateY(25px)}

to{opacity:1;transform:translateY(0)}

}

.card{transition:transform .2s,box-shadow .2s}

.card:hover{transform:translateY(-5px);box-shadow:0 16px 35px #0000000b}

.branch-line{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;margin-top:17px;color:#444}

.branch-dot{width:8px;height:8px;border-radius:50%;background:#111}

.tour-panel{display:none;width:100%;height:480px;border:0}

.tour.has-tour{padding:0}

.tour.has-tour .tour-empty{display:none}

.tour.has-tour .tour-panel{display:block}

.dialog input[type=checkbox]{accent-color:#111}

.dialog select{width:100%;padding:13px;border:1px solid #ccc;background:white;margin-top:7px}

.legal{font-size:11px;color:#888;line-height:1.6}

.tag{font-size:10px;font-weight:800;border:1px solid #bbb;padding:5px 8px;border-radius:20px;margin-top:8px}

.status{margin-top:12px;padding:12px;background:#f5f5f3;font-size:12px;color:#555;line-height:1.6}

@media(max-width:520px){.tour-panel{height:360px}

}

button:disabled{opacity:.45;cursor:not-allowed}

.tour-panel{background:#222}

.sheet-info{font-size:12px;color:#777}


/* 회원권 신청 접수 완료 화면 */
.dialog.application-complete > :not(.application-success){display:none!important}
.application-success[hidden]{display:none!important}
.application-success{text-align:center;padding:15px 0 4px}
.success-icon{display:grid;place-items:center;width:62px;height:62px;margin:0 auto 18px;border-radius:50%;background:#151515;color:#fff;font-size:34px;font-weight:600}
.application-success h2{font-size:24px;line-height:1.35;margin:13px 0}
.application-success .muted{line-height:1.8}
.success-summary{margin-top:24px;border:1px solid #e8e8e5;border-radius:12px;overflow:hidden;text-align:left}
.success-summary>div{display:flex;justify-content:space-between;gap:14px;padding:12px 15px;border-bottom:1px solid #ededeb;font-size:13px;align-items:flex-start}
.success-summary>div:last-child{border-bottom:0}
.success-summary span{color:#777;flex-shrink:0}
.success-summary strong{text-align:right;overflow-wrap:anywhere}
.success-summary .success-state{color:#21834b}
.success-notice{font-size:12px;color:#777;line-height:1.6;margin:18px 0}
.success-return{width:100%;padding:15px 20px}


/* ===== 길동점 리뉴얼 / 기존 회원권·신청 로직은 변경하지 않음 ===== */
.gildong-refresh header{background:rgba(12,13,14,.96);border-bottom:1px solid rgba(255,255,255,.13);color:#fff;backdrop-filter:blur(20px)}
.gildong-refresh .brand-logo{display:flex;align-items:center;flex-shrink:0}
.gildong-refresh .brand-logo img{display:block;width:176px;height:auto;filter:invert(1);object-fit:contain}
.gildong-refresh .links{color:#e9e9e9}
.gildong-refresh .links .pill{border-color:#b7e95d;color:#b7e95d;transition:background .2s,color .2s}
.gildong-refresh .links .pill:hover{background:#b7e95d;color:#121512}
.gildong-refresh .rafik-hero{isolation:isolate;min-height:780px;background:#0b0d0d;color:#fff;overflow:hidden;display:flex;align-items:center;padding:100px 0 112px}
.gildong-refresh .rafik-hero::after{display:none}
.gildong-refresh .hero-atmosphere{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;background:radial-gradient(ellipse at 75% 35%,#202820 0%,#0b0d0d 57%)}
.gildong-refresh .hero-glow{position:absolute;width:60vw;height:60vw;min-width:550px;min-height:550px;right:-16%;top:-28%;background:radial-gradient(circle,rgba(178,234,97,.21),rgba(90,135,77,.08) 36%,transparent 68%);filter:blur(18px);animation:rafikGlow 11s ease-in-out infinite alternate}
.gildong-refresh .hero-orbit{position:absolute;border:1px solid rgba(201,244,145,.20);border-radius:50%;width:min(75vw,940px);aspect-ratio:1;right:-17%;top:-31%;transform:rotate(-23deg) scaleX(.83);box-shadow:0 0 80px rgba(175,228,112,.035),inset 0 0 70px rgba(175,228,112,.025);animation:rafikOrbit 24s linear infinite}
.gildong-refresh .orbit-two{width:min(58vw,740px);right:-9%;top:-17%;border-color:rgba(225,246,193,.12);animation-duration:32s;animation-direction:reverse}
.gildong-refresh .hero-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:90px 90px;mask-image:linear-gradient(to right,transparent 4%,#000 85%);opacity:.6}
.gildong-refresh .hero-content{z-index:1;position:relative;width:100%}
.gildong-refresh .hero-topline{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.23em;font-weight:750;color:#b7e95d;animation:rafikFadeUp .8s .08s both}
.gildong-refresh .hero-live-dot{height:7px;width:7px;border-radius:50%;background:#b7e95d;box-shadow:0 0 18px #b7e95d;animation:rafikPulse 2.2s ease-in-out infinite}
.gildong-refresh .hero-topline-divider{color:#6d786b}
.gildong-refresh .hero-title{margin:34px 0 30px;font-size:clamp(74px,11.3vw,160px);line-height:.91;letter-spacing:-.09em;font-weight:900}
.gildong-refresh .hero-title-line{display:block;overflow:hidden;padding:0 .08em .12em 0;margin-bottom:-.1em}
.gildong-refresh .hero-title-line>span{display:block;animation:rafikReveal 1.2s cubic-bezier(.16,1,.3,1) both}
.gildong-refresh .hero-title-line:nth-child(2)>span{animation-delay:.22s}
.gildong-refresh .hero-title-period{color:#b7e95d}
.gildong-refresh .hero-intro-row{display:flex;align-items:end;justify-content:space-between;gap:36px;animation:rafikFadeUp .9s .6s both}
.gildong-refresh .hero-intro-row p{margin:0;font-size:13px;line-height:1.85;letter-spacing:.14em;font-weight:750;color:#fff}
.gildong-refresh .hero-intro-row p span{font-size:14px;letter-spacing:-.025em;font-weight:400;color:#a6aba8}
.gildong-refresh .hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.gildong-refresh .hero-actions a{display:inline-flex;align-items:center;justify-content:space-between;gap:35px;padding:17px 22px;font-size:13px;font-weight:750;transition:transform .2s,background .2s}
.gildong-refresh .hero-actions a:hover{transform:translateY(-3px)}
.gildong-refresh .hero-primary{background:#b7e95d;color:#11160e}
.gildong-refresh .hero-secondary{border:1px solid rgba(255,255,255,.38);color:#fff}
.gildong-refresh .hero-secondary:hover{background:rgba(255,255,255,.1)}
.gildong-refresh .hero-bottom-row{margin-top:78px;display:flex;align-items:end;justify-content:space-between;gap:20px;animation:rafikFadeUp .9s .85s both}
.gildong-refresh .hero-branch-caption{display:block;font-size:11px;letter-spacing:.02em;color:#a6aba8}
.gildong-refresh .hero-bottom-row .switch{margin-top:14px}
.gildong-refresh .hero-bottom-row .switch button{color:#e7e7e7;border-color:#515a52;font-size:12px;padding:10px 18px}
.gildong-refresh .hero-bottom-row .switch button.active{background:#fff;color:#111;border-color:#fff}
.gildong-refresh .hero-scroll{font-size:10px;letter-spacing:.2em;color:#b7e95d;display:flex;gap:24px;align-items:center}
.gildong-refresh .hero-scroll span{font-size:24px;animation:rafikBounce 2s ease-in-out infinite}
.gildong-refresh .hero-ticker{position:absolute;bottom:0;left:0;right:0;height:43px;display:flex;align-items:center;background:#b7e95d;color:#10150e;overflow:hidden;z-index:2}
.gildong-refresh .hero-ticker-track{white-space:nowrap;width:max-content;display:flex;align-items:center;gap:28px;font-size:11px;font-weight:900;letter-spacing:.21em;animation:rafikTicker 28s linear infinite}
.gildong-refresh .hero-ticker-track span{font-size:17px}
@keyframes rafikReveal{from{transform:translateY(110%);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes rafikFadeUp{from{transform:translateY(22px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes rafikGlow{to{transform:translate(-8%,10%) scale(1.12);opacity:.65}}
@keyframes rafikOrbit{to{transform:rotate(337deg) scaleX(.83)}}
@keyframes rafikPulse{50%{opacity:.4;box-shadow:0 0 4px #b7e95d}}
@keyframes rafikBounce{50%{transform:translateY(7px)}}
@keyframes rafikTicker{to{transform:translateX(-50%)}}
@media(max-width:800px){.gildong-refresh .brand-logo img{width:140px}.gildong-refresh .rafik-hero{min-height:760px;padding:85px 0 115px}.gildong-refresh .hero-title{font-size:clamp(62px,11vw,105px)}.gildong-refresh .hero-intro-row{align-items:start;flex-direction:column;gap:24px}.gildong-refresh .hero-bottom-row{margin-top:55px}.gildong-refresh .hero-orbit{width:780px;right:-500px;top:-80px}.gildong-refresh .orbit-two{width:620px;right:-420px;top:0}}
@media(max-width:520px){.gildong-refresh .brand-logo img{width:120px}.gildong-refresh .links .pill{padding:10px 12px;font-size:11px}.gildong-refresh .rafik-hero{min-height:700px;padding:80px 0 100px}.gildong-refresh .hero-topline{font-size:9px;letter-spacing:.12em}.gildong-refresh .hero-title{font-size:clamp(54px,12.1vw,74px);margin:38px 0 30px}.gildong-refresh .hero-intro-row p span{font-size:12px}.gildong-refresh .hero-actions{width:100%}.gildong-refresh .hero-actions a{gap:14px;padding:15px 16px;font-size:12px;flex:1}.gildong-refresh .hero-bottom-row{align-items:start;flex-direction:column;gap:28px;margin-top:48px}.gildong-refresh .hero-scroll{display:none}.gildong-refresh .hero-ticker{height:38px}}
@media(prefers-reduced-motion:reduce){.gildong-refresh .rafik-hero *, .gildong-refresh .rafik-hero *::before,.gildong-refresh .rafik-hero *::after{animation:none!important;transition:none!important}}

/* 04 Timetable */
.features{grid-template-columns:repeat(4,1fr)}
[data-page-branch="gildong"] .features{grid-template-columns:repeat(3,1fr)}
.timetables{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.timetable{margin:0;background:white;border:1px solid var(--line);padding:22px}
.timetable figcaption{font-size:12px;font-weight:800;letter-spacing:3px;margin-bottom:16px}
.timetable img{display:block;width:100%;height:auto}
.timetable-empty{display:none;min-height:360px;align-items:center;justify-content:center;background:var(--soft);color:#888;font-weight:700}
.timetable.is-empty a{display:none}
.timetable.is-empty .timetable-empty{display:flex}

/* 05 Location */
.location{grid-template-columns:1.4fr 1fr}
.map{min-height:380px;background:#ecece9;border:1px solid var(--line)}
.map-empty{height:100%;min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.map-empty strong{font-size:28px;letter-spacing:-1px}
.map-empty a{border-bottom:1px solid #151515;font-weight:700;font-size:14px}
.loc-info{display:grid;grid-template-columns:70px 1fr;gap:12px 10px;margin:24px 0 8px;line-height:1.7}
.loc-info dt{font-size:12px;font-weight:800;letter-spacing:1px;color:#999;padding-top:2px}
.loc-info dd{margin:0;color:#333;word-break:keep-all}
.loc-info a{color:#151515;font-weight:700}
.gildong-refresh .hero-bottom-row{justify-content:flex-end}
@media(max-width:800px){.features{grid-template-columns:repeat(2,1fr)}.timetables,.location{grid-template-columns:1fr}.map,.map-empty{min-height:300px}}
.map.has-map{background:none;border:0;min-height:0}
.map .root_daum_roughmap{width:100%!important}
.map-frame{display:block;width:100%;height:380px;border:0}
@media(max-width:800px){.map-frame{height:300px}}
.map .root_daum_roughmap .cont{display:none!important}

/* 03 Programs gallery */
.feature{position:relative;border:0;min-height:260px;color:white;text-align:left;background-color:#2b2f2c;background-size:cover;background-position:center;overflow:hidden;cursor:pointer}
.feature:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#0000 40%,#000a);transition:opacity .3s}
.feature span{position:relative}
.feature:hover:before{opacity:.6}
.gallery{position:relative;width:min(960px,100%);background:#111;color:white}
.gallery-head{display:flex;align-items:center;gap:14px;padding:16px 20px}
.gallery-head h2{margin:0;font-size:20px;letter-spacing:-.5px}
.gallery-count{font-size:13px;color:#aaa;font-weight:700}
.gallery-close{margin-left:auto;border:0;background:none;color:white;font-size:28px;line-height:1}
.gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.gallery-track::-webkit-scrollbar{display:none}
.gallery-track img{flex:0 0 100%;width:100%;aspect-ratio:4/3;object-fit:cover;scroll-snap-align:start;display:block}
.gallery-nav{position:absolute;top:55%;transform:translateY(-50%);width:46px;height:46px;border-radius:50%;border:0;background:#fffd;color:#111;font-size:20px;font-weight:800}
.gallery-nav.prev{left:14px}
.gallery-nav.next{right:14px}
.gallery-nav:disabled{opacity:0;pointer-events:none}
@media(max-width:800px){.feature{min-height:200px}}
@media(max-width:520px){.gallery-modal{padding:0}.gallery-nav{width:38px;height:38px;font-size:16px}}
.feature{aspect-ratio:9/11;min-height:0}
.gallery-track img{aspect-ratio:auto;height:min(76vh,760px);object-fit:contain;background:#111}
@media(max-width:800px){.feature{min-height:0}}

/* ===== 모바일 최적화 (광고 유입 대응) ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-tap-highlight-color:transparent}
section[id]{scroll-margin-top:76px}
.dialog input,.dialog select{font-size:16px}
.dialog{max-height:90dvh}
.gildong-refresh .bottom{background:#0c0d0e;box-shadow:0 -1px 0 rgba(255,255,255,.12)}
.gildong-refresh .bottom a{background:#b7e95d;color:#11160e}
@media(max-width:800px){
section[id]{scroll-margin-top:66px}
.gildong-refresh .rafik-hero{min-height:calc(100vh - 66px);min-height:calc(100svh - 66px)}
.bottom{transform:translateY(110%);transition:transform .3s}
body.show-bottom-cta .bottom{transform:none}
.card{min-height:0}
.card:hover{transform:none;box-shadow:none}
.tour-panel{height:420px}
}
@media(max-width:520px){
.gildong-refresh .rafik-hero{padding:56px 0 84px}
.gildong-refresh .hero-title{font-size:clamp(46px,13vw,74px);margin:28px 0 24px}
.gildong-refresh .hero-bottom-row{display:none}
.gildong-refresh .hero-actions a{flex:1 1 0;min-width:0;white-space:nowrap}
.section{padding:60px 0}
.heading{margin-bottom:24px}
.heading h2{font-size:34px}
.tabs{flex-wrap:nowrap;overflow-x:auto;margin:0 -20px 22px;padding:0 20px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tabs button{flex-shrink:0;padding:11px 18px}
.card{padding:24px}
.card h3{font-size:22px;margin-top:16px}
.card .price{font-size:28px}
.features{gap:8px}
.feature{padding:16px;font-size:16px}
.tour{padding:24px 18px}
.timetable{padding:14px}
.loc{padding:24px}
.loc-info{grid-template-columns:56px 1fr}
.loc .cta{display:flex;width:100%}
.modal:not(.gallery-modal){padding:0;align-items:flex-end}
.dialog{width:100%;padding:24px 20px max(24px,env(safe-area-inset-bottom));max-height:92dvh;border-radius:16px 16px 0 0}
.gallery-track img{height:auto;max-height:70dvh}
}

/* 04 Timetable (길동점: 시간표 이미지 + 확대 팝업) */
.schedule{background:#fff;border:1px solid var(--line);padding:24px}
.schedule-tabs{display:inline-flex;gap:4px;padding:4px;margin-bottom:18px;background:var(--soft);border-radius:40px}
.schedule-tabs button{border:0;background:none;color:#777;border-radius:40px;padding:11px 26px;font-size:13px;font-weight:850;letter-spacing:.14em}
.schedule-tabs button.active{background:#151515;color:#fff}
.schedule-image{position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.schedule-image img{display:block;width:100%;height:auto}
.schedule-zoom{position:absolute;right:12px;top:12px;padding:9px 14px;border-radius:30px;background:#151515e6;color:#fff;font-size:12px;font-weight:750}
.timetable-modal{padding:0;background:#0c0d0e}
.timetable-viewer{display:flex;flex-direction:column;width:100%;height:100%;color:#fff}
.timetable-zoom{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;padding:12px;-webkit-overflow-scrolling:touch}
.timetable-zoom img{display:block;width:min(100%,1400px);height:auto;max-height:100%;object-fit:contain;cursor:zoom-in;background:#fff}
.timetable-zoom.zoomed{display:block;padding:0}
.timetable-zoom.zoomed img{width:max(220%,1400px);max-width:none;max-height:none;cursor:zoom-out}
@media(max-width:520px){.schedule{padding:14px;margin:0 -20px;border-left:0;border-right:0}.schedule-tabs{display:flex}.schedule-tabs button{flex:1}.schedule-zoom{right:8px;top:8px;padding:7px 11px;font-size:11px}.timetable-modal .gallery-count{font-size:11px}}

/* Footer */
footer{padding:64px 0 48px;background:#0c0d0e;color:#fff}
.footer-top{display:grid;grid-template-columns:1.4fr 1.2fr 1fr;gap:40px;padding-bottom:36px;border-bottom:1px solid #ffffff1f}
.footer-brand img{display:block;width:150px;height:auto;filter:invert(1)}
footer .footer-brand p{margin:18px 0 0;font-size:13px;line-height:1.8;color:#a6aba8}
.footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:9px;font-size:13px;color:#a6aba8}
.footer-col strong{margin-bottom:4px;font-size:12px;letter-spacing:.14em;color:#b7e95d}
.footer-col a:hover{color:#fff}
.footer-legal{padding-top:24px}
footer .footer-legal p{margin:0 0 6px;font-size:12px;line-height:1.7;color:#6d736f}
.footer-legal i{font-style:normal;margin:0 8px;color:#3a3f3b}
@media(max-width:800px){footer{padding:48px 0 calc(110px + env(safe-area-inset-bottom))}.footer-top{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:1/-1}}

/* 개인정보처리방침 */
.policy{max-width:820px}
.policy h1{margin:14px 0 18px;font-size:clamp(34px,5vw,52px);letter-spacing:-.05em}
.policy-lead{margin:0 0 40px;font-size:15px;line-height:1.85;color:#555}
.policy h2{margin:40px 0 12px;padding-top:24px;border-top:1px solid var(--line);font-size:19px;letter-spacing:-.03em}
.policy p,.policy li{font-size:14px;line-height:1.85;color:#444}
.policy ul{margin:0 0 10px;padding-left:20px}
.policy a{text-decoration:underline}
.policy-table{width:100%;margin:10px 0 14px;border-collapse:collapse;font-size:14px}
.policy-table th,.policy-table td{padding:12px 14px;border:1px solid var(--line);text-align:left;line-height:1.6;color:#444}
.policy-table th{width:120px;background:var(--soft);color:#151515;font-weight:750}
.privacy-page footer{padding:32px 0}
footer .footer-legal a.privacy-link{color:#fff;font-weight:750}
.legal a{text-decoration:underline}

/* 메인 영상: 첫 장면 이미지(poster)를 영상이 불러와지기 전부터 보여줍니다 */
.hero-video[poster]{opacity:1}

/* 이벤트 배너 (02 Membership 위) */
.event-banner{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px;padding:30px 34px;background:#0c0d0e;color:#fff}
.event-banner:after{content:'';position:absolute;right:-80px;top:-120px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,#b7e95d40,transparent 68%);pointer-events:none}
.event-copy{position:relative;z-index:1}
.event-label{display:inline-block;padding:5px 11px;border-radius:30px;background:#b7e95d;color:#11160e;font-size:11px;font-weight:900;letter-spacing:.16em}
.event-copy strong{display:block;word-break:keep-all;margin-top:14px;font-size:clamp(22px,3vw,30px);letter-spacing:-.04em;line-height:1.3}
.event-copy p{margin:8px 0 0;word-break:keep-all;font-size:14px;line-height:1.7;color:#c9ccca}
.event-copy small{display:block;margin-top:10px;font-size:12px;font-weight:750;letter-spacing:.06em;color:#b7e95d}
.event-cta{position:relative;z-index:1;flex-shrink:0;border:0;background:#b7e95d;color:#11160e;padding:16px 22px;font-size:14px;font-weight:800}
.event-cta:hover{background:#c9f27f}
.event-banner[hidden]{display:none}
@media(max-width:700px){.event-banner{flex-direction:column;align-items:stretch;padding:24px 20px}.event-cta{width:100%}}

/* 네이버 톡톡 상담 버튼 (화면 오른쪽 아래 고정) */
.talk-float{position:fixed;right:22px;bottom:22px;z-index:14;display:flex;align-items:center;gap:8px;padding:13px 18px 13px 13px;border-radius:40px;background:#03c75a;color:#fff;font-size:14px;font-weight:800;box-shadow:0 8px 24px #0003;transition:transform .2s,bottom .3s}
.talk-float b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;color:#03c75a;font-size:13px;font-weight:900}
.talk-float:hover{transform:translateY(-3px)}
.talk-float[hidden]{display:none}
@media(max-width:800px){.talk-float{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));padding:11px 15px 11px 11px;font-size:13px}body.show-bottom-cta .talk-float{bottom:calc(86px + env(safe-area-inset-bottom))}}
@media(max-width:520px){.talk-float{padding:0;width:50px;height:50px;justify-content:center}.talk-float span{display:none}.talk-float b{width:30px;height:30px;font-size:16px}}

/* 03 Programs: 팝업 영상 (세로 영상에 맞춰 창 너비를 줄입니다) */
.gallery.is-video{width:min(460px,100%)}
.gallery-track video{flex:0 0 100%;display:block;width:100%;height:min(76vh,760px);background:#111;scroll-snap-align:start}
@media(max-width:520px){.gallery-track video{height:auto;max-height:78dvh}}
