/* ============================================
   제니스세탁 — 장부/영수증 컨셉 (시안 B 확장)
   ============================================ */
:root {
  --paper: #ece9e2;
  --card: #f7f5ef;
  --ink: #1f1e1b;
  --gray: #5f5d57;
  --gray-light: #b0ac9f;
  --red: #b7312c;

  --sans: "Noto Sans KR", sans-serif;
  --mono: "Courier New", monospace;

  --gap: clamp(1rem, 3vw, 2rem);
  --section-pad: clamp(3rem, 7vw, 5.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  word-break: keep-all;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}
.section-title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 900; }
.section-lede { color: var(--gray); max-width: 44ch; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236, 233, 226, 0.94);
  border-bottom: 1px solid var(--gray-light);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem 0.75rem;
  min-height: 60px; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.logo { font-weight: 900; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo span { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 0;
  font-weight: 700; font-size: 0.95rem;
  border: 2px solid var(--red);
  cursor: pointer;
  white-space: nowrap;
}
.btn-solid { background: var(--ink); border-color: var(--ink); color: var(--card); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-sm { padding: 0.5em 1.1em; font-size: 0.85rem; }

/* ---------- Hero (receipt card) ---------- */
.hero { padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.receipt {
  max-width: 480px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--gray-light);
  padding: 2.2rem 1.9rem;
  position: relative;
}
.receipt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background-image: radial-gradient(circle, var(--paper) 3px, transparent 3.5px);
  background-size: 16px 16px; background-position: 8px -3px;
}
.stamp-mini {
  position: absolute; top: 24px; right: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; text-align: center; line-height: 1.15;
  transform: rotate(8deg);
}
.receipt h1 {
  font-size: clamp(1.45rem, 6vw, 2rem); font-weight: 900;
  border-bottom: 2px solid var(--ink); padding-bottom: 0.8rem; margin-top: 0.8rem;
  padding-right: 60px;
}
.receipt h1 span { color: var(--red); }
.receipt .sub { color: var(--gray); font-size: 0.95rem; margin: 0.9rem 0 1.3rem; }
.ledger { border-top: 1px dashed var(--gray-light); padding-top: 0.9rem; margin-bottom: 1.4rem; }
.ledger .row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.15rem 0.6rem; font-size: 0.88rem; padding: 0.35em 0;
}
.ledger .row span:last-child { color: var(--gray); }
.receipt .btn { width: 100%; }

/* ---------- Process (3-step) ---------- */
.process-grid {
  display: grid; gap: var(--gap); grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 700px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
.process-step { text-align: center; }
.process-stamp {
  width: 64px; height: 64px; margin: 0 auto 0.8rem; border-radius: 50%;
  border: 2px solid var(--red); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 1.1rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.process-step p { color: var(--gray); font-size: 0.9rem; }

/* ---------- Categories (ledger list) ---------- */
.category-sheet {
  background: var(--card); border: 1px solid var(--gray-light);
  padding: 1.8rem clamp(1.1rem, 5vw, 2rem);
}
.category-sheet .row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0.15rem 0.6rem;
  padding: 0.65em 0; border-bottom: 1px dashed var(--gray-light);
  font-size: 0.95rem;
}
.category-sheet .row:last-child { border-bottom: none; }
.category-sheet .row span:last-child { color: var(--gray); font-size: 0.85rem; }
.category-note { margin-top: 1.2rem; font-size: 0.85rem; color: var(--gray); text-align: center; }

/* ---------- Why us ---------- */
.why-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-item { border-top: 2px solid var(--red); padding-top: 1rem; }
.why-item h3 { font-size: 1rem; }
.why-item p { color: var(--gray); font-size: 0.9rem; }

/* ---------- Area ---------- */
.area-sheet {
  background: var(--card); border: 1px solid var(--gray-light);
  padding: 1.8rem clamp(1.1rem, 5vw, 2rem); text-align: center;
}

/* ---------- Final CTA ---------- */
.final-cta { background: var(--ink); color: var(--card); text-align: center; }
.final-cta h2 { color: var(--card); font-weight: 900; }
.final-cta p { color: #cfccc2; }
.final-cta .btn-outline { border-color: var(--red); color: var(--card); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #a8a59b; padding: 1.8rem 0; font-size: 0.8rem; border-top: 1px solid #3a3934; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1rem; }
footer .wrap > div:first-child { min-width: 0; }
footer a:hover { color: var(--card); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }

section { padding: var(--section-pad) 0; }
.alt-bg { background: var(--card); border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.section-head { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- Small-screen tightening (≤380px) ---------- */
@media (max-width: 380px) {
  .receipt { padding: 1.8rem 1.3rem; }
  .stamp-mini { width: 46px; height: 46px; top: 18px; right: 16px; font-size: 0.62rem; }
  .receipt h1 { padding-right: 50px; }
  .category-sheet, .area-sheet { padding: 1.4rem 1.1rem; }
}

/* ---------- Legal pages ---------- */
.legal main { padding: var(--section-pad) 0; }
.legal h2 { font-size: 1.1rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--gray); font-size: 0.93rem; }
.legal ul { padding-left: 1.2em; list-style: disc; }

/* ---------- Area address ---------- */
.area-addr { margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px dashed var(--gray-light); font-size: 0.85rem; color: var(--gray); }
