/* green-landing — 1번 사이트 (물탱크청소 대표). greenenv 형 한 페이지 랜딩 */
:root {
  --green: #0f5c3f;
  --green-dark: #0a3f2b;
  --green-soft: #e8f3ee;
  --mint: #2bb37a;
  --ink: #17221d;
  --muted: #56645d;
  --line: #d9e4de;
  --bg: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.75; word-break: keep-all;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 99; }

/* 상단 */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 800; font-size: 20px; text-decoration: none; }
.gnb { margin-left: auto; }
.gnb ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnb a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.gnb a:hover, .gnb a[aria-current] { background: var(--green-soft); color: var(--green); }
.top-call { background: var(--green); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* 히어로 */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--green-dark); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,48,33,.94) 0%, rgba(8,48,33,.78) 45%, rgba(8,48,33,.35) 100%), url(/img/hero.webp) center/cover; }
.hero-in { position: relative; padding: 56px 16px 52px; }
.home .hero-in { padding: 110px 16px 104px; }
.badge { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.hero h1 { margin: 0; font-size: clamp(28px, 4.6vw, 52px); line-height: 1.25; font-weight: 800; max-width: 760px; }
.hero .lead { margin: 16px 0 0; font-size: clamp(16px, 2vw, 19px); max-width: 640px; opacity: .92; }
.sub .hero-cta { display: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 17px; }
.btn-main { background: var(--mint); color: #fff; }
.btn-main:hover { background: #229c69; }
.btn-line { border: 1.5px solid rgba(255,255,255,.75); color: #fff; }

/* 본문 */
.content { padding-top: 56px; padding-bottom: 64px; }
.content h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.35; margin: 64px 0 14px; letter-spacing: -.01em; }
.content > h2:first-child, .content > .prose:first-child > h2:first-child { margin-top: 0; }
.content h3 { font-size: 20px; margin: 32px 0 8px; }
.content p { margin: 0 0 16px; }
.eyebrow { color: var(--mint); font-weight: 800; font-size: 14px; letter-spacing: .08em; margin: 64px 0 4px !important; }
.eyebrow + h2 { margin-top: 0; }
.prose { max-width: 760px; }
.note { background: var(--green-soft); border-left: 4px solid var(--green); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--green); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: var(--green-soft); border-radius: var(--radius); padding: 22px 20px; }
.steps li::before { content: "STEP " counter(s); display: block; color: var(--mint); font-weight: 800; font-size: 13px; letter-spacing: .08em; }
.steps strong { display: block; font-size: 18px; margin: 4px 0; }
.steps span { color: var(--muted); font-size: 15px; }

.flow { list-style: none; padding: 0; margin: 0; counter-reset: f; }
.flow > li { counter-increment: f; position: relative; padding: 0 0 28px 64px; }
.flow > li::before { content: counter(f); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; }
.flow > li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }
.flow > li:last-child::after { display: none; }
.flow h3 { margin: 6px 0 6px; }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
figure { margin: 0; }
figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
figcaption { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.tag { display: inline-block; font-size: 13px; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.tag-before { background: #fdecea; color: #b42318; }
.tag-after { background: var(--green-soft); color: var(--green); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.cert img { aspect-ratio: 5/7; object-fit: contain; background: #fff; max-width: 360px; box-shadow: 0 10px 30px rgba(0,0,0,.12); border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
th { background: var(--green-soft); color: var(--green-dark); white-space: nowrap; }

.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; }
.faq-item summary::before { content: "Q. "; color: var(--mint); }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; }
.case-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.case-card span, .case-card strong { display: block; padding: 0 16px; }
.case-card .case-date { color: var(--mint); font-size: 13px; font-weight: 700; padding-top: 14px; }
.case-card strong { font-size: 17px; margin: 2px 0 4px; }
.case-card span:last-child { color: var(--muted); font-size: 14.5px; padding-bottom: 16px; }

.form { display: grid; gap: 14px; max-width: 640px; }
.form label { font-weight: 700; font-size: 15px; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.form .agree { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.form button { font: inherit; font-weight: 700; padding: 14px; border: 0; border-radius: 10px; background: var(--green); color: #fff; cursor: pointer; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { color: var(--green); font-weight: 700; min-height: 1.5em; }

.cta-band { background: var(--green); color: #fff; text-align: center; padding: 56px 0; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { margin: 0 0 22px; opacity: .9; }

.foot { background: #0b1f17; color: #b7c6bf; padding: 36px 0 90px; font-size: 14.5px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot strong { color: #fff; font-size: 17px; }
.foot a { color: #fff; }
.copy { align-self: flex-end; margin: 0; }

.float-call { display: none; }

@media (max-width: 900px) {
  .gnb { display: none; }
  .top-call { margin-left: auto; }
  .grid-3, .case-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top-call { display: none; }
  .home .hero-in { padding: 72px 16px 64px; }
  .grid-3, .case-grid, .steps, .ba { grid-template-columns: 1fr; }
  .float-call { display: flex; align-items: center; justify-content: center; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; background: var(--mint); color: #fff; font-weight: 800; padding: 15px; border-radius: 12px; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
  th { white-space: normal; }
}
