/*
 * 집수리 서비스(/fixpro) 전용. 모든 규칙은 .fx 안에 한정한다 — GNB·푸터(layout.css)와 다른 페이지에 영향 없음.
 * 색·둥글기는 임대관리 페이지(management.css)와 같은 값을 쓴다.
 */
.fx {
  --fx-primary: #00866B;
  --fx-primary-hover: #006F59;
  --fx-ink: #171C26;
  --fx-text: #515D6D;
  --fx-muted: #667383;
  --fx-line: #E4EBED;
  --fx-mint: #EAF7F2;
  --fx-mint-2: #F5FBF8;
  --fx-warn: #E0483B;
  --fx-radius: 12px;
  --fx-gutter: 20px;
  --fx-shadow: 0 6px 20px rgba(23, 28, 38, .06);
  color: var(--fx-text);
  letter-spacing: -.015em;
  overflow-x: clip;
}
.fx em { font-style: normal; color: var(--fx-primary); }
.fx h1, .fx h2, .fx h3, .fx p { margin: 0; }
.fx ul, .fx ol { margin: 0; padding: 0; list-style: none; }
.fx a { color: inherit; }
.fx-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--fx-gutter); min-width: 0; }
.fx .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 서비스 사진 */
.fx-ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #E6F0EC 0%, #F4F8F6 100%); }
.fx-ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px; background: url("icons/photo_record.svg") center / contain no-repeat; opacity: .35; }
.fx-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-ph:has(> img)::after { display: none; }

/* 버튼 */
.fx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.fx .fx-btn-primary { background: var(--fx-primary); color: #fff; }
.fx .fx-btn-primary:hover { background: var(--fx-primary-hover); }
.fx .fx-btn-outline { background: #fff; color: var(--fx-primary); border-color: #9CCFC2; }
.fx-btn-outline:hover { background: var(--fx-mint-2); border-color: var(--fx-primary); }
.fx .fx-btn-ghost { background: #fff; color: var(--fx-ink); border-color: var(--fx-line); }
.fx-btn-ghost:hover { background: #F7F9F8; }
.fx-btn[disabled] { opacity: .55; cursor: not-allowed; }
@media (min-width: 768px) { .fx-btn { min-height: 52px; padding: 0 26px; font-size: 16px; } }
.fx .fx-link { display: inline-flex; align-items: center; gap: 4px; color: var(--fx-primary); font-weight: 700; text-decoration: none; }
.fx-link:hover { text-decoration: underline; }

/* 서비스 안 탭 (서비스 소개 · 가격 안내 · 수리 신청) — 헤더 바로 아래에 붙어 따라온다 */
.fx-tabs { position: sticky; top: var(--gnb-header-h, 61px); z-index: 20; background: #fff; border-bottom: 1px solid var(--fx-line); }
.fx-tabs ul { display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fx-tabs ul::-webkit-scrollbar { display: none; }
.fx .fx-tabs a { display: block; padding: 14px 14px 12px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 650; color: var(--fx-text); text-decoration: none; white-space: nowrap; }
.fx .fx-tabs a:hover { color: var(--fx-primary); }
.fx .fx-tabs a[aria-current=page] { color: var(--fx-primary); border-bottom-color: var(--fx-primary); font-weight: 750; }
@media (min-width: 768px) { .fx-tabs ul { gap: 24px; } .fx-tabs a { padding: 16px 20px 14px; font-size: 15px; } }

/* 섹션 공통 */
.fx-section { padding-top: 36px; }
.fx-section-last { padding-bottom: 48px; }
.fx-head h2 { font-size: 20px; font-weight: 750; line-height: 1.35; letter-spacing: -.035em; color: var(--fx-ink); }
.fx-head p { margin-top: 6px; font-size: 13.5px; color: var(--fx-muted); }
@media (min-width: 768px) { .fx-section { padding-top: 56px; } .fx-section-last { padding-bottom: 72px; } .fx-head h2 { font-size: 26px; } .fx-head p { font-size: 15px; } }

/* ── 히어로 ── */
.fx-hero { background: linear-gradient(180deg, var(--fx-mint) 0%, var(--fx-mint-2) 100%); }
.fx-hero-inner { display: grid; gap: 20px; padding: 28px var(--fx-gutter) 24px; }
.fx-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--fx-primary); }
.fx-hero-title { margin-top: 8px; font-size: clamp(26px, 7vw, 46px); font-weight: 800; line-height: 1.25; letter-spacing: -.04em; color: var(--fx-ink); }
.fx-hero-lead { margin-top: 12px; font-size: 14px; line-height: 1.65; }
@media (min-width: 768px) {
  .fx-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 48px var(--fx-gutter) 40px; }
  .fx-hero-lead { font-size: 17px; }
}

/* 서비스 소개 히어로
   · 1023px 까지: 사진(작업자 · 조명 · 등판 로고가 다 보이게)을 위에, 글은 아래
   · 1024px 부터: 사진을 오른쪽에 깔고 글 쪽으로 흐려지게 (시안 배치) */
.fx-hero-main { position: relative; overflow: hidden; background: linear-gradient(180deg, #EDF8F3 0%, #F6FBF9 100%); }
.fx-hero-media { position: relative; max-width: 720px; margin: 0 auto; aspect-ratio: 3 / 2; }
.fx-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent); mask-image: linear-gradient(to bottom, #000 84%, transparent); }
.fx-hero-main .fx-hero-inner { display: block; position: relative; padding-top: 6px; padding-bottom: 28px; }
.fx-hero-main .fx-hero-title { margin-top: 6px; font-size: clamp(28px, 8.6vw, 36px); line-height: 1.24; }
.fx-hero-main .fx-hero-lead { margin-top: 10px; font-size: 14.5px; }
.fx-hero-actions { display: flex; gap: 8px; margin-top: 18px; }
.fx-hero-actions .fx-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; }
.fx-ic { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 98, 77, .1); }
.fx-ic img { width: 22px; height: 22px; }
.fx .fx-hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.fx-hero-points li { display: grid; justify-items: center; align-content: start; gap: 8px; padding: 12px 6px; border-radius: 12px; background: rgba(255, 255, 255, .8); text-align: center; }
.fx-hero-points p { min-width: 0; }
.fx-hero-points strong { display: block; font-size: 12.5px; font-weight: 750; line-height: 1.4; letter-spacing: -.03em; color: var(--fx-ink); word-break: keep-all; }
.fx-hero-points p > span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }
/* 좁은 칸(휴대폰, 1024~1279px): 설명 문장은 읽기 프로그램에만 (제목만으로 뜻이 통한다) */
@media (max-width: 599px) { .fx-hero-points p > span { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.fx-hero-hand, .fx-hero-badge { display: none; }
@media (min-width: 600px) and (max-width: 1023px) {
  .fx-hero-media img { -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, #000 84%, transparent), linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-composite: intersect; }
  .fx-hero-copy { text-align: center; }
  .fx-hero-main .fx-hero-title { font-size: 40px; }
  .fx-hero-main .fx-hero-lead { font-size: 16px; }
  .fx-hero-actions { justify-content: center; }
  .fx-hero-actions .fx-btn { flex: 0 1 220px; }
  .fx .fx-hero-points { gap: 12px; margin-top: 24px; }
  .fx-hero-points li { padding: 16px 12px; }
  .fx-hero-points strong { font-size: 14px; }
  .fx-hero-main .fx-hero-inner { padding-bottom: 36px; }
}
@media (min-width: 1024px) {
  /* 사진은 창 끝이 아니라 본문 오른쪽 끝(아래 카드와 같은 선)에 맞춘다. 폭은 본문 폭의 52% */
  .fx-hero-main { --fx-hero-r: max(20px, calc((100% - 1160px) / 2)); --fx-hero-w: calc(min(100% - 40px, 1160px) * .52); min-height: 540px; }
  .fx-hero-media { position: absolute; top: 0; bottom: 0; right: var(--fx-hero-r); width: var(--fx-hero-w); max-width: none; margin: 0; aspect-ratio: auto; }
  .fx-hero-media img { object-position: 66% 30%; -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 20%, #000 95%, transparent); }
  .fx-hero-main .fx-hero-inner { padding-top: 64px; padding-bottom: 56px; }
  .fx-hero-copy { max-width: 520px; }
  .fx-hero-main .fx-eyebrow { font-size: 15px; }
  .fx-hero-main .fx-hero-title { margin-top: 12px; font-size: 52px; }
  .fx-hero-main .fx-hero-lead { margin-top: 14px; font-size: 18px; }
  .fx-hero-actions { gap: 12px; margin-top: 30px; }
  .fx-hero-actions .fx-btn { flex: 0 0 auto; min-width: 200px; min-height: 56px; padding: 0 24px; }
  /* 1024~1279px: 사진과 겹치지 않게 좁은 카드(아이콘 + 제목) */
  .fx .fx-hero-points { max-width: 480px; gap: 10px; margin-top: 36px; }
  .fx-hero-points p > span { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fx-hero-badge { display: flex; align-items: center; gap: 12px; position: absolute; z-index: 1; right: calc(var(--fx-hero-r) + 20px); bottom: 24px; padding: 14px 22px 14px 14px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: 0 12px 32px rgba(23, 28, 38, .14); }
  .fx-hero-badge .fx-ic { width: 44px; height: 44px; background: var(--fx-mint); box-shadow: none; }
  .fx-hero-badge p span { display: block; font-size: 12.5px; font-weight: 700; color: var(--fx-primary); }
  .fx-hero-badge p strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 800; letter-spacing: -.03em; color: var(--fx-ink); }
}
@media (min-width: 1280px) {
  /* 시안 배치: 아이콘 왼쪽 + 제목·설명 */
  .fx .fx-hero-points { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); max-width: 640px; gap: 18px; margin-top: 40px; }
  .fx-hero-points li { display: flex; align-items: flex-start; gap: 10px; padding: 0; background: none; text-align: left; }
  .fx-hero-points strong { font-size: 14px; }
  .fx-hero-points p > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; margin-top: 4px; }
  /* 손글씨: 사진 왼쪽 위, 흐려지는 자리에서 천장 쪽으로 (작업자 모자·장갑보다 위) */
  .fx-hero-hand { display: block; position: absolute; z-index: 1; top: 44px; left: calc(100% - var(--fx-hero-r) - var(--fx-hero-w) - 36px); font-family: "Nanum Pen Script", cursive; font-size: 27px; line-height: 1.15; color: #26403A; transform: rotate(-5deg); transform-origin: left top; pointer-events: none; }
  .fx-hero-hand::after { content: ""; display: block; width: 120px; height: 11px; margin: 2px 0 0 88px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 11'%3E%3Cpath d='M3 8C34 3 80 2 117 4.5' fill='none' stroke='%2345B08C' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
}


/* ── 수리 항목 고르기: 카드 안 항목을 눌러 여러 개 선택 → 신청 버튼 ── */
.fx-pick { margin-top: 18px; }
.fx-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fx-cat { min-width: 0; padding: 8px 8px 12px; border: 1px solid var(--fx-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(23, 28, 38, .05); transition: border-color .15s, box-shadow .15s; }
.fx-cat.is-picked { border-color: var(--fx-primary); box-shadow: 0 0 0 1px var(--fx-primary), 0 8px 20px rgba(0, 134, 107, .12); }
.fx-cat-photo { aspect-ratio: 4 / 3; border-radius: 10px; }
.fx-cat-photo .fx-ic { position: absolute; z-index: 1; left: 8px; top: 8px; width: 36px; height: 36px; box-shadow: 0 3px 10px rgba(23, 28, 38, .14); }
.fx-cat-photo .fx-ic img { width: 20px; height: 20px; }
.fx-cat-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; margin: 10px 2px 0; }
.fx-cat-head h3 { font-size: 15px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-ink); }
/* 선택 전후 높이가 같도록 세로 여백은 늘 같게 */
.fx-cat-state { padding: 2px 0; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 18px; color: var(--fx-primary); white-space: nowrap; }
.fx-cat.is-picked .fx-cat-state { padding: 2px 8px; background: var(--fx-primary); color: #fff; }
.fx-cat-state-more { display: none; }
.fx-pills { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 2px 0; }
.fx .fx-pill { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px 0 8px; border: 1px solid transparent; border-radius: 999px; background: #F1F4F5; font: inherit; font-size: 12.5px; font-weight: 650; letter-spacing: -.02em; color: #2A3340; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.fx-pill::before { content: ""; width: 10px; height: 10px; flex-shrink: 0; background: linear-gradient(currentColor, currentColor) center / 10px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 10px no-repeat; opacity: .45; }
.fx .fx-pill:hover { border-color: #9CCFC2; background: #fff; }
.fx .fx-pill[aria-pressed="true"] { border-color: var(--fx-primary); background: var(--fx-primary); color: #fff; }
.fx-pill[aria-pressed="true"]::before { width: 5px; height: 9px; margin: -3px 2px 0 3px; background: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: 1; }
.fx-pill:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 2px; }
/* 기타 수리 띠 */
.fx .fx-other { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 14px 14px 14px 18px; border-radius: 14px; background: #EEF3F1; text-decoration: none; transition: background-color .15s; }
.fx .fx-other:hover { background: #E4EFEA; }
.fx-other-text { min-width: 0; }
.fx-other-text > span { display: block; font-size: 13.5px; color: #3A4552; }
.fx-other-text strong { display: block; margin-top: 3px; font-size: 16px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-primary); }
.fx-other img { width: 84px; height: auto; flex-shrink: 0; }
/* 비용 한 줄 + 신청 버튼 */
.fx .fx-pick-price { display: block; margin-top: 18px; text-align: center; text-decoration: none; }
.fx-pick-price strong { display: block; font-size: 14px; font-weight: 750; color: var(--fx-ink); }
.fx-pick-price > span { display: block; margin-top: 2px; font-size: 13px; color: var(--fx-muted); }
.fx-pick-price b { color: var(--fx-primary); font-weight: 800; }
.fx .fx-pick-price:hover strong { text-decoration: underline; }
.fx .fx-pick-cta { display: flex; gap: 8px; width: fit-content; min-height: 54px; margin: 12px auto 0; padding: 0 26px; border-radius: 999px; font-size: 16px; box-shadow: 0 10px 24px rgba(0, 98, 77, .28); }
.fx-pick-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--fx-primary); font-size: 13px; font-weight: 800; }
.fx-pick-count[hidden] { display: none; }
/* 휴대폰·태블릿: 신청 버튼이 카드를 보는 동안 화면 아래에 떠 있다 (sticky: 이 영역 안에서만) */
@media (max-width: 1023px) {
  .fx .fx-pick-cta { position: sticky; z-index: 15; bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@media (max-width: 374px) {
  .fx .fx-pick-cta { width: 100%; padding: 0 14px; font-size: 15px; }
  .fx-pick-cta > span[aria-hidden] { display: none; }
}
@media (min-width: 600px) {
  .fx-cats { gap: 16px; }
  .fx-cat { padding: 10px 10px 16px; border-radius: 16px; }
  .fx-cat-photo { border-radius: 12px; }
  .fx-cat-photo .fx-ic { left: 10px; top: 10px; width: 44px; height: 44px; }
  .fx-cat-photo .fx-ic img { width: 24px; height: 24px; }
  .fx-cat-head { margin: 14px 4px 0; }
  .fx-cat-head h3 { font-size: 18px; }
  .fx-cat-state { font-size: 14px; line-height: 20px; }
  .fx-cat-state-more { display: inline; }
  .fx-pills { gap: 6px; margin: 12px 4px 0; }
  .fx .fx-pill { min-height: 34px; padding: 0 12px 0 10px; font-size: 13.5px; }
  .fx .fx-other { padding: 20px 20px 20px 26px; }
  .fx-other-text > span { font-size: 16px; }
  .fx-other-text strong { margin-top: 4px; font-size: 20px; }
  .fx-other img { width: 112px; }
}
@media (min-width: 768px) { .fx-pick { margin-top: 24px; } }
@media (min-width: 1024px) {
  .fx-pick { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "cats cats" "other price" "other cta"; column-gap: 32px; align-items: end; }
  .fx-cats { grid-area: cats; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .fx .fx-other { grid-area: other; align-self: stretch; margin-top: 24px; }
  .fx .fx-pick-price { grid-area: price; margin-top: 24px; }
  .fx .fx-pick-cta { grid-area: cta; width: 100%; min-height: 58px; margin: 10px 0 0; padding: 0 20px; font-size: 17px; }
  .fx-pick-price strong { font-size: 15px; }
}

/* ── 수리 진행 과정 (PROCESS): 휴대폰 한 줄씩 · 태블릿 2×2 · PC 4칸 + 화살표 ── */
.fx-process { margin-top: 48px; }
.fx-kicker { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #1FA47E; }
.fx-kicker::after { content: ""; width: 6px; height: 6px; margin-left: 1px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }
.fx .fx-process-steps { display: grid; gap: 10px; margin-top: 16px; }
.fx-process-steps li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--fx-line); border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(23, 28, 38, .04); }
.fx-process-no { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--fx-mint); color: var(--fx-primary); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.fx-process-steps h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-ink); }
.fx-process-steps h3 img { width: 26px; height: 26px; flex-shrink: 0; }
.fx-process-steps p { margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--fx-text); word-break: keep-all; text-wrap: balance; }
@media (min-width: 600px) {
  .fx .fx-process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .fx-process-steps li { grid-template-areas: "no head" "desc desc"; row-gap: 14px; align-content: start; padding: 20px 20px 22px; }
  .fx-process-no { grid-area: no; grid-row: auto; }
  .fx-process-steps h3 { grid-area: head; justify-content: center; font-size: 17px; }
  .fx-process-steps p { grid-area: desc; margin-top: 0; text-align: center; }
}
@media (min-width: 768px) {
  .fx-process { margin-top: 72px; }
  .fx-process-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .fx .fx-process-head p { margin: 0 0 4px; font-size: 14px; }
  .fx .fx-process-steps { margin-top: 20px; }
}
@media (min-width: 1024px) {
  .fx .fx-process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .fx-process-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -23px; width: 18px; height: 18px; margin-top: -9px; background: url("icons/arrow-right.svg") center / contain no-repeat; opacity: .8; }
  .fx-process-steps li { padding: 20px 14px 22px; column-gap: 8px; }
  .fx-process-no { width: 34px; height: 34px; }
  .fx-process-steps h3 { gap: 6px; font-size: 15px; }
  .fx-process-steps h3 img { width: 24px; height: 24px; }
  .fx-process-steps p { font-size: 13.5px; }
}
@media (min-width: 1280px) {
  .fx .fx-process-steps { gap: 40px; }
  .fx-process-steps li:not(:last-child)::after { right: -30px; width: 20px; height: 20px; margin-top: -10px; }
  .fx-process-steps li { padding: 22px 22px 24px; column-gap: 14px; }
  .fx-process-no { width: 36px; height: 36px; }
  .fx-process-steps h3 { gap: 8px; font-size: 17px; }
  .fx-process-steps h3 img { width: 26px; height: 26px; }
  .fx-process-steps p { font-size: 14px; }
}

/* ── 임대관리 경험: 사진 + 문구 + 강점 3가지 ── */
.fx-exp { display: grid; gap: 20px; margin-top: 48px; }
.fx-exp .fx-ph { aspect-ratio: 16 / 10; border-radius: 14px; }
.fx-exp h2 { font-size: 22px; font-weight: 800; line-height: 1.35; letter-spacing: -.035em; color: var(--fx-ink); }
.fx-exp-copy > p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--fx-text); word-break: keep-all; }
.fx-br-wide { display: none; }
.fx .fx-exp-points { display: grid; gap: 16px; margin-top: 22px; }
.fx-exp-points li { display: flex; align-items: flex-start; gap: 12px; }
.fx-exp-points .fx-ic { width: 44px; height: 44px; background: var(--fx-mint); box-shadow: none; }
.fx-exp-points .fx-ic img { width: 24px; height: 24px; }
.fx-exp-points p { min-width: 0; padding-top: 2px; }
.fx-exp-points strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.03em; color: var(--fx-ink); }
.fx-exp-points p > span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.55; color: var(--fx-muted); word-break: keep-all; }
@media (min-width: 600px) { .fx-br-wide { display: inline; } }
@media (min-width: 768px) {
  .fx-exp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; margin-top: 72px; }
  /* 사진은 옆 글 높이만큼 늘어난다 (최소 높이만 둔다) */
  .fx-exp .fx-ph { align-self: stretch; aspect-ratio: auto; min-height: 300px; border-radius: 16px; }
  .fx-exp h2 { font-size: 30px; }
  .fx-exp-copy > p { margin-top: 12px; font-size: 16px; }
  .fx .fx-exp-points { margin-top: 26px; }
}
/* 1024~1279px: 3칸, 아이콘 위 · 글 아래 / 1280px~: 시안처럼 아이콘 왼쪽 */
@media (min-width: 1024px) {
  .fx .fx-exp-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
  .fx-exp-points li { flex-direction: column; gap: 10px; }
  .fx-exp-points p { padding-top: 0; }
}
@media (min-width: 1280px) {
  .fx-exp { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .fx .fx-exp-points { gap: 20px; }
  .fx-exp-points li { flex-direction: row; gap: 12px; }
  .fx-exp-points .fx-ic { width: 48px; height: 48px; }
  .fx-exp-points p { padding-top: 2px; }
  .fx-exp-points strong { font-size: 16px; }
  .fx-exp-points p > span { font-size: 13.5px; }
}

/* ── 방문 가능 지역 (항상 노출: 문구 + 지도) ── */
.fx-areas { display: grid; gap: 16px; margin-top: 32px; padding: 20px 18px; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(23, 28, 38, .04); }
.fx-areas h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-ink); }
.fx-areas h2 .fx-ic { width: 38px; height: 38px; background: var(--fx-mint); box-shadow: none; }
.fx-areas h2 .fx-ic img { width: 21px; height: 21px; }
.fx-areas-lead { margin-top: 8px; font-size: 14px; color: var(--fx-text); }
/* 구 이름: 칸을 맞춰 나열 (휴대폰 5칸, 600px~ 7칸 = 시안처럼 두 줄) */
.fx .fx-areas-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 4px; margin-top: 14px; padding: 14px 8px; border-radius: 12px; background: #EEF8F3; }
.fx-areas-list li { font-size: 14px; font-weight: 750; line-height: 1.4; letter-spacing: -.03em; text-align: center; white-space: nowrap; color: var(--fx-primary); }
@media (max-width: 359px) { .fx .fx-areas-list { gap: 8px 2px; padding: 12px 4px; } .fx-areas-list li { font-size: 13px; } }
@media (min-width: 600px) { .fx .fx-areas-list { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.fx-areas-note { margin-top: 10px; font-size: 13px; color: var(--fx-muted); }
/* 지도: 여백을 잘라낸 그림. 화면 폭별로 최대 크기만 둔다 */
.fx-areas-map { position: relative; width: 100%; max-width: 380px; margin: 0; justify-self: center; }
.fx-areas-map img { display: block; width: 100%; height: auto; }
/* 범례: 지도 색과 같게. 모바일은 지도 아래 가운데, PC 는 지도 오른쪽 빈 공간 */
.fx-areas-legend { display: flex; justify-content: center; gap: 16px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--fx-ink); }
.fx-areas-legend span { display: inline-flex; align-items: center; gap: 6px; }
.fx-areas-legend span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: #e5e8ec; }
.fx-areas-legend .is-on::before { background: #008974; }
@media (min-width: 768px) {
  .fx-areas { gap: 20px; margin-top: 56px; padding: 28px 32px; }
  .fx-areas h2 { font-size: 22px; }
  .fx-areas h2 .fx-ic { width: 42px; height: 42px; }
  .fx-areas h2 .fx-ic img { width: 23px; height: 23px; }
  .fx-areas-lead { margin-top: 10px; font-size: 15px; }
  .fx .fx-areas-list { gap: 14px 6px; margin-top: 16px; padding: 18px 12px; }
  .fx-areas-list li { font-size: 15.5px; letter-spacing: -.02em; }
  .fx-areas-note { margin-top: 12px; font-size: 14px; }
  .fx-areas-map { max-width: 440px; }
  .fx-areas-legend { justify-content: flex-end; gap: 18px; margin-top: 4px; font-size: 14px; }
}

/* ── 하단 CTA 띠 ── */
.fx-cta { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; margin-top: 0; padding: 22px 18px; border-radius: 16px; background: #E9F7F1; }
.fx-cta-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #D2EFE3; }
.fx-cta-ic img { width: 28px; height: 28px; }
.fx-cta h2 { font-size: 19px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-primary); }
.fx-cta p { margin-top: 4px; font-size: 13.5px; line-height: 1.55; word-break: keep-all; }
.fx .fx-cta .fx-btn { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .fx-cta { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 28px 32px; }
  .fx-cta-ic { width: 68px; height: 68px; }
  .fx-cta-ic img { width: 32px; height: 32px; }
  .fx-cta h2 { font-size: 26px; }
  .fx-cta p { font-size: 15px; }
  .fx .fx-cta .fx-btn { grid-column: auto; min-width: 220px; }
}

/* ── 가격 안내 ── */
/* 히어로: 수전 수리 사진(태블릿·PC 는 본문 오른쪽 끝에 맞춤) + 손글씨. 아래에 3가지 기준 띠가 걸친다 */
.fx-price-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #EDF8F3 0%, #F6FBF9 100%); }
.fx-price-media { position: relative; max-width: 720px; margin: 0 auto; aspect-ratio: 16 / 10; }
.fx-price-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
.fx-price-inner { position: relative; padding-top: 4px; padding-bottom: 48px; }
.fx-price-hero .fx-hero-title { font-size: clamp(28px, 8.6vw, 36px); line-height: 1.24; }
.fx-price-hero .fx-hero-lead { margin-top: 10px; font-size: 14.5px; }
.fx-price-hand { display: none; }
.fx-price-points-wrap { position: relative; z-index: 2; margin-top: -30px; }
.fx .fx-price-points { display: grid; padding: 2px 16px; border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(23, 28, 38, .08); }
.fx-price-points li { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.fx-price-points li + li { border-top: 1px solid var(--fx-line); }
.fx-price-points .fx-ic { width: 42px; height: 42px; background: var(--fx-mint); box-shadow: none; }
.fx-price-points p { min-width: 0; }
.fx-price-points strong { display: block; font-size: 14.5px; font-weight: 800; letter-spacing: -.03em; color: var(--fx-ink); }
.fx-price-points p > span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }
@media (min-width: 768px) {
  .fx-price-hero { --fx-price-r: max(20px, calc((100% - 1160px) / 2)); --fx-price-w: calc(min(100% - 40px, 1160px) * .5); min-height: 330px; }
  .fx-price-media { position: absolute; top: 0; bottom: 0; right: var(--fx-price-r); width: var(--fx-price-w); max-width: none; margin: 0; aspect-ratio: auto; }
  .fx-price-media img { object-position: 40% 55%; -webkit-mask-image: linear-gradient(to right, transparent, #000 26%, #000 95%, transparent); mask-image: linear-gradient(to right, transparent, #000 26%, #000 95%, transparent); }
  .fx-price-inner { padding-top: 60px; padding-bottom: 100px; }
  .fx-price-hero .fx-hero-title { font-size: 34px; }
  .fx-price-hero .fx-hero-lead { margin-top: 12px; font-size: 16px; }
  .fx-price-points-wrap { margin-top: -56px; }
  .fx .fx-price-points { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 22px 6px; }
  .fx-price-points li { align-items: flex-start; padding: 0 18px; }
  .fx-price-points li + li { border-top: 0; border-left: 1px solid var(--fx-line); }
}
@media (min-width: 1024px) {
  .fx-price-hero { --fx-price-w: calc(min(100% - 40px, 1160px) * .56); min-height: 360px; }
  .fx-price-inner { padding-top: 70px; padding-bottom: 108px; }
  .fx-price-hero .fx-hero-title { font-size: 48px; }
  .fx-price-hero .fx-hero-lead { margin-top: 14px; font-size: 18px; }
  .fx .fx-price-points { padding: 24px 8px; }
  .fx-price-points li { padding: 0 24px; }
  .fx-price-points .fx-ic { width: 48px; height: 48px; }
  .fx-price-points strong { font-size: 16px; }
  .fx-price-points p > span { font-size: 13.5px; }
  /* 손글씨: 사진 오른쪽 위 밝은 수건·샤워부스 자리 */
  .fx-price-hand { display: block; position: absolute; z-index: 1; top: 30px; left: calc(100% - var(--fx-price-r) - var(--fx-price-w) * .45); font-family: "Nanum Pen Script", cursive; font-size: 23px; line-height: 1.15; color: #26403A; white-space: nowrap; transform: rotate(-5deg); transform-origin: left top; pointer-events: none; }
  .fx-price-hand::after { content: ""; display: block; width: 120px; height: 11px; margin: 2px 0 0 70px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 11'%3E%3Cpath d='M3 8C34 3 80 2 117 4.5' fill='none' stroke='%2345B08C' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
}

@media (min-width: 1280px) { .fx-price-hand { left: calc(100% - var(--fx-price-r) - var(--fx-price-w) * .42); font-size: 27px; } }

/* 공임비: 휴대폰은 한 줄(아이콘 · 시간 · 금액), PC 는 3칸 카드 */
.fx .fx-rates { display: grid; gap: 10px; margin-top: 16px; }
.fx-rates li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: #F2FAF6; }
.fx-rate-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #DDF3E9; }
.fx-rate-ic img { width: 26px; height: 26px; }
.fx-rate-body { min-width: 0; }
.fx-rate-time { display: block; font-size: 15px; color: var(--fx-ink); }
.fx-rate-time b { font-size: 17px; font-weight: 800; }
.fx-rate-desc { display: block; margin-top: 2px; font-size: 13px; color: var(--fx-muted); }
.fx-rate-price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--fx-primary); white-space: nowrap; }
.fx .fx-notes { margin-top: 14px; padding-left: 18px; list-style: disc; font-size: 13.5px; line-height: 1.75; color: var(--fx-text); }
.fx-notes li::marker { color: #9AA6B2; }
@media (min-width: 768px) { .fx .fx-rates { margin-top: 20px; } .fx-rate-price { font-size: 26px; } .fx .fx-notes { font-size: 14px; } }
@media (min-width: 1024px) {
  .fx .fx-rates { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .fx-rates li { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic body" "ic price"; gap: 0 20px; padding: 26px 24px; border-radius: 16px; }
  .fx-rate-ic { grid-area: ic; width: 66px; height: 66px; }
  .fx-rate-ic img { width: 34px; height: 34px; }
  .fx-rate-body { grid-area: body; padding-bottom: 12px; border-bottom: 1px solid #D3E8DE; }
  .fx-rate-time { font-size: 17px; }
  .fx-rate-time b { font-size: 21px; }
  .fx-rate-desc { margin-top: 4px; font-size: 14px; }
  .fx-rate-price { grid-area: price; padding-top: 12px; font-size: 30px; }
}

/* 총 수리비 · 결제 방법 */
.fx { --fx-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3l2.2 2.2 4.6-5' fill='none' stroke='%2300866B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fx .fx-costs { display: grid; gap: 14px; }
.fx-cost { padding: 20px 18px; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff; }
.fx-cost-total { border-color: transparent; background: #F2FAF6; }
.fx-cost-head { display: flex; align-items: center; gap: 14px; }
.fx-cost-ic { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: #DDF3E9; }
.fx-cost-ic img { width: 28px; height: 28px; }
.fx-cost h2 { font-size: 18px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-ink); word-break: keep-all; }
.fx-cost-total h2 { color: var(--fx-primary); }
.fx-cost-head p { margin-top: 3px; font-size: 13.5px; color: var(--fx-muted); }
.fx .fx-checks { display: grid; gap: 10px; margin-top: 16px; }
.fx-cost-total .fx-checks { padding: 16px; border-radius: 12px; background: #fff; }
.fx-cost:not(.fx-cost-total) .fx-checks { padding-top: 16px; border-top: 1px solid var(--fx-line); }
.fx-checks li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.6; color: var(--fx-text); word-break: keep-all; }
.fx-checks li::before, .fx-checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%; background: var(--fx-mint) var(--fx-check) center / 12px no-repeat; }
@media (min-width: 768px) {
  .fx .fx-costs { gap: 20px; }
  .fx-cost { padding: 26px 28px; }
  .fx-cost-ic { width: 60px; height: 60px; }
  .fx-cost-ic img { width: 30px; height: 30px; }
  .fx-cost h2 { font-size: 22px; }
  .fx-cost-head p { font-size: 15px; }
  .fx .fx-checks { margin-top: 20px; }
  .fx-cost-total .fx-checks { padding: 20px 22px; }
  .fx-cost:not(.fx-cost-total) .fx-checks { padding-top: 20px; }
  .fx-checks li { font-size: 15px; }
}

/* 신청 전 확인: 꼭 확인해 주세요 · 참고 사항 */
.fx .fx-before { display: grid; gap: 14px; margin-top: 16px; }
.fx-before-card { padding: 20px 18px; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff; }
.fx-before-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.035em; color: var(--fx-primary); }
.fx-before-card h3 img { width: 26px; height: 26px; }
.fx .fx-before-card .fx-checklist { margin-top: 16px; padding: 0; border: 0; }
.fx .fx-refs { display: grid; gap: 12px; margin-top: 16px; }
.fx-refs li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.65; color: var(--fx-text); word-break: keep-all; }
.fx-refs li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: #6FC2A6; }
.fx-refs .fx-link { font-size: 13px; white-space: nowrap; }
/* 인테리어 안내 띠 */
.fx-interior { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: start; margin-top: 20px; padding: 18px; border-radius: 16px; background: #FFF7E6; }
.fx-interior-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #FFE7BD; }
.fx-interior-ic img { width: 26px; height: 26px; }
.fx-interior strong { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.45; color: var(--fx-ink); word-break: keep-all; }
.fx-interior p { margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--fx-muted); word-break: keep-all; }
.fx .fx-interior .fx-btn { grid-column: 1 / -1; min-height: 44px; font-size: 14px; }
@media (min-width: 768px) {
  .fx .fx-before { margin-top: 20px; }
  .fx-before-card { padding: 26px 28px; }
  .fx-before-card h3 { font-size: 19px; }
  .fx-before-card h3 img { width: 28px; height: 28px; }
  .fx-refs li { font-size: 15px; }
  .fx-interior { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 24px; padding: 22px 28px; }
  .fx-interior-ic { width: 58px; height: 58px; }
  .fx-interior-ic img { width: 30px; height: 30px; }
  .fx-interior strong { font-size: 16px; }
  .fx-interior p { font-size: 14px; }
  .fx .fx-interior .fx-btn { grid-column: auto; min-height: 48px; font-size: 15px; }
}
@media (min-width: 1024px) { .fx .fx-costs { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .fx .fx-before { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; } }
/* 안내 문장: 끝 줄에 한 단어만 남지 않게. 본문 폭이 고정되는 PC(1200px~)에선 쉼표·구절 뒤에서 줄을 바꾼다 */
.fx-checklist li, .fx-refs li { text-wrap: pretty; }
.fx-br-pc { display: none; }
@media (min-width: 1200px) { .fx-br-pc { display: inline; } }

/* 자주 묻는 질문 (서비스 소개 · 방문 가능 지역 아래). 관리자 화면의 공개 목록으로 바꿔 넣는다 */
.fx-faq-block { margin-top: 48px; }
@media (min-width: 768px) { .fx-faq-block { margin-top: 64px; } }
/* 가격 안내: 신청 전 확인해 주세요 */
.fx .fx-checklist { display: grid; gap: 12px; margin-top: 16px; padding: 20px 18px; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff; }
.fx-checklist li { position: relative; padding-left: 30px; font-size: 14px; line-height: 1.65; color: var(--fx-text); word-break: keep-all; }
@media (min-width: 768px) { .fx .fx-checklist { gap: 14px; margin-top: 20px; padding: 26px 30px; } .fx-checklist li, .fx-checks li { padding-left: 32px; font-size: 15px; } .fx-checklist li::before, .fx-checks li::before { top: 2px; width: 22px; height: 22px; } }
/* FAQ (나중에 관리자 화면에서 항목을 바꿔 넣을 수 있게 details 목록으로) */
.fx-faq { display: grid; gap: 8px; margin-top: 16px; }
.fx-faq details { border: 1px solid var(--fx-line); border-radius: var(--fx-radius); background: #fff; }
.fx-faq details[open] { background: var(--fx-mint-2); border-color: #BFE2D6; }
.fx-faq summary { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--fx-ink); }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: ""; flex-shrink: 0; margin-left: auto; width: 8px; height: 8px; border-right: 1.6px solid var(--fx-primary); border-bottom: 1.6px solid var(--fx-primary); transform: rotate(45deg); transition: transform .15s; }
.fx-faq details[open] summary { color: var(--fx-primary); }
.fx-faq details[open] summary::after { transform: rotate(-135deg); }
.fx-faq-answer { padding: 0 18px 16px; font-size: 14px; line-height: 1.7; white-space: pre-line; }
@media (min-width: 768px) { .fx-faq summary { padding: 18px 22px; font-size: 16px; } .fx-faq-answer { padding: 0 22px 18px; font-size: 15px; } }

/* ── 수리 신청 ── */
/* 배치: 휴대폰·태블릿은 단계 → 신청서 → 안내 순, PC(1024px~)는 신청서 오른쪽에 안내 */
.fx-request-layout { display: grid; grid-template-areas: "top" "form" "aside"; min-width: 0; }
.fx-request-layout > .fx-req-top { grid-area: top; }
.fx-request-layout > form, .fx-request-layout > .fx-done { grid-area: form; width: 100%; max-width: 760px; min-width: 0; margin-left: auto; margin-right: auto; }
.fx-request-layout > .fx-request-aside { grid-area: aside; width: 100%; max-width: 760px; margin: 28px auto 0; }
@media (min-width: 1024px) {
  .fx-request-layout { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "top aside" "form aside"; column-gap: 28px; align-items: start; }
  .fx-request-layout > form, .fx-request-layout > .fx-done { max-width: none; }
  .fx-request-layout > .fx-request-aside { max-width: none; margin: 0; }
}
@media (min-width: 1280px) { .fx-request-layout { grid-template-columns: minmax(0, 1fr) 320px; column-gap: 32px; } }

/* 단계 표시 + 예상 소요 시간 */
.fx-req-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 4px; }
.fx .fx-stepper { display: flex; align-items: center; gap: 10px; }
.fx-stepper li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: -.02em; color: #97A1AC; white-space: nowrap; }
.fx-stepper li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #D3DADF; color: #fff; font-size: 13px; font-weight: 800; }
.fx-stepper li.is-active { color: var(--fx-primary); }
.fx-stepper li.is-active span, .fx-stepper li.is-done span { background: var(--fx-primary); }
.fx-stepper li.is-done { color: var(--fx-primary); }
.fx-stepper li.is-done span { font-size: 0; }
.fx-stepper li.is-done span::after { content: ""; width: 6px; height: 11px; margin-top: -3px; border-right: 2.2px solid #fff; border-bottom: 2.2px solid #fff; transform: rotate(45deg); }
.fx-stepper .fx-stepper-bar { width: clamp(24px, 7vw, 76px); height: 2px; border-radius: 2px; background: #DDE3E7; }
.fx-stepper .fx-stepper-bar.is-done { background: var(--fx-primary); }
.fx-req-time { display: grid; justify-items: start; gap: 4px; }
.fx-req-time-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #E4F5ED; color: var(--fx-primary); font-size: 12.5px; font-weight: 800; }
.fx-req-time-badge img { width: 15px; height: 15px; }
.fx-req-time small { font-size: 12px; color: var(--fx-muted); }
@media (max-width: 374px) { .fx .fx-stepper { gap: 8px; } .fx-stepper li { gap: 6px; font-size: 13px; } }
@media (min-width: 768px) { .fx-stepper li { font-size: 15px; } .fx-req-time { justify-items: end; text-align: right; } }

/* 신청서 한 장: 휴대폰은 바탕 위에 그대로, 태블릿·PC 는 카드(아래쪽 연두 띠에 선택 요약 · 버튼) */
.fx-panel[hidden] { display: none !important; }
.fx-sheet { margin-top: 18px; }
.fx-panel-head h1 { font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: var(--fx-ink); }
.fx-panel-head p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--fx-muted); word-break: keep-all; }

/* 번호 붙은 질문 */
.fx-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.fx-q-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.fx-q-no { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--fx-primary); color: #fff; font-size: 13px; font-weight: 800; }
.fx-q-title { display: block; padding-top: 2px; font-size: 16px; font-weight: 800; letter-spacing: -.03em; color: var(--fx-ink); }
.fx-q-title b { color: var(--fx-warn); font-weight: 700; }
.fx-q-desc { margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }

/* 수리 항목: 분류(아이콘 + 이름)마다 한 줄. 기타는 따로 한 줄 */
.fx-cat-rows { display: grid; gap: 14px; }
.fx-cat-label { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13.5px; font-weight: 800; color: var(--fx-ink); }
.fx-cat-label img { width: 20px; height: 20px; }
/* 잘 모르겠어요 */
.fx-unsure { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid transparent; border-radius: 12px; background: #F2F4F6; cursor: pointer; transition: border-color .15s, background-color .15s; }
.fx-unsure input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.fx-unsure-ic { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: #7B8691; color: #fff; font-size: 15px; font-weight: 800; }
.fx-unsure-text { flex: 1; min-width: 0; }
.fx-unsure strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--fx-ink); }
.fx-unsure small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }
.fx-unsure i { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid #B8C2C8; border-radius: 50%; background: #fff; transition: background-color .15s, border-color .15s; }
.fx-unsure i::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); opacity: 0; }
.fx-unsure:hover { border-color: #C9D2D8; }
.fx-unsure:has(input:checked) { border-color: var(--fx-primary); background: var(--fx-mint-2); }
.fx-unsure:has(input:checked) .fx-unsure-ic, .fx-unsure:has(input:checked) i { border-color: var(--fx-primary); background: var(--fx-primary); }
.fx-unsure:has(input:checked) i::after { opacity: 1; }
.fx-unsure:has(input:checked) strong { color: var(--fx-primary); }
.fx-unsure:has(input:focus-visible) { outline: 2px solid var(--fx-primary); outline-offset: 2px; }

/* 사진·영상: 끌어다 놓는 칸 + 올린 파일(같은 줄, 넘치면 아래로) */
.fx-drop { flex: 1 1 280px; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 132px; padding: 16px; border: 1.5px dashed #9CCFC2; border-radius: 12px; background: #F7FBF9; text-align: center; cursor: pointer; transition: border-color .15s, background-color .15s; }
.fx-drop > img { width: 34px; height: 34px; }
.fx-drop p { font-size: 13.5px; font-weight: 600; color: var(--fx-text); word-break: keep-all; }
.fx-drop-tap { display: none; }
@media (hover: none) { .fx-drop-drag { display: none; } .fx-drop-tap { display: inline; } }
.fx .fx-drop .fx-btn { min-height: 38px; padding: 0 18px; border-radius: 8px; font-size: 13.5px; }
.fx-drop small { font-size: 11.5px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }
.fx-drop:hover, .fx-drop.is-drag { border-color: var(--fx-primary); background: #EDF8F2; }

/* 현재 선택한 내용 + 다음 버튼 */
.fx-pickbar { display: grid; gap: 16px; margin-top: 20px; padding: 16px; border: 1px solid #DDEFE7; border-radius: 16px; background: #F1FAF6; }
.fx-pickbar-sum { padding-bottom: 16px; border-bottom: 1px solid #D5E9DF; }
.fx-pickbar-title { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--fx-primary); white-space: nowrap; }
.fx-pickbar-title img { width: 20px; height: 20px; }
.fx .fx-pickbar-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
/* 채워진 칸은 초록 테두리, 비어 있으면 연한 테두리 · 회색 글자 */
.fx-pickbar-list li { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 11px; border: 1px solid var(--fx-primary); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; color: var(--fx-ink); transition: border-color .15s, color .15s; }
.fx-pickbar-list li img { width: 16px; height: 16px; }
.fx-pickbar-list li.is-empty { border-color: #DCE7E2; color: #8A949F; font-weight: 600; }
/* 다음 단계 상자: 안내 한 줄 + 큰 버튼 (휴대폰·좁은 카드는 위아래, 넓은 카드는 좌우) */
.fx-pickbar-cta { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: #E3F3EB; box-shadow: 0 8px 20px rgba(0, 98, 77, .1); }
.fx-pickbar-hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #3A4552; word-break: keep-all; }
/* 좁은 화면에서 줄이 바뀌면 '내용을 확인하셨다면 / 다음 단계로 이동해주세요.' 로 */
.fx-nowrap { white-space: nowrap; }
.fx-pickbar-hint::before { content: ""; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--fx-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4.6 2.6L8 6l-3.4 3.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fx .fx-pickbar .fx-btn { width: 100%; min-height: 56px; border-radius: 12px; font-size: 17px; box-shadow: 0 10px 22px rgba(0, 98, 77, .28); }
@container (min-width: 680px) {
  .fx-pickbar-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 20px; }
  .fx-pickbar-hint { justify-content: flex-start; font-size: 14px; }
  .fx .fx-pickbar .fx-btn { flex-shrink: 0; width: auto; min-width: 250px; }
}
/* 카드가 넓을 때(PC)는 네 칸을 한 줄로: 문제 내용 칸이 남는 폭만큼 줄어들고 넘치는 글자는 … */
@container (min-width: 760px) {
  .fx .fx-pickbar-list { flex-wrap: nowrap; min-width: 0; }
  .fx-pickbar-list li { flex: 0 0 auto; }
  .fx-pickbar-list li.fx-pick-problem { flex: 0 1 auto; min-width: 96px; }
  .fx-pick-problem > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (min-width: 768px) {
  .fx-sheet { overflow: hidden; border: 1px solid var(--fx-line); border-radius: 18px; background: #fff; box-shadow: 0 8px 28px rgba(23, 28, 38, .05); }
  .fx-sheet > .fx-panel-head { padding: 28px 30px 0; }
  .fx-panel-head h1 { font-size: 28px; }
  .fx-panel-head p { font-size: 15px; }
  .fx-sheet > .fx-summary { margin: 18px 30px 0; }
  .fx-sheet > .fx-form { gap: 30px; margin-top: 0; padding: 26px 30px 30px; }
  .fx-sheet > .fx-pickbar, .fx-sheet > .fx-foot { margin: 0; padding: 16px 30px; border: 0; border-top: 1px solid #DDEFE7; border-radius: 0; background: #F1FAF6; }
  .fx-sheet > .fx-pickbar { padding: 20px 30px 24px; }
  .fx-pickbar-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
  .fx .fx-pickbar-list { margin-top: 0; }
  .fx-sheet > .fx-foot { display: flex; justify-content: flex-end; gap: 10px; }
  .fx-sheet > .fx-foot .fx-btn { min-width: 140px; }
  .fx-sheet > .fx-foot .fx-btn-primary { min-width: 210px; }
  .fx-q-head { gap: 12px; margin-bottom: 14px; }
  .fx-q-no { width: 28px; height: 28px; font-size: 14px; }
  .fx-q-title { font-size: 17px; }
  .fx-q-desc { font-size: 13.5px; }
  .fx-cat-rows { gap: 10px; }
  .fx-cat-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--fx-line); border-radius: 12px; }
  .fx-cat-label { gap: 10px; margin: 0; padding: 12px 16px; background: #F1F8F5; font-size: 15px; }
  .fx-cat-label img { width: 26px; height: 26px; }
  .fx-cat-row > .fx-chips { align-content: center; gap: 8px; padding: 10px 12px; }
  .fx-cat-row .fx-chip { min-width: 104px; min-height: 42px; }
  .fx-unsure { margin-top: 10px; padding: 13px 18px; }
  .fx-unsure-text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
  .fx-unsure small { margin-top: 0; }
  .fx-drop { min-height: 128px; }
}
/* 자재: 선택지는 줄을 채운다. 카드 폭이 넉넉할 때만 질문 옆에 (PC 1024px 안팎은 오른쪽 안내 때문에 카드가 좁다) */
.fx-q-mat > .fx-chips .fx-chip { flex: 1 1 auto; justify-content: center; padding: 0 10px; gap: 6px; white-space: nowrap; }
.fx-sheet { container-type: inline-size; }
@container (min-width: 680px) {
  .fx-q-mat > .fx-chips .fx-chip { flex: 0 0 auto; padding: 0 14px 0 12px; gap: 8px; }
  .fx-q-mat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; }
  .fx-q-mat > .fx-q-head { margin-bottom: 0; }
  .fx-q-mat > .fx-box { grid-column: 1 / -1; }
}

/* 안내: 사진 · 신청 가이드 · 꼭 알아두세요 (휴대폰·태블릿은 신청서 아래, 사진은 PC 만) */
.fx-request-aside { display: grid; gap: 14px; align-content: start; }
.fx-aside-photo { display: none; }
.fx-aside-card { overflow: hidden; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff; }
.fx-aside-card h2 { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: #EEF8F3; font-size: 16px; font-weight: 800; letter-spacing: -.03em; color: var(--fx-primary); }
.fx-aside-card h2 img { width: 22px; height: 22px; }
.fx .fx-guide-steps, .fx .fx-know-list { display: grid; gap: 14px; padding: 16px 18px 18px; }
.fx .fx-guide-steps { counter-reset: guide; }
.fx-guide-steps li { position: relative; padding-left: 34px; counter-increment: guide; }
.fx-guide-steps li::before { content: counter(guide); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #E1F4EC; color: var(--fx-primary); font-size: 12.5px; font-weight: 800; }
.fx-guide-steps li.is-current::before { background: var(--fx-primary); color: #fff; }
.fx-guide-steps li.is-current strong { color: var(--fx-primary); }
.fx-know-list li { position: relative; padding-left: 26px; }
.fx-know-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; background: var(--fx-check) center / 15px no-repeat; }
.fx-guide-steps strong, .fx-know-list strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.45; color: var(--fx-ink); word-break: keep-all; }
.fx-guide-steps span, .fx-know-list span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }
@media (min-width: 600px) and (max-width: 1023px) { .fx-request-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 1024px) {
  .fx-aside-photo { display: block; position: relative; aspect-ratio: 10 / 9; margin: 0; overflow: hidden; border-radius: 16px; background: #DCE9E3; }
  .fx-aside-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
  .fx-aside-photo::after { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(transparent, rgba(8, 38, 32, .8)); }
  .fx-aside-photo figcaption { position: absolute; z-index: 1; left: 20px; right: 16px; bottom: 18px; color: #fff; font-size: 18px; font-weight: 800; line-height: 1.45; letter-spacing: -.03em; }
}
.fx-form { display: grid; gap: 22px; margin-top: 22px; }
.fx-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fx-form legend, .fx-label { display: block; padding: 0; margin-bottom: 8px; font-size: 14.5px; font-weight: 750; color: var(--fx-ink); }
.fx-form legend b, .fx-label b { color: var(--fx-warn); font-weight: 700; }
.fx-form legend small, .fx-label small { font-weight: 400; color: var(--fx-muted); }
.fx-sub { display: block; margin: 12px 0 6px; font-size: 13px; font-weight: 650; color: var(--fx-text); }
.fx-sub:first-of-type { margin-top: 0; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--fx-line); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; color: var(--fx-ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.fx-chip input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.fx-chip i { display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid #B8C2C8; border-radius: 50%; background: #fff; transition: background-color .15s, border-color .15s; }
.fx-chip i::after { content: ""; width: 5px; height: 9px; margin-top: -2px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); opacity: 0; }
.fx-chip.is-radio i { border-radius: 50%; }
.fx-chip.is-radio i::after { width: 8px; height: 8px; margin: 0; border: 0; border-radius: 50%; background: #fff; transform: none; }
.fx-chip:hover { border-color: #9CCFC2; }
.fx-chip:has(input:checked) { border-color: var(--fx-primary); background: var(--fx-mint-2); color: var(--fx-primary); }
.fx-chip:has(input:checked) i { background: var(--fx-primary); border-color: var(--fx-primary); }
.fx-chip:has(input:checked) i::after { opacity: 1; }
.fx-chip:has(input:focus-visible) { outline: 2px solid var(--fx-primary); outline-offset: 2px; }
@media (max-width: 767px) {
  .fx-items-grid { display: grid; gap: 8px; }
  .fx-items-bath, .fx-items-electric { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fx-items-door { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-items-other { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx-items-grid .fx-chip { width: 100%; min-width: 0; min-height: 46px; padding: 6px 8px; gap: 6px; font-size: 13px; line-height: 1.25; }
  .fx-items-grid .fx-chip i { flex: 0 0 18px; width: 18px; height: 18px; }
  .fx-items-grid .fx-chip span { min-width: 0; overflow-wrap: keep-all; }
  .fx-req .fx-form { gap: 20px; }
  .fx-req .fx-sub { margin-top: 14px; }
}
/* 360px 미만 폰: '전등/조명'이 두 줄로 꺾이지 않게 전기 · 환기도 2칸 */
@media (max-width: 359px) { .fx-items-electric { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fx-hint { margin-top: 8px; font-size: 12.5px; color: var(--fx-muted); }
.fx-field { display: grid; gap: 6px; }
.fx-input, .fx-textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--fx-line); border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: var(--fx-ink); }
.fx-textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.fx-input::placeholder, .fx-textarea::placeholder { color: #A7B0BA; }
.fx-input:focus, .fx-textarea:focus { outline: 0; border-color: var(--fx-primary); box-shadow: 0 0 0 3px rgba(0, 134, 107, .12); }
.fx-input[aria-invalid=true], .fx-textarea[aria-invalid=true] { border-color: var(--fx-warn); background: #FFF7F6; }
.fx-count { text-align: right; font-size: 12px; color: var(--fx-muted); }
.fx-row { display: flex; gap: 8px; }
.fx-row .fx-input { flex: 1; min-width: 0; }
.fx-row .fx-btn { min-height: 48px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.fx .fx-photos { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.fx-photo-add { display: grid; place-items: center; align-content: center; gap: 2px; width: 92px; height: 92px; border: 1.5px dashed #9CCFC2; border-radius: 10px; background: #F7FBF9; color: var(--fx-primary); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.fx-photo-add span { font-size: 24px; font-weight: 400; line-height: 1; }
.fx-photo-add:hover { border-color: var(--fx-primary); background: #EDF8F2; }
.fx-photo { position: relative; width: 92px; height: 92px; border-radius: 10px; overflow: hidden; }
@media (min-width: 768px) { .fx-photo, .fx-photo-add { width: 96px; height: 128px; } }
/* 휴대폰: 끌어다 놓는 칸은 한 줄 전체, 올린 파일은 4칸(아주 좁으면 3칸) 격자 */
@media (max-width: 767px) {
  .fx .fx-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .fx-photos > .fx-drop { grid-column: 1 / -1; }
  .fx-photos > .fx-photo, .fx-photos > .fx-photo-add { width: auto; height: auto; aspect-ratio: 1; }
}
@media (max-width: 359px) { .fx .fx-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fx-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-photo button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(23, 28, 38, .75); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.fx-box { margin-top: 12px; padding: 14px 16px; border-radius: var(--fx-radius); background: var(--fx-mint-2); }
.fx-box[hidden] { display: none !important; }
.fx-box .fx-sub { margin-top: 0; }
.fx-box .fx-hint { margin-top: 10px; }
.fx-info { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--fx-mint); font-size: 12.5px; line-height: 1.55; color: var(--fx-text); }
.fx-info::before { content: "i"; flex-shrink: 0; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; background: var(--fx-primary); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; }
.fx-info.is-warn { background: #FFF6EE; }
.fx-info.is-warn::before { content: "!"; background: #E3862B; }
.fx-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: var(--fx-radius); background: #F3F8F5; font-size: 15px; font-weight: 750; color: var(--fx-ink); }
.fx-summary > div { min-width: 0; }
.fx-summary strong { display: block; line-height: 1.45; }
.fx-summary p { display: -webkit-box; overflow: hidden; margin-top: 4px; color: var(--fx-text); font-size: 13px; font-weight: 400; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.fx-summary .fx-link { flex: 0 0 auto; }
.fx-summary .fx-link { font-size: 14px; }
.fx-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--fx-ink); cursor: pointer; }
.fx-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--fx-primary); flex-shrink: 0; }
.fx-check small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--fx-muted); }
.fx-check .fx-link { margin-left: auto; font-size: 13px; white-space: nowrap; }
.fx-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--fx-line); }
.fx-foot .fx-btn { min-height: 52px; font-size: 16px; }
.fx-foot .fx-btn:only-of-type { grid-column: 1 / -1; }
.fx-status { min-height: 1.2em; font-size: 13px; font-weight: 600; line-height: 1.5; color: #D0442C; }
.fx-status:empty { display: none; }
.fx-status a { color: var(--fx-primary); text-decoration: underline; white-space: nowrap; }

#fx-faq-section[hidden] { display: none; }
/* 사진·영상 첨부 */
.fx-upload { background: #EEF3F1; }
.fx-upload img, .fx-upload video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-upload-name { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 4px; background: rgba(23, 28, 38, .72); color: #fff; font-size: 11px; font-weight: 700; }
.fx-upload-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .7); }
.fx-upload-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--fx-primary); transition: width .2s; }
.fx-upload.is-uploading::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .35); }
.fx-upload.is-error { outline: 2px solid var(--fx-warn); outline-offset: -2px; }
.fx .fx-upload-retry { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 5px 0; border: 0; border-radius: 6px; background: var(--fx-warn); color: #fff; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.fx-upload-fatal { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 5px 0; border-radius: 6px; background: var(--fx-warn); color: #fff; font-size: 11.5px; font-weight: 700; text-align: center; }
.fx .fx-upload-remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(23, 28, 38, .75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.fx-photo-add[hidden] { display: none; }
/* 스팸 방지 칸: 화면 밖으로 */
.fx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* 접수 완료 */
.fx-done { margin-top: 28px; padding: 32px 20px; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff; text-align: center; }
.fx-done[hidden] { display: none !important; }
.fx-done-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--fx-mint); color: var(--fx-primary); font-size: 28px; font-weight: 800; }
.fx-done h1 { font-size: 22px; font-weight: 800; letter-spacing: -.04em; color: var(--fx-ink); }
.fx-done p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; }
.fx-done-no { font-size: 15px; color: var(--fx-ink); }
.fx-done-no strong { color: var(--fx-primary); letter-spacing: .04em; }
.fx-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
@media (min-width: 768px) { .fx-done { padding: 44px 32px; } .fx-done h1 { font-size: 28px; } }
/* 주소 검색 창 */
.fx-postcode { width: min(480px, calc(100% - 24px)); height: min(560px, calc(100dvh - 48px)); padding: 0; border: 0; border-radius: 14px; overflow: hidden; }
.fx-postcode[open] { display: flex; flex-direction: column; }
.fx-postcode::backdrop { background: rgba(23, 28, 38, .5); }
.fx-postcode-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #E4EBED; }
.fx-postcode-head strong { font-size: 15px; color: #171C26; }
.fx-postcode-head button { width: 32px; height: 32px; border: 0; background: #EAF7F2; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.fx-postcode-body { flex: 1; min-height: 0; font-size: 14px; color: #515D6D; }
.fx-postcode-fail { padding: 24px 18px; line-height: 1.6; }
/* 방문 주소: 눌러서 검색 */
.fx .fx-address-pick[readonly] { cursor: pointer; background: url("icons/search.svg") left 14px center / 18px no-repeat, url("icons/location.svg") right 14px center / 18px no-repeat, #fff; padding-left: 42px; padding-right: 42px; }
.fx .fx-address-pick[readonly]:focus { border-color: var(--fx-primary); }
/* 넓은 화면에서만 문구·지도 좌우 배치 (768~959px 는 위아래가 더 읽기 쉽다) */
@media (min-width: 960px) {
  .fx-areas { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 32px 36px; }
  .fx .fx-areas-list { gap: 16px 6px; padding: 22px 12px; }
  .fx-areas-map { max-width: 320px; }
}

/* ── 수리 신청 2단계: 방문·연락 정보 ── */
.fx-grid-2 { display: grid; gap: 22px; }
@media (min-width: 600px) { .fx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
.fx .fx-area-link { font-size: 13px; }
/* 방문 희망 일정: 세 가지 중 하나 (휴대폰은 한 줄씩, 600px~ 3칸) */
.fx-sched-head { margin-bottom: 12px; }
.fx-sched-head .fx-label { margin-bottom: 2px; }
.fx-sched-head .fx-hint { margin-top: 0; }
.fx .fx-sched-options { display: grid; gap: 8px; }
.fx-sched-opt { position: relative; display: grid; grid-template-columns: 20px 26px minmax(0, 1fr); grid-template-areas: "radio icon title" "radio icon desc"; column-gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--fx-line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.fx-sched-opt input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.fx-sched-opt i { grid-area: radio; display: grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid #B8C2C8; border-radius: 50%; background: #fff; }
.fx-sched-opt i::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fx-primary); opacity: 0; transition: opacity .15s; }
.fx-sched-opt img { grid-area: icon; width: 26px; height: 26px; }
.fx-sched-opt strong { grid-area: title; font-size: 15px; font-weight: 800; letter-spacing: -.03em; color: var(--fx-ink); }
.fx-sched-opt span { grid-area: desc; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--fx-muted); word-break: keep-all; }
.fx-sched-opt:hover { border-color: #9CCFC2; }
.fx-sched-opt:has(input:checked) { border-color: var(--fx-primary); background: var(--fx-mint-2); box-shadow: 0 0 0 1px var(--fx-primary); }
.fx-sched-opt:has(input:checked) i { border-color: var(--fx-primary); }
.fx-sched-opt:has(input:checked) i::after { opacity: 1; }
.fx-sched-opt:has(input:focus-visible) { outline: 2px solid var(--fx-primary); outline-offset: 2px; }
@media (min-width: 600px) {
  .fx .fx-sched-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .fx-sched-opt { grid-template-columns: 20px minmax(0, 1fr); grid-template-areas: "radio icon" ". title" ". desc"; align-items: start; align-content: start; row-gap: 6px; padding: 16px 16px 18px; }
  .fx-sched-opt img { margin-top: -3px; }
  .fx-sched-opt strong { margin-top: 4px; }
}
/* 날짜 · 시간대 (원하는 날짜가 있어요) */
.fx-when-panel { margin-top: 12px; padding: 16px; border: 1px solid #DCEFE6; border-radius: 12px; background: var(--fx-mint-2); }
.fx-when-panel[hidden], #fx-asap-note[hidden] { display: none; }
.fx-when-grid { display: grid; gap: 16px; }
.fx .fx-date { padding-left: 42px; background: #fff url("icons/calendar-day.svg") left 14px center / 18px no-repeat; }
.fx-slots-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.fx .fx-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-slot { position: relative; cursor: pointer; }
.fx-slot input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.fx-slot > span { display: grid; justify-items: center; align-content: center; gap: 1px; min-height: 52px; padding: 6px 4px; border: 1px solid var(--fx-line); border-radius: 10px; background: #fff; text-align: center; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.fx-slot b { font-size: 14px; font-weight: 750; color: var(--fx-ink); }
.fx-slot small { font-size: 11.5px; color: var(--fx-muted); }
.fx-slot:hover > span { border-color: #9CCFC2; }
.fx-slot input:checked + span { border-color: var(--fx-primary); background: var(--fx-mint); box-shadow: 0 0 0 1px var(--fx-primary); }
.fx-slot input:checked + span b, .fx-slot input:checked + span small { color: var(--fx-primary); }
.fx-slot input:focus-visible + span { outline: 2px solid var(--fx-primary); outline-offset: 2px; }
.fx-when-panel .fx-info, #fx-asap-note { margin-top: 12px; }
@media (min-width: 480px) { .fx .fx-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (min-width: 680px) { .fx-when-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; } }
/* 자재 없어요 → 원하는 제품 */
.fx-product[hidden] { display: none !important; }
.fx-product-q { display: grid; gap: 10px; }
.fx-product-title { display: block; font-size: 14px; font-weight: 750; color: var(--fx-ink); }
.fx-product-q .fx-hint { margin-top: 2px; }
.fx-product-q .fx-chips .fx-chip { flex: 1 1 auto; justify-content: center; }
.fx-product-field { margin-top: 12px; }
.fx-product-field[hidden] { display: none; }
.fx-product-field .fx-hint { margin-top: 0; }
@container (min-width: 680px) {
  .fx-product-q { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
  .fx-product-q .fx-chips .fx-chip { flex: 0 0 auto; min-width: 96px; }
}
/* 현장 담당자 */
.fx-onsite .fx-label { margin-bottom: 2px; }
.fx-onsite .fx-hint { margin: 0 0 10px; }
/* 개인정보 동의: '보기'를 누르면 내용이 아래로 펼쳐진다 */
.fx-consent { padding-top: 18px; border-top: 1px solid var(--fx-line); }
.fx-consent-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx .fx-consent-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--fx-primary); white-space: nowrap; cursor: pointer; }
.fx-consent-toggle::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform .15s; }
.fx-consent-toggle[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
.fx-consent-body { margin-top: 10px; padding: 12px 14px; border-radius: 10px; background: #F6F8F9; font-size: 12.5px; line-height: 1.75; color: var(--fx-muted); word-break: keep-all; }
.fx-consent-body[hidden] { display: none; }
.fx-consent-body .fx-link { margin-top: 6px; font-size: 12.5px; }
/* 아래 버튼 줄: 이전 · 안내 · 신청 (휴대폰은 안내가 위) */
.fx-foot-note { grid-column: 1 / -1; order: -1; font-size: 12.5px; line-height: 1.55; text-align: center; color: var(--fx-muted); word-break: keep-all; }
@media (min-width: 768px) {
  .fx-sheet > .fx-foot { align-items: center; justify-content: space-between; }
  .fx-foot-note { order: 0; flex: 1; font-size: 12.5px; }
}

