/* =========================================================
   위대한TV — 읽기 편한 밝은 테마 (v2)
   원칙: 본문 17px · 한 줄 최대 68자 · 제목과 설명은 위아래로 · 넉넉한 여백 · 큰 터치 영역
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-soft: #eef3ff;
  --text: #121826;
  --text-2: #3f4a63;
  --text-3: #6b7590;
  --line: #e3e8f1;
  --accent: #2650e8;
  --accent-dark: #1b3fc4;
  --accent-soft: #eaf0ff;
  --gold: #f5a400;
  --gold-soft: #fff5dc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(18, 30, 70, .08);
  --shadow-lg: 0 22px 56px rgba(18, 30, 70, .14);
  --container: 1160px;
  --read: 68ch;
  --header-h: 68px;
  --fs-body: 17px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  letter-spacing: -0.005em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.32; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 24px; border-radius: 12px;
  font-weight: 700; font-size: 16.5px; border: 1px solid transparent; text-align: center; line-height: 1.3;
  transition: transform .15s, background .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(38, 80, 232, .26); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { background: #fff; color: var(--text); border-color: #cfd7e6; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--white { background: #fff; color: var(--accent); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); }
.btn--kakao { background: #fee500; color: #191600; }

/* ---------- 상단 띠 ---------- */
.topbar { background: var(--text); color: #dfe5f3; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.ticker { position: relative; flex: 1; height: 38px; overflow: hidden; }
.ticker__item {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(100%); transition: opacity .45s, transform .45s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ticker__item.is-active { opacity: 1; transform: translateY(0); }
.ticker__item.is-leaving { opacity: 0; transform: translateY(-100%); }
.ticker__item b { color: #fff; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: #2b1d00; font-size: 11.5px; font-weight: 800; }
.topbar__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(18,30,70,.06); }
.header__inner { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; flex: none; }
.logo b { color: var(--accent); }
.logo__icon { width: 32px; height: 32px; color: var(--accent); }
.nav { margin-left: auto; display: flex; gap: 6px; font-size: 16px; font-weight: 600; color: var(--text-2); }
.nav a { position: relative; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; padding: 12px; }
.menu-btn span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.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); }

.mnav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 99;
  background: #fff; padding: 16px 20px 120px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.mnav.is-open { transform: none; visibility: visible; }
.mnav a { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 4px; font-size: 19px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mnav a span { color: var(--accent); }
.mnav__tel { flex-direction: column; align-items: flex-start !important; justify-content: center !important; color: var(--accent); font-size: 24px !important; border: 0 !important; margin-top: 16px; }
.mnav__tel small { font-size: 14px; color: var(--text-3); font-weight: 500; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--bg-alt); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.sec-head h2 { font-size: clamp(27px, 3.6vw, 38px); font-weight: 800; }
.sec-head > p { color: var(--text-2); font-size: 17px; max-width: var(--read); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin-bottom: 4px; }
.eyebrow--light { color: #cfe0ff; }
.center { text-align: center; margin-top: 36px; }
.note { margin-top: 28px; font-size: 14px; color: var(--text-3); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 64px 0 80px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 460px at 92% 0%, rgba(38,80,232,.10), transparent 60%),
    radial-gradient(600px 380px at 0% 100%, rgba(245,164,0,.12), transparent 60%),
    linear-gradient(180deg, #fbfcff 0%, #f1f5ff 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow-tag { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 22px; line-height: 1.25; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__text > p { color: var(--text-2); font-size: 18px; margin-bottom: 10px; max-width: 34em; }
.hero__points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__points li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text-2); }
.hero__points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 26px; }
.hero__meta { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; color: var(--text-2); }
.hero__meta b { color: var(--text); }
.hero__media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.3; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 14px; background: rgba(18,24,38,.78); color: #fff; font-size: 14px; font-weight: 700; border-radius: 10px; backdrop-filter: blur(6px); }

/* ---------- 진행 순서 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step__num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--text-2); line-height: 1.65; }

/* ---------- 한눈에 보기 (질문·답) ---------- */
.summary { margin: 0 0 28px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; color: var(--text-2); font-size: 16.5px; max-width: 900px; }
.summary b { color: var(--text); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts > div { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { font-weight: 800; font-size: 17.5px; margin-bottom: 6px; display: flex; gap: 8px; }
.facts dt::before { content: "Q"; color: var(--accent); }
.facts dd { margin: 0; color: var(--text-2); font-size: 16px; }

/* ---------- 설치가이드 카드 ---------- */
.guide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guide__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.guide__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.badge-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 15px; margin-bottom: 16px; }
.guide__item h3 { font-size: 19px; margin-bottom: 8px; }
.guide__item p { font-size: 15.5px; color: var(--text-2); line-height: 1.65; }

/* ---------- 타공 vs 무타공 ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.compare__col { padding: 32px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.compare__col h3 { font-size: 23px; margin: 14px 0 16px; }
.compare__col img { margin-top: auto; border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.tag { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 800; }
.tag--dark { background: var(--text); color: #fff; }
.tag--accent { background: var(--gold); color: #2b1d00; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 19px; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

/* ---------- 이런 집이라면 ---------- */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why__item { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 16px; }
.why__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why__item h3 { font-size: 20px; margin-bottom: 8px; }
.why__item p { color: var(--text-2); font-size: 16px; }

/* ---------- 시공사례 카드 ---------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.case:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.case__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case:hover .case__media img { transform: scale(1.04); }
.case__tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 7px; background: rgba(255,255,255,.95); color: var(--accent); font-size: 13px; font-weight: 800; }
.case__tag--gold { background: var(--gold); color: #2b1d00; }
.case figcaption { padding: 18px 20px 22px; display: grid; gap: 4px; }
.case figcaption b { font-size: 17.5px; line-height: 1.45; }
.case figcaption > span { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.case figcaption .case__area { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ---------- 지역 칩 ---------- */
.area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.area__group h3 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.area__group h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text-2); transition: all .2s; }
.chips a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips a span { opacity: .5; }

/* ---------- FAQ ---------- */
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.faq-filter button, .faq-filter a { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text-2); font-size: 15px; font-weight: 600; transition: all .2s; }
.faq-filter .is-active, .faq-filter button:hover, .faq-filter a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq { max-width: 900px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #b9c8f7; box-shadow: var(--shadow); }
.faq details.is-hidden { display: none; }
.faq summary { list-style: none; position: relative; padding: 20px 60px 20px 22px; cursor: pointer; display: grid; gap: 5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 20px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 20px; font-weight: 600; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__cat { font-size: 12.5px; font-weight: 800; color: var(--accent); }
.faq__q { font-size: 17.5px; font-weight: 800; line-height: 1.45; }
.faq__short { font-size: 15.5px; color: var(--text-2); }
.faq__body { margin: 0 22px; padding: 16px 0 22px; border-top: 1px dashed var(--line); font-size: 16px; color: var(--text-2); line-height: 1.8; }
.faq-more { margin-top: 24px; }
.faq-filter__n { margin-left: 6px; font-size: 13px; opacity: .7; }
.faq-group { scroll-margin-top: 90px; margin-top: 34px; }
.faq-group__title { font-size: 21px; font-weight: 800; margin: 0 0 14px; }
.faq details { scroll-margin-top: 90px; }
.faq summary h3.faq__q { margin: 0; }
.faq__link { display: block; margin-top: 12px; font-size: 13.5px; color: var(--accent); }
.faq-author { margin-top: 30px; font-size: 14px; color: var(--text-2); }

/* ---------- CONTACT 배너 ---------- */
.contact { background: linear-gradient(125deg, #1f46d6 0%, #2f5cf0 55%, #5a80ff 100%); color: #fff; position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; right: -140px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: rgba(255,255,255,.07); }
.contact__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.contact h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.contact p { color: rgba(255,255,255,.88); font-size: 17px; max-width: 32em; }
.contact__box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); border-radius: 20px; padding: 28px; display: grid; gap: 10px; }
.contact__tel { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; text-align: center; margin-bottom: 4px; letter-spacing: 0; }

/* ---------- 상담 폼 ---------- */
.inquiry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 52px; align-items: start; }
.inquiry h2 { font-size: clamp(27px, 3.4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.inquiry__intro p { color: var(--text-2); }
.inquiry__steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.inquiry__steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.inquiry__steps b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 15px; font-weight: 700; color: var(--text); padding: 0; }
.field legend small { font-weight: 500; color: var(--text-3); }
.req { color: #d6363c; }
.field input:not([type=radio]):not([type=checkbox]):not([type=file]), .field textarea {
  width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid #d4dbe8; border-radius: 10px;
  background: #fff; font: inherit; font-size: 16px; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field--choice { display: flex; flex-wrap: wrap; gap: 8px; }
.field--choice legend { width: 100%; margin-bottom: 6px; }
.field--choice label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 15px; background: #fff; border: 1px solid #d4dbe8; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer; }
.field--choice label:has(input:checked) { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.field--choice input { accent-color: var(--accent); margin: 0; width: 17px; height: 17px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.agree input { margin-top: 5px; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.agree a { color: var(--accent); text-decoration: underline; }
.form__error { margin: 0; padding: 12px 14px; border-radius: 10px; background: #fff0f0; color: #c62828; font-size: 15px; font-weight: 600; }
.form__submit { width: 100%; min-height: 58px; font-size: 17px; }

/* ---------- FOOTER ---------- */
.footer { background: #f3f6fb; border-top: 1px solid var(--line); padding: 60px 0 120px; font-size: 15px; color: var(--text-2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__desc { margin: 14px 0 8px; font-weight: 600; color: var(--text); }
.footer__small { color: var(--text-3); font-size: 14px; max-width: 420px; }
.footer h4 { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--accent); }
.footer__tel { font-size: 19px; font-weight: 800; color: var(--accent) !important; }
.footer__channels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.footer__channels-label { font-weight: 700; color: var(--text); margin-right: 6px; }
.footer__channels a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__bottom a { text-decoration: underline; }

/* ---------- 고정 요소 ---------- */
.callbar { display: none; }
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--text);
  box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .25s;
}
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 라이트박스 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,15,30,.9); display: flex; align-items: center; justify-content: center; padding: 40px 72px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { max-height: 78vh; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-size: 15px; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; border-radius: 50%; width: 52px; height: 52px; font-size: 30px; line-height: 1; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.26); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- 등장 애니메이션 (처음부터 보이고, 살짝만 떠오름) ---------- */
/* 내용은 항상 보이고, 아래쪽 카드만 살짝 떠오릅니다 (첫 화면·히어로는 움직이지 않음) */
.reveal { transition: transform .6s ease; }
.js .reveal:not(.is-in) { transform: translateY(14px); }
.js .hero .reveal, .js .page-hero .reveal { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .reveal:not(.is-in) { transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__media { aspect-ratio: 16/10; }
  .steps, .guide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__inner, .inquiry { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  :root { --header-h: 60px; --fs-body: 16.5px; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 36px 0; }
  .sec-head { margin-bottom: 26px; }
  .hero { padding: 36px 0 56px; }
  .hero__text > p { font-size: 17px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .steps, .guide, .why, .cases, .area, .compare, .facts, .footer__grid, .form__row { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 10px; }
  .step { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .step__num { grid-row: span 2; margin: 0; }
  .facts > div, .why__item, .compare__col { padding: 22px 20px; }
  .form { padding: 22px 16px; }
  .faq summary { padding: 18px 54px 18px 18px; }
  .faq summary::after { right: 14px; top: 18px; }
  .faq__body { margin: 0 18px; }
  .lightbox { padding: 60px 8px; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .lightbox__prev { left: calc(50% - 64px); }
  .lightbox__next { right: calc(50% - 64px); }
  .topbar__tel { display: none; }
  .callbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border-radius: 12px; font-weight: 800; font-size: 16.5px; }
  .callbar__call { background: var(--accent); color: #fff; }
  .callbar__sms { background: var(--accent-soft); color: var(--accent); }
  .totop { bottom: 88px; right: 14px; width: 44px; height: 44px; }
}

/* 문자 문의: PC에서 양식 복사 안내 */
.copytoast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 200; max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 12px; background: #17203a; color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: opacity .25s, transform .25s; }
.copytoast.is-in { opacity: 1; transform: translate(-50%, 0); }
.btn svg, .callbar svg { flex: none; }
.inquiry__alt { margin-top: 14px; font-size: 14.5px; color: var(--text-2); }
