/* 둘이내림 — 모바일 먼저, 주황 + 먹색 + 크림 */
:root {
  --ink: #1f2430;
  --sub: #5d6270;
  --accent: #ff6a1f;
  --accent-d: #e2540c;
  --cream: #fff7ef;
  --cream-2: #fbecdc;
  --line: #ecdccb;
  --white: #fff;
  --ok: #1a8f5a;
  --err: #d23a3a;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; word-break: keep-all; padding-bottom: 96px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
section { padding: 64px 0; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(25px, 5.6vw, 38px); }
h3 { font-size: 18px; }
p { margin: 0; }
small { font-size: .82em; color: var(--sub); font-weight: 500; }
.ic { width: 22px; height: 22px; flex: none; fill: currentColor; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--accent-d); }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.head { margin-bottom: 30px; }
.head h2 { margin-top: 10px; }
.lead { margin-top: 12px; color: var(--sub); max-width: 640px; }
.band { background: var(--cream); }
[hidden] { display: none !important; }

/* 스크롤 등장 */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } }

/* 머리말 */
.hd { position: sticky; top: 0; z-index: 70; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.hd.on { border-color: var(--line); box-shadow: 0 6px 24px rgba(60, 40, 20, .06); }
.hd-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 21px; letter-spacing: -.04em; }
.dots { display: inline-flex; }
.dots b { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); }
.dots b + b { margin-left: -5px; background: var(--ink); mix-blend-mode: multiply; }
.nav { display: none; }
@media (min-width: 820px) { .nav { display: flex; gap: 28px; margin-left: auto; margin-right: 8px; font-weight: 700; font-size: 15px; color: var(--sub); } .nav a:hover { color: var(--accent-d); } }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14.5px; }
.pill .ic { width: 18px; height: 18px; }
.pill:hover { background: var(--accent-d); }

/* 버튼 */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 14px; font-weight: 800; font-size: 16.5px; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: scale(.98); }
.btn.main { background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(255, 106, 31, .3); }
.btn.main:hover { background: var(--accent-d); }
.btn.line { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn.line:hover { border-color: var(--accent); color: var(--accent-d); }
.btn.wide { width: 100%; margin-top: 6px; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: default; }
.cta-row { margin-top: 28px; display: flex; justify-content: center; }

/* 첫 화면 */
.hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); overflow: hidden; }
.hero-in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 64px 0 80px; } .hero-in { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.hero h1 { margin-top: 14px; font-size: clamp(40px, 10.5vw, 72px); line-height: 1.12; font-weight: 900; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.sub { margin-top: 16px; font-size: clamp(17px, 3.8vw, 21px); font-weight: 700; color: var(--sub); }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.facts li { padding: 14px 10px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.facts b { display: block; font-size: 15.5px; font-weight: 900; letter-spacing: -.03em; }
.facts span { display: block; margin-top: 2px; font-size: 12px; color: var(--sub); line-height: 1.35; }
.hero-art svg { width: 100%; height: auto; }
.hero-art { max-width: 480px; margin-inline: auto; }

/* 스티커 선택 */
.two { display: grid; gap: 14px; }
@media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; gap: 18px; } }
.opt { padding: 26px 24px; border-radius: var(--r); background: var(--white); border: 1.5px solid var(--line); }
.opt .no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 900; font-size: 17px; }
.opt h3 { margin-top: 14px; font-size: 17px; color: var(--sub); }
.opt .big { margin-top: 4px; font-size: clamp(22px, 5.2vw, 27px); font-weight: 900; letter-spacing: -.04em; color: var(--ink); line-height: 1.3; }
.opt p:last-child { margin-top: 10px; color: var(--sub); font-size: 15.5px; }

/* 강점 */
.cards { display: grid; gap: 12px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.card { padding: 26px 24px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.card .ci { width: 38px; height: 38px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 14px; }
.card p { margin-top: 6px; color: var(--sub); font-size: 15.5px; }

/* 가격 */
.pricebox { margin-top: 18px; padding: 8px 0 0; }
.ptable { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; border-spacing: 0; }
.ptable caption { text-align: left; font-weight: 800; font-size: 17px; padding: 0 2px 10px; letter-spacing: -.03em; }
.ptable th, .ptable td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.ptable tr:first-child th, .ptable tr:first-child td { border-top: 0; }
.ptable th { text-align: left; font-weight: 700; font-size: 15.5px; }
.ptable th small { display: block; margin-top: 1px; }
.ptable td { text-align: right; font-weight: 900; font-size: 16.5px; color: var(--accent-d); white-space: nowrap; letter-spacing: -.02em; }
.ptable td.down { color: var(--ok); }
.ptable td a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 3px; }
.ptable tbody tr:nth-child(even) { background: #fffaf5; }
.fridge { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: var(--cream-2); font-size: 14.5px; color: var(--ink); line-height: 1.6; }
@media (max-width: 480px) { .ptable td { font-size: 15px; white-space: normal; } .ptable th, .ptable td { padding: 12px 14px; } }

/* 이용 순서 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.steps li { position: relative; padding: 24px 22px; border-radius: var(--r); background: var(--white); border: 1.5px solid var(--line); }
.steps b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; font-weight: 900; }
.steps h3 { margin-top: 12px; }
.steps p { margin-top: 4px; color: var(--sub); font-size: 15px; }

/* 견적 폼 */
.quote { background: linear-gradient(180deg, #fff 0%, var(--cream) 18%); }
.qhead { margin-bottom: 22px; }
.qhead h2 { margin-top: 10px; }
.qcard { padding: 24px 20px; border-radius: 22px; background: var(--white); border: 1.5px solid var(--line); box-shadow: 0 20px 50px rgba(120, 70, 20, .08); display: grid; gap: 16px; }
@media (min-width: 700px) { .qcard { padding: 34px 34px; } }
.g2, .g3 { display: grid; gap: 14px; }
@media (min-width: 640px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: 1.3fr .8fr 1fr; } }
.fld label { display: block; margin-bottom: 6px; font-weight: 800; font-size: 14.5px; }
.fld label em { color: var(--accent-d); font-style: normal; }
.fld input[type=text], .fld input[type=tel], .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fffdfa; font-size: 16px; }
.fld textarea { resize: vertical; min-height: 92px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 106, 31, .18); }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.padd { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; border: 2px dashed var(--accent); background: #fff4ea; color: var(--accent-d); font-weight: 800; font-size: 16px; cursor: pointer; }
.padd:hover { background: #ffe9d6; }
.plist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pth { position: relative; width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); }
.pth img { width: 100%; height: 100%; object-fit: cover; }
.pth button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(31, 36, 48, .78); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.pth.load::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23ff6a1f' stroke-width='3' stroke-dasharray='28 28'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") center/26px no-repeat; }
.hint { margin-top: 8px; font-size: 13px; color: var(--sub); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--sub); line-height: 1.55; cursor: pointer; }
.agree input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.qstatus { min-height: 22px; font-size: 14.5px; font-weight: 700; color: var(--sub); }
.qstatus.err { color: var(--err); }
.qstatus.ok { color: var(--ok); }
.qdone, .qfallback { display: none; margin-top: 18px; padding: 28px 24px; border-radius: 22px; background: var(--white); border: 1.5px solid var(--line); }
.qdone.on, .qfallback.on { display: block; }
.qdone { border-color: var(--ok); }
.qdone h3 { color: var(--ok); font-size: 22px; }
.qdone p, .qfallback p { margin-top: 8px; color: var(--sub); }
.qdone a { color: var(--accent-d); }
.qfallback h3 { color: var(--err); font-size: 20px; }
.qfallback pre { margin: 14px 0 0; padding: 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; font: 14px/1.6 var(--sans); }

/* 질문 · 고지 */
.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; font-size: 16.5px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 20px; color: var(--sub); }
.notice { margin-top: 20px; padding: 22px 22px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.notice h3 { font-size: 16px; }
.notice ul { margin: 10px 0 0; padding-left: 18px; color: var(--sub); font-size: 14.5px; display: grid; gap: 4px; }
.notice li b { color: var(--ink); }

/* 정리하다 안내 */
.more { padding: 8px 0 56px; }
.morebox { display: grid; gap: 18px; padding: 28px 26px; border-radius: 24px; background: var(--ink); color: #fff; }
.morebox h2 { color: #fff; font-size: clamp(20px, 4.8vw, 28px); margin-top: 8px; line-height: 1.4; }
.morebox h2 b { color: #ffb185; }
.morebox .eyebrow { color: #ffb185; }
.morebox .btn { justify-self: start; }
@media (min-width: 800px) { .morebox { grid-template-columns: 1fr auto; align-items: center; padding: 36px 40px; } }

/* 바닥글 */
footer { padding: 34px 0 40px; background: #171b25; color: rgba(255, 255, 255, .6); font-size: 13.5px; line-height: 1.9; }
footer b { color: #fff; }

/* 하단 고정 바 */
.bar-fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.bar-fixed a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 13px; font-weight: 800; font-size: 15.5px; transition: transform .2s var(--ease); }
.bar-fixed a:active { transform: scale(.98); }
.bar-fixed .q { flex: 2.1; background: var(--accent); color: #fff; white-space: nowrap; }
.bar-fixed .c, .bar-fixed .s { flex: 1; background: var(--white); color: var(--accent-d); border: 1.5px solid var(--accent); }
.bar-fixed .k { flex: 1; background: #fee500; color: #2b2100; }
.bar-fixed:has(.s:not([hidden])) .q, .bar-fixed:has(.k:not([hidden])) .q { flex-basis: 100%; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bar-fixed { left: auto; right: 24px; bottom: 24px; width: 320px; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 44px rgba(80, 50, 20, .2); }
  .bar-fixed a { width: 100%; flex: none; }
  .bar-fixed .q { flex: none; }
}
