/* 해피특공대 2026-11 개편. 흰 바탕 + 로고 남색·주황 두 색. 말끔반장(노랑·큰 사진 한 장)과 다른 결: 정찰제 견적서·전국 지도·큰 팀. */
@font-face { font-family: "Pretendard"; src: url("/assets/fonts/pretendard-happy.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  /* 로고 두 색(남색·주황) 그대로 — 브랜드 색이라 바꾸지 않는다 */ /* deslop-ignore-next-line 03 */
  --navy: #111827; --orange: #f25c1f; --orange-ink: #c2410c; --orange-50: #fff3ec;
  --g50: #f9fafb; --g100: #f2f4f6; --g200: #e5e8eb; --g300: #d1d6db; --g500: #8b95a1; --g600: #6b7684; --g700: #4e5968; --g800: #333d4b;
  --wrap: 1200px; --gut: 20px; --header-h: 64px; --r-btn: 12px; --r-card: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: #fff; color: var(--navy); font: 400 17px/1.65 "Pretendard", system-ui, sans-serif; word-break: keep-all; overflow-wrap: break-word; padding-bottom: 76px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* 버튼 */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: var(--r-btn); font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s, transform .2s; }
.button:active { transform: scale(.98); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: #1f2937; }
.button-soft { background: var(--g100); color: var(--g800); }
.button-soft:hover { background: var(--g200); }
.button[disabled] { background: var(--g200); color: var(--g700); cursor: not-allowed; }
.cta-row { display: grid; gap: 10px; margin-top: 28px; }
/* 본문 속 링크라 밑줄이 맞다 */ /* deslop-ignore-next-line 09 */
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; font-weight: 700; color: var(--orange-ink); text-decoration: underline; text-underline-offset: 4px; }

/* 머리글 */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--g100); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.logo { height: 26px; width: auto; }
.nav, .header-call { display: none; }
.menu-button { margin-left: auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--g100); font-weight: 700; font-size: 15px; cursor: pointer; }
.mobile-menu { display: grid; padding: 8px var(--gut) 20px; border-top: 1px solid var(--g100); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--g100); }

/* 첫 화면: 휴대폰은 제목 → 영상 → 견적서, 넓은 화면은 영상 전체 배경 위에 제목·견적서 */
.hero { display: flex; flex-direction: column; padding-top: 32px; }
.hero-inner { display: contents; }
.hero-copy { order: 1; margin-inline: var(--gut); }
.hero-film { order: 2; position: relative; margin: 24px var(--gut) 0; border-radius: var(--r-card); overflow: hidden; background: var(--g100); }
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 66% 50%; }
.hero-receipt { order: 3; position: relative; margin: -36px calc(var(--gut) + 14px) 0; }
.hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); line-height: 1.18; font-weight: 800; letter-spacing: -.03em; }
.hl { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hl > span { display: inline-block; }
.hero-note { margin-top: 16px; font-size: 16px; color: var(--g700); line-height: 1.6; }
.hero .cta-row { display: none; }
/* 영상 멈춤·재생: 글자 없이 작은 기호만(멈춤 = 두 줄, 재생 = 세모) */ /* deslop-ignore-next-line 19 */
.video-toggle { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(17, 24, 39, .12); border-radius: 50%; background: rgba(255, 255, 255, .9); cursor: pointer; opacity: .75; transition: opacity .2s; }
.video-toggle:hover, .video-toggle:focus-visible { opacity: 1; }
.video-toggle::before, .video-toggle::after { content: ""; position: absolute; top: 15px; width: 3px; height: 14px; border-radius: 1px; background: var(--navy); }
.video-toggle::before { left: 17px; }
.video-toggle::after { left: 24px; }
.video-toggle[aria-pressed="true"]::before { left: 18px; top: 14px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--navy); }
.video-toggle[aria-pressed="true"]::after { display: none; }

/* 견적서 카드 */
.receipt { background: #fff; border: 1px solid var(--g200); border-radius: var(--r-card); padding: 22px 22px 18px; box-shadow: 0 10px 30px rgba(17, 24, 39, .08); }
.receipt-label { font-size: 14px; font-weight: 600; color: var(--g600); }
.receipt-amount { margin-top: 4px; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.receipt-amount strong { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin-right: 2px; }
.receipt-basis { font-size: 15px; color: var(--g600); }
.receipt-rows { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--g300); display: grid; gap: 6px; }
.receipt-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.receipt-rows dt { color: var(--g700); }
.receipt-rows dd { font-weight: 700; text-align: right; }
.receipt-rows .zero { color: var(--orange-ink); }
.receipt [data-row] { opacity: 1; }

/* 기본 정보: 큰 숫자 */
.facts { margin-top: 56px; border-block: 1px solid var(--g200); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; }
.facts-grid div { padding: 22px 0 22px 16px; border-left: 1px solid var(--g200); }
.facts-grid div:nth-child(odd) { border-left: 0; padding-left: 0; }
.facts-grid div:nth-child(n + 3) { border-top: 1px solid var(--g200); }
.facts-grid dt { font-size: 14px; font-weight: 600; color: var(--g600); }
.facts-grid dd { margin-top: 4px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.facts-grid strong { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts-grid strong.facts-word { font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.facts-grid dd span { font-size: 17px; font-weight: 700; color: var(--g700); }

/* 구역 공통 */
.section { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head h2, .page-hero h1, .area-copy h1, .area-copy h2, .consult-copy h2, .case-copy h2, .faq h2 { font-size: clamp(1.75rem, 6.6vw, 2.5rem); line-height: 1.25; font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 14px; color: var(--g700); }
.small-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.not-done { margin-top: 14px; font-size: 15px; color: var(--g600); }

/* 서비스: 21st.dev kedhareswer/hover-expand-gallery(정적 이식). 좁은 화면은 세로 아코디언 */
.hx { border-top: 1px solid var(--navy); }
.hx-item { border-bottom: 1px solid var(--g200); }
.hx-trigger { display: flex; width: 100%; min-height: 72px; align-items: center; justify-content: space-between; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.hx-label { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--g500); transition: color .3s; }
.hx-meta { font-size: 14px; font-weight: 600; color: var(--g600); text-align: right; }
.hx-item.is-open .hx-label { color: var(--navy); }
.hx-panel { display: grid; grid-template-rows: 0fr; overflow: hidden; visibility: hidden; transition: grid-template-rows .5s cubic-bezier(.32, .72, 0, 1), visibility .5s; }
.hx-panel > * { min-height: 0; }
.hx-item.is-open .hx-panel { grid-template-rows: 1fr; visibility: visible; }
.hx-panel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; }
.hx-card { padding: 16px 0 24px; }
.hx-card h3 { font-size: 20px; font-weight: 800; }
.hx-card h3 a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.hx-card h3 a::after { content: " →"; white-space: pre; color: var(--orange); }
.hx-card p { color: var(--g700); }

/* 지도 */
.area { background: var(--g50); }
.area-grid { display: grid; gap: 32px; }
.area-copy > p { margin-top: 14px; color: var(--g700); }
.region-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; }
.chip { min-height: 44px; padding: 0 12px; border: 1px solid var(--g300); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--g500); }
.chip.is-selected, .chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-off { color: var(--g700); background: var(--g100); border-style: dashed; }
.chip-off[aria-pressed="true"] { background: var(--g700); border-color: var(--g700); }
.region-status { margin-top: 18px; min-height: 56px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--g200); font-weight: 600; }
.region-status.is-on strong { color: var(--orange-ink); }
.map-figure { display: flex; justify-content: center; }
.korea-map { width: 100%; max-width: 300px; height: auto; }
@media (min-width: 1000px) { .korea-map { max-width: 460px; } }
.korea-map path { fill: var(--g200); stroke: #fff; stroke-width: 1.4; transition: fill .2s; cursor: pointer; }
.korea-map path:hover { fill: var(--g300); }
.korea-map path.off { fill: var(--g100); cursor: default; }
.korea-map path.is-selected { fill: var(--navy); }
.korea-map path.off.is-selected { fill: var(--g500); }
.map-hub circle:first-child { fill: var(--orange); opacity: .18; }
.map-hub circle:last-of-type { fill: var(--orange); }
.map-hub text { font-size: 17px; font-weight: 700; fill: var(--navy); }
.map-hub text + text { font-weight: 600; fill: var(--g700); }

/* 작업 영상 칸 */
.steps-grid { display: grid; gap: 32px; }
.team-film video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); background: var(--g100); }
/* 진행 단계 */
.steps-track { display: grid; gap: 0; border-left: 2px solid var(--g200); margin-left: 6px; }
.steps-track li { position: relative; padding: 0 0 26px 24px; }
/* 진행 단계 점(타임라인 표시) */ /* deslop-ignore-next-line 19 */
.steps-track li::before { content: ""; position: absolute; left: -8px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.steps-track li:last-child { padding-bottom: 0; }
.steps-track li:nth-child(3)::before { border-color: var(--orange); }
.steps-track strong { display: block; font-size: 18px; font-weight: 800; }
.steps-track span { display: block; margin-top: 2px; color: var(--g700); font-size: 16px; }

/* 실제 현장 */
.case-grid { display: grid; gap: 28px; }
.case-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.case-photos img, .case-load img, .pair img, .case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
figcaption { margin-top: 8px; font-size: 14px; color: var(--g600); font-weight: 600; }
.case-where { font-size: 15px; font-weight: 700; color: var(--orange-ink); margin-bottom: 10px; }
.case-facts { margin-top: 22px; display: grid; border-top: 1px solid var(--g200); }
.case-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--g200); }
.case-facts dt { color: var(--g600); font-size: 15px; }
.case-facts dd { font-weight: 700; }

/* 비교 슬라이더: 21st.dev wensity/before-after-card(정적 이식). 위치는 site.js 가 --pos 로만 바꾼다 */
.compare-frame { --pos: 50%; position: relative; overflow: hidden; border-radius: var(--r-card); cursor: ew-resize; touch-action: pan-y; user-select: none; background: var(--g100); }
.compare-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; pointer-events: none; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; }
/* 끌어서 움직이는 손잡이(동그라미) */ /* deslop-ignore-next-line 19 */
.compare-knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(17, 24, 39, .3); }
.compare-knob::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--navy); }
.compare-tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(17, 24, 39, .72); color: #fff; font-size: 13px; font-weight: 700; }
.compare-tag-after { left: 12px; }
.compare-tag-before { right: 12px; }
.compare-frame:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* 후기 */
.reviews { padding-top: 0; }
.review-grid { display: grid; gap: 14px; margin-top: 18px; }
.review { padding: 24px; border-radius: var(--r-card); background: var(--g50); }
.stars { color: var(--orange-ink); letter-spacing: .12em; font-size: 15px; margin-bottom: 8px; }
.review blockquote { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.55; }
.review figcaption { margin-top: 14px; }

/* 물어볼 것 */
.check { background: var(--navy); color: #fff; }
.check .section-head p { color: var(--g300); }
.check-list { display: grid; border-top: 1px solid rgba(255, 255, 255, .18); }
.check-list div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.check-list dt { color: #d1d6db; }
.check-list dd { font-weight: 700; font-size: 18px; }
.check-list dd::before { content: "✓ "; color: var(--orange); }

/* 문의 */
.consult-grid { display: grid; gap: 28px; }
.consult-copy > p { margin-top: 14px; color: var(--g700); }
.consult-phone { display: grid; margin-top: 24px; text-decoration: none; }
.consult-phone span { font-size: 15px; color: var(--g600); font-weight: 600; }
.consult-phone strong { font-size: 34px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.quote-card { padding: 22px; border: 1px solid var(--g200); border-radius: var(--r-card); }
.qf-label { margin: 18px 0 10px; font-weight: 700; }
.qf-label:first-child { margin-top: 0; }
.qf-options { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-next { width: 100%; margin-top: 24px; }
.qf-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 24px; }
.qf-hint { margin-top: 12px; font-size: 14px; color: var(--g600); }

/* 질문 */
.faq { background: var(--g50); }
.faq-grid { display: grid; gap: 24px; }
.faq details { border-bottom: 1px solid var(--g200); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--g500); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; color: var(--g700); }

/* 하위 페이지 */
.page-hero { padding: 48px 0 8px; }
.page-hero-grid { display: grid; gap: 28px; align-items: center; }
.page-hero .lede { margin-top: 16px; color: var(--g700); font-size: 18px; }
.page-hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-card); }
.item-list { display: grid; border-top: 1px solid var(--navy); }
.item-list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--g200); }
.item-list strong { font-size: 19px; font-weight: 800; }
.item-list span { color: var(--g700); }
.price-band-grid { display: grid; gap: 28px; align-items: center; }
.case-card { display: grid; gap: 20px; text-decoration: none; }
.compare-pair { display: grid; gap: 28px; }
.case-card h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.case-card p { color: var(--g700); }
.case-detail { display: grid; gap: 28px; }
.case-load, .pairs { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.how-list { counter-reset: how; display: grid; gap: 12px; }
.how-list li { padding-left: 18px; position: relative; }
/* deslop-ignore-next-line 19 */
.how-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* 바닥글 */
.site-footer { padding: 48px 0 28px; background: var(--g50); border-top: 1px solid var(--g200); font-size: 15px; }
.footer-grid { display: grid; gap: 24px; }
.footer-slogan { margin-top: 10px; font-weight: 700; }
.footer-info { display: grid; gap: 6px; color: var(--g700); }
.footer-info div { display: flex; flex-wrap: wrap; gap: 0 10px; }
.footer-info dt { color: var(--g600); }
.footer-info a { display: inline-flex; align-items: center; min-height: 44px; margin: -11px 0; text-decoration: none; font-weight: 700; color: var(--navy); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { padding: 10px 0; text-decoration: none; color: var(--g700); }
.footer-note { margin-top: 24px; font-size: 12px; color: var(--g700); }

/* 휴대폰 아래 고정 버튼 */
.mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--g200); }

@media (min-width: 600px) {
  .cta-row { display: flex; flex-wrap: wrap; }
  .hero-receipt { width: 360px; margin-left: 20px; }
  .review-grid, .case-load { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid div, .facts-grid div:nth-child(odd) { padding: 24px 0 24px 20px; border-left: 1px solid var(--g200); border-top: 0; }
  .facts-grid div:first-child { border-left: 0; padding-left: 0; }
  .check-list div { grid-template-columns: 1fr 1fr; align-items: baseline; }
}

@media (min-width: 1000px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 0; }
  .mobile-dock, .menu-button, .mobile-menu { display: none !important; }
  .nav { display: flex; gap: 28px; margin-left: 24px; }
  .nav a { font-size: 15px; font-weight: 600; color: var(--g700); text-decoration: none; padding: 10px 0; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
  .header-call { display: inline-flex; gap: 8px; align-items: center; margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: var(--r-btn); background: var(--navy); color: #fff; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
  .header-call span { color: var(--g300); font-weight: 600; }
  .hero { position: relative; display: block; padding: 0; min-height: min(calc(100svh - var(--header-h)), 860px); }
  .hero-film { position: absolute; inset: 0; margin: 0; border-radius: 0; }
  .hero-video { height: 100%; aspect-ratio: auto; object-position: 70% 50%; }
  /* 영상 위 글씨가 읽히도록 왼쪽만 흰색으로 덮는다(예전 사이트와 같은 방식) */ /* deslop-ignore-next-line */
  .hero-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .86) 34%, rgba(255, 255, 255, 0) 64%); pointer-events: none; }
  .video-toggle { top: auto; bottom: 24px; right: 24px; z-index: 2; }
  .hero-inner { position: relative; display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 48px; min-height: inherit; padding: 96px 0 64px; }
  .hero-copy { margin: 0; align-self: center; }
  /* 큰 제목은 두 줄짜리 문장이라 일부러 크게(토스·카카오뱅크 첫 화면 기준) */ /* deslop-ignore 11 */
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 5.25rem); line-height: 1.12; }
  .hero-note { font-size: 18px; margin-top: 22px; }
  .hero .cta-row { display: flex; margin-top: 36px; }
  .hero-receipt { margin: 0 0 56px; width: 340px; }
  .section { padding: 112px 0; }
  .section-head { margin-bottom: 48px; }
  /* 숫자 하나(15·3)만 크게 — 문장이 아님 */ /* deslop-ignore-next-line 11 */
  .facts-grid strong { font-size: 64px; }
  .facts-grid strong.facts-word { font-size: 26px; }
  .hx { --rail: 96px; display: flex; height: 580px; border-top: 0; }
  .hx-item { position: relative; flex: 0 1 var(--rail); min-width: 0; border-bottom: 0; border-left: 1px solid var(--g200); transition: flex-basis .62s cubic-bezier(.32, .72, 0, 1); }
  .hx-item:last-child { border-right: 1px solid var(--g200); }
  .hx-item.is-open { flex-basis: calc(100% - var(--rail) * 3); }
  .hx-trigger { position: absolute; inset: 0 auto 0 0; width: var(--rail); min-height: 0; flex-direction: column-reverse; justify-content: space-between; padding: 24px 0; z-index: 1; }
  .hx-label, .hx-meta { writing-mode: vertical-rl; white-space: nowrap; }
  .hx-label { font-size: 24px; }
  .hx-meta { opacity: 0; transition: opacity .4s; text-align: left; }
  .hx-item.is-open .hx-meta { opacity: 1; }
  .hx-panel { position: absolute; top: 12px; bottom: 12px; left: var(--rail); right: 16px; display: block; opacity: 0; transition: opacity .5s, visibility .5s; }
  .hx-item.is-open .hx-panel { opacity: 1; }
  .hx-panel img { height: 100%; aspect-ratio: auto; }
  .hx-card { position: absolute; left: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); padding: 20px 22px; border-radius: 16px; background: #fff; }
  .steps-film .steps-grid { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .steps-film .steps-track { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--g200); margin-left: 6px; }
  .steps-film .steps-track li { padding: 0 0 26px 24px; }
  .steps-film .steps-track li::before { left: -8px; top: 7px; }
  .area-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .steps-track { grid-template-columns: repeat(5, 1fr); border-left: 0; border-top: 2px solid var(--g200); margin: 0; }
  .steps-track li { padding: 32px 24px 0 0; }
  .steps-track li::before { left: 0; top: -8px; }
  .case-grid { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
  .check-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
  .consult-grid { grid-template-columns: 5fr 6fr; gap: 64px; }
  .quote-card { padding: 32px; }
  .faq-grid { grid-template-columns: 4fr 8fr; gap: 64px; }
  .page-hero { padding: 80px 0 16px; }
  .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .price-band-grid { grid-template-columns: 1fr 380px; gap: 64px; }
  .case-card { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .case-detail { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .pairs { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 2fr 1fr; gap: 48px; }
  .item-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); column-gap: 40px; border-top: 0; }
  .item-list li { border-bottom: 0; border-top: 2px solid var(--navy); padding: 20px 0 28px; }
  .compare-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-links { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hl > span { animation: lineup .9s cubic-bezier(.2, .7, .1, 1) both; }
  .hl + .hl > span { animation-delay: .12s; }
  @keyframes lineup { from { transform: translateY(105%); } }
  .receipt-rows > div { transition: opacity .5s ease, transform .5s ease; }
  .receipt.is-waiting .receipt-rows > div { opacity: 0; transform: translateY(6px); }
  .receipt-rows > div:nth-child(2) { transition-delay: .12s; }
  .receipt-rows > div:nth-child(3) { transition-delay: .24s; }
  .receipt-rows > div:nth-child(4) { transition-delay: .36s; }
}
