/* ==========================================================
   (주)원스톱환경개발 — 공통 스타일
   ========================================================== */
:root {
  --primary: #2f7d3a;
  --primary-dark: #225e2b;
  --primary-soft: #e7f3e9;
  --accent: #f2b705;
  --ink: #111827;
  --ink-2: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --dark: #0f2a1a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --container: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; }
.section.soft { background: var(--bg-soft); }

/* 섹션 제목 */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .eyebrow {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .12em;
  color: var(--primary); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.3; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; transition: .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------------- 헤더 ---------------- */
.header {
  position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 100;
  transition: background .25s, box-shadow .25s;
}
.header.scrolled, .header.solid { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #3f9a4b, var(--primary-dark));
  display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 900;
}
.logo small { font-size: 14px; font-weight: 600; opacity: .8; }
.header.scrolled .logo, .header.solid .logo { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav a { color: #fff; font-weight: 600; font-size: 16px; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; transform: scaleX(0); transition: transform .2s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header.scrolled .nav a, .header.solid .nav a { color: var(--ink-2); }
.header.scrolled .nav a.active, .header.solid .nav a.active { color: var(--primary); }

.header-call {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 16px;
}
.header-call svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 44px; height: 44px; color: #fff; }
.menu-btn svg { width: 26px; height: 26px; margin: auto; }
.header.scrolled .menu-btn, .header.solid .menu-btn { color: var(--ink); }

/* ---------------- 메인 배너 ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: #183a24 url("../images/hero.webp") 60% center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,34,20,.88) 0%, rgba(10,34,20,.6) 55%, rgba(10,34,20,.35) 100%);
}
.hero .container { position: relative; padding-top: var(--header-h); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  font-size: 15px; font-weight: 600; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.22; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #ffd34d; }
.hero .lead { margin-top: 20px; font-size: clamp(17px, 2vw, 21px); opacity: .9; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tel { margin-top: 40px; display: flex; align-items: center; gap: 14px; }
.hero-tel .label { font-size: 15px; opacity: .8; line-height: 1.4; }
.hero-tel a { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -.01em; }
.hero-points {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px;
}
.hero-points li {
  padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(4px);
}
.hero-points strong { display: block; font-size: 22px; font-weight: 800; }
.hero-points span { font-size: 14px; opacity: .8; }

/* ---------------- 서브 페이지 상단 ---------------- */
.sub-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 90px; color: #fff; text-align: center;
  background: #183a24 url("../images/sub-hero.webp") center / cover no-repeat;
}
.sub-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10,34,20,.72); }
.sub-hero .container { position: relative; }
.sub-hero .eyebrow { font-size: 15px; opacity: .8; letter-spacing: .05em; }
.sub-hero h1 { margin-top: 10px; font-size: clamp(32px, 5vw, 48px); font-weight: 800; }

/* ---------------- 서비스 카드 ---------------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end; color: #fff;
  background: #234a30 center / cover no-repeat;
  box-shadow: var(--shadow);
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,34,20,0) 25%, rgba(10,34,20,.9) 100%); transition: .3s;
}
.service-card:hover::before { background: linear-gradient(180deg, rgba(47,125,58,.25) 0%, rgba(10,34,20,.92) 100%); }
.service-card .body { position: relative; padding: 36px; }
.service-card .tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--primary);
  font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.service-card h3 { font-size: 30px; font-weight: 800; }
.service-card p { margin-top: 10px; opacity: .88; font-size: 16px; }
.service-card .more { margin-top: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.service-card .more svg { width: 18px; height: 18px; transition: .2s; }
.service-card:hover .more svg { transform: translateX(4px); }

.service-list { margin-top: 28px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.service-list li {
  padding: 22px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  text-align: center; font-weight: 700; transition: .2s;
}
.service-list li:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.service-list .ico {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 12px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.service-list .ico svg { width: 26px; height: 26px; }

/* ---------------- 강점 ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { padding: 34px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-item .num { font-size: 15px; font-weight: 800; color: var(--primary); }
.why-item h3 { margin-top: 14px; font-size: 21px; font-weight: 800; }
.why-item p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------------- 진행 절차 ---------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--bg-soft); }
.steps li::before {
  counter-increment: step; content: "STEP " counter(step, decimal-leading-zero);
  font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: .06em;
}
.steps h3 { margin-top: 10px; font-size: 20px; font-weight: 800; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------------- 인용문 ---------------- */
.quote { text-align: center; max-width: 760px; margin: 0 auto; }
.quote .mark { font-size: 70px; line-height: 1; color: var(--primary); font-family: Georgia, serif; }
.quote p { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.5; }
.quote span { display: block; margin-top: 18px; color: var(--muted); }

/* ---------------- 작업현황 ---------------- */
.works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.work-card { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: .2s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card .thumb { aspect-ratio: 4 / 3; background: #cfe0d2 center / cover no-repeat; }
.work-card .info { padding: 18px 20px; }
.work-card .cat { font-size: 13px; font-weight: 700; color: var(--primary); }
.work-card h3 { margin-top: 4px; font-size: 17px; font-weight: 700; }
.work-card time { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.center-btn { margin-top: 48px; text-align: center; }

.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter button {
  height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-weight: 600; color: var(--ink-2); transition: .2s;
}
.filter button.on, .filter button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------------- 고객센터 CTA ---------------- */
.cta {
  position: relative; padding: 110px 0; color: #fff; text-align: center;
  background: var(--dark) url("../images/cta.webp") center / cover no-repeat;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(10,34,20,.82); }
.cta .container { position: relative; }
.cta h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.cta .sub { margin-top: 10px; opacity: .8; }
.cta .tel { display: inline-block; margin-top: 26px; font-size: clamp(44px, 8vw, 76px); font-weight: 800; letter-spacing: -.01em; }
.cta .area { margin-top: 8px; font-size: 18px; font-weight: 600; }
.cta .notice { margin-top: 18px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cta .notice span {
  padding: 6px 14px; border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
}
.cta .actions { margin-top: 36px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------------- 회사소개 ---------------- */
.greeting { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.greeting .photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: url("../images/about.webp") center / cover no-repeat, linear-gradient(135deg, #d9e8db, #b5d0b9);
}
.greeting h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; line-height: 1.35; }
.greeting h2 em { font-style: normal; color: var(--primary); }
.greeting .text p { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.greeting .sign { margin-top: 30px; font-weight: 700; }
.greeting .sign strong { font-size: 20px; margin-left: 8px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
}
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h3 { margin-top: 18px; font-size: 15px; color: var(--muted); font-weight: 600; }
.info-card p { margin-top: 4px; font-size: 18px; font-weight: 700; }

/* ---------------- 서비스 상세 ---------------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.detail + .detail { margin-top: 100px; }
.detail.reverse .photo { order: 2; }
.detail .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); background: #cfe0d2 center / cover no-repeat; }
.detail .tag { font-size: 14px; font-weight: 800; color: var(--primary); letter-spacing: .06em; }
.detail h2 { margin-top: 8px; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; }
.detail .desc { margin-top: 16px; color: var(--ink-2); font-size: 17px; }
.check { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.check li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------------- 문의 폼 ---------------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: start; }
.contact-side { padding: 40px 34px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.contact-side h2 { font-size: 24px; font-weight: 800; }
.contact-side .tel { display: block; margin-top: 18px; font-size: 40px; font-weight: 800; color: #ffd34d; }
.contact-side dl { margin-top: 28px; display: grid; gap: 16px; }
.contact-side dt { font-size: 14px; opacity: .65; }
.contact-side dd { font-weight: 600; }
.contact-side .warn { margin-top: 28px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 14px; line-height: 1.7; }

.form { padding: 40px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.form h2 { font-size: 24px; font-weight: 800; }
.form .hint { margin-top: 6px; color: var(--muted); font-size: 15px; }
.form-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 700; }
.field label .req { color: #e11d48; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line);
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s;
}
.field textarea { height: 150px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 600; font-size: 15px; cursor: pointer; transition: .2s;
}
.chips label { position: relative; }
.chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chips label:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--primary-soft); }
.chips input:checked + span { color: #fff; }
.chips label:has(input:checked) { background: var(--primary); border-color: var(--primary); color: #fff; }
.agree { margin-top: 22px; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.agree input { width: 18px; height: 18px; accent-color: var(--primary); }
.form .btn { margin-top: 26px; width: 100%; }
.form-msg { margin-top: 14px; font-size: 15px; text-align: center; color: var(--primary); font-weight: 600; }

/* ---------------- 푸터 ---------------- */
.footer { background: #0b1f13; color: rgba(255,255,255,.6); padding: 56px 0 100px; font-size: 14px; }
.footer .top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer .logo { color: #fff; }
.footer .links { display: flex; gap: 20px; }
.footer .links a:hover { color: #fff; }
.footer .biz { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 6px 18px; line-height: 1.8; }
.footer .biz span b { color: rgba(255,255,255,.85); font-weight: 600; margin-right: 6px; }
.footer .copy { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------------- 고정 빠른 상담 ---------------- */
.quick { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.quick a {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: .2s;
}
.quick a:hover { transform: scale(1.07); }
.quick a svg { width: 26px; height: 26px; }
.quick .q-tel { background: var(--primary); }
.quick .q-form { background: var(--accent); color: #1f2a12; }
.mobile-bar { display: none; }

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

/* ==========================================================
   반응형
   ========================================================== */
@media (max-width: 1024px) {
  .why-grid, .steps, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: repeat(3, 1fr); }
  .greeting, .detail, .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .detail.reverse .photo { order: 0; }
  .greeting .photo { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.08); padding: 8px 20px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { color: var(--ink) !important; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--primary) !important; }
  .header-call { display: none; }
  .menu-btn { display: block; }
  .header.menu-open { background: #fff; }
  .header.menu-open .logo, .header.menu-open .menu-btn { color: var(--ink); }

  .section { padding: 80px 0; }
  .service-grid, .info-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 340px; }
  .hero-points { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-points li { padding: 14px; }
  .hero-points strong { font-size: 18px; }
  .hero-points span { font-size: 13px; }

  .quick { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  }
  .mobile-bar a { height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 800; font-size: 17px; }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar .m-tel { background: var(--primary); }
  .mobile-bar .m-form { background: var(--accent); color: #1f2a12; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .why-grid, .steps, .works-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-points { grid-template-columns: 1fr; }
  .form { padding: 28px 20px; }
  .contact-side { padding: 32px 24px; }
  .form-grid, .check { grid-template-columns: 1fr; }
  .service-card .body { padding: 26px; }
  .cta .actions .btn { flex: 1 1 100%; }
}

/* 노란 강조 버튼 (전단지 전화번호 색) */
.btn-accent { background: var(--accent); color: #1f2a12; }
.btn-accent:hover { background: #ffc82a; transform: translateY(-2px); }
.header-call { background: var(--accent); color: #1f2a12; }
.logo-en { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: .7; line-height: 1; margin-top: 3px; }
.logo-text { line-height: 1.15; }
.hero h1 em { color: var(--accent); }
.cta .tel, .contact-side .tel { color: var(--accent); }
.hero-tel a { white-space: nowrap; }
@media (max-width: 560px) {
  .hero-tel { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-tel .label br { display: none; }
  .hero-tel .label::after { content: ""; }
}
/* 휴대폰에서는 메인 배경의 작업자가 보이도록 오른쪽으로 맞춤 */
@media (max-width: 860px) { .hero { background-position: 68% center; } }

/* ==========================================================
   메인 배너 — 시안 디자인 (이사·리모델링·철거 후 / 폐기물 처리, 원스톱으로 해결합니다)
   ========================================================== */
:root { --lime: #8bd43a; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(8,18,10,.92) 0%, rgba(8,18,10,.78) 30%, rgba(8,18,10,.35) 55%, rgba(8,18,10,0) 75%),
    linear-gradient(180deg, rgba(8,18,10,.35) 0%, rgba(8,18,10,0) 30%);
}
.hero-line { display: block; width: 56px; height: 2px; background: var(--lime); margin-bottom: 26px; }
.hero-sub { font-size: clamp(18px, 2vw, 24px); font-weight: 500; opacity: .92; margin-bottom: 14px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 68px); font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.hero h1 em { color: var(--lime); }

.hero-feats { margin-top: 44px; display: flex; flex-wrap: wrap; }
.hero-feats li {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 4px 40px; font-size: 16px; font-weight: 500;
}
.hero-feats li:first-child { padding-left: 0; }
.hero-feats li + li { border-left: 1px solid rgba(255,255,255,.35); }
.hero-feats svg { width: 40px; height: 40px; }

.hero-call {
  margin-top: 44px; display: inline-flex; align-items: center; gap: 14px;
  height: 68px; padding: 0 36px 0 30px; border-radius: 999px; color: #fff;
  background: linear-gradient(90deg, #2f8f2b, #6cc23d);
  box-shadow: 0 10px 28px rgba(60,160,50,.35); transition: transform .2s, box-shadow .2s;
}
.hero-call:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(60,160,50,.45); }
.hero-call svg { width: 24px; height: 24px; flex: none; }
.hero-call .t { font-size: 19px; font-weight: 700; }
.hero-call .n { font-size: 26px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }

@media (max-width: 860px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(8,18,10,.55) 0%, rgba(8,18,10,.78) 45%, rgba(8,18,10,.9) 100%);
  }
  .hero .container { padding-bottom: 90px; }
}
@media (max-width: 560px) {
  .hero-line { margin-bottom: 18px; }
  .hero h1 { font-size: 34px; }
  .hero-feats { margin-top: 32px; flex-wrap: nowrap; }
  .hero-feats li { flex: 1; padding: 2px 8px; font-size: 13px; gap: 8px; }
  .hero-feats li:first-child { padding-left: 0; }
  .hero-feats svg { width: 32px; height: 32px; }
  .hero-call { margin-top: 32px; width: 100%; justify-content: center; height: 62px; padding: 0 20px; gap: 10px; }
  .hero-call .t { font-size: 16px; }
  .hero-call .n { font-size: 22px; }
}
.hero-desc { margin-top: 18px; font-size: clamp(15px, 1.6vw, 19px); font-weight: 500; opacity: .9; }

/* ==========================================================
   메인 서비스 영역 — 시안 디자인
   ========================================================== */
.hl {
  color: var(--primary); position: relative; white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C 60 2, 140 2, 197 7' fill='none' stroke='%232f7d3a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat;
  padding-bottom: .14em;
}
.svc .sec-head h2 { font-size: clamp(28px, 4.2vw, 46px); }

.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; align-items: flex-end; aspect-ratio: 1.42; overflow: hidden;
  border-radius: 20px; color: #fff; background: #234a30 center / cover no-repeat;
  box-shadow: 0 12px 30px rgba(17, 40, 22, .14); transition: transform .25s, box-shadow .25s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,44,24,0) 30%, rgba(14,44,24,.78) 58%, rgba(14,44,24,.96) 100%);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(17, 40, 22, .22); }
.svc-body { position: relative; width: 100%; padding: 0 26px 26px; }
.svc-title { display: flex; align-items: center; gap: 16px; }
.svc-ico {
  width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, #3aa443, #23812f); box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.svc-ico svg { width: 30px; height: 30px; }
.svc-title h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.svc-desc { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.svc-desc p { font-size: 15px; line-height: 1.65; opacity: .92; }
.svc-arrow {
  width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.85);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.svc-arrow svg { width: 20px; height: 20px; }
.svc-card:hover .svc-arrow { background: #fff; color: var(--primary); }

.svc-types {
  margin-top: 40px; padding: 30px; border-radius: 26px;
  background: linear-gradient(100deg, #e6f3e7 0%, #f3f9f3 60%, #eef6ef 100%);
  display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 30px;
}
.svc-types-head { padding: 10px 30px 10px 10px; border-right: 1px solid #cfe2d1; }
.pill {
  display: inline-block; padding: 8px 20px; border-radius: 999px; font-size: 15px; font-weight: 700;
  color: #fff; background: linear-gradient(90deg, #2f8f2b, #4fb13b);
}
.svc-types-head h3 { margin-top: 22px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.svc-types-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.svc-types-list li {
  background: #fff; border-radius: 18px; padding: 24px 10px 22px; text-align: center;
  box-shadow: 0 6px 18px rgba(30, 70, 40, .07); transition: transform .2s;
}
.svc-types-list li:hover { transform: translateY(-4px); }
.svc-types-list .ti { display: grid; place-items: center; height: 76px; color: #5b6f61; }
.svc-types-list .ti svg { width: 62px; height: 62px; }
.svc-types-list .ti img { max-height: 76px; width: auto; }
.svc-types-list strong { display: block; margin-top: 12px; font-size: 16px; font-weight: 800; }
.svc-types-list li > span:last-child { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

@media (max-width: 1100px) {
  .svc-types { grid-template-columns: 1fr; }
  .svc-types-head { border-right: 0; border-bottom: 1px solid #cfe2d1; padding: 0 0 24px; }
  .svc-types-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .svc-cards { grid-template-columns: 1fr; }
  .svc-card { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .svc-card { aspect-ratio: 4 / 3.4; }
  .svc-body { padding: 0 20px 20px; }
  .svc-ico { width: 48px; height: 48px; }
  .svc-ico svg { width: 26px; height: 26px; }
  .svc-desc p br { display: none; }
  .svc-types { padding: 22px 16px; }
  .svc-types-list { grid-template-columns: repeat(2, 1fr); }
  .svc-types-list li { padding: 20px 8px; }
}
/* 서비스 영역 폭·줄바꿈 보정 */
.svc .container { max-width: 1480px; }
.svc-types { grid-template-columns: 330px 1fr; }
.svc-types-head h3 { font-size: clamp(24px, 2.2vw, 32px); white-space: nowrap; }
.svc-types-list strong { font-size: 15px; white-space: nowrap; letter-spacing: -.02em; }
.svc-types-list li > span:last-child { white-space: nowrap; letter-spacing: -.02em; }
@media (max-width: 1360px) { .svc-desc p br { display: none; } }
@media (max-width: 1100px) { .svc-types { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .svc-types-head h3 { white-space: normal; } }
@media (min-width: 861px) { .svc .container { padding: 0 40px; } }

/* ==========================================================
   WHY OSE — 시안 디자인
   ========================================================== */
.eyebrow.lined { display: inline-flex; align-items: center; gap: 18px; font-size: 16px; letter-spacing: .2em; }
.eyebrow.lined::before, .eyebrow.lined::after { content: ""; width: 56px; height: 2px; background: var(--primary); }
.why .sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); letter-spacing: -.03em; }
.why .sec-head h2 .g { color: var(--primary); }
.why .container { max-width: 1480px; }
@media (min-width: 861px) { .why .container { padding: 0 40px; } }

.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(20, 50, 28, .08); transition: transform .25s, box-shadow .25s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 50, 28, .14); }
.why-img { aspect-ratio: 1.6; background: #cfe0d2 center / cover no-repeat; }
.why-body { position: relative; padding: 0 30px 34px; }
.why-ico {
  width: 74px; height: 74px; margin-top: -16px; display: grid; place-items: center;
  border-radius: 18px; color: var(--primary); background: #eaf6ea;
  border: 6px solid #fff; position: relative;
}
.why-ico svg { width: 34px; height: 34px; }
.why-body h3 { margin-top: 18px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.why-body p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }

@media (max-width: 1200px) { .why-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .why-cards { grid-template-columns: 1fr; gap: 16px; }
  .why-body { padding: 0 22px 26px; }
  .eyebrow.lined::before, .eyebrow.lined::after { width: 32px; }
}
/* 처리 가능 폐기물 — 물품 사진 */
.svc-types-list .ti { height: 88px; }
.svc-types-list .ti img { max-height: 88px; max-width: 100%; width: auto; object-fit: contain; }
.svc-types-list .ti img { mix-blend-mode: multiply; filter: brightness(1.06) contrast(1.04); } /* 사진의 연회색 배경을 흰 카드에 녹임 */

/* 푸터 SNS 아이콘 */
.footer .ft-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .sns-links { display: flex; align-items: center; gap: 14px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.15); }
.footer .sns { display: block; width: 32px; height: 32px; transition: transform .2s, opacity .2s; }
.footer .sns svg { width: 100%; height: 100%; display: block; }
.footer a.sns[href]:hover { transform: translateY(-2px); }
.footer .sns.is-soon { cursor: default; }
@media (max-width: 640px) {
  .footer .ft-right { width: 100%; justify-content: space-between; gap: 16px; }
  .footer .sns-links { padding-left: 0; border-left: 0; }
}
