/* 하얀손 세탁소 — 공용 스타일 (스카이블루 · 화이트 · 소프트 그레이) */
:root {
  --sky: #2f8fd5;
  --sky-deep: #1f6fae;
  --sky-soft: #eaf4fb;
  --sky-line: #cfe3f2;
  --ink: #1d2b38;
  --muted: #5b6b7a;
  --line: #dde5ec;
  --gray: #f3f6f9;
  --white: #ffffff;
  --dark: #17222c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font-family: "Noto Sans KR", sans-serif; line-height: 1.75; padding-bottom: 64px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }

/* 샘플 배너 */
.sample { background: var(--dark); color: #b8c8d6; text-align: center; font-size: 12px; padding: 7px 16px; line-height: 1.6; }
.sample b { color: #fff; font-weight: 500; }
.sample a { color: #fff; text-decoration: underline; }

/* 헤더 */
header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(6px); }
header .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo i { width: 34px; height: 34px; border-radius: 50%; background: var(--sky); position: relative; flex-shrink: 0; }
.logo i::before { content: ""; position: absolute; left: 9px; top: 10px; width: 16px; height: 9px; border: 2px solid #fff; border-bottom: 0; border-radius: 9px 9px 0 0; }
.logo i::after { content: ""; position: absolute; left: 9px; top: 19px; width: 16px; height: 6px; background: #fff; border-radius: 2px; }
.logo span { display: flex; flex-direction: column; line-height: 1.25; }
.logo strong { font-size: 18px; font-weight: 900; letter-spacing: -.01em; }
.logo small { font-size: 10px; letter-spacing: .2em; color: var(--sky); font-weight: 500; }
.gnb { display: flex; align-items: center; gap: 2px; }
.gnb a { font-size: 14px; color: var(--muted); padding: 8px 12px; border-radius: 8px; white-space: nowrap; transition: color .15s, background .15s; }
.gnb a:hover { color: var(--ink); background: var(--gray); }
.gnb a[aria-current="page"] { color: var(--sky-deep); font-weight: 700; background: var(--sky-soft); }
.gnb a.cta { background: var(--sky); color: #fff; margin-left: 8px; padding: 8px 16px; font-weight: 500; }
.gnb a.cta:hover, .gnb a.cta[aria-current="page"] { background: var(--sky-deep); color: #fff; }

/* 버튼 */
.btn { display: inline-block; padding: 13px 26px; font-size: 15px; font-weight: 500; border-radius: 10px; text-align: center; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, color .15s; }
.btn.sky { background: var(--sky); color: #fff; }
.btn.sky:hover { background: var(--sky-deep); }
.btn.ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.white { background: #fff; color: var(--sky-deep); }
.btn.line-white { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn.kakao { background: #fee500; color: #191919; }
.btn.block { display: block; width: 100%; margin-top: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 섹션 공통 */
section { padding: 80px 0; }
section.gray { background: var(--gray); }
.head { margin-bottom: 36px; }
.head.center { text-align: center; }
.eyebrow { display: block; color: var(--sky); font-size: 12px; letter-spacing: .22em; font-weight: 700; margin-bottom: 6px; }
.head h2 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.35; font-weight: 900; letter-spacing: -.015em; }
.head p { color: var(--muted); margin-top: 8px; }
.note { color: var(--muted); font-size: 13px; margin-top: 18px; }
.note.center { text-align: center; }

/* 서브페이지 상단 */
.page-top { padding: 56px 0 44px; background: linear-gradient(180deg, var(--sky-soft), #fff); border-bottom: 1px solid var(--line); }
.page-top h1 { font-size: clamp(28px, 4.6vw, 40px); font-weight: 900; letter-spacing: -.02em; line-height: 1.3; margin: 2px 0 8px; }
.page-top p { color: var(--muted); max-width: 40em; }

/* 홈 히어로 */
.hero { background: linear-gradient(135deg, var(--sky-soft) 0%, #fff 70%); padding: 56px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.6vw, 54px); line-height: 1.22; font-weight: 900; letter-spacing: -.025em; margin: 6px 0 18px; }
.hero p { color: var(--muted); font-size: 17px; margin-bottom: 28px; max-width: 30em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { font-size: 13px; font-weight: 500; color: var(--sky-deep); background: #fff; border: 1px solid var(--sky-line); border-radius: 999px; padding: 4px 14px; }
.photo { position: relative; }
.photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 50px rgba(31, 111, 174, .18); }
.photo .float { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 14px; padding: 12px 16px; font-size: 13px; line-height: 1.5; box-shadow: 0 10px 28px rgba(23, 34, 44, .14); max-width: 220px; }
.photo .float b { display: block; font-size: 15px; color: var(--sky-deep); }
.photo .float span { color: var(--muted); font-size: 11px; }

/* 당일 항목 */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick > div { border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; text-align: center; background: #fff; }
.ic { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-soft); align-items: center; justify-content: center; margin-bottom: 12px; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: var(--sky-deep); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.quick h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.quick p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* 서비스 카드 */
.entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry a { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.entry a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(31, 111, 174, .12); }
.entry img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.entry .txt { padding: 18px 20px 22px; }
.entry h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.entry p { color: var(--muted); font-size: 14px; }
.more { display: block; margin-top: 10px; color: var(--sky-deep); font-size: 14px; font-weight: 500; }

/* 진행 순서 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; position: relative; }
section.gray .steps li { border-color: var(--sky-line); }
.steps b { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: #fff; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 10px; }
.steps h3 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* 후기 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews article { background: #fff; border-radius: 16px; padding: 22px; border: 1px solid var(--line); }
.stars { color: #f0b429; letter-spacing: .1em; font-size: 14px; margin-bottom: 8px; }
.reviews p { font-size: 15px; margin-bottom: 10px; }
.reviews span { color: var(--muted); font-size: 13px; }

/* 특수세탁 카드 */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards article { border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; background: #fff; display: flex; flex-direction: column; }
.cards h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cards p { color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; }
.tag { display: inline-block; align-self: flex-start; margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--sky-deep); background: var(--sky-soft); border-radius: 999px; padding: 3px 12px; }

/* 표 */
.alert { background: var(--sky-soft); border: 1px solid var(--sky-line); border-radius: 12px; padding: 14px 18px; font-size: 14px; color: #254a68; margin-bottom: 8px; }
.alert b { color: var(--sky-deep); margin-right: 6px; }
.tb-title { font-size: 19px; font-weight: 700; margin: 34px 0 10px; }
.tb-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tb { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.tb th, .tb td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.tb thead th { background: var(--gray); font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.tb tbody th { font-weight: 500; }
.tb tbody tr:last-child th, .tb tbody tr:last-child td { border-bottom: 0; }
.tb .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; color: var(--sky-deep); }
.tb thead .num { color: var(--muted); font-weight: 500; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 500; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--sky); font-weight: 300; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding: 0 0 16px; font-size: 14.5px; }

/* 방문 수거 */
.wrap.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.info { display: grid; grid-template-columns: 96px 1fr; gap: 0; border-top: 2px solid var(--ink); }
.info dt, .info dd { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info dt { font-weight: 700; color: var(--sky-deep); }
.shot img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 22px; }

/* CTA */
.cta-box { background: linear-gradient(135deg, var(--sky), var(--sky-deep)); color: #fff; text-align: center; padding: 64px 0; }
.cta-box h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 900; margin-bottom: 8px; }
.cta-box p { color: #d9ecfa; margin-bottom: 24px; }
.cta-box .btns { justify-content: center; }

/* 수거 신청 폼 */
.grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: start; }
.form { display: grid; gap: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.field em { color: #d64545; font-style: normal; margin-left: 2px; }
input[type="text"], input[type="tel"], input[type="date"], select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #c7d3de; border-radius: 10px; background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sky); outline-offset: 1px; border-color: var(--sky); }
.chks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chk { position: relative; }
.chk input { position: absolute; opacity: 0; }
.chk span { display: inline-block; padding: 8px 14px; border: 1px solid #c7d3de; border-radius: 999px; font-size: 14px; cursor: pointer; background: #fff; transition: all .15s; }
.chk input:checked + span { background: var(--sky-soft); border-color: var(--sky); color: var(--sky-deep); font-weight: 500; }
.chk input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.agree input { margin-top: 5px; accent-color: var(--sky); }
.success { display: none; background: #e8f5ee; border: 1px solid #b7dcc6; color: #25593a; border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.success.show { display: block; }
.success strong { display: block; margin-bottom: 2px; }
.side { display: grid; gap: 16px; }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--gray); }
.box h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.box p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.list li { font-size: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.list li:last-child { border-bottom: 0; }
.list b { display: inline-block; min-width: 44px; color: var(--sky-deep); }
.link { display: inline-block; margin-top: 10px; color: var(--sky-deep); font-size: 14px; font-weight: 500; }

/* 푸터 */
footer { background: var(--dark); color: #b9c7d4; padding: 44px 0 36px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px 48px; }
footer .logo strong { color: #fff; }
footer .logo i { background: var(--sky); }
footer p { margin-top: 10px; }
footer dl { display: grid; grid-template-columns: 70px 1fr; gap: 6px 0; }
footer dt { color: #7f93a5; }
footer a { color: #fff; }
footer .copy { grid-column: 1 / -1; color: #7f93a5; font-size: 12px; border-top: 1px solid #2a3947; padding-top: 18px; margin-top: 0; }

/* 하단 고정 바 (모바일) */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1.4fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(23, 34, 44, .08); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bar a { text-align: center; padding: 16px 8px; font-size: 15px; font-weight: 500; }
.bar a:last-child { background: var(--sky); color: #fff; }

@media (min-width: 861px) { body { padding-bottom: 0; } .bar { display: none; } }

@media (max-width: 960px) {
  .quick, .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .entry, .reviews { grid-template-columns: 1fr; }
  .entry a { flex-direction: row; }
  .entry img { width: 42%; aspect-ratio: auto; }
}

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero { padding: 36px 0 44px; }
  .hero .wrap, .wrap.two, .grid, footer .wrap { grid-template-columns: 1fr; gap: 28px; }
  .photo .float { left: 12px; bottom: 12px; }
  header .wrap { flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .gnb { width: 100%; overflow-x: auto; margin: 0 -4px; padding-bottom: 4px; }
  .gnb a { padding: 7px 10px; font-size: 13.5px; }
  .gnb a.cta { display: none; }
  .shot img { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .quick, .cards, .steps, .row2 { grid-template-columns: 1fr; }
  .entry a { flex-direction: column; }
  .entry img { width: 100%; aspect-ratio: 16 / 10; }
  .info { grid-template-columns: 78px 1fr; }
  .tb { font-size: 13.5px; min-width: 0; }
  .tb th, .tb td { padding: 10px 12px; }
  .tb th:nth-child(4), .tb td:nth-child(4) { display: none; }
}

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