/* ── 모션 레이어: 배경 영상·사진 히어로, 사진 띠, 영상 카드, 스크롤 등장, 숫자 카운트 ──
   site.css 뒤에 불러오며, 기존 스타일은 건드리지 않고 덧씌우기만 합니다. */

/* 배경 미디어 히어로 */
.nv-hero.has-media{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;min-height:min(86svh,820px);padding-top:96px;padding-bottom:64px}
.nv-hero.has-media .nv-hero__inner{position:relative;width:100%}
.nv-hero__media{position:absolute;inset:0;z-index:-2;background:var(--navy)}
.nv-hero__media video,.nv-hero__media img{width:100%;height:100%;object-fit:cover;object-position:var(--hero-pos,50% 40%)}
.nv-hero__media img{transform-origin:var(--hero-pos,50% 40%);animation:mo-kenburns 16s cubic-bezier(.16,1,.3,1) both}
.nv-hero.has-media::after{content:"";position:absolute;inset:0;z-index:-1;background:
  radial-gradient(ellipse at 50% 45%,rgba(58,42,30,.35),rgba(58,42,30,.7) 75%),
  linear-gradient(180deg,rgba(58,42,30,.55) 0%,rgba(58,42,30,.35) 35%,rgba(58,42,30,.6) 70%,rgba(58,42,30,.92) 100%)}
.nv-hero.has-media h1,.nv-hero.has-media .nv-hero__lead{text-shadow:0 2px 18px rgba(0,0,0,.35)}
.nv-hero.has-media .nv-pill{background:rgba(58,42,30,.6);border-color:rgba(255,255,255,.28)}
.nv-hero.has-media .nv-hero__lead{color:#dfe8ec}
@keyframes mo-kenburns{from{transform:scale(1.12)}to{transform:scale(1)}}

/* 실제 수업 사진 띠 */
.mo-marquee{padding:22px 0;overflow:hidden;background:var(--navy)}
.mo-marquee__row{display:flex;gap:10px;width:max-content;animation:mo-flow 50s linear infinite}
.mo-marquee__row + .mo-marquee__row{margin-top:10px;animation-direction:reverse;animation-duration:58s}
.mo-marquee img{width:clamp(120px,16vw,190px);aspect-ratio:1;border-radius:16px;object-fit:cover;background:#d9cbb8}
.mo-marquee:hover .mo-marquee__row{animation-play-state:paused}
@keyframes mo-flow{to{transform:translateX(-50%)}}

/* 영상 카드 (코칭 장면) */
.mo-video-card{position:relative;overflow:hidden;margin:0;border:1px solid var(--line);border-radius:22px;background:var(--navy)}
.mo-video-card video{display:block;width:100%;aspect-ratio:4/5;object-fit:cover}
.mo-video-card figcaption{padding:17px 18px;background:#fff;font-size:.92rem;font-weight:800;line-height:1.55}
.mo-video-card__tag{position:absolute;left:14px;top:14px;display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:rgba(58,42,30,.78);color:#fff;font-size:12px;font-weight:700}
.mo-video-card__tag i{width:6px;height:6px;border-radius:50%;background:var(--mint)}

/* 약도 */
.nv-map{margin:0;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#f0e8db}
.nv-map__img{position:relative;display:block}
.nv-map__img img{display:block;width:100%;height:auto}
.nv-map__zoom{position:absolute;right:12px;top:12px;padding:6px 12px;border-radius:999px;background:rgba(58,42,30,.78);color:#fff;font-size:12px;font-weight:700}
.nv-map figcaption{display:grid;gap:10px;padding:16px 18px 18px;background:#fff;font-size:.92rem;line-height:1.6;color:var(--ink-soft)}
.nv-map figcaption b{color:var(--ink)}
.nv-map__links{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.82rem}
.nv-map__links a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.nv-map-wide{max-width:560px;margin:34px auto 0}
/* 접었다 펼치는 약도 */
.nv-map-toggle > summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 22px;border:1.5px solid var(--green);border-radius:999px;background:#fff;color:var(--green);font-weight:800;font-size:1rem;cursor:pointer;transition:background .2s,color .2s}
.nv-map-toggle > summary::-webkit-details-marker{display:none}
.nv-map-toggle > summary::before{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat}
.nv-map-toggle > summary::after{content:"";width:9px;height:9px;margin-left:2px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .25s}
.nv-map-toggle[open] > summary{background:var(--green);color:#fff}
.nv-map-toggle[open] > summary::after{transform:translateY(2px) rotate(-135deg)}
.nv-map-toggle > .nv-map{margin-top:14px}

@media (prefers-reduced-motion:reduce){
  .nv-hero__media img{animation:none!important}
  .mo-marquee__row{animation:none}.mo-marquee{overflow-x:auto}
}

/* ── 디자인 기준 정리 ── */
html{color-scheme:light;accent-color:var(--green)}
::selection{background:#ead9c2;color:var(--ink)}
:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.section--ink :focus-visible,.primary-cta :focus-visible,.nv-hero :focus-visible,.site-footer :focus-visible,.site-header :focus-visible{outline-color:var(--mint)}
.mobile-sticky-cta__action:focus-visible{outline:2px solid var(--green)}
h1,h2,h3{text-wrap:balance}
p{text-wrap:pretty}
.nv-hero h1,.section-title,h2,h3{letter-spacing:-.03em}
.nv-logo span{font-family:'Noto Sans KR',sans-serif}

/* 도입 문장 (제목 위 라벨 대신) */
.lead-in{margin:0 0 10px;color:var(--ink-soft);font-size:1.02rem;font-weight:500;line-height:1.6}
.section--ink .lead-in,.primary-cta .lead-in{color:#c5d2d9}

/* 선 아이콘 (기호 대신) */
.ico{display:inline-block;width:1em;height:1em;margin-left:.3em;vertical-align:-.12em;background:currentColor}
.ico--out{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l6-6M6 5h5v5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l6-6M6 5h5v5'/%3E%3C/svg%3E") center/contain no-repeat}
.ico--right{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center/contain no-repeat}
.ico--down{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v10M4 9l4 4 4-4'/%3E%3C/svg%3E") center/contain no-repeat}
.check-list li::before{content:"";top:.32em;width:1em;height:1em;background:var(--green);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E") center/contain no-repeat}
.nv-meta span:before{content:"";display:inline-block;width:1em;height:1em;margin-right:6px;vertical-align:-.15em;background:var(--mint);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E") center/contain no-repeat}
.faq-item summary::after,.review-disclosure>summary::after{content:"";flex:0 0 18px;width:18px;height:18px;background:var(--green);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v10M3 8h10'/%3E%3C/svg%3E") center/contain no-repeat}
.faq-item[open] summary::after,.review-disclosure[open]>summary::after{content:"";-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10'/%3E%3C/svg%3E") center/contain no-repeat}

/* 장식용 블러·색 테두리 제거 */
.site-header{-webkit-backdrop-filter:none;backdrop-filter:none}
.menu-scrim{backdrop-filter:none}
.safety-notice{border:1px solid #d9c7c5}
.landing-path-grid+.safety-notice{border:0;border-top:1px solid var(--line)}
.detail-note{padding:17px 0 0;border-left:0;border-top:1px solid var(--line);background:transparent}

/* 같은 모양 카드 반복 → 목록 */
.landing-concern-grid{gap:0;grid-template-columns:1fr!important;border-top:1px solid var(--line)}
.landing-concern-card{display:block;padding:18px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.landing-concern-card>span{display:none}
.landing-consult-grid{gap:0}
.landing-consult-grid article{padding:18px 0}
.landing-consult-grid article>span{display:none}

/* 큰 숫자 지표 → 설명이 붙은 줄 목록 */
.landing-metric-grid{gap:0;grid-template-columns:1fr!important;max-width:760px;margin-inline:auto;border-top:1px solid rgba(255,255,255,.17)}
.landing-metric-card{display:grid;grid-template-columns:104px 1fr;column-gap:16px;padding:20px 0;border:0;border-bottom:1px solid rgba(255,255,255,.17);border-radius:0;background:transparent}
.landing-metric-card>p:first-child{grid-row:1 / span 2;margin:0}
.landing-metric-card>p:first-child strong{font-size:2.3rem;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.landing-metric-card>p:first-child span{font-size:.92rem}
.landing-metric-card h3{margin:4px 0 6px}
.landing-metric-card>p:last-child{color:#c5d2d9;font-size:.95rem}
.detail-metric-row p{border:0;border-radius:0;background:transparent;padding:10px 6px}
.detail-metric-row p+p{border-left:1px solid var(--line)}

/* 가격 카드 */
.nv-trial__price b,.price-band__figures strong{letter-spacing:-.03em;font-variant-numeric:tabular-nums}

/* 작은 글자 기준 (13px 미만 정리) */
.site-footer h2,.site-footer__bottom,.site-footer__bottom span,.mobile-sticky-cta__info small,.nv-trial small,.detail-card-number,.detail-info-box dt,.landing-location__facts dt,.landing-location__note,.landing-metrics__note small,.landing-path-card__label,.price-band__note,.price-band__note a,.price-band__figures small,.mo-video-card__tag,.nv-map__zoom,.notice-card__meta,.notice-benefit__points li,.personal-case-card__header span,.personal-case-disclaimer,.word-of-mouth__label,.director-photo-card__image span,.detail-metric-row span,.brand small,.nv-offer small,.review-marquee__hint{font-size:13px!important;letter-spacing:0}
.site-footer h2{color:var(--mint)}
.personal-case-label{font-size:12px}
.personal-case-marker__label{font-size:11px}

/* 공지: 카드 안의 카드 제거 */
.notice-benefit,.notice-card__disclaimer{padding:16px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;box-shadow:none}
.notice-benefit>div{padding:0;border:0;border-radius:0;background:transparent}

/* 스크롤바가 있는 PC에서 가로 넘침 방지 */
body{overflow-x:clip}
.nv-meta,.nv-pill,.nv-scroll{font-size:13px!important}
.notice-benefit__facts div{padding-inline:0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}

/* ── 베이지 테마: 어두웠던 면을 밝은 면으로 ── */
body{background:var(--paper)}
.site-header{background:var(--cream);color:var(--ink);border-bottom:1px solid var(--line)}
.nv-logo{color:var(--ink)}
.header-phone{border-color:#d3c4b0;color:var(--ink)}
.menu-button{border-color:#d3c4b0;color:var(--ink)}
.desktop-nav a{color:var(--ink-soft)}
.desktop-nav a:hover,.desktop-nav a.is-current{background:var(--cream-2);color:var(--ink)}
.header-booking,.button--warm,.review-lightbox__close{background:var(--green);color:#fff}
[data-breadcrumbs]{background:none}

/* 사진·영상 히어로: 따뜻한 브라운 막 + 흰 글자 유지 */
.nv-hero.has-media{background:#3a2a1e;color:#fff}
.nv-hero.has-media h1{color:#fff}
.nv-hero.has-media h1 em{color:#f3d9bc}
.nv-hero.has-media .nv-pill{color:#f4ece2}
.nv-hero.has-media .nv-hero__lead{color:#f1e9df}
.nv-hero.has-media .nv-meta{color:#efe6da}
.nv-hero.has-media .nv-meta span:before{background:#f3d9bc}
.nv-hero.has-media .nv-scroll{color:#efe6da}
.nv-hero.has-media :focus-visible{outline-color:#f3d9bc}
/* 사진 없는 히어로 */
.nv-hero:not(.has-media){background:var(--cream-2);color:var(--ink)}
.nv-hero:not(.has-media) h1{color:var(--ink)}
.nv-hero:not(.has-media) .nv-pill{border-color:#d3c4b0;color:var(--ink-soft)}
.nv-hero:not(.has-media) .nv-hero__lead,.nv-hero:not(.has-media) .nv-meta,.nv-hero:not(.has-media) .nv-scroll{color:var(--ink-soft)}

/* 지표·상담 등 어두운 섹션 */
.section--ink{background:var(--cream-2);color:var(--ink)}
.section-heading--light .section-title{color:var(--ink)}
.section--ink .lead-in,.primary-cta .lead-in{color:var(--ink-soft)}
.section--ink :focus-visible,.primary-cta :focus-visible,.site-footer :focus-visible,.site-header :focus-visible{outline-color:var(--green)}
.landing-metric-grid{border-top-color:#d3c4b0}
.landing-metric-card{border-bottom-color:#d3c4b0}
.landing-metric-card>p:first-child{color:var(--ink)}
.landing-metric-card>p:first-child strong{color:var(--green)}
.landing-metric-card>p:last-child{color:var(--ink-soft)}
.landing-metrics__note{border-top-color:#d3c4b0}
.landing-metrics__note small{color:var(--ink-soft)}
.detail-trust-line--light{color:var(--ink-soft)}
.detail-offer strong,.detail-offer span{border-color:#d3c4b0;background:var(--paper);color:var(--ink)}

/* 신청 영역 */
.primary-cta{background:var(--cream-2);color:var(--ink)}
.primary-cta h2{color:var(--ink)}
.primary-cta p{color:var(--ink-soft)}
.primary-cta .button{background:var(--green);color:#fff}
.primary-cta .button--on-dark{border-color:var(--green);background:transparent;color:var(--green)}
.primary-cta .button--on-dark:hover{background:rgba(122,74,48,.08)}
.landing-final-cta__check ul,.primary-cta .landing-final-cta__note{color:var(--ink-soft)}

/* 강조 카드 */
.personal-next-step,.word-of-mouth__card--dark,.price-band{border-color:var(--line);background:var(--cream-2);color:var(--ink)}
.personal-next-step p:last-child,.word-of-mouth__card--dark p{color:var(--ink-soft)}
.price-band__figures>div+div{border-left-color:#d3c4b0}
.price-band__figures small,.price-band__note{color:var(--ink-soft)!important}
.price-band__figures strong{color:var(--ink)}

/* 푸터 */
.site-footer{background:#e6dbca;color:var(--ink)}
.site-footer p,.site-footer a{color:var(--ink-soft)}
.site-footer a:hover{color:var(--ink)}
.site-footer__bottom{border-top-color:#cdbda8;color:var(--ink-soft)}
.comparison-card--accent{border-color:var(--line);background:var(--cream-2);color:var(--ink)}
.comparison-card--accent li{color:var(--ink-soft)}
[data-breadcrumbs] .breadcrumbs{color:#f1e9df}
body:has(.nv-hero:not(.has-media)) [data-breadcrumbs] .breadcrumbs{color:var(--ink-soft)}
.landing-metric-card>p:first-child span{color:var(--ink-soft)}
.site-footer p a{text-decoration:underline;text-underline-offset:3px}
