/* 우리오피스 — 밝은 B2B 렌탈 랜딩.
   화이트·옅은 블루가 바탕, 블루는 정보 강조, 오렌지는 견적 요청 버튼에만 쓴다. */

:root {
  color-scheme: only light;
  --bg: #ffffff;
  --bg-soft: #f3f7ff;
  --blue: #2563eb;
  --blue-soft: #eaf1ff;
  --orange: #f97316;
  --orange-hover: #fb8a3c;
  --text: #14213d;
  --muted: #526079;
  --line: #dce5f2;
  --input-line: #7d8da8;   /* 흰 바탕과 3:1 이상 */
  --error: #b91c1c;
  --ok-bg: #ecfdf3;
  --ok-text: #14532d;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --wrap: 72.5rem;          /* 1160px */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section: clamp(3.5rem, 2.2rem + 5vw, 5.75rem);
  --title: clamp(1.625rem, 1.2rem + 1.8vw, 2.375rem);   /* 26~38px */
  --radius: 12px;
  --header: 4rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
b, strong { font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; padding: .75rem 1rem; background: var(--bg); color: var(--text); z-index: 30; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.5rem; padding: 0 1.5rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer;
  transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.btn-primary { background: var(--orange); color: var(--text); border: 0; box-shadow: 0 6px 16px -8px rgba(249, 115, 22, .7); }
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:active { transform: translateY(1px); box-shadow: none; }
.btn-outline { background: var(--bg); color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dock { transition: none; }
}

/* ---------- 머리 ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }
.top-tel { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 .25rem; font-weight: 700; color: var(--blue); text-decoration: none; font-variant-numeric: tabular-nums; }
.top-tel svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.top-tel:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 첫 화면 ---------- */
.hero { padding: clamp(1.75rem, 1rem + 4vw, 5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--bg-soft) 100%); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 2.5rem; } }
.badge { display: inline-block; margin: 0 0 1rem; padding: .35rem .8rem; border-radius: 999px; background: var(--blue-soft); color: #1d4ed8; font-size: .9375rem; font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(2.125rem, 1.35rem + 3.3vw, 3.75rem); line-height: 1.22; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--blue); }
.nw { white-space: nowrap; }
.hero-sub { margin: 1.25rem 0 0; max-width: 32em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (max-width: 559px) { .hero-actions .btn { width: 100%; } }
.hero-facts { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .5rem; }
@media (min-width: 560px) { .hero-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: .5rem 1.75rem; } }
.hero-facts li { display: grid; gap: 0; }
.hero-facts span { font-size: .875rem; color: var(--muted); }
.hero-facts b { font-size: 1.0625rem; }
@media (max-width: 559px) {
  .hero-facts li { grid-template-columns: 6.5rem 1fr; align-items: baseline; padding: .35rem 0; border-bottom: 1px solid var(--line); }
  .hero-facts li:last-child { border-bottom: 0; }
}
.fine { margin: .75rem 0 0; font-size: .875rem; color: var(--muted); }

.hero-visual { margin: 0; }
.hero-visual picture { display: block; }
.hero-img { display: block; width: 100%; height: auto; aspect-ratio: 698 / 397; background: #fff; border: 1px solid #c9ced6; border-radius: 8px; }

/* ---------- 신뢰 띠 ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-list { list-style: none; margin: 0; padding: 1.25rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; }
@media (min-width: 760px) { .trust-list { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 1.75rem 0; } }
.trust-list li { display: grid; gap: 0; padding-left: 2rem; position: relative; }
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232563eb' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.trust-list b { font-size: 1.0625rem; line-height: 1.4; }
.trust-list span { color: var(--muted); font-size: .875rem; }

/* ---------- 본문 구역 ---------- */
.block { padding: var(--section) 0; }
.block-tint { background: var(--bg-soft); }
.block-title { margin: 0; font-size: var(--title); line-height: 1.3; font-weight: 800; letter-spacing: -0.03em; }
.block-lead { margin: .75rem 0 0; max-width: 40em; color: var(--muted); font-size: 1.0625rem; }
.block-lead b { color: var(--text); }

.terms { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.terms h3 { margin: 0 0 .75rem; font-size: 1.1875rem; font-weight: 800; }
.terms dl { margin: 0; display: grid; gap: .5rem; }
.terms dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; }
.terms dt { color: var(--muted); }
.terms dd { margin: 0; font-weight: 700; font-size: .9375rem; }
.terms p { margin: 1rem 0 0; color: var(--muted); font-size: .9375rem; }

/* 기종 */
.devices { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .devices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 599px) { .devices li { padding: 1rem; } .devices svg { width: 2.25rem; height: 2.25rem; } .devices b { font-size: 1.0625rem; } }
.devices li { display: grid; gap: .2rem; padding: 1.25rem; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.devices svg { width: 2.75rem; height: 2.75rem; margin-bottom: .5rem; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.devices svg .fill { fill: var(--blue); stroke: none; }
.devices b { font-size: 1.125rem; }
.devices span { color: var(--muted); font-size: .9375rem; }

/* Q&A */
.faq-wrap { display: grid; gap: 2rem; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: start; } .faq-head { position: sticky; top: calc(var(--header) + 2rem); } }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  min-height: 3.5rem; padding: 1.1rem 3rem 1.1rem 0;
  font-size: 1.125rem; font-weight: 700; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: .25rem; top: 1.15rem; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.faq-item[open] summary { color: var(--blue); }
.faq-item[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq-item summary:hover { color: var(--blue); }
.faq-a { padding: 0 0 1.5rem; }
.faq-a p { margin: 0; font-size: 1.0625rem; }
.faq-points { margin: .75rem 0 0; padding: .75rem 1rem .75rem 2.1rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .9375rem; }
.faq-points::before { content: "계약 전 확인할 것"; display: block; margin: 0 0 .25rem -1.1rem; font-weight: 800; color: var(--text); }
.faq-points li { margin: .15rem 0; }
.faq-a .faq-ours { margin-top: .75rem; padding-left: .85rem; border-left: 3px solid var(--blue); font-size: 1rem; }
.faq-ours b { margin-right: .35rem; color: var(--blue); }
.faq-cta { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
.faq-cta::after { content: "→"; margin-left: .4rem; }

.form-card { padding: clamp(1.25rem, 3.5vw, 2.25rem); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px -28px rgba(20, 33, 61, .35); }
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; padding: 0; }
.req, .opt { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 6px; font-size: .8125rem; font-weight: 700; vertical-align: .1em; }
.req { background: #fff1e6; color: #9a3412; }
.opt { background: var(--bg-soft); color: var(--muted); }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 3.25rem; padding: .75rem 1rem;
  font: inherit; font-size: 1.0625rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--input-line); border-radius: var(--radius);
}
.field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.hint { margin: 0; font-size: .875rem; color: var(--muted); }
.field-error, .consent .field-error { margin: 0; font-size: .9375rem; font-weight: 700; color: var(--error); }

.units legend { margin-bottom: .4rem; }
.unit-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (max-width: 379px) { .unit-options { grid-template-columns: repeat(2, 1fr); } }
.unit-options label { position: relative; display: block; cursor: pointer; }
.unit-options input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.unit-options span {
  display: flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 .5rem;
  border: 1.5px solid var(--input-line); border-radius: var(--radius); background: var(--bg); font-weight: 600; text-align: center;
}
.unit-options input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: #1d4ed8; font-weight: 800; }
.unit-options input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.topic { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .6rem .6rem 1rem; border-radius: var(--radius); background: var(--blue-soft); }
.topic span { font-size: .9375rem; color: var(--muted); }
.topic b { margin-left: .35rem; color: var(--text); }
.topic-clear { min-height: 2.75rem; padding: 0 .9rem; border-radius: 10px; border: 1.5px solid var(--blue); background: var(--bg); color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; flex: none; }

.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: grid; gap: .5rem; }
.check { display: flex; align-items: flex-start; gap: .65rem; cursor: pointer; font-weight: 700; min-height: 2.75rem; padding-top: .35rem; }
.check input { width: 1.375rem; height: 1.375rem; margin: .1rem 0 0; accent-color: var(--blue); flex: none; }
.consent details { font-size: .9375rem; color: var(--muted); padding-left: 2rem; }
.consent summary { display: inline-flex; align-items: center; min-height: 2.75rem; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; color: var(--text); }
.consent details p { margin: .25rem 0 0; line-height: 1.75; color: var(--text); }
.consent .field-error { padding-left: 2rem; }

.btn-submit { width: 100%; min-height: 3.5rem; font-size: 1.125rem; }
.btn-submit[disabled] { opacity: .65; cursor: progress; }
.form-msg:empty { display: none; }
.form-msg { padding: 1rem 1.1rem; border-radius: var(--radius); font-weight: 600; }
.form-msg.is-busy { background: var(--bg-soft); color: var(--text); }
.form-msg.is-ok { background: var(--ok-bg); color: var(--ok-text); border: 1px solid #a7e3bf; }
.form-msg.is-error { background: #fef2f2; color: var(--error); border: 1px solid #f5c2c2; }
.form-msg a { color: inherit; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- 바닥 ---------- */
.foot { padding: 2.5rem 0 calc(6.5rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); font-size: .9375rem; }
@media (min-width: 900px) { .foot { padding-bottom: 2.5rem; } }
.foot-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1fr 1.2fr; } .foot-privacy { grid-column: 1 / -1; } }
.foot p { margin: 0; color: var(--muted); }
.foot-brand { font-weight: 800; font-size: 1.125rem; color: var(--text) !important; }
.foot-info { margin: 0; display: grid; gap: .25rem; }
.foot-info div { display: grid; grid-template-columns: 5.5rem 1fr; }
.foot-info dt { color: var(--muted); }
.foot-info dd { margin: 0; font-weight: 600; }
.foot-info a { color: var(--blue); font-variant-numeric: tabular-nums; }
.foot-privacy { padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ---------- 폰 아래 고정 견적 버튼 ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  display: grid; grid-template-columns: auto 1fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(20, 33, 61, .35);
  transition: transform .2s ease;
}
.dock.is-away { transform: translateY(110%); }
.dock a { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 3.25rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.dock svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.dock-call { padding: 0 1.1rem; color: var(--blue); border: 1.5px solid var(--blue); background: var(--bg); }
.dock-request { background: var(--orange); color: var(--text); font-size: 1.0625rem; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- 머리: 바로 상담 ---------- */
.top-actions { display: flex; align-items: center; gap: .75rem; }
.top-consult { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .9rem; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; text-decoration: none; }
.top-consult:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 399px) { .top-tel span { display: none; } }

/* 파란 버튼: 찾기·다음처럼 정보를 진행하는 동작 (오렌지는 견적 요청에만) */
.btn-blue { background: var(--blue); color: #fff; border: 0; }
.btn-blue:hover { background: #1d4ed8; }
.btn-sm { min-height: 2.75rem; padding: 0 1rem; font-size: .9375rem; }

@media (min-width: 560px) { .hero-facts { grid-template-columns: repeat(2, auto); } }

/* ---------- 맞는 복합기 찾기 ---------- */
.finder-fallback { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.finder { margin-top: 1.75rem; max-width: 48rem; padding: clamp(1.25rem, 3.5vw, 2.25rem); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px -28px rgba(20, 33, 61, .35); }
.finder-progress { height: 6px; border-radius: 6px; background: var(--blue-soft); overflow: hidden; margin-bottom: 1.5rem; }
.finder-progress-bar { display: block; height: 100%; width: 25%; background: var(--blue); transition: width .25s ease; }
@media (prefers-reduced-motion: reduce) { .finder-progress-bar { transition: none; } }

.step, .step .sub { border: 0; margin: 0; padding: 0; min-width: 0; }
.step > legend { display: block; padding: 0; margin: 0 0 1rem; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.4; }
.step > legend:focus { outline: none; }
.step-no { display: inline-block; margin-right: .4rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.step .sub { margin-top: 1.5rem; }
.step .sub > legend { padding: 0; margin: 0 0 .35rem; font-weight: 700; }
.step-hint { margin: 0 0 .85rem; }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: .5rem; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: .6rem; min-height: 3.25rem; padding: .65rem .9rem;
  border: 1.5px solid var(--input-line); border-radius: var(--radius); background: var(--bg); font-weight: 600; line-height: 1.35;
}
.choice span::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; border: 2px solid var(--input-line); border-radius: 50%; background: var(--bg); }
.choice input[type="checkbox"] + span::before { border-radius: 5px; }
.choice:hover span { border-color: var(--blue); }
.choice input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: #1d4ed8; font-weight: 800; }
.choice input:checked + span::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.finder-field { margin-top: 1.25rem; }
.finder-field input[type="text"] { max-width: 18rem; }
.inline-input { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.inline-input input[type="text"] { flex: 1 1 10rem; }
.inline-input .check { padding-top: 0; align-items: center; font-weight: 600; }
.finder-field input:disabled { background: var(--bg-soft); color: var(--muted); }
.finder .field-error { margin: .5rem 0 0; }

.finder-nav { display: flex; gap: .75rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.finder-nav .btn-blue { margin-left: auto; min-width: 9rem; }
@media (max-width: 479px) { .finder-nav .btn { flex: 1; } .finder-nav .btn-blue { min-width: 0; } }

/* 결과 */
.chips { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { display: inline-flex; align-items: center; gap: .35rem; max-width: 100%; padding: .1rem .2rem .1rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .9375rem; }
.chip-k { color: var(--muted); flex: none; }
.chip-v { font-weight: 700; min-width: 0; }
.chip-edit { flex: none; min-height: 2.75rem; min-width: 2.75rem; padding: 0 .65rem; border: 0; border-radius: 999px; background: transparent; color: var(--blue); font: inherit; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.pshot { margin: 0; aspect-ratio: 1 / 1; display: flex; align-items: flex-end; justify-content: center; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border: 1px solid var(--line); overflow: hidden; }
.pshot img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.pshot.is-missing { flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); }
.pshot.is-missing svg { width: 3rem; height: 3rem; fill: none; stroke: currentColor; stroke-width: 1.4; }
.pshot.is-missing span { font-weight: 700; font-size: .9375rem; text-align: center; padding: 0 .5rem; }
.compare { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
/* 기종과 시작 요금 (finder.js 가 기능 안내 카드를 이 목록으로 바꾼다) */
.lineup { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.lcard { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.pshot-sm { border-radius: 12px; }
.lname { margin: .1rem 0 .3rem; font-size: 1.125rem; font-weight: 800; }
.lprice { margin: 0; }
.lprice strong { font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.lprice span { display: block; color: var(--muted); font-size: .875rem; }
.lmeta { margin: .3rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.55; }

.field textarea {
  width: 100%; min-height: 6rem; padding: .75rem 1rem; resize: vertical;
  font: inherit; font-size: 1.0625rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--input-line); border-radius: var(--radius);
}
.field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

/* ---------- 복합기 찾기: 결과를 본 뒤 고른 조건 요약 ---------- */
.finder-done { margin-top: 1.25rem; max-width: 62rem; }
.finder-done-title { margin: 0 0 .5rem; font-weight: 800; }
.finder-done-title span { margin-left: .4rem; font-weight: 500; color: var(--muted); font-size: .9375rem; }
.finder-done .chips { margin: 0; }
.note-inline { margin: .75rem 0 0; padding: .65rem .9rem; border-radius: 10px; background: #fff7ed; color: #7c2d12; font-size: .9375rem; font-weight: 600; }

/* ---------- 추천 결과 + 상담 폼 (#request) ----------
   폰: 기종·월료·핵심 조건 → 전화/상담 → 폼 → 사진 → 추천 이유·요금 상세 (order)
   데스크톱: 왼쪽 결과, 오른쪽 폼 */
.consult { padding: var(--section) 0; background: var(--bg); border-top: 1px solid var(--line); }
.consult-title { margin-bottom: 1.25rem; }
.consult-title:focus { outline: none; }
.consult-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.consult-grid > .result { display: contents; }
@media (min-width: 960px) {
  /* 왼쪽 두 칸(사진 | 기종·월료), 오른쪽 폼. 마지막 1fr 줄이 폼 높이의 남는 부분을 받아 왼쪽 줄 사이가 벌어지지 않는다 */
  .consult-grid { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr) minmax(0, 24rem); grid-template-rows: auto auto auto 1fr; column-gap: 1.5rem; row-gap: 1.25rem; align-items: start; }
  .consult-intro { grid-column: 1 / 3; grid-row: 1 / 5; }
  .consult-right { grid-column: 3; grid-row: 1 / 5; margin-left: .75rem; }
  .r-photo { grid-column: 1; grid-row: 1; }
  .r-summary { grid-column: 2; grid-row: 1; }
  .r-actions { grid-column: 1 / 3; grid-row: 2; }
  .r-detail { grid-column: 1 / 3; grid-row: 3; }
  .is-compare .r-summary { grid-column: 1 / 3; }
}
@media (min-width: 1200px) {
  .consult-grid { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr) minmax(0, 27rem); column-gap: 1.75rem; }
  .consult-right { margin-left: 1rem; }
}

.consult-why { margin: 0; max-width: 34em; font-size: 1.0625rem; }
.call-box { margin-top: 1.25rem; padding: 1.25rem; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); }
.call-box p { margin: 0; color: var(--muted); font-size: .9375rem; }
.call-number { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 1.5rem; font-weight: 800; color: var(--blue); text-decoration: none; font-variant-numeric: tabular-nums; }
.call-number:hover { text-decoration: underline; text-underline-offset: 5px; }

.ptype { margin: 0; color: var(--blue); font-size: .9375rem; font-weight: 700; }
.pname { margin: .1rem 0 .6rem; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.r-summary { padding: clamp(1rem, 3vw, 1.5rem); border: 2px solid var(--blue); border-radius: 20px; background: var(--bg); box-shadow: 0 18px 40px -30px rgba(37, 99, 235, .5); }
.r-text { margin: 0 0 .5rem; }
.r-price { margin: 0; }
.price-basis { margin: 0; color: var(--muted); font-size: .9375rem; }
.price-main { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; }
.price-main strong { font-size: clamp(1.75rem, 1.45rem + 1.1vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price-main span { color: var(--muted); font-size: .9375rem; font-weight: 600; }
.price-vat { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.key-terms { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.key-terms li { padding: .2rem .6rem; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .875rem; font-weight: 600; }
.r-status { margin: .6rem 0 0; font-size: .9375rem; font-weight: 600; }
.r-cost { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; }
.r-notice { margin: .6rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #fff7ed; color: #7c2d12; font-size: .9375rem; font-weight: 600; }

.r-why { margin: 0 0 .75rem; font-weight: 600; }
.r-buttons { display: grid; gap: .6rem; }
@media (min-width: 560px) { .r-buttons { grid-template-columns: auto auto; justify-content: start; } }
.r-hours { margin: .6rem 0 0; color: var(--muted); font-size: .875rem; }

.r-photo { width: 100%; max-width: 14rem; }
@media (max-width: 959px) { .r-photo { align-self: center; } }
@media (min-width: 960px) { .r-photo { max-width: none; } }


.r-detail h4 { margin: 0 0 .4rem; font-size: 1.0625rem; font-weight: 800; }
.r-detail h4:not(:first-child) { margin-top: 1.25rem; }
.r-detail-sub { margin-left: .35rem; font-weight: 500; font-size: .875rem; color: var(--muted); }
.preasons { margin: 0; padding-left: 1.15rem; }
.preasons li { margin: .2rem 0; }
.price-detail { margin: 0; display: grid; gap: .3rem; font-size: .9375rem; }
.price-detail div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; }
.price-detail dt { color: var(--muted); }
.price-detail dd { margin: 0; font-variant-numeric: tabular-nums; }
.r-checks { margin-top: 1rem; font-size: .9375rem; }
.r-checks summary { display: inline-flex; align-items: center; min-height: 2.75rem; cursor: pointer; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.r-checks ul { margin: .25rem 0 0; padding-left: 1.15rem; }
.r-checks li { margin: .2rem 0; }

.ccard { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: .9rem; align-items: center; padding: .9rem; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; }
.ccard.is-picked { border: 2px solid var(--blue); background: #f8fbff; }
.ccard .btn-sm { margin-top: .5rem; }
.ccard .btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.compare-skip { margin: .5rem 0 0; }
.link-btn { min-height: 2.75rem; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* 상담 폼 */
.form-head h3 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.form-head .hint { margin-top: .25rem; font-size: .9375rem; }
.picked { display: grid; gap: 0; padding: .6rem .9rem; border-radius: var(--radius); background: var(--blue-soft); font-size: .9375rem; }
.picked-line { margin: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; min-height: 2rem; }
.picked-line b { font-size: 1rem; }
.picked-price { white-space: nowrap; }
.picked .link-btn { font-size: .875rem; }
.picked-foot { margin: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: .5rem; color: var(--muted); font-size: .875rem; }
.picked-notice { margin: 0; color: var(--muted); }
.more-fields > summary { display: flex; align-items: center; gap: .25rem; min-height: 2.75rem; cursor: pointer; font-weight: 700; color: var(--blue); list-style: none; }
.more-fields > summary::-webkit-details-marker { display: none; }
.more-fields > summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; margin-right: .35rem; border-radius: 50%; background: var(--blue-soft); font-weight: 800; }
.more-fields[open] > summary::before { content: "−"; }
.more-body { display: grid; gap: 1.25rem; padding-top: .5rem; }
@keyframes woori-pulse { from { box-shadow: 0 0 0 4px rgba(249, 115, 22, .6); } to { box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); } }
.is-target input { animation: woori-pulse 1.1s ease-out 2; }
@media (prefers-reduced-motion: reduce) { .is-target input { animation: none; box-shadow: 0 0 0 3px rgba(249, 115, 22, .6); } }

/* 서비스 안내 */
.steps-list { list-style: none; counter-reset: s; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 860px) { .steps-list { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.steps-list li { counter-increment: s; display: grid; gap: .3rem; align-content: start; padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-soft); color: #1d4ed8; font-weight: 800; }
.steps-list b { font-size: 1.125rem; }
.steps-list span { color: var(--muted); font-size: .9375rem; }

/* 전체 기종: 기본 접힘 */
.all-devices > summary { list-style: none; cursor: pointer; position: relative; display: grid; gap: .35rem; padding: .5rem 3.5rem .5rem 0; }
.all-devices > summary::-webkit-details-marker { display: none; }
.all-devices > summary::after {
  content: ""; position: absolute; right: 0; top: .6rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
}
.all-devices[open] > summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.all-devices > summary:hover .block-title { color: var(--blue); }
.all-devices-sub { color: var(--muted); font-size: .9375rem; }
.lineup-more { margin: 1.25rem 0 0; }
.lineup-more a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue); font-weight: 700; text-underline-offset: 4px; }
