/* =========================================================
   모든사이드미러 — 메인 스타일
   ========================================================= */
:root {
  --ink: #0b1224;
  --ink-2: #131d36;
  --ink-3: #1c2a4a;
  --text: #121a2e;
  --muted: #5f6b82;
  --line: #e6eaf2;
  --soft: #f5f7fb;
  --accent: #ff6b2c;
  --accent-2: #ff9a3d;
  --accent-grad: linear-gradient(135deg, #ff7a2f 0%, #ff4d4d 100%);
  --blue: #5b8cff;
  --kakao: #fee500;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(11, 18, 36, .05);
  --shadow: 0 18px 50px -12px rgba(11, 18, 36, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 124px; }
body { font-family: 'Pretendard', -apple-system, 'Malgun Gothic', sans-serif; color: var(--text); line-height: 1.65; word-break: keep-all; -webkit-font-smoothing: antialiased; background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1200px, 92%); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent-grad); z-index: 120; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 14px; font: 700 15px/1.2 inherit; font-family: inherit; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn--lg { padding: 16px 26px; font-size: 16px; border-radius: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent-grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 90, 50, .6); }
.btn--primary:hover { box-shadow: 0 16px 30px -8px rgba(255, 90, 50, .7); }
.btn--kakao { background: var(--kakao); color: #191919; }
.btn--glass { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.18); }
.btn--dark { background: var(--ink); color: #fff; }

/* ---------- 사진 자리 (placeholder) ---------- */
.ph { position: relative; background-size: cover; background-position: center; overflow: hidden; }
.ph.is-empty { background: repeating-linear-gradient(135deg, #eef1f7 0 14px, #e7ebf3 14px 28px); display: grid; place-items: center; }
.ph.is-empty::after { content: '📷 ' attr(data-label); font-size: 13px; font-weight: 600; color: #7d889f; background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; text-align: center; max-width: 90%; }
.ph--rounded { border-radius: var(--radius-lg); }

/* ---------- 헤더 ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s, color .3s; color: #fff; }
.header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--text); }
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
/* 최상단 전화 상담 바 */
.topbar { display: block; height: 40px; background: var(--accent-grad); color: #fff; font-size: 15px; transition: filter .2s; }
.topbar:hover { filter: brightness(1.06); }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; }
.topbar__ring { display: inline-block; animation: ring 2.4s ease-in-out infinite; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(-18deg); } 68% { transform: rotate(16deg); } 72% { transform: rotate(-12deg); } 76% { transform: rotate(8deg); } 80% { transform: rotate(0); } }
.topbar__label { font-weight: 700; }
.topbar b { font-size: 17px; font-weight: 900; letter-spacing: .01em; }
.topbar__sub { opacity: .85; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.4); }
.topbar__go { margin-left: 6px; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.2); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-grad); display: grid; place-items: center; overflow: hidden; }
.logo__mark i { font-style: normal; color: #fff; font-size: 22px; }
.logo__mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo__text b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.logo__text small { font-size: 10px; letter-spacing: .2em; opacity: .6; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; opacity: .85; transition: .2s; }
.nav a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.hdr-phone { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 4px rgba(52,210,123,.25); }
.menu-btn { display: none; width: 42px; height: 42px; border: 0; background: rgba(127,127,127,.12); border-radius: 12px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: .25s; color: inherit; }
.header .menu-btn { color: inherit; }
.menu-btn span:first-child { top: 16px; } .menu-btn span:last-child { top: 24px; }
.menu-btn.open span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn.open span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 히어로 ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; padding: 160px 0 90px; }
.hero__bg { position: absolute; inset: 0; background-position: 70% 38% !important; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero__bg.is-empty { background: radial-gradient(900px 500px at 75% 20%, #2a3f73 0, transparent 60%), radial-gradient(700px 500px at 10% 90%, #3a1f2c 0, transparent 60%), var(--ink); }
.hero__bg.is-empty::after { position: absolute; right: 24px; bottom: 24px; background: rgba(255,255,255,.12); color: #c8d2e8; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,36,.92) 0%, rgba(11,18,36,.7) 45%, rgba(11,18,36,.25) 100%), linear-gradient(0deg, rgba(11,18,36,.6), transparent 40%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,107,44,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,107,44,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,44,0); } }
.hero h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 20px; }
.hero h1 .hl { background: linear-gradient(90deg, #ffb35c, #ff6b2c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: clamp(16px, 1.6vw, 19px); color: #c5cee2; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 22px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #d4dcee; }
.status i { width: 9px; height: 9px; border-radius: 50%; }
.status--on i { background: #34d27b; box-shadow: 0 0 0 4px rgba(52,210,123,.25); }
.status--off i { background: #ffb547; }
.hero__panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(18px); border-radius: var(--radius-lg); padding: 30px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.hero__panel-title { font-size: 15px; color: #c5cee2; margin-bottom: 18px; }
.hero__panel-title b { color: #fff; }
.kpi { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kpi li { background: rgba(255,255,255,.07); border-radius: 18px; padding: 18px; }
.kpi b { font-size: 38px; font-weight: 800; letter-spacing: -.03em; }
.kpi em { font-style: normal; font-size: 18px; font-weight: 700; color: var(--accent-2); margin-left: 2px; }
.kpi span { display: block; font-size: 13px; color: #aab6cf; margin-top: 2px; }
.hero__panel-foot { display: flex; gap: 16px; margin-top: 18px; font-size: 14px; color: #d4dcee; flex-wrap: wrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 브랜드 ---------- */
.brands { background: var(--ink-2); padding: 20px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; gap: 56px; width: max-content; animation: roll 45s linear infinite; }
.brands__track span { font-weight: 800; color: #6f7d9c; font-size: 18px; white-space: nowrap; letter-spacing: -.01em; }
@keyframes roll { to { transform: translateX(-50%); } }

/* ---------- 섹션 공통 ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 90px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head--left { text-align: left; margin-left: 0; }
.section h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; letter-spacing: -.035em; font-weight: 800; margin: 12px 0 14px; }
.section h2 em { font-style: normal; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section__head p { color: var(--muted); font-size: 17px; }
.section__head--light p { color: #a9b5cf; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .2em; color: var(--accent); }
.link-arrow { color: var(--accent); font-weight: 700; display: inline-flex; gap: 6px; transition: gap .2s; }
.link-arrow:hover { gap: 10px; }

/* 스크롤 등장 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 증상 타일 ---------- */
.symptoms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sym { display: grid; justify-items: center; gap: 10px; padding: 26px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font: 700 15px inherit; font-family: inherit; color: var(--text); cursor: pointer; transition: .25s var(--ease); }
.sym i { font-style: normal; font-size: 30px; width: 60px; height: 60px; border-radius: 18px; background: var(--soft); display: grid; place-items: center; transition: .25s; }
.sym:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.sym:hover i { background: #fff1e8; transform: scale(1.08) rotate(-4deg); }

/* ---------- 비교 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.compare__card { border-radius: var(--radius-lg); padding: 38px; background: #fff; box-shadow: var(--shadow-sm); }
.compare__card h3 { font-size: 24px; letter-spacing: -.02em; margin: 8px 0 22px; }
.compare__label { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.compare__card ul { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.compare__card li { padding-left: 28px; position: relative; }
.compare__card--bad li::before { content: '✕'; position: absolute; left: 0; color: #c2c9d6; font-weight: 800; }
.compare__card--bad { color: var(--muted); }
.compare__card--good { background: var(--ink); color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.compare__card--good::before { content: ''; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(255,107,44,.35), transparent 70%); }
.compare__card--good .compare__label { background: rgba(255,107,44,.18); color: var(--accent-2); }
.compare__card--good li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.meter { height: 10px; background: rgba(127,127,127,.18); border-radius: 999px; overflow: hidden; }
.meter div { height: 100%; width: 0; border-radius: 999px; background: #c2c9d6; transition: width 1.4s var(--ease) .3s; }
.compare__card--good .meter div { background: var(--accent-grad); }
.reveal.in .meter div { width: var(--w); }
.meter__cap { font-size: 14px; margin-top: 8px; }

/* ---------- 벤토 서비스 ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 18px; }
.svc { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow-sm); }
.svc:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.svc:nth-child(2) { grid-column: span 2; }
.svc:nth-child(6) { grid-column: span 2; }
.svc .ph { position: absolute; inset: 0; z-index: -2; transition: transform .8s var(--ease); }
.svc .ph.is-empty { background: linear-gradient(135deg, #1c2a4a, #0b1224); }
.svc .ph.is-empty::after { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.12); color: #b8c3da; font-size: 12px; }
.svc::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,18,36,0) 25%, rgba(11,18,36,.9) 100%); }
.svc:hover .ph { transform: scale(1.06); }
.svc__body { position: absolute; inset: auto 0 0 0; padding: 26px; }
.svc__icon { font-size: 26px; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); margin-bottom: 14px; }
.svc__tag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--accent); }
.svc h3 { font-size: 22px; letter-spacing: -.02em; }
.svc:nth-child(1) h3 { font-size: 30px; }
.svc p { color: #ccd5e8; font-size: 15px; margin: 6px 0 12px; max-width: 460px; }
.svc a { font-weight: 700; font-size: 14px; color: #fff; display: inline-flex; gap: 6px; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); transition: .2s; }
.svc a:hover { background: var(--accent); }

/* ---------- 전후 비교 ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.ba { position: relative; aspect-ratio: 4 / 3; user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%; }
.ba .ph { position: absolute; inset: 0; }
.ba .ph.is-empty { background: #1c2a4a; }
.ba .ph.is-empty::after { position: absolute; top: 50%; transform: translate(-50%, 28px); background: rgba(255,255,255,.1); color: #a9b5cf; font-size: 11px; max-width: 44%; white-space: normal; }
.ba__before.is-empty::after { left: 25%; }
.ba__after.is-empty::after { left: 75%; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__after.is-empty { background: #263760 !important; }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba__handle { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); transform: translate(-50%, -50%); display: grid; place-items: center; font-weight: 900; box-shadow: 0 6px 20px rgba(0,0,0,.35); pointer-events: none; font-size: 14px; }
.ba__lab { position: absolute; top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; padding: 5px 10px; border-radius: 8px; background: rgba(0,0,0,.55); pointer-events: none; }
.ba__lab--b { left: 14px; } .ba__lab--a { right: 14px; background: var(--accent); }
.case__body { padding: 22px 24px 26px; }
.case__body small { color: var(--accent-2); font-weight: 700; }
.case__body h3 { font-size: 19px; margin: 4px 0 6px; }
.case__body p { color: #a9b5cf; font-size: 15px; }

/* ---------- 타임라인 ---------- */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.timeline li { position: relative; text-align: center; padding: 0 10px; }
.timeline__icon { position: relative; width: 92px; height: 92px; margin: 0 auto 20px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 36px; transition: .3s var(--ease); }
.timeline li:hover .timeline__icon { transform: translateY(-6px) rotate(-3deg); }
.timeline__no { position: absolute; top: -8px; left: calc(50% + 26px); z-index: 2; font-size: 12px; font-weight: 800; color: #fff; background: var(--accent-grad); padding: 3px 9px; border-radius: 999px; }
.timeline h3 { font-size: 19px; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* ---------- 소개·약속 ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__photo { position: relative; }
.about__photo .ph { aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.about__badge { position: absolute; right: -18px; bottom: 34px; background: var(--accent-grad); color: #fff; border-radius: 22px; padding: 18px 22px; box-shadow: var(--shadow); text-align: center; }
.about__badge b { display: block; font-size: 30px; line-height: 1; }
.about__badge span { font-size: 13px; }
.warn { background: #fff; border: 1px solid #ffd9c4; border-radius: var(--radius); padding: 22px 24px; margin: 26px 0 18px; }
.warn__title { font-weight: 800; color: #e2541b; margin-bottom: 10px; }
.warn ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.warn b { color: var(--text); margin-right: 8px; }
.promise { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.promise div { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); display: grid; }
.promise span { font-size: 12px; font-weight: 800; color: var(--accent); }
.promise b { font-size: 17px; }
.promise small { color: var(--muted); font-size: 14px; }

/* ---------- 갤러리 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.gallery__item { position: relative; border-radius: 18px; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: none; font-family: inherit; }
.gallery__item:nth-child(1), .gallery__item:nth-child(6) { grid-row: span 2; }
.gallery__item .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.gallery__item:hover .ph { transform: scale(1.07); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 700; font-size: 14px; text-align: left; background: linear-gradient(transparent, rgba(11,18,36,.8)); opacity: 0; transform: translateY(8px); transition: .3s; }
.gallery__item:hover figcaption { opacity: 1; transform: none; }
.gallery__item .ph.is-empty + figcaption { opacity: 1; transform: none; color: #7d889f; background: none; }

/* ---------- 지역 ---------- */
.area { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.area p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.area__map { position: relative; background: var(--ink); border-radius: var(--radius-lg); padding: 40px; overflow: hidden; }
.radar { position: absolute; right: -60px; top: -60px; width: 300px; height: 300px; }
.radar span { position: absolute; inset: 0; border: 1px solid rgba(255,107,44,.35); border-radius: 50%; animation: radar 3.6s linear infinite; }
.radar span:nth-child(2) { animation-delay: 1.2s; } .radar span:nth-child(3) { animation-delay: 2.4s; }
.radar i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 30px; font-style: normal; }
@keyframes radar { from { transform: scale(.2); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.area__list { position: relative; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.area__list li { padding: 16px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.area__list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 110px; }
.faq-wrap .section__head .btn { margin-top: 10px; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; transition: .25s; background: #fff; }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq__item summary { cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; align-items: center; gap: 14px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: 'Q'; flex: none; width: 30px; height: 30px; border-radius: 10px; background: #fff1e8; color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.faq__item summary::after { content: ''; flex: none; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: .25s; }
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { padding: 0 0 22px 44px; color: var(--muted); }

/* ---------- 사진 가이드 ---------- */
.guide { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.guide li { text-align: center; padding: 26px 10px; background: #fff; border-radius: var(--radius); display: grid; gap: 4px; box-shadow: var(--shadow-sm); }
.guide span { width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.guide small { color: var(--muted); }

/* ---------- 접수 ---------- */
.contact-sec { background: radial-gradient(800px 400px at 0% 0%, #fff1e8, transparent 60%), #fff; }
.contact { display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; align-items: start; }
.contact__info { position: sticky; top: 110px; }
.contact__info > p { color: var(--muted); }
.contact__phone { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.03em; margin: 22px 0 6px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kakao-id { margin-bottom: 18px; font-size: 15px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin-bottom: 24px; padding: 18px 20px; background: var(--soft); border-radius: 16px; font-size: 15px; }
.hours dt { font-weight: 700; }
.hours dd { color: var(--muted); }
.form { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
.form label i { color: var(--accent); font-style: normal; }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); width: 100%; transition: .2s; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(255,107,44,.12); }
.upload { display: flex !important; align-items: center; gap: 14px; border: 2px dashed #d3dae6; border-radius: 16px; padding: 18px; cursor: pointer; transition: .2s; grid-template-columns: none; }
.upload:hover { border-color: var(--accent); background: #fff8f3; }
.upload__icon { font-size: 26px; width: 52px; height: 52px; border-radius: 14px; background: #fff1e8; display: grid; place-items: center; }
.upload b { display: block; }
.upload small { color: var(--muted); font-weight: 500; }
.upload input { display: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs:empty { display: none; }
.thumbs figure { position: relative; width: 78px; height: 78px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.thumbs button { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; cursor: pointer; line-height: 1; }
.form .agree { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); }
.agree input { width: 18px !important; height: 18px; padding: 0 !important; accent-color: var(--accent); }
.agree a { text-decoration: underline; }
.form__msg { font-size: 15px; font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg.ok { color: #128a4a; background: #e8f8ef; padding: 14px 16px; border-radius: 12px; }
.form__msg.err { color: #d33; }

/* ---------- 푸터 ---------- */
.footer { background: var(--ink); color: #7f8ca8; font-size: 14px; padding: 56px 0 110px; }
.footer__in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__in p { margin-bottom: 4px; }
.footer__brand { color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 12px !important; }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: #fff; }
.footer__copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid #1d2846; font-size: 13px; }

/* ---------- 플로팅 ---------- */
.floatbar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; gap: 6px; padding: 6px; background: rgba(11,18,36,.9); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.floatbar a { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; color: #fff; font-weight: 700; font-size: 15px; transition: .2s; }
.floatbar a i { font-style: normal; }
.floatbar a:hover { background: rgba(255,255,255,.1); }
.floatbar .floatbar__main { background: var(--accent-grad); }
.floatbar a:last-child { background: var(--kakao); color: #191919; }
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-weight: 800; opacity: 0; pointer-events: none; transition: .3s; }
.totop.show { opacity: 1; pointer-events: auto; }

/* ---------- 모달 ---------- */
.modal { margin: auto; border: 0; border-radius: 22px; padding: 30px; max-width: 440px; width: 92%; }
.modal::backdrop, .lightbox::backdrop { background: rgba(8,12,24,.75); backdrop-filter: blur(4px); }
.modal h3 { margin-bottom: 14px; }
.modal p { margin-bottom: 8px; font-size: 15px; }
.modal .muted { color: var(--muted); font-size: 13px; }
.modal form { margin-top: 16px; text-align: right; }
.callmodal { text-align: center; max-width: 380px; position: relative; }
.callmodal h3 { font-size: 22px; margin: 4px 0 6px; }
.callmodal__x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--soft); font-size: 22px; cursor: pointer; }
.callmodal__num { display: block; font-size: 34px; font-weight: 900; letter-spacing: -.02em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.callmodal .status { color: var(--muted); justify-content: center; margin: 6px 0 14px; }
.callmodal__qr { width: 200px; height: 200px; margin: 0 auto 10px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; }
.callmodal__qr:empty { display: none; }
.callmodal__qr img, .callmodal__qr svg { width: 100%; height: 100%; }
.callmodal__btns { display: flex; gap: 8px; margin-top: 16px; }
.callmodal__btns .btn { flex: 1; }
.lightbox { margin: auto; border: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox figure { display: grid; gap: 12px; }
.lightbox img { max-width: 86vw; max-height: 80vh; border-radius: 16px; object-fit: contain; }
.lightbox figcaption { color: #fff; text-align: center; font-weight: 600; }
.lightbox__close { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; cursor: pointer; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 32px; cursor: pointer; }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .topbar__sub { display: none; }
  .nav { position: fixed; top: 116px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; color: var(--text); padding: 8px 4%; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu-btn { display: block; }
  .hdr-phone { display: none; }
  .header__cta { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; gap: 36px; }
  .hero__panel { max-width: 560px; }
  .symptoms { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .svc:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .svc:nth-child(2), .svc:nth-child(6) { grid-column: span 1; }
  .cases { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
  .about, .faq-wrap, .contact, .area { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section__head, .contact__info { position: static; }
  .about__photo { max-width: 480px; }
  .guide { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .section--tight { padding: 64px 0; }
  .header__in { height: 64px; }
  .nav { top: 104px; }
  .header__cta .btn { display: none; }
  .hero { padding: 140px 0 70px; }
  .topbar { font-size: 14px; }
  .topbar__in { gap: 7px; }
  .topbar b { font-size: 16px; }
  .topbar__go { font-size: 12px; padding: 3px 10px; margin-left: 2px; }
  .hero__shade { background: linear-gradient(180deg, rgba(11,18,36,.75), rgba(11,18,36,.92)); }
  .hero__cta .btn { flex: 1 1 100%; }
  .kpi b { font-size: 30px; }
  .scroll-cue { display: none; }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
  .compare { grid-template-columns: 1fr; }
  .compare__card { padding: 28px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .svc:nth-child(n) { grid-column: span 1; }
  .svc:nth-child(1) h3 { font-size: 24px; }
  .cases { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 14px; row-gap: 30px; }
  .timeline__icon { width: 76px; height: 76px; font-size: 30px; border-radius: 22px; }
  .about__badge { right: 12px; }
  .promise { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .area__map { padding: 26px; }
  .guide { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .floatbar { left: 10px; right: 10px; bottom: 10px; transform: none; }
  .floatbar a { flex: 1; justify-content: center; flex-direction: column; gap: 2px; padding: 9px 4px; font-size: 13px; }
  .totop { bottom: 92px; right: 14px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
