/* 렌탈마스터 홈페이지 스타일 — 색은 아래 :root 에서 한 번에 바꿀 수 있습니다 */
:root {
  --brand: #0560B8;
  --brand-dark: #044C93;
  --brand-grad-a: #1A74D8;
  --brand-grad-b: #0A2A5E;
  --accent: #FF8A1F;
  --ink: #0F1B2D;
  --muted: #55627A;
  --line: #DDE1E8;
  --bg: #F4F5F7;
  --kakao: #FEE500;
  --kakao-ink: #191919;
  --card: #FFFFFF;
  --font: 'Noto Sans KR', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --font-num: 'Space Grotesk', var(--font);
  --gutter: 32px;
  --sec: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; word-break: keep-all; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.num { font-family: var(--font-num); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 6px; font-weight: 700; font-size: 16px; transition: background .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border: 1px solid var(--ink); background: #fff; }
.btn--ghost:hover { background: var(--bg); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; white-space: nowrap; }

/* 상단 안내바 */
.topbar { background: var(--ink); color: #DDE3EE; font-size: 13px; }
.topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 8px; padding-bottom: 8px; }

/* 헤더 */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 12px; padding-bottom: 12px; }
.logo { flex: none; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 500; }

/* 히어로 */
.hero { background: #fff; }
.hero__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; color: var(--brand); }
.hero h1 { margin: 0; font-size: 52px; line-height: 1.2; font-weight: 900; letter-spacing: -1.5px; text-wrap: balance; }
.lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__tel { display: inline-flex; align-items: baseline; gap: 10px; font-size: 28px; font-weight: 700; color: var(--brand); letter-spacing: -0.5px; }
.hero__tel span { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0; }

.setup { flex: 1 1 380px; min-width: 0; background: var(--bg); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.setup__title { margin: 0; font-size: 17px; font-weight: 700; }
.setup__group { display: flex; flex-direction: column; gap: 8px; }
.setup__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .5px; }
.setup__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.setup__grid li { display: flex; min-width: 0; }
/* 버튼 수가 홀수면 마지막 버튼은 한 줄 전체로 (줄 맞춤) */
.setup__grid li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.room { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 12px 16px; font: inherit; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .15s; }
.room::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.room:hover { border-color: var(--brand); }
.room[aria-expanded="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.room[aria-expanded="true"]::after { border-color: #fff; transform: rotate(-135deg) translateY(-2px); }
.room-panel { background: #fff; border: 2px solid var(--brand); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.room-panel[hidden], .room-panel__photo[hidden] { display: none; }
.room-panel__photo { width: 100%; aspect-ratio: 4 / 3; max-height: 220px; object-fit: cover; border-radius: 6px; }
.room-panel__title { font-size: 15px; }
.room-panel__items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.room-panel__items li { background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 500; }
.room-panel__note { margin: 0; font-size: 13px; color: var(--muted); }
.room-panel__link { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.room-panel__link[hidden] { display: none; }
.room-panel__go { align-self: flex-start; min-height: 44px; padding: 0 20px; font-size: 15px; }
.setup__note { margin: 0; font-size: 14px; color: var(--muted); }

/* 공통 섹션 */
.section { padding: var(--sec) 0 calc(var(--sec) * .3); }
.h2 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: -0.8px; line-height: 1.3; }
.sub { margin: 8px 0 32px; color: var(--muted); }

/* 대여 품목 */
.products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; scroll-margin-top: 100px; }
.pcard:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 6px 18px rgba(5, 96, 184, .1); }
.pcard:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 96, 184, .2); }
.pcard svg { width: 32px; height: 32px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pcard strong { font-size: 18px; line-height: 1.35; }
.pcard span { font-size: 14px; color: var(--muted); }

/* 대여 진행 순서 */
.steps-sec { background: var(--ink); color: #E8ECF3; margin-top: calc(var(--sec) * .8); padding: 72px 0; }
.steps-sec .h2 { color: #fff; margin-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid #4B6FB8; padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.steps .num { font-size: 14px; color: #9DB4E2; font-weight: 500; }
.steps strong { font-size: 19px; color: #fff; }
.steps p { margin: 0; font-size: 14px; color: #C5CFE0; }

/* 설치 사례 */
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 28px; margin-bottom: 28px; }
.feature__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin-bottom: 20px; }
.feature__head h3 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -0.5px; }
.feature__head p { margin: 0; color: var(--muted); font-size: 15px; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.phase { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; text-align: left; }
.phase img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.phase:hover img, .case:hover img { transform: scale(1.03); }
.phase__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; background: linear-gradient(transparent, rgba(15, 27, 45, .85)); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: baseline; gap: 8px; }
.phase__label b { color: #9DB4E2; font-size: 14px; }
.phase__label em { margin-left: auto; font-style: normal; font-weight: 500; font-size: 13px; opacity: .9; }

.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; }
.case { padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; display: flex; flex-direction: column; gap: 10px; }
.case__img { position: relative; display: block; border-radius: 8px; overflow: hidden; background: var(--line); }
.case__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.case__img em { position: absolute; right: 10px; bottom: 10px; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(15, 27, 45, .75); color: #fff; padding: 3px 9px; border-radius: 4px; }
.case strong { font-size: 17px; }
.case-item { position: relative; min-width: 0; }
.ask { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 700; color: var(--brand); }
/* 사례 카드에서는 사진 왼쪽 아래에 붙여서 화면이 길어지지 않게 */
.case-item .ask { position: absolute; left: 10px; top: 10px; min-height: 30px; padding: 0 10px; border-radius: 4px; background: rgba(255, 255, 255, .94); font-size: 13px; box-shadow: 0 2px 8px rgba(15, 27, 45, .18); white-space: nowrap; }
.case-item .ask:hover { text-decoration: none; background: #fff; }
.feature__head .ask { margin-left: auto; }
.feature__head .ask--sub { margin-left: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.prefill { margin: -8px 0 20px; padding: 12px 14px; border-radius: 6px; background: #EAF2FC; color: var(--brand-dark); font-size: 15px; font-weight: 500; }
.lightbox__foot { display: flex; justify-content: center; padding: 0 72px 20px; }
.lightbox__ask { min-height: 46px; padding: 0 22px; font-size: 15px; }

/* 견적 문의 */
.contact-sec { padding: 72px 0 var(--sec); }
.contact { background: linear-gradient(135deg, var(--brand-grad-a), var(--brand-grad-b)); color: #fff; border-radius: 14px; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; }
.contact__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact h2 { margin: 0; font-size: 32px; font-weight: 900; letter-spacing: -0.8px; line-height: 1.3; }
.contact p { margin: 0; font-size: 16px; opacity: .92; }
.checklist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checklist li { border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 500; }
.contact__tel { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.contact__tel > span, .contact__tel > a[href^="mailto"] { opacity: .92; }
.contact__tel small { display: block; font-family: var(--font); font-size: 13px; font-weight: 500; opacity: .85; letter-spacing: 0; }
.tel-big { font-size: 44px; font-weight: 700; letter-spacing: -1px; line-height: 1.15; }
.tel-mid { font-size: 22px; font-weight: 700; margin: 6px 0 8px; }

/* 푸터 */
.footer { background: #fff; border-top: 1px solid var(--line); }
.footer__in { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; font-size: 13px; color: var(--muted); }
.footer__in > img { height: 44px; width: auto; align-self: flex-start; }
.biz { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.biz div { display: flex; gap: 6px; }
.biz dt { font-weight: 500; color: var(--ink); }
.biz dd { margin: 0; }
.copy { margin: 0; }

/* 견적 문의서 */
.btn--white { align-self: flex-start; margin-top: 8px; background: #fff; color: var(--brand); }
.btn--white:hover { background: #EAF2FC; }
.quote { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 40px 48px; }
.quote__head h1, .quote__head h2 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -0.6px; }
.quote__head p { margin: 6px 0 24px; color: var(--muted); }
.req-mark { color: #D13B1F; font-weight: 700; }
.quote__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 15px; padding: 0; }
.field legend { margin-bottom: 8px; }
.field legend small { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #C8CFDA; border-radius: 6px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A94A6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 96, 184, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid #C8CFDA; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.is-bad input, .is-bad textarea, .is-bad .chip span { border-color: #D13B1F; }
.is-bad > label, .is-bad > legend, .agree.is-bad .agree__check { color: #D13B1F; }
.agree { margin-top: 22px; padding: 16px 18px; background: var(--bg); border-radius: 8px; font-size: 15px; }
.agree__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 500; }
.agree__check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); }
.agree details { margin-top: 8px; padding-left: 32px; color: var(--muted); font-size: 14px; }
.agree summary { cursor: pointer; text-decoration: underline; width: max-content; }
.agree details p { margin: 8px 0 0; }
.quote__error { margin: 16px 0 0; padding: 12px 14px; border-radius: 6px; background: #FDECEA; color: #A62B14; font-weight: 500; font-size: 15px; }
.quote__submit { margin-top: 20px; width: 100%; min-height: 54px; font-size: 18px; border: 0; cursor: pointer; }
.quote__done { margin-top: 20px; padding: 20px; border: 2px solid var(--brand); border-radius: 10px; background: #F2F7FD; }
.quote__done strong { display: block; font-size: 17px; }
.quote__done p { margin: 4px 0 14px; color: var(--muted); font-size: 15px; }
.quote__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quote__actions .btn { min-height: 44px; padding: 0 18px; font-size: 15px; cursor: pointer; }
.quote__preview { margin: 14px 0 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-family: var(--font); font-size: 14px; white-space: pre-wrap; word-break: break-all; }

/* 견적 문의서 화면 */
.qpage { padding: 28px 0 var(--sec); }
.qpage__in { max-width: 880px; }
.back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--brand); }
.qcall { margin-top: 8px; background: linear-gradient(135deg, var(--brand-grad-a), var(--brand-grad-b)); color: #fff; border-radius: 12px; padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.qcall p { margin: 0; font-size: 14px; opacity: .95; min-width: 0; }
.qcall p strong { display: block; font-size: 17px; opacity: 1; }
.qcall__nums { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.qcall__nums a { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; }
.qcall__nums small { display: block; font-family: var(--font); font-size: 12px; font-weight: 500; opacity: .85; letter-spacing: 0; }
.qpage .quote { margin-top: 16px; }

/* 행사 의자 수량 계산기 */
.calc { margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 36px 40px; display: flex; flex-direction: column; gap: 20px; }
.calc h1 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -1px; line-height: 1.3; text-wrap: balance; }
.calc__lead { margin: -12px 0 0; color: var(--muted); }
.calc__input { display: flex; align-items: center; gap: 10px; max-width: 280px; }
.calc__input input { flex: 1; min-width: 0; font-family: var(--font-num); font-size: 24px; font-weight: 700; min-height: 56px; }
.calc__input span { font-weight: 700; font-size: 18px; }
.calc__help { margin: 0; font-size: 14px; color: var(--muted); }
.calc__help.is-error { color: #A62B14; font-weight: 500; }
.calc__margin .chips { gap: 8px; }
.chip input[type=radio]:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.calc__result { background: #F2F7FD; border-radius: 10px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.calc__answer { margin: 0; font-size: 18px; font-weight: 700; color: var(--muted); }
.calc__answer.has-result { font-size: 24px; color: var(--ink); letter-spacing: -0.5px; }
.calc__answer strong { color: var(--brand); font-size: 34px; letter-spacing: -1px; margin: 0 2px; }
.calc__note { margin: 0; font-size: 14px; color: var(--muted); }
.calc__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.calc__actions .btn { flex: 1 1 220px; min-height: 52px; }
.num-btn .num { margin-left: 6px; }

/* 카카오톡 버튼 */
.btn--kakao { gap: 8px; margin-top: 12px; align-self: flex-start; background: var(--kakao); color: var(--kakao-ink); }
.btn--kakao:hover { background: #F5DC00; }
.btn--kakao svg { width: 20px; height: 20px; fill: var(--kakao-ink); flex: none; }

/* 블로그 */
.blog { margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px 28px; display: flex; align-items: center; gap: 16px 24px; transition: border-color .15s, box-shadow .15s; }
.blog:hover { text-decoration: none; border-color: var(--brand); box-shadow: 0 6px 18px rgba(5, 96, 184, .1); }
.blog:hover .blog__btn { background: var(--brand-dark); }
.blog:target { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(5, 96, 184, .2); }
.blog__icon { flex: none; width: 48px; height: 48px; padding: 10px; border-radius: 10px; background: var(--bg); fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.blog__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.blog__title { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.35; }
.blog__desc { color: var(--muted); font-size: 15px; }
.blog__btn { flex: none; }
.blog + .sub { margin-top: 16px; }

/* 주소 준비 중 안내 */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); z-index: 80; width: max-content; max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-size: 15px; text-align: center; box-shadow: 0 8px 24px rgba(15, 27, 45, .25); }

/* 휴대폰 하단 전화·카카오톡 버튼 */
.callbar { display: none; }

/* 사진 크게 보기 */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #080E18; color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(8, 14, 24, .7); }
.lightbox__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 20px; }
.lightbox__title { font-size: 16px; }
.lightbox__count { font-size: 14px; color: #9DB4E2; }
.lightbox__close { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; }
.lightbox__fig { flex: 1; min-height: 0; margin: 0; display: flex; align-items: center; justify-content: center; padding: 0 64px 24px; }
.lightbox__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
.lightbox.is-single .lightbox__nav { display: none; }

/* ===== 태블릿 ===== */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 6px 18px; font-size: 14px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 145px; }
  .header__in { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 42px; }
}

/* ===== 휴대폰 ===== */
@media (max-width: 760px) {
  :root { --gutter: 20px; --sec: 40px; }
  html { scroll-padding-top: 120px; }
  body { padding-bottom: 72px; }
  .topbar { display: none; }
  .header__in { padding-top: 10px; padding-bottom: 10px; gap: 10px 12px; }
  .logo img { height: 40px; }
  .btn--sm { padding: 0 16px; font-size: 14px; }
  .hero__in { padding-top: 32px; padding-bottom: 40px; gap: 32px; }
  .hero__text { gap: 18px; }
  .eyebrow { font-size: 13px; letter-spacing: 1.2px; }
  .hero h1 { font-size: 32px; line-height: 1.25; letter-spacing: -1px; }
  .lead { font-size: 16px; }
  .hero__btns { width: 100%; flex-direction: column; gap: 10px; }
  .hero__btns .btn { width: 100%; }
  .hero__tel { font-size: 24px; }
  .setup { padding: 20px; border-radius: 10px; }
  .setup { gap: 14px; }
  .setup__grid { gap: 8px; }
  .room { min-height: 44px; padding: 8px 10px 8px 12px; font-size: 15px; }
  .room-panel { padding: 14px; }
  .room-panel__go { align-self: stretch; }
  .h2 { font-size: 26px; letter-spacing: -0.6px; }
  .sub { margin-bottom: 20px; font-size: 15px; }
  .products { grid-template-columns: 1fr; gap: 10px; }
  .pcard { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 0; align-items: center; padding: 16px 18px; }
  .pcard svg { width: 30px; height: 30px; grid-row: 1 / 3; }
  .pcard strong { font-size: 16px; }
  .pcard span { font-size: 13px; }
  .steps-sec { padding: 40px 0; }
  .steps-sec .h2 { margin-bottom: 20px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; border-top: 1px solid #2A3A55; padding: 14px 0; gap: 2px 12px; }
  .steps li .num { grid-row: 1 / 3; padding-top: 3px; font-size: 13px; }
  .steps strong { font-size: 17px; }
  .feature { padding: 18px; border-radius: 10px; }
  .feature__head h3 { font-size: 19px; }
  .feature__head p { font-size: 14px; }
  .phases { grid-template-columns: 1fr; gap: 10px; }
  .cases { grid-template-columns: 1fr; gap: 20px; }
  .contact-sec { padding: 40px 0; }
  .contact { padding: 28px 22px; border-radius: 12px; gap: 24px; }
  .contact h2 { font-size: 24px; }
  .btn--white { width: 100%; }
  .quote { margin-top: 16px; padding: 24px 18px; border-radius: 12px; }
  .qpage { padding-top: 12px; }
  .qcall { padding: 16px 18px; }
  .qcall__nums a { font-size: 22px; }
  .calc { padding: 22px 18px; border-radius: 12px; gap: 18px; }
  .calc h1 { font-size: 24px; }
  .calc__input { max-width: none; }
  .calc__answer.has-result { font-size: 20px; }
  .calc__answer strong { font-size: 30px; }
  .calc__actions .btn { flex-basis: 100%; }
  .quote__head h1, .quote__head h2 { font-size: 22px; }
  .quote__head p { font-size: 15px; margin-bottom: 18px; }
  .quote__grid { grid-template-columns: 1fr; gap: 16px; }
  .chip span { padding: 0 13px; font-size: 14px; }
  .agree details { padding-left: 0; }
  .quote__actions .btn { flex: 1 1 auto; }
  .tel-big { font-size: 36px; }
  .footer__in { padding-top: 28px; padding-bottom: 28px; }
  .blog { margin-top: 14px; padding: 8px 8px 8px 14px; gap: 8px; border-radius: 10px; }
  .blog__icon, .blog__desc { display: none; }
  .blog__title { font-size: 15px; letter-spacing: -0.4px; white-space: nowrap; }
  .blog__btn { min-height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
  .btn--kakao { width: 100%; }
  .biz { flex-direction: column; }
  .lightbox__fig { padding: 0 8px 12px; }
  .lightbox__foot { padding: 0 64px calc(20px + env(safe-area-inset-bottom)); }
  .lightbox__ask { min-height: 48px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }

  .callbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .callbar__btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 50px; padding: 0 8px; border-radius: 8px; font-weight: 700; font-size: 16px; white-space: nowrap; }
  .callbar__btn:hover { text-decoration: none; }
  .callbar__btn svg { flex: none; width: 20px; height: 20px; }
  .callbar__tel { background: var(--brand); color: #fff; }
  .callbar__tel svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
  .callbar__kakao { background: var(--kakao); color: var(--kakao-ink); }
  .callbar__kakao svg { fill: var(--kakao-ink); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* 아주 작은 휴대폰 (가로 360 이하) */
@media (max-width: 360px) {
  .setup { padding: 16px 14px; }
  .room { font-size: 13.5px; letter-spacing: -0.4px; padding: 8px 8px 8px 10px; }
  .room::after { display: none; }
  .blog { padding: 6px 6px 6px 12px; gap: 6px; }
  .blog__title { font-size: 13px; letter-spacing: -0.6px; }
  .blog__btn { padding: 0 9px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
