/* 제일풍경채 광주 포에듀 분양상담 안내 - 검토안 v1 */
:root {
  --navy: #0f2a44;
  --navy-2: #163a5c;
  --green: #1f4d45;
  --gold: #087bb5;
  --gold-2: #8fd3f4;
  --sky: #087bb5;
  --sky-hover: #06648f;
  --ink: #1b2430;
  --muted: #5b6573;
  --line: #e2e6ea;
  --bg-soft: #f5f7f8;
  --white: #fff;
  --radius: 14px;
  --header-h: 64px;
  --sticky-h: 64px;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink);
  background: var(--white); overflow-x: hidden; word-break: keep-all; overflow-wrap: anywhere;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- 헤더 ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; width: min(1280px, 100% - 32px); margin-inline: auto; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; margin-right: auto; }
.brand__region { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.brand__name { font-size: 18px; font-weight: 800; color: var(--navy); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink); padding: 10px 10px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--bg-soft); }
.nav .nav__visit { background: var(--navy); color: #fff; margin-left: 6px; }
.nav .nav__visit:hover { background: var(--navy-2); }
.top__tel { text-decoration: none; font-weight: 800; color: var(--navy); font-size: 17px; border: 2px solid var(--navy); border-radius: 999px; padding: 6px 14px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn--gold { background: var(--sky); color: #fff; box-shadow: 0 6px 18px rgba(8,123,181,.35); }
.btn--gold:hover { background: var(--sky-hover); }
.btn--gold:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.btn--line { border-color: rgba(255,255,255,.85); color: #fff; background: rgba(15,42,68,.25); }
.btn--line:hover { background: rgba(255,255,255,.15); }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0 4px; text-decoration: underline; color: var(--navy); cursor: pointer; font-size: 15px; min-height: 44px; }

/* ---------- 히어로 ---------- */
.hero { position: relative; color: #fff; min-height: min(86vh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,28,46,.78) 0%, rgba(10,28,46,.45) 38%, rgba(10,28,46,0) 66%),
              linear-gradient(0deg, rgba(10,28,46,.55) 0%, rgba(10,28,46,0) 35%); }
.hero__cg { position: absolute; right: 16px; top: 16px; z-index: 2; font-size: 13px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.hero__body { position: relative; z-index: 2; padding: 96px 0 64px; text-align: center; }
.hero h1 em, .hero h1 .hl { font-style: normal; color: var(--gold-2); }
.hero__media img { animation: heroZoom 11s ease-out 1 both; transform-origin: 50% 50%; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero__site, .hero__cta { justify-content: center; }
.hero__cta { justify-content: center; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .08em; color: var(--gold-2); margin-bottom: 12px; }
.eyebrow--dark { color: var(--gold); }
.hero__site { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.2; font-weight: 900; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hero__sub { margin-top: 18px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.92); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- 핵심 3 ---------- */
.keys { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: -48px; }
.key { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: var(--radius); padding: 22px 22px 20px; text-decoration: none; box-shadow: 0 12px 30px rgba(15,42,68,.12); border-top: 4px solid var(--gold); transition: transform .15s; }
.key:hover { transform: translateY(-2px); }
.key__label { font-size: 14px; font-weight: 800; color: var(--gold); }
.key strong { font-size: 19px; color: var(--navy); line-height: 1.4; }
.key__cond { font-size: 14px; color: var(--muted); }

/* ---------- 숫자띠 ---------- */
.facts { background: var(--navy); color: #fff; margin-top: 56px; padding: 44px 0 32px; }
.facts__list { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.facts__list li { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255,255,255,.15); }
.facts__list li:first-child { border-left: 0; }
.facts__list strong { font-size: clamp(36px, 5vw, 60px); font-weight: 900; line-height: 1.1; color: var(--gold-2); letter-spacing: -.02em; }
.facts__list span { font-size: 16px; color: rgba(255,255,255,.85); }
.facts__note { margin-top: 22px; text-align: center; font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 96px 0; }
.section h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.lead { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 640px; }
.lead--light { color: rgba(255,255,255,.88); }
.cond { margin-top: 14px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.cond--light { color: rgba(255,255,255,.72); }

/* ---------- 교육 ---------- */
.edu { background: var(--bg-soft); }
.edu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.program { background: #fff; border-radius: 20px; padding: 36px 34px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.program__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.program__age { font-size: 14px; font-weight: 800; color: #fff; background: var(--navy); padding: 4px 12px; border-radius: 999px; }
.program--green .program__age { background: var(--green); }
.program h3 { font-size: 26px; font-weight: 900; color: var(--navy); }
.program--green h3 { color: var(--green); }
.program__big { margin-top: 12px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; line-height: 1.35; color: var(--ink); }
.program__more { margin-top: 10px; font-size: 15px; }
.program__more summary { cursor: pointer; color: var(--navy); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.program__more summary::-webkit-details-marker { color: var(--navy); }
.program__list { margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 8px; }
.program__list li { padding-left: 16px; position: relative; font-size: 16px; }
.program__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.program .cond { margin-top: auto; padding-top: 20px; }

/* ---------- 셔틀 ---------- */
.shuttle { background: linear-gradient(135deg, var(--green), #173a35); color: #fff; }
.shuttle h2 { color: #fff; }
.shuttle__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.route { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 36px 32px; }
.route__stop { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; }
.route__stop strong { font-size: 20px; }
.route__stop span:last-child { grid-column: 2; font-size: 15px; color: rgba(255,255,255,.7); }
.route__dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--green); box-shadow: 0 0 0 2px #fff; grid-row: span 2; justify-self: center; }
.route__dot--gold { background: var(--gold-2); box-shadow: 0 0 0 2px var(--gold-2); }
.route__line { margin: 6px 0 6px 13px; border-left: 3px dashed rgba(255,255,255,.55); height: 92px; position: relative; }
.route__line span { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 700; background: var(--gold); color: #fff; padding: 4px 12px; border-radius: 999px; }
.route__note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.65); }

/* ---------- 입지 ---------- */
.loc__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 40px; align-items: start; }
.figure { margin: 0; }
.figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; }
.figure .zoom { border: 1px solid var(--line); }
.zoom img { width: 100%; }
.zoom__hint { position: absolute; right: 12px; bottom: 12px; background: rgba(15,42,68,.85); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.addr { margin-top: 28px; padding: 16px 20px; background: var(--bg-soft); border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--navy); }

/* ---------- 평면 ---------- */
.plans { background: var(--bg-soft); }
.tabs { display: inline-flex; gap: 6px; margin-top: 32px; background: #fff; padding: 6px; border-radius: 999px; border: 1px solid var(--line); }
.tabs button { border: 0; background: transparent; padding: 0 28px; min-height: 44px; border-radius: 999px; font-weight: 800; font-size: 17px; cursor: pointer; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.plan { display: grid; grid-template-columns: 320px 1fr; gap: 36px; margin-top: 28px; align-items: start; }
.plan[hidden] { display: none; }
.plan__type { font-size: 44px; font-weight: 900; color: var(--navy); line-height: 1; }
.plan__type small { font-size: 16px; font-weight: 700; color: var(--gold); margin-left: 6px; vertical-align: middle; }
.plan__table { margin: 22px 0 0; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.plan__table div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.plan__table dt { color: var(--muted); }
.plan__table dd { margin: 0; font-weight: 800; text-align: right; }
.plan__table small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan__img { background: #fff; border: 1px solid var(--line); padding: 16px; }

/* ---------- 갤러리 ---------- */
.gallery__type { margin-top: 40px; font-size: 22px; font-weight: 900; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.gallery__type::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gallery__grid { display: grid; gap: 14px; margin-top: 18px; }
.gallery__grid--a { grid-template-columns: repeat(4, 1fr); }
.gallery__grid--b { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery__grid--b .shot--wide { grid-row: span 2; }
.gallery__grid--b .shot:nth-child(2) { grid-row: span 2; }
.shot { aspect-ratio: 3 / 4; }
.shot--tall { aspect-ratio: 9 / 14; }
.gallery__grid--b .shot { aspect-ratio: auto; min-height: 200px; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shot:hover img { transform: scale(1.03); }
.shot span { position: absolute; left: 12px; bottom: 12px; background: rgba(15,42,68,.82); color: #fff; font-size: 14px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* ---------- 중도금 ---------- */
.interest { background: var(--navy); color: #fff; }
.interest h2 { color: #fff; }
.interest__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.interest .btn { margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 32px; border-top: 2px solid var(--navy); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 4px; font-size: 18px; font-weight: 800; color: var(--navy); position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); }

/* ---------- 방문상담 ---------- */
.visit { background: linear-gradient(160deg, var(--navy) 0%, #0b2036 100%); color: #fff; }
.visit h2 { color: #fff; }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.visit__intro .btn { margin-top: 28px; }
.form { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: 16px; }
.field label em { font-style: normal; font-size: 13px; color: #b3412e; margin-left: 6px; font-weight: 700; }
.field label em.opt { color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"] { width: 100%; min-height: 52px; border: 1.5px solid #cfd5db; border-radius: 10px; padding: 0 14px; font-size: 17px; font-family: inherit; background: #fff; color: var(--ink); }
.field input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(15,42,68,.15); }
.field input[aria-invalid="true"] { border-color: #b3412e; }
.field__err { font-size: 14px; color: #b3412e; min-height: 0; }
.field__err:empty { display: none; }
.field--check { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; }
.field--check input { width: 24px; height: 24px; accent-color: var(--navy); margin: 0; }
.field--check label { font-weight: 700; font-size: 15px; min-height: 44px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.field--check .field__err { grid-column: 1 / -1; }
.form__notice { background: #fff6e8; border: 1px solid var(--gold-2); color: #6b4d17; border-radius: 10px; padding: 14px 16px; font-size: 15px; font-weight: 700; }

/* ---------- 푸터 ---------- */
.footer { background: #0a1a2b; color: rgba(255,255,255,.75); padding: 48px 0 40px; font-size: 14px; }
.footer__title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.footer a { color: #fff; display: inline-block; padding: 12px 0; }
.footer__draft { margin-top: 6px; color: var(--gold-2); }
.footer__notes { margin: 18px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.footer__copy { margin-top: 18px; color: rgba(255,255,255,.55); }

/* ---------- 하단 고정 ---------- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
.sticky a { min-height: var(--sticky-h); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; text-decoration: none; }
.sticky__tel { color: var(--navy); }
.sticky__visit { background: var(--sky); color: #fff; }
.sticky__tel { border-top: 0; }

/* ---------- 모달 ---------- */
.modal { border: 0; padding: 0; border-radius: 16px; max-width: min(1200px, 94vw); max-height: 92vh; background: #fff; overflow: auto; }
.modal::backdrop { background: rgba(5,15,25,.78); }
.modal img { max-height: 80vh; width: auto; margin: 0 auto; }
.modal p#zoom-cap { padding: 10px 16px 16px; font-size: 14px; color: var(--muted); text-align: center; }
.modal__close { position: sticky; top: 8px; float: right; margin: 8px; z-index: 2; min-width: 44px; min-height: 44px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; padding: 0 16px; cursor: pointer; }
.modal--text { max-width: 560px; padding: 8px 28px 28px; }
.modal--text h2 { font-size: 22px; color: var(--navy); padding-top: 16px; }
.privacy { margin: 18px 0 0; border-top: 2px solid var(--navy); }
.privacy div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.privacy dt { color: var(--muted); }
.privacy dd { margin: 0; font-weight: 700; }

/* ---------- 등장 효과 (짧게, JS 있을 때만) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- PC: 하단 고정바 숨김 ---------- */
@media (min-width: 1025px) {
  body { padding-bottom: 0; }
  .sticky { display: none; }
}

/* ---------- 태블릿 이하 ---------- */
@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; }
  .top__tel { display: none; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; max-height: calc(100vh - var(--header-h)); overflow: auto; pointer-events: none; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .nav .nav__visit { margin: 12px 0 0; border-radius: 999px; justify-content: center; border-bottom: 0; }
  .shuttle__grid, .visit__grid, .interest__inner { grid-template-columns: 1fr; gap: 32px; }
  .loc__grid { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- 모바일 ---------- */
@media (max-width: 720px) {
  :root { --header-h: 58px; }
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .brand__name { font-size: 17px; }
  .hero { min-height: 640px; align-items: flex-end; }
  .hero__media img { object-position: 42% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(10,28,46,.9) 0%, rgba(10,28,46,.62) 42%, rgba(10,28,46,.08) 72%); }
  .hero__body { padding: 0 0 56px; }
  .hero h1 { font-size: 34px; }
  .hero__cta { flex-direction: column; margin-top: 22px; }
  .hero__cta .btn { width: 100%; min-height: 50px; }
  .section { padding: 56px 0; }
  .hero__site { font-size: 18px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__cg { left: 16px; right: 16px; top: 14px; font-size: 13px; }
  .keys { grid-template-columns: 1fr; margin-top: 24px; gap: 10px; }
  .key { padding: 18px; }
  .facts { margin-top: 40px; padding: 32px 0 24px; }
  .facts__list { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .facts__list li:nth-child(3) { border-left: 0; }
  .section { padding: 68px 0; }
  .lead { font-size: 17px; }
  .edu__grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .program { padding: 26px 22px; }
  .route { padding: 26px 22px; }
  .gallery__grid--a { grid-template-columns: 1fr 1fr; }
  .gallery__grid--b { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .gallery__grid--b .shot--wide { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery__grid--b .shot:nth-child(2) { grid-row: auto; }
  .gallery__grid--b .shot { aspect-ratio: 3 / 4; min-height: 0; }
  .plan__type { font-size: 36px; }
  .form { padding: 24px 20px; }
  .faq summary { font-size: 17px; }
  .privacy div { grid-template-columns: 96px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== v2 컴팩트 보정 (셋째 압축) ===== */
.nowrap { white-space: nowrap; }
.edu__cond { margin-top: 12px; font-size: 14px; }
.shuttle__route { font-size: 18px; font-weight: 700; margin: 8px 0; }
.gallery__grid .shot img,
.gallery__grid--b .shot img { object-fit: contain; }
.shot img, .gallery img, .map img, .site img, .location img, .complex img { object-fit: contain; }

@media (max-width: 720px) {
  .section { padding-top: 36px; padding-bottom: 36px; }
  .edu .program { padding: 14px 16px; }
  .edu__grid { gap: 12px; }
  .program h3 { font-size: 22px; }
  .program__big { font-size: 20px; }
  .cond { font-size: 14px; }
  .shuttle__grid { display: block; }
  .shuttle__route { font-size: 17px; }
  .gallery__grid .shot,
  .gallery__grid--b .shot { aspect-ratio: auto; height: 180px; min-height: 0; grid-column: auto; grid-row: auto; }
  .gallery__grid .shot--wide,
  .gallery__grid--b .shot--wide { grid-column: auto; aspect-ratio: auto; height: 180px; }
  .gallery__grid .shot img,
  .gallery__grid--b .shot img { height: 100%; width: 100%; object-fit: contain; }
  .gallery__grid, .gallery__grid--b { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .location img, .complex img, .map img, .site img { max-height: 260px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; }
}

@media (min-width: 721px) {
  .gallery__grid .shot img,
  .gallery__grid--b .shot img { object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-hero, .hero__photo, .hero-photo, [class*="heroZoom"], [class*="hero-zoom"], [class*="zoom"] { animation: none !important; transform: none !important; }
  .hero__media img { animation: none !important; transform: none !important; }
}

/* ===== v3 모바일 압축 보정 (넷째) ===== */
.program__sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.program--green .program__sub { color: var(--muted); }

@media (max-width: 720px) {
  .keys { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
  .key { padding: 10px; min-height: 44px; gap: 2px; border-top-width: 3px; }
  .key__label { font-size: 14px; }
  .key strong { font-size: 14px; line-height: 1.35; }
  .key__cond { display: none; }
  .edu.section, #edu.section, #shuttle.section { padding-top: 32px; padding-bottom: 32px; }
  #edu .edu__grid { margin-top: 18px; gap: 12px; }
  #edu .program { padding: 12px; }
  #edu .program__big { font-size: 18px; }
  #edu .edu__cond { margin-top: 12px; }
  #edu .program h3 { font-size: 20px; }
  #edu .program__sub { font-size: 14px; }
  #location .figure .zoom { height: auto; }
  #location .figure .zoom img { width: 100%; max-height: 230px; object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img { animation: none !important; transform: none !important; }
}

/* ===== v4 따뜻한 팔레트 덮어쓰기 (큰형님 최신 피드백: 연노랑/주황) ===== */
:root {
  --sky: #b95719; --sky-hover: #8f3f10; --gold: #b95719; --gold-2: #ffe6a3; --green: #6b4d17;
}
.shuttle { background: #fff6d8; color: #4a2e12; }
.shuttle h2 { color: #4a2e12; }
.route { background: rgba(255,255,255,.6); border-color: rgba(120,70,20,.22); }
.route__stop span:last-child, .route__note { color: #6b4d17; }
.route__dot { border-color: #b95719; box-shadow: 0 0 0 2px #fff; }
.route__line { border-left-color: rgba(120,70,20,.5); }
.route__line span { background: #b95719; color: #fff; }
.hero { background: #3a2612; }
.hero__media::after { background: linear-gradient(90deg, rgba(58,38,18,.72) 0%, rgba(58,38,18,.4) 38%, rgba(58,38,18,0) 66%), linear-gradient(0deg, rgba(40,26,12,.55) 0%, rgba(40,26,12,0) 35%); }
.hero h1 em, .hero h1 .hl { color: #ffe6a3; }
.eyebrow { color: #ffe6a3; }
.btn--gold { background: #b95719; color: #fff; box-shadow: 0 6px 18px rgba(185,87,25,.35); }
.btn--gold:hover { background: #8f3f10; }
.btn--line { background: rgba(58,38,18,.3); }
.nav .nav__visit { background: #b95719; color: #fff; }
.nav .nav__visit:hover { background: #8f3f10; }
.sticky__visit { background: #b95719; color: #fff; }
@media (max-width: 720px) {
  .hero__media::after { background: linear-gradient(0deg, rgba(40,26,12,.88) 0%, rgba(40,26,12,.6) 42%, rgba(40,26,12,.08) 72%); }
}

/* ===== v5 대비 보정 (연노랑 셔틀 구간 글자색) ===== */
.shuttle .lead--light { color: #4a2e12; }
.shuttle .cond--light { color: #4a2e12; }
.shuttle .eyebrow { color: #4a2e12; }
.eyebrow--dark { color: #b95719; }

/* ===== visibility-v3 (글자 시인성 비교본: 강조색·대비·굵기만 제한 덮어쓰기) ===== */
.hero__media::after { background: linear-gradient(90deg, rgba(30,20,10,.84) 0%, rgba(30,20,10,.56) 40%, rgba(30,20,10,.08) 68%), linear-gradient(0deg, rgba(25,16,8,.7) 0%, rgba(25,16,8,0) 40%); }
.hero h1 { font-weight: 900; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero h1 em, .hero h1 .hl { color: #FFD43B; }
.hero__site { font-weight: 900; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.hero__sub { font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.hero__cg { color: rgba(255,255,255,.9); }
.hero .eyebrow { color: #fff3c4; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.btn--gold { font-weight: 900; }
.btn--line { font-weight: 900; }

.program h3, .program--green h3 { color: #222; font-weight: 900; }
.program__big { color: #222; font-weight: 900; width: fit-content; max-width: 100%;
  background: linear-gradient(transparent 56%, rgba(255,212,59,.8) 56%, rgba(255,212,59,.8) 92%, transparent 92%); }
.program__sub { color: #444; }

.shuttle h2 { color: #222; font-weight: 900; }
.shuttle .lead--light, .shuttle .cond--light, .shuttle .eyebrow, .shuttle .shuttle__route { color: #222; }
.shuttle .shuttle__route { font-weight: 900; }

/* ===== 방문상담 팝업 ===== */
html.visit-open { overflow: hidden; }
.modal--visit { margin: auto; width: min(480px, calc(100vw - 24px)); max-width: none; max-height: 92vh; max-height: 92dvh; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.visit-dialog { padding: 22px 22px 20px; }
.visit-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.visit-dialog__head h2 { font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.3; }
.visit-dialog__head h2:focus { outline: none; }
.visit-dialog__x { flex: none; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 800; font-size: 15px; cursor: pointer; }
.visit-dialog__x:hover { background: var(--bg-soft); }
.visit-dialog__lead { margin-top: 10px; font-size: 14px; color: var(--muted); }
.visit-dialog__body { margin-top: 16px; }
.visit-dialog__body .form { padding: 0; background: transparent; border-radius: 0; gap: 14px; }
.visit-dialog__body .form .btn--gold { background: #b95719; color: #fff; font-weight: 900; min-height: 52px; }
.visit-dialog__body .form .btn--gold:hover { background: #8f3f10; }
.visit-dialog__body .form .form__notice { background: #fff6d8; border-color: #ffe6a3; color: #4a2e12; }
.visit-dialog__tel { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }
.visit-dialog__tel a { font-weight: 900; color: var(--navy); padding: 8px 4px; display: inline-block; }
@media (max-width: 360px) {
  .visit-dialog { padding: 18px 16px 16px; }
  .visit-dialog__head h2 { font-size: 20px; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: clamp(32px, 8.7vw, 38px); line-height: 1.25; word-break: keep-all; }
  .hero__media::after { background: linear-gradient(0deg, rgba(25,16,8,.92) 0%, rgba(25,16,8,.7) 42%, rgba(25,16,8,.12) 74%); }
  .program__big { font-size: 18px; }
}

/* ===== v6 셔틀 예시 이미지 (AI 생성 예시, 최소 보강) ===== */
@media (min-width: 961px) and (max-width: 1024px) {
  .shuttle__grid { grid-template-columns: 1.1fr 1fr; gap: 32px; }
}
.shuttle-visual { margin: 0; min-width: 0; background: rgba(255,255,255,.55); border: 1px solid rgba(120,70,20,.2); border-radius: 20px; padding: 16px; box-shadow: 0 6px 16px rgba(120,70,20,.1); }
.shuttle-visual img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
.shuttle-visual__cap { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #4a2e12; font-weight: 700; text-align: center; }
@media (max-width: 960px) {
  .shuttle__grid { display: block; }
  .shuttle-visual { margin-top: 20px; padding: 10px; border-radius: 14px; }
  .shuttle-visual img { width: auto; max-width: 100%; max-height: 140px; margin: 0 auto; }
  .shuttle-visual__cap { margin-top: 6px; }
}

/* ===== impact-v4 (차콜·노랑·주황·흰색 시각 디자인, CSS 단독 덮어쓰기) ===== */
:root { --impact-char: #181C20; --impact-yel: #FFD43B; --impact-org: #EA641A; --impact-ink: #202020; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--impact-yel); transform-origin: left; transform: scaleX(0); pointer-events: none; z-index: 70; }

/* 1. 첫 화면 */
.hero { background: var(--impact-char); color: #fff; }
.hero__media::after { background: linear-gradient(180deg, rgba(24,28,32,.45) 0%, rgba(24,28,32,.82) 62%, #181C20 100%), linear-gradient(90deg, rgba(24,28,32,.55) 0%, rgba(24,28,32,.2) 100%); }
.hero__body { text-align: center; }
.hero h1 { color: #fff; font-weight: 900; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.15; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero h1 em, .hero h1 .hl { color: var(--impact-yel); font-style: normal; }
.hero .eyebrow, .visit .eyebrow { color: var(--impact-yel); }
.hero__site { color: #fff; font-weight: 900; }
.hero__sub { color: #fff; font-weight: 700; }
.hero__cta .btn--gold { background: #EA641A; color: #181C20; font-weight: 900; }
.hero__cta .btn--gold:hover { background: #c94f10; color: #fff; }

/* 2. 핵심 3 카드 */
.key { background: var(--impact-char); color: #fff; box-shadow: 0 12px 30px rgba(24,28,32,.28); border-top: 4px solid var(--impact-yel); }
.key__label { color: var(--impact-yel); }
.key strong { color: #fff; font-weight: 900; }
.key__cond { color: rgba(255,255,255,.82); }

/* 3. 중도금(.interest) 노랑 구간 */
.interest { background: var(--impact-yel); color: #154C36; }
.interest h2 { color: #154C36; }
.interest .lead, .interest .lead--light, .interest .cond, .interest .cond--light, .interest .eyebrow { color: #154C36; }
.interest .btn--gold { background: #EA641A; color: #181C20; font-weight: 900; }
.interest .btn--gold:hover { background: #c94f10; color: #fff; }

/* 4. 교육 */
.edu { background: #fff; }
.edu h2 { color: var(--impact-char); }
.program { background: #fff; border: 1px solid #e3e3e3; border-top: 6px solid var(--impact-yel); }
.program__age { background: var(--impact-char); color: var(--impact-yel); }
.program--green .program__age { background: var(--impact-char); }
.program h3, .program--green h3 { color: var(--impact-char); }
.program__list li::before { background: var(--impact-org); }

/* 5. 셔틀: 기존 연노랑·짙은 글자 유지 */

/* 6. 갤러리 차콜 */
#gallery { background: var(--impact-char); color: #fff; }
#gallery h2, #gallery .gallery__type { color: #fff; }
#gallery .eyebrow { color: var(--impact-yel); }
#gallery .lead, #gallery .cond, #gallery .lead--light, #gallery .cond--light { color: rgba(255,255,255,.9); }
#gallery .gallery__type::after { background: rgba(255,212,59,.45); }
#gallery .shot { background: #262C32; border-radius: var(--radius); overflow: hidden; }
#gallery .shot span { background: var(--impact-yel); color: var(--impact-char); }
#gallery .shot img { object-fit: contain; }
.js #gallery .gallery__grid.reveal .shot { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js #gallery .gallery__grid.reveal.is-in .shot { opacity: 1; transform: none; }
.js #gallery .gallery__grid.reveal .shot:nth-child(2) { transition-delay: .08s; }
.js #gallery .gallery__grid.reveal .shot:nth-child(3) { transition-delay: .16s; }
.js #gallery .gallery__grid.reveal .shot:nth-child(4) { transition-delay: .24s; }
#location { background: #fff; }
#faq { background: #fff; }
#plans, .plans { background: #F3F4F5; }
.visit { background: var(--impact-char); }
.visit h2 { color: #fff; }
.visit .lead, .visit .cond { color: rgba(255,255,255,.88); }
.form { background: #fff; color: var(--impact-char); }
.form .field label { color: #111; }
.form .field input[type="text"], .form .field input[type="tel"], .form .field input[type="date"] { color: #111; }

.visit-dialog__body .form .btn--gold { background: #EA641A; color: #181C20; font-weight: 900; }
.visit-dialog__body .form .btn--gold:hover { background: #c94f10; color: #fff; }
.sticky__visit { background: #EA641A; color: #181C20; font-weight: 900; }
.nav .nav__visit { background: #EA641A; color: #181C20; font-weight: 900; }
.nav .nav__visit:hover { background: #c94f10; color: #fff; }

/* 본문/보조 글자 최소 크기 */
.lead { font-size: 17px; }
.key__cond, .cond { font-size: 14px; }
.shuttle-visual__cap { font-size: 13px; }

/* 7. 스크롤 등장 (JS .reveal 전제, 짧고 절제) */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .edu__grid .program.reveal:nth-child(2),
.js #gallery .shot.reveal:nth-child(2) { transition-delay: .08s, .08s; }
.js .edu__grid .program.reveal:nth-child(3),
.js #gallery .shot.reveal:nth-child(3) { transition-delay: .12s, .12s; }
.js .figure.reveal { clip-path: inset(0 0 8% 0); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), clip-path .6s cubic-bezier(.2,.7,.2,1); }
.js .figure.reveal.is-in { clip-path: inset(0 0 0 0); }

/* 8. 모바일 히어로 제목·CTA */
@media (max-width: 720px) {
  .hero h1 { font-size: clamp(34px, 9vw, 42px); line-height: 1.2; }
  .hero__media::after { background: linear-gradient(0deg, #181C20 0%, rgba(24,28,32,.82) 46%, rgba(24,28,32,.4) 80%); }
  .keys .key { background: var(--impact-char); }
  .key strong { font-size: 14px; }
}

/* 9. reduced-motion (마지막) */
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.is-in, .js .figure.reveal, .js .figure.reveal.is-in, .js .gallery__grid.reveal, .js .gallery__grid.reveal.is-in,
  .js #gallery .gallery__grid.reveal .shot, .js #gallery .gallery__grid.reveal.is-in .shot {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
  .hero__media img, .hero img { animation: none; }
  .scroll-progress { transition: none; }
}
