/* 일광 더에스 관심고객 등록 - 가온터 */
:root {
  --navy: #0b1830;
  --navy-2: #12254a;
  --navy-3: #1c3566;
  --gold: #d6a85c;
  --gold-2: #f3c987;
  --sun: #ff9d5c;
  --ink: #1a1d24;
  --ink-2: #4a4f5a;
  --ink-3: #8a8f99;
  --line: #e4e0d8;
  --bg: #ffffff;
  --bg-soft: #f6f2ea;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --max: 1200px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.7; word-break: keep-all; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; color: #fff; transition: background .3s, box-shadow .3s; }
.header.is-solid { background: rgba(11,24,48,.96); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; max-width: 1400px; }
.logo { display: flex; flex-direction: column; line-height: 1.15; }
.logo strong { font-family: var(--serif); font-size: 20px; letter-spacing: -.02em; }
.logo span { font-size: 10px; letter-spacing: .28em; color: var(--gold-2); }
.gnb { margin-left: auto; display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.gnb a { opacity: .85; }
.gnb a:hover { opacity: 1; color: var(--gold-2); }
.gnb .gnb-apply { opacity: 1; color: var(--gold-2); font-weight: 700; }
.header-cta { display: flex; gap: 8px; align-items: center; }
.btn-tel { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 40px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 15px; white-space: nowrap; }
.btn-tel svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 2px; background: currentColor; transition: .3s; }
.menu-btn span:nth-child(1) { top: 13px; } .menu-btn span:nth-child(2) { top: 19px; } .menu-btn span:nth-child(3) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 30px; font-size: 16px; font-weight: 800; border-radius: 60px; transition: .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); box-shadow: 0 10px 30px rgba(214,168,92,.35); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-line { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--navy); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { object-position: 70% 50%; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,26,.55) 0%, rgba(6,12,26,0) 55%), linear-gradient(180deg, rgba(6,12,26,.55) 0%, rgba(6,12,26,0) 28%, rgba(6,12,26,.2) 55%, rgba(6,12,26,.88) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-bottom: 76px; }
.now { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 30px; background: rgba(214,168,92,.16); border: 1px solid rgba(243,201,135,.5); color: var(--gold-2); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.now i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero-eyebrow { margin: 18px 0 8px; font-size: 13px; letter-spacing: .32em; color: var(--gold-2); }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 7.4vw, 92px); line-height: 1.12; letter-spacing: -.03em; }
.hero h1 small { display: block; font-size: .3em; font-weight: 400; letter-spacing: 0; margin-bottom: 14px; opacity: .92; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.hero-chips li { padding: 7px 15px; border: 1px solid rgba(255,255,255,.35); border-radius: 30px; font-size: 14px; background: rgba(6,12,26,.3); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cg-note { position: absolute; right: 16px; bottom: 12px; z-index: 1; font-size: 11px; opacity: .55; }


/* ---------- 숫자 띠 ---------- */
.stats { background: var(--navy); color: #fff; padding: 64px 0; border-top: 1px solid rgba(255,255,255,.06); }
.stats ul { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stats li + li { border-left: 1px solid rgba(255,255,255,.12); }
.stats b { display: block; font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); line-height: 1.1; color: var(--gold-2); font-weight: 700; }
.stats b small { font-size: .42em; margin-left: 3px; color: #fff; font-family: var(--sans); font-weight: 500; }
.stats li > span { display: block; margin-top: 8px; font-size: 14px; opacity: .7; }

/* ---------- 섹션 공통 ---------- */
.sec { padding: 120px 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: linear-gradient(180deg, var(--navy) 0%, #0a1426 100%); color: #fff; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-label { display: block; font-size: 12px; letter-spacing: .36em; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.sec-head h2 { font-family: var(--serif); font-size: clamp(28px, 4.2vw, 46px); line-height: 1.3; letter-spacing: -.03em; }
.sec-head h2 em { font-style: normal; color: var(--gold); }
.sec-head p { margin-top: 14px; color: var(--ink-2); }
.sec-dark .sec-head p { color: rgba(255,255,255,.7); }
.note { margin-top: 18px; font-size: 12px; color: var(--ink-3); text-align: center; }
.sec-dark .note { color: rgba(255,255,255,.45); }

/* ---------- 사진 카드 (사진 위에 설명) ---------- */
.photo-card { position: relative; border-radius: 22px; overflow: hidden; margin-bottom: 28px; }
.photo-card img { width: 100%; max-height: 640px; object-fit: cover; }
.photo-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 32px 26px; color: #fff; background: linear-gradient(180deg, rgba(4,10,22,0), rgba(4,10,22,.75)); }
.photo-card strong { display: block; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px); }
.photo-card small { font-size: 12px; opacity: .65; }

/* ---------- 분위기 띠 ---------- */
.band { position: relative; height: clamp(360px, 52vw, 620px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,12,26,.65), rgba(6,12,26,0) 65%); }
.band .wrap { position: relative; z-index: 1; width: 100%; }
.band-label { font-size: 12px; letter-spacing: .36em; color: var(--gold-2); margin-bottom: 14px; }
.band-text { font-family: var(--serif); font-size: clamp(28px, 4.6vw, 54px); line-height: 1.3; letter-spacing: -.03em; }

/* ---------- 커뮤니티 이미지 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { position: relative; border-radius: 16px; overflow: hidden; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; font-size: 15px; font-weight: 700; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.6)); }

/* ---------- 사업개요 ---------- */
.ov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ov-grid > div { background: #fff; padding: 26px 24px; }
.ov-grid dt { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: .04em; margin-bottom: 6px; }
.ov-grid dd { font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
.ov-grid dd small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); margin-top: 4px; }
.ov-grid .hl { background: var(--navy); color: #fff; }
.ov-grid .hl dt { color: var(--gold-2); }
.ov-grid .hl dd small { color: rgba(255,255,255,.65); }

/* ---------- 도시 계획 그림 카드 ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan-card { position: relative; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; color: #fff; isolation: isolate; }
.plan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s; }
.plan-card:hover img { transform: scale(1.05); }
.plan-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(4,10,22,.85) 100%); }
.plan-card div { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.plan-card .tag { display: inline-block; font-size: 11px; letter-spacing: .2em; color: var(--gold-2); margin-bottom: 6px; }
.plan-card h3 { font-size: 21px; line-height: 1.35; letter-spacing: -.02em; }
.plan-card p { font-size: 13px; opacity: .75; margin-top: 4px; }
.plan-card .soon { position: absolute; top: 16px; right: 16px; left: auto; bottom: auto; font-size: 11px; padding: 3px 10px; border-radius: 20px; background: rgba(255,255,255,.18); }

/* ---------- 입지 ---------- */
.loc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.loc-map { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(11,24,48,.22); background: #0d1c38; }
.loc-map::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(214,168,92,.3); border-radius: 14px; pointer-events: none; }
/* 단지 위치 핀에서 퍼지는 금빛 원 */
.map-pulse circle { transform-box: fill-box; transform-origin: center; animation: mapPulse 2.8s ease-out infinite; }
.map-pulse circle + circle { animation-delay: 1.4s; }
@keyframes mapPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.loc-list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.loc-list li:first-child { padding-top: 0; }
.loc-list .ico { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; }
.loc-list .ico svg { width: 22px; height: 22px; }
.loc-list strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.loc-list span { font-size: 14px; color: var(--ink-2); }
.map-link { display: inline-flex; margin-top: 22px; font-weight: 700; color: var(--navy-3); border-bottom: 1px solid currentColor; }

/* ---------- 주택형 ---------- */
.type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.type-card { position: relative; padding: 30px 16px 24px; border-radius: 18px; text-align: center; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; overflow: hidden; border: 1px solid rgba(243,201,135,.18); transition: transform .25s, border-color .25s; }
.type-card:hover { transform: translateY(-4px); border-color: rgba(243,201,135,.6); }
.type-card.ph { background: linear-gradient(160deg, #3a2a12, #17110a); }
.type-card .kind { font-size: 11px; letter-spacing: .24em; color: var(--gold-2); }
.type-card b { display: block; font-family: var(--serif); font-size: 46px; line-height: 1.2; margin: 6px 0 2px; }
.type-card b small { font-size: 17px; font-family: var(--sans); font-weight: 500; margin-left: 2px; }
.type-card .plan { display: block; position: relative; height: 70px; margin: 16px auto 14px; width: 82%; }
.type-card .plan svg { width: 100%; height: 100%; filter: blur(3px); opacity: .55; }
.type-card .plan::after { content: "평면 공개 예정"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--gold-2); }
.type-card .cta { display: block; font-size: 13px; color: rgba(255,255,255,.75); }
.type-card .cta::after { content: " →"; color: var(--gold-2); }

.type-card .cnt { display: block; margin-top: 2px; font-size: 14px; color: rgba(255,255,255,.7); }

/* ---------- 사업 추진 경과 ---------- */
.history { position: relative; overflow: hidden; }
.history-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(1); }
.history .wrap { position: relative; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: rgba(243,201,135,.35); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); }
.timeline time { display: block; font-family: var(--serif); font-size: 20px; color: var(--gold-2); font-weight: 700; }
.timeline strong { display: block; font-size: 15px; line-height: 1.45; margin-top: 4px; }
.timeline span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 4px; }
.timeline .next::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(214,168,92,.25); }
.timeline .next strong { color: var(--gold-2); }

/* ---------- 청약 준비 안내 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-card { position: relative; padding: 32px 28px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.guide-card.hot { background: var(--navy); color: #fff; border-color: var(--navy); }
.guide-card .num { font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 700; }
.guide-card h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 6px; }
.guide-card .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.guide-card.hot .sub { color: rgba(255,255,255,.55); }
.guide-card .tip { margin-top: 18px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
.guide-card.hot .tip { color: rgba(255,255,255,.7); }
.dep li { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.dep span { font-size: 15px; color: var(--ink-2); }
.dep b { font-family: var(--serif); font-size: 21px; color: var(--navy); }
.ratio > div { margin-bottom: 16px; }
.ratio span { display: block; font-size: 14px; color: rgba(255,255,255,.75); }
.ratio i { display: block; height: 10px; margin: 7px 0 5px; border-radius: 10px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.ratio i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: 10px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.ratio b { font-size: 18px; color: var(--gold-2); }
.steps li { display: flex; gap: 14px; align-items: center; padding: 12px 0; font-size: 15px; color: var(--ink-2); }
.steps b { flex: none; width: 76px; padding: 6px 0; text-align: center; border-radius: 30px; background: var(--navy); color: #fff; font-size: 13px; }
.steps li + li b { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.check { margin-top: 18px; padding: 24px 28px; border-radius: 18px; border: 1px solid var(--gold); display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.check strong { font-size: 17px; }
.check ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.check li { font-size: 15px; color: var(--ink-2); padding-left: 22px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--gold); }

/* ---------- 언론 보도 ---------- */
.press { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.press a { display: block; height: 100%; padding: 24px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.press a:hover { border-color: var(--gold); transform: translateY(-2px); }
.press span { font-size: 13px; color: var(--gold); font-weight: 700; }
.press strong { display: block; font-size: 17px; line-height: 1.45; margin: 6px 0; letter-spacing: -.02em; }
.press em { font-style: normal; font-size: 14px; color: var(--ink-3); }
.press em::after { content: " · 기사 보기 ›"; color: var(--navy-3); }

/* ---------- 곧 공개 ---------- */
.soon { position: relative; overflow: hidden; color: #fff; padding: 120px 0; text-align: center; background: var(--navy); }
.soon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon::after { content: ""; position: absolute; inset: 0; background: rgba(6,12,26,.5); }
.soon .wrap { position: relative; z-index: 1; }
.soon h2 { font-family: var(--serif); font-size: clamp(28px, 4.4vw, 48px); line-height: 1.3; letter-spacing: -.03em; }
.soon .wrap > p { margin-top: 12px; opacity: .85; }
.soon-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 860px; margin: 40px auto 36px; }
.soon-list li { padding: 22px 12px; border-radius: 16px; background: rgba(6,12,26,.32); border: 1px solid rgba(255,255,255,.18); }
.soon-list strong { display: block; font-size: 17px; }
.soon-list span { display: block; margin-top: 8px; font-family: var(--serif); font-size: 26px; letter-spacing: .1em; color: var(--gold-2); filter: blur(5px); user-select: none; }

/* ---------- 관심고객 등록 ---------- */
.apply-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.perk { background: var(--navy); color: #fff; border-radius: 22px; padding: 40px 34px; }
.perk h3 { font-family: var(--serif); font-size: 26px; line-height: 1.4; letter-spacing: -.02em; }
.perk ul { margin: 26px 0 30px; }
.perk li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 16px; }
.perk li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1830' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }
.agent { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.agent small { display: block; font-size: 13px; color: var(--gold-2); }
.agent strong { font-size: 20px; }
.agent-tel { display: block; margin-top: 4px; font-family: var(--serif); font-size: 30px; color: var(--gold-2); font-weight: 700; letter-spacing: .02em; }
.agent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.agent-btns a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border-radius: 40px; border: 1px solid rgba(255,255,255,.3); font-size: 15px; font-weight: 700; }
.agent-btns a:first-child { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.agent-btns svg { width: 16px; height: 16px; }

.lead-form { background: #fff; border-radius: 22px; padding: 40px 34px; box-shadow: 0 20px 50px rgba(11,24,48,.08); border: 1px solid var(--line); }
.lead-form h3 { font-size: 24px; letter-spacing: -.02em; }
.lead-sub { color: var(--ink-2); font-size: 15px; margin: 4px 0 24px; }
.hp { position: absolute; left: -9999px; }
.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 14px; }
.field label, .field .lbl { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.field small { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 14px 16px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf7; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: transparent; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--line); font-size: 15px; background: #fbfaf7; transition: .15s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold); }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--navy); }
.agree-all { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.terms { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.terms summary { cursor: pointer; color: var(--ink-2); text-decoration: underline; }
.terms dl { margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: #fbfaf7; border: 1px solid var(--line); }
.terms dt { font-weight: 700; color: var(--ink-2); margin-top: 8px; }
.terms dt:first-child { margin-top: 0; }
.lead-form .btn { width: 100%; margin-top: 20px; height: 60px; font-size: 18px; }
.form-msg { margin-top: 10px; font-size: 14px; color: #c0392b; min-height: 1em; }
.lead-done { text-align: center; padding: 30px 0 10px; }
.lead-done strong { display: block; font-size: 24px; margin-bottom: 8px; }
.lead-done p { color: var(--ink-2); margin-bottom: 20px; }
.lead-form.is-done > :not(.lead-done) { display: none; }

/* ---------- 자주 묻는 질문 ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 26px; font-weight: 300; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 15px; }

/* ---------- footer ---------- */
.footer { background: #070e1d; color: rgba(255,255,255,.6); padding: 56px 0 120px; font-size: 13px; }
.footer strong { color: #fff; font-size: 15px; }
.footer .biz { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }
.footer a { text-decoration: underline; }
.disclaimer { margin-top: 20px; line-height: 1.8; }

/* ---------- 하단 고정 버튼 ---------- */
.quick-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: 1fr 1.4fr 1fr; background: var(--navy); box-shadow: 0 -4px 20px rgba(0,0,0,.2); padding-bottom: env(safe-area-inset-bottom); }
.quick-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; font-size: 13px; font-weight: 700; color: #fff; }
.quick-bar a svg { width: 20px; height: 20px; }
.quick-bar .form { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }

/* ---------- PC 안내창 ---------- */
.notice { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.55); padding: 20px; }
.notice[hidden] { display: none; }
.notice-box { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 20px; padding: 36px 28px 28px; text-align: center; }
.notice-close { position: absolute; top: 10px; right: 14px; font-size: 28px; color: var(--ink-3); }
.notice-box h3 { font-size: 20px; }
.notice-body { font-size: 14px; color: var(--ink-2); margin: 8px 0 14px; }
.notice-tel { display: block; font-family: var(--serif); font-size: 30px; color: var(--navy); margin-bottom: 18px; }
.notice-btns { display: grid; gap: 8px; }
.notice-btns .btn { height: 50px; }
.btn-line-dark { border: 1px solid var(--line); }

/* ---------- 나타나는 효과 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .ov-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
  /* 경과는 세로 줄로 */
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .timeline::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .timeline li { padding: 0 0 22px; }
  .timeline li::before { left: -28px; top: 6px; }
  .timeline time { display: inline; font-size: 18px; margin-right: 10px; }
  .timeline strong { display: inline; }
  .loc-grid, .apply-grid { grid-template-columns: 1fr; }
  .apply-grid .lead-form { order: -1; } /* 휴대폰에서는 등록 양식을 먼저 */
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  /* 닫힌 메뉴는 화면 밖 대신 투명하게 숨김 (화면 밖에 두면 가로 스크롤이 생김) */
  .gnb { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; gap: 0; padding: 20px 24px; background: var(--navy); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; font-size: 18px; }
  .gnb a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 1; }
  .menu-open .gnb { opacity: 1; visibility: visible; transform: none; }
  .header-cta { margin-left: auto; }
  .menu-btn { display: block; }
  .btn-tel { padding: 8px 14px; font-size: 14px; }
  .quick-bar { display: grid; }
  .sec { padding: 84px 0; }
  .stats ul { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .logo strong { font-size: 18px; }
  .hero-inner { padding-bottom: 96px; }
  .hero-eyebrow { letter-spacing: .12em; font-size: 12px; }
  .hero-chips li { font-size: 13px; padding: 6px 12px; }
  .hero-btns .btn { flex: 1 1 100%; }
  .plan-grid { gap: 10px; }
  .plan-card { aspect-ratio: 4 / 5; border-radius: 14px; }
  .plan-card div { left: 14px; right: 14px; bottom: 14px; }
  .plan-card h3 { font-size: 17px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .type-card:last-child { grid-column: span 2; }
  .type-card b { font-size: 38px; }
  .soon { padding: 84px 0; }
  .btn-tel .num { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .gallery figcaption { font-size: 13px; padding: 24px 12px 10px; }
  .photo-card figcaption { padding: 40px 18px 16px; }
  .soon-list { grid-template-columns: 1fr; }
  .lead-form, .perk { padding: 30px 20px; }
  .lead-fields { grid-template-columns: 1fr; gap: 0; }
  .ov-grid { grid-template-columns: 1fr; }
  .ov-grid > div { padding: 18px 20px; }
  .press { grid-template-columns: 1fr; }
  .check { padding: 20px; }
}
