/* 경림전력 — kkpower.hero-online.co.kr
   2026-09-29 개편: 링크스토리 스토리라인(감사장 → 30년 기술 → 난공사 → 한전 업무 → 내 공사처럼)을 따라 다시 짰습니다.
   색은 역할로 나눕니다 — 초록은 전화(2026-10-20 «자주 받는 수정 요청»: 전화 = 초록, 빨강 전화 단추는 «너무 강렬»),
   파랑은 상담 신청 · 링크, 호박색은 전구 사진에서 가져온 강조(어두운 바탕 위 작은 글씨 · 첫 화면 강조 낱말 하나),
   빨강·호박·초록 테두리는 «지금 부를 일인가» 표의 신호에만. 인라인 style 은 CSP 에 막히니 전부 여기에. */

:root {
  --ink: #0f1115;
  --ink-2: #1a1d24;
  --text: #4b5563;
  --muted: #6a707a;
  --line: #e4e6ea;
  --gray: #f8fafc;
  --blue: #2a5ce6;
  --blue-dark: #1f4bc4;
  --blue-soft: #edf2fe;
  --amber: #f3a93b;
  --red: #d63b3b;
  --green: #1f9d6a;
  --call: #16a34a;
  --call-dark: #15803d;
  --radius: 14px;
  --wrap: 1160px;
  --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 8vw, 128px);
  --top-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top-h); }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
b { font-weight: 700; color: var(--ink); }
.nb { white-space: nowrap; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-mid { max-width: 880px; }

/* ---------------------------------------------------------------- 단추 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 12px; border: 2px solid transparent;
  font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  transition: background .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn-line { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-wide { width: 100%; }
.btn-num { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------------------------------------------------------------- 머리 */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.top.is-stuck { background: rgba(15, 17, 21, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .25); }
.top-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  height: var(--top-h); display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; min-height: 48px; }
.logo img { width: 112px; }

.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: rgba(255, 255, 255, .88); font-size: 16px; font-weight: 600; }
.menu a:hover { color: #fff; text-decoration: none; }
.menu .menu-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--call); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-weight: 800; font-variant-numeric: tabular-nums;
}
.menu .menu-cta:hover { background: var(--call-dark); }
.menu-btn { display: none; }

/* ---------------------------------------------------------------- 첫 화면 */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(100svh, 880px);
  padding: calc(var(--top-h) + 48px) 0 72px;
  background: var(--ink) url(/img/hero-wide.jpg) right center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 13, 17, .94) 0%, rgba(12, 13, 17, .82) 42%, rgba(12, 13, 17, .25) 78%, rgba(12, 13, 17, .1) 100%);
}
.hero-in { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--amber); font-size: 16px; font-weight: 700; letter-spacing: 0;
  padding: 8px 14px; border: 1px solid rgba(243, 169, 59, .4); border-radius: 999px; background: rgba(243, 169, 59, .08);
}
.hero h1 {
  color: #fff; margin: 24px 0 22px;
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.16; letter-spacing: -0.035em;
  max-width: 13em;
}
.hero-lead { max-width: 34em; color: rgba(255, 255, 255, .82); font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

/* ---------------------------------------------------------------- 구역 공통 */
.sec { padding: var(--sec) 0; }
.sec-gray { background: var(--gray); }
.sec-blue { background: var(--blue-soft); }
.sec-dark { background: var(--ink); color: rgba(255, 255, 255, .78); }
.sec-dark h2, .sec-dark h3, .sec-dark b { color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 56px); }
.eyebrow { color: var(--blue); font-size: 15px; font-weight: 800; letter-spacing: 0.02em; margin-bottom: 14px; }
.sec-dark .eyebrow { color: var(--amber); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
.lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.sec-dark .lead { color: rgba(255, 255, 255, .72); }

/* ---------------------------------------------------------------- 하는 일 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 17, 21, .08); }
.card-img { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(15, 17, 21, .72); color: rgba(255, 255, 255, .9);
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.card-body { padding: 24px 24px 28px; }
.card-tag { color: var(--blue); font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.card h3 { font-size: 21px; margin-bottom: 12px; }
.card-body p:last-child { font-size: 16px; color: var(--text); line-height: 1.7; }

/* ---------------------------------------------------------------- 지금 부를 일인가 */
.triage { display: grid; gap: 14px; }
.tri {
  display: grid; grid-template-columns: 200px 1.3fr 1fr; gap: 28px; align-items: start;
  padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--line); border-left-width: 6px; background: #fff;
}
.tri-when { font-size: 19px; font-weight: 800; color: var(--ink); }
.tri-what { color: var(--text); font-size: 17px; }
.tri-do p { font-size: 16px; color: var(--muted); }
.tri-now { border-left-color: var(--red); background: #fff7f7; }
.tri-now .tri-when { color: var(--red); }
.tri-soon { border-left-color: var(--amber); background: #fffaf2; }
.tri-soon .tri-when { color: #b86e00; }
.tri-wait { border-left-color: var(--green); background: #f4fbf7; }
.tri-wait .tri-when { color: var(--green); }
.tri-call {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  min-height: 44px; padding: 0 16px; border-radius: 10px;
  background: var(--call); color: #fff; font-weight: 800; font-variant-numeric: tabular-nums;
}
.tri-call:hover { text-decoration: none; background: var(--call-dark); }

/* ---------------------------------------------------------------- 왜 경림전력 */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs { border-radius: var(--radius); padding: 30px 30px 32px; }
.vs-head { font-size: 19px; font-weight: 800; margin-bottom: 18px; }
.vs li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 17px; border-top: 1px solid rgba(255, 255, 255, .08); }
.vs li:first-child { border-top: 0; }
.vs li .ic { margin-top: .3em; }
.vs-bad { background: var(--ink-2); color: rgba(255, 255, 255, .55); }
.vs-bad .vs-head { color: rgba(255, 255, 255, .7); }
.vs-bad .ic { color: #8a909b; }
.vs-good { background: linear-gradient(160deg, #22386f 0%, #1a2a52 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(122, 160, 255, .35); }
.vs-good .vs-head { color: #fff; }
.vs-good .ic { color: var(--amber); }

.figures {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.figures > div { padding: 28px 18px 0 0; }
.figures dt { font-size: 15px; color: rgba(255, 255, 255, .6); }
.figures dd { margin-top: 6px; font-size: 18px; color: rgba(255, 255, 255, .85); }
.figures b { font-size: clamp(40px, 4.6vw, 58px); font-weight: 800; color: var(--amber); letter-spacing: -0.03em; margin-right: 4px; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- 현장 */
.record { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.record-text .lead { color: var(--text); }
.link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; min-height: 44px; }
.record-note { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; }
.record-list { border-top: 2px solid var(--ink); }
.record-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text);
}
.record-list span { font-weight: 800; color: var(--ink); font-size: 16px; }

/* ---------------------------------------------------------------- 대표의 원칙 · 후기 */
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.story-text h2 { margin-bottom: 24px; }
.story-text > p { margin-top: 16px; }
.pull { margin-top: 32px; padding: 4px 0 4px 22px; border-left: 4px solid var(--amber); }
.pull p { font-size: clamp(20px, 2vw, 24px); font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: -0.02em; }
.pull cite { display: block; margin-top: 10px; font-style: normal; font-size: 14px; color: var(--muted); }
.review {
  background: #fff; border-radius: var(--radius); padding: 34px 32px 30px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(15, 17, 21, .07);
}
.review-label { font-size: 14px; font-weight: 800; color: var(--blue); margin-bottom: 14px; }
.review-title { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.4; margin-bottom: 14px; }
.review blockquote p:last-child { font-size: 16px; line-height: 1.8; }
.review figcaption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- 진행 순서 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-no { display: inline-block; font-size: 14px; font-weight: 800; color: var(--blue); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; margin: 16px 0 8px; }
.steps p { font-size: 16px; color: var(--muted); }

/* ---------------------------------------------------------------- 자주 묻는 질문 */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--text); font-size: 17px; }

/* ---------------------------------------------------------------- 연락 */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-main .lead { color: var(--text); }
.urgent {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 24px; padding: 16px 18px; border-radius: 12px;
  background: #fff; border: 1px solid #f3c9c9; color: var(--text); font-size: 16px;
}
.urgent .ic { color: var(--red); margin-top: .25em; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.place { background: #fff; border-radius: 12px; padding: 20px 22px; }
.place h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.place h3 .ic { color: var(--blue); }
.place p { margin: 6px 0 8px; font-size: 16px; color: var(--text); }
.place a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 700; }
.callbox {
  background: #fff; border-radius: 18px; padding: 32px 30px;
  box-shadow: 0 20px 48px rgba(31, 75, 196, .12);
  display: grid; gap: 12px;
}
.callbox-label { font-size: 15px; font-weight: 700; color: var(--muted); }
.callbox-num { font-size: clamp(30px, 3.2vw, 38px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.callbox-num:hover { text-decoration: none; color: var(--blue); }
.callbox-mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 2px; font-size: 15px; color: var(--muted); }
.callbox-mail a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------------------------------------------------------------- 꼬리 */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 15px; }
.foot-in {
  max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gut) 48px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px;
}
.foot-brand img { width: 120px; }
.foot-brand p { margin-top: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; }
.foot-links a { color: rgba(255, 255, 255, .85); display: inline-flex; min-height: 44px; align-items: center; }
.foot-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.foot-info dt { font-size: 13px; color: rgba(255, 255, 255, .45); }
.foot-info dd { color: rgba(255, 255, 255, .85); }
.foot-info a { color: inherit; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-bottom p { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gut); font-size: 13px; color: rgba(255, 255, 255, .45); }

.callbar { display: none; }

/* ---------------------------------------------------------------- 개인정보처리방침 · 404 */
.page { padding: calc(var(--top-h) + 56px) 0 var(--sec); }
.page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.page h2 { font-size: 22px; margin: 40px 0 12px; }
.page p, .page li { font-size: 17px; }
.page ul { list-style: disc; padding-left: 1.3em; }
.page li { margin-top: 6px; }
.page .lead { margin-top: 0; }
.top.is-solid { background: var(--ink); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------------------------------------------------------------- 태블릿 */
@media screen and (max-width: 1040px) {
  .menu { gap: 20px; }
  .menu a { font-size: 15px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tri { grid-template-columns: 1fr 1fr; }
  .tri-when { grid-column: 1 / -1; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .record, .story, .contact { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* 메뉴를 접는 폭 — 여섯 칸이 한 줄에 안 들어갑니다 */
@media screen and (max-width: 900px) {
  :root { --top-h: 64px; }
  .logo img { width: 96px; }
  .menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 0; border-radius: 10px;
    background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px var(--gut) 20px; box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
  }
  .menu.is-open { display: flex; }
  .menu a { min-height: 50px; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .menu .menu-cta { justify-content: center; margin-top: 14px; min-height: 52px; border-bottom: 0; }
}

/* ---------------------------------------------------------------- 휴대폰 */
@media screen and (max-width: 640px) {
  body { font-size: 17px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .br-d { display: none; }

  .hero {
    align-items: flex-end;
    min-height: 0;
    padding: calc(var(--top-h) + 150px) 0 48px;
    background-position: 72% center;
  }
  .hero::before { background: linear-gradient(180deg, rgba(12, 13, 17, .35) 0%, rgba(12, 13, 17, .78) 38%, rgba(12, 13, 17, .95) 70%); }
  .hero-kicker { font-size: 14px; padding: 6px 12px; }
  .hero h1 { font-size: 32px; margin: 18px 0 16px; }
  .hero-actions { flex-direction: column; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { flex-direction: column; gap: 6px; margin-top: 28px; font-size: 14px; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card-body { padding: 20px 20px 24px; }
  .card h3 { font-size: 20px; }

  .tri { grid-template-columns: 1fr; gap: 10px; padding: 20px 20px 22px; }
  .tri-when { grid-column: auto; }

  .versus { grid-template-columns: 1fr; }
  .vs { padding: 24px 22px 26px; }
  .vs li { font-size: 16px; }
  .figures { margin-top: 40px; }
  .figures > div { padding-top: 22px; }

  .record-list li { grid-template-columns: 1fr; gap: 2px; }

  .review { padding: 26px 22px 24px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { padding: 22px 20px 24px; }

  .faq summary { font-size: 17px; padding: 20px 40px 20px 0; }
  .places { grid-template-columns: 1fr; }
  .callbox { padding: 26px 22px; }

  .foot-in { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .foot-info { grid-template-columns: 1fr; }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
    transition: transform .25s ease;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); box-shadow: 0 -6px 20px rgba(15, 17, 21, .12);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; border-radius: 12px; font-size: 17px; font-weight: 800;
  }
  .callbar a:hover { text-decoration: none; }
  .callbar-tel { background: var(--call); color: #fff; }
  .callbar-sms { background: var(--gray); color: var(--ink); border: 1px solid var(--line); }
  .callbar-form { background: var(--blue); color: #fff; }
  body.form-seen .callbar { transform: translateY(110%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .top, .btn, .card { transition: none; }
  .card:hover { transform: none; }
}

@media print {
  .top, .callbar, .hero::before { display: none; }
  .hero { background: none; color: var(--ink); min-height: 0; padding: 0; }
  .hero h1, .hero-lead { color: var(--ink); }
}

/* ---------------------------------------------------------------- 현장 기록 (tools/make_field.py, 2026-10-19) */
.field-latest { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line); }
.field-latest-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; color: var(--text); }
.field-latest-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-mini { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--gray); }
.field-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.field-latest-in:hover .field-mini img { transform: scale(1.03); }
.field-tag { position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.field-shot .field-tag { left: 12px; top: 12px; }
.field-latest-t { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.field-latest-t b { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; }
.field-latest-t .link-more { color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.field-meta { color: var(--muted); font-size: 16px; margin: -6px 0 26px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 30px; }
.field-pair-one { grid-template-columns: 1fr; max-width: 560px; }
.field-latest-pics.is-one { grid-template-columns: 1fr; }
.field-latest-pics.is-one .field-mini { aspect-ratio: 4 / 3.4; }
.field-shot { position: relative; margin: 0; }
.field-shot img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.field-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.page .field-list { list-style: none; padding-left: 0; }
.page .field-list li { position: relative; padding-left: 18px; margin-top: 10px; }
.page .field-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.field-photo-note { margin-top: 30px; color: var(--muted); font-size: 14px !important; }
.field-cta { margin-top: 26px; padding: 22px 24px; border-radius: var(--radius); background: var(--blue-soft); display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; }
.field-cta p { margin: 0; }
.page .field-cards { list-style: none; padding-left: 0; display: grid; gap: 18px; margin-top: 30px; }
.field-card { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color .2s, transform .2s; }
.field-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.field-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.field-card-t { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.field-card-t b { font-size: 19px; }
.field-card-t small { color: var(--muted); font-size: 14px; }
.page.field .eyebrow a { color: inherit; }
@media screen and (max-width: 900px) {
  .field-latest-in { grid-template-columns: 1fr; }
}
@media screen and (max-width: 640px) {
  .field-pair { grid-template-columns: 1fr; }
  .field-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .field-latest-in:hover .field-mini img, .field-card:hover { transform: none; }
}


/* ================================================================ 2026-10-20 보완
   «자주 받는 수정 요청»(matbogi-studio/REVISION-PATTERNS.md) · 짓기 표준에 맞춰 더한 것:
   전화 단추 초록 · 첫 화면 강조 낱말 하나 · 고르기 탭(하는 일) · 증상 누르기 · 전화 띠 둘 · 맨 아래 상담 신청 폼 · 등장 효과 · 정성 기본기 */

.btn-call { background: var(--call); color: #fff; }
.btn-call:hover { background: var(--call-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef2ff; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(15, 17, 21, .45); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }

/* 첫 화면 — 강조 낱말 하나만 빛 */
.grad {
  background: linear-gradient(90deg, #f3a93b 0%, #ffd58a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .grad { color: var(--amber); } }

/* ---------------------------------------------------------------- 하는 일 — 고르기 탭(라디오 + :checked, 스크립트 없이) */
.pick > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pick-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pick-chips label {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.pick-chips label:hover { border-color: var(--ink); }
.pick-chips label:active { transform: scale(.97); }
.pick:has(#pk-1:checked) label[for=pk-1], .pick:has(#pk-2:checked) label[for=pk-2], .pick:has(#pk-3:checked) label[for=pk-3],
.pick:has(#pk-4:checked) label[for=pk-4], .pick:has(#pk-5:checked) label[for=pk-5], .pick:has(#pk-6:checked) label[for=pk-6] {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.pick:has(#pk-1:focus-visible) label[for=pk-1], .pick:has(#pk-2:focus-visible) label[for=pk-2], .pick:has(#pk-3:focus-visible) label[for=pk-3],
.pick:has(#pk-4:focus-visible) label[for=pk-4], .pick:has(#pk-5:focus-visible) label[for=pk-5], .pick:has(#pk-6:focus-visible) label[for=pk-6] {
  outline: 3px solid var(--amber); outline-offset: 3px;
}
.pick-stage { display: grid; }
.pick-p {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 18px 40px -28px rgba(15, 17, 21, .35);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1), visibility 0s .4s;
}
#pk-1:checked ~ .pick-stage .pick-p1, #pk-2:checked ~ .pick-stage .pick-p2, #pk-3:checked ~ .pick-stage .pick-p3,
#pk-4:checked ~ .pick-stage .pick-p4, #pk-5:checked ~ .pick-stage .pick-p5, #pk-6:checked ~ .pick-stage .pick-p6 {
  opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
.pick-fig { margin: 0; position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.pick-photo img { width: 100%; height: 100%; object-fit: cover; }
.pick-photo figcaption {
  position: absolute; left: 12px; bottom: 12px; background: rgba(15, 17, 21, .78); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.pick-icon {
  display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 20%, #ffffff 0%, var(--blue-soft) 55%, #dfe8fd 100%);
  border: 1px solid #dbe4fb;
}
.pick-icon .ic { width: 38%; height: 38%; stroke: var(--blue); stroke-width: 1.4; }
.pick-t h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 14px; }
.pick-t > p:not(.card-tag) { color: var(--text); font-size: 17px; }
.pick-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 24px; }

/* ---------------------------------------------------------------- 증상 누르기 */
.tri-what { display: flex; flex-wrap: wrap; gap: 8px; }
.sym {
  min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(15, 17, 21, .14);
  background: rgba(255, 255, 255, .85); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.35;
  cursor: pointer; text-align: left; transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.sym:hover { border-color: var(--ink); }
.sym:active { transform: scale(.97); }
.tri-now .sym[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.tri-soon .sym[aria-pressed="true"] { background: #b86e00; border-color: #b86e00; color: #fff; }
.tri-wait .sym[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tri-result {
  margin-top: 6px; padding: 24px 26px; border-radius: var(--radius); background: var(--ink); color: rgba(255, 255, 255, .8);
  box-shadow: 0 18px 40px -26px rgba(15, 17, 21, .6);
}
.tri-result[hidden] { display: none !important; }
.tri-result-k { font-size: 14px; color: var(--amber); font-weight: 800; }
.tri-result-v { margin-top: 4px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.tri-result-d { margin-top: 6px; font-size: 16px; }
.tri-result-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tri-result-act .btn { min-height: 48px; font-size: 16px; }

/* ---------------------------------------------------------------- 전화 띠(반전 뒤 · 후기 뒤) */
.band { padding: clamp(28px, 4vw, 44px) 0; }
.band-a { background: var(--blue-soft); border-top: 1px solid #dbe4fb; border-bottom: 1px solid #dbe4fb; }
.band-b { background: var(--blue); }
.band-in {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; flex-wrap: wrap;
}
.band p { max-width: 42em; font-size: clamp(17px, 1.5vw, 20px); color: var(--text); }
.band-b p { color: rgba(255, 255, 255, .88); }
.band-b p b { color: #fff; }
.band .btn { min-height: 56px; font-size: 18px; flex: none; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- 맨 아래 상담 신청 폼 */
.contact { grid-template-columns: 1.2fr 1fr; }
.contact-side { display: grid; gap: 16px; }
.contact-side .urgent { margin-top: 0; }
.contact-side .places { margin-top: 0; }
.lead-wrap { scroll-margin-top: calc(var(--top-h) + 16px); }
.lead-form {
  background: #fff; border: 1px solid #dbe4fb; border-radius: 20px; padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 24px 48px -30px rgba(31, 75, 196, .45);
  display: grid; gap: 20px;
}
.lf-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.lf-set legend { padding: 0; margin-bottom: 10px; font-weight: 800; color: var(--ink); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before { content: ""; width: 7px; height: 12px; margin: -3px 9px 0 0; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.chip input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf-field { display: grid; gap: 8px; }
.lf-field > span { font-weight: 800; color: var(--ink); font-size: 16px; }
.lf-field em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--blue); margin-left: 4px; }
.lf-field small { font-weight: 500; color: var(--muted); }
.lf-field input, .lf-field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #cfd6e3; border-radius: 12px; background: #fff;
  font: inherit; font-size: 17px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.lf-field textarea { min-height: 96px; resize: vertical; }
.lf-field input:focus, .lf-field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42, 92, 230, .15); }
.lf-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); cursor: pointer; }
.lf-agree input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--blue); }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-note { font-size: 15px; color: var(--muted); text-align: center; }
.lf-note a { font-weight: 800; color: var(--call); font-variant-numeric: tabular-nums; }
.lf-msg { display: none; padding: 12px 14px; border-radius: 10px; background: #fff1f1; border: 1px solid #f3c9c9; color: #a32626; font-size: 15px; font-weight: 600; }
.lf-msg:target { display: block; }

/* 접수 완료 쪽(/thanks/) */
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.thanks-note { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- 등장 — 카드 줄 · 후기 · 과정 정도만(모든 구역에 걸지 않음) */
html[data-ix-reveal] [data-ix="reveal"] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease-out, transform .6s ease-out; }
html[data-ix-reveal] [data-ix="reveal"].is-in { opacity: 1; transform: none; }

/* 정성 기본기(matbogi-studio/snippets/interact/polish.html 에서 필요한 것만) */
::selection { background: var(--blue); color: #fff; }
:root { accent-color: var(--blue); caret-color: var(--blue); }
main img { background: #eef0f3; }
:where(main p a, main li a:not(.btn)):not([class]) {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s cubic-bezier(.2, .7, .2, 1);
}
:where(main p a, main li a:not(.btn)):not([class]):hover { background-size: 0 1px; background-position: 100% 100%; }

@media screen and (max-width: 1040px) {
  .contact { grid-template-columns: 1fr; }
}
@media screen and (max-width: 760px) {
  .pick-p { grid-template-columns: 1fr; }
  .pick-fig { aspect-ratio: 16 / 10; }
  .pick-icon .ic { width: 26%; height: 52%; }
}
@media screen and (max-width: 640px) {
  .pick-chips { gap: 8px; }
  .pick-chips label { min-height: 44px; padding: 0 14px; font-size: 15px; }
  .pick-act .btn { width: 100%; }
  .band .btn { width: 100%; }
  .lf-row { grid-template-columns: 1fr; }
  .tri-result-act .btn { width: 100%; }
  .thanks-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pick-p, .pick-chips label, .sym, .callbar { transition: none; }
  .btn:hover { transform: none; }
  html[data-ix-reveal] [data-ix="reveal"] { opacity: 1; transform: none; transition: none; }
}
