:root {
  --green: #0d5a3c;
  --green-dark: #08442d;
  --green-soft: #e7f1ec;
  --ink: #15222c;
  --text: #3b4752;
  --muted: #6b7680;
  --line: #e3e8ec;
  --bg-soft: #f4f7f8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(20, 40, 50, 0.08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
em { font-style: normal; color: var(--green); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px; border-radius: 999px;
  font-size: 16px; font-weight: 700; border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: #cfd8dd; }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { background: var(--green-soft); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo strong { font-size: 24px; font-weight: 800; color: var(--green); letter-spacing: -0.03em; }
.logo span { font-size: 11px; color: var(--muted); margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { font-size: 15px; font-weight: 600; color: var(--ink); }
.site-nav ul a:hover { color: var(--green); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero {
  background: linear-gradient(180deg, #f3f6f8 0%, #e9eef1 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 560px; }
.hero-text { padding: 60px 0; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
.hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink); margin: 24px 0 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px 32px; list-style: none; padding: 0; margin: 40px 0 0; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.hero-badges .ico { color: var(--green); width: 24px; height: 24px; }
.hero-visual { align-self: end; margin-right: calc((100vw - min(1200px, 100vw - 40px)) / -2); }
.hero-visual img {
  width: 100%; max-width: 760px; margin-left: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}

.section { padding: 100px 0; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #7f9a8f; }
.section h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.desc { margin: 20px 0 0; font-size: 16px; color: var(--text); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col.wide-right { grid-template-columns: 0.75fr 2fr; }

.check-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green) 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='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.problem-visual { position: relative; container-type: inline-size; }
.problem-visual img { width: 100%; border-radius: var(--radius); }
.bubble {
  position: absolute; transform: translate(-50%, -50%);
  padding: 1.6cqw 2.4cqw; background: #fff; border-radius: 2.4cqw;
  box-shadow: 0 4px 14px rgba(20, 40, 50, .14);
  text-align: center; font-size: 2.8cqw; font-weight: 600; line-height: 1.35; color: var(--ink);
  white-space: nowrap;
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -1.4cqw; transform: translateX(-50%);
  border: 1.5cqw solid transparent; border-bottom: 0; border-top-color: #fff;
}
.bubble.b1 { left: 14%; top: 50%; }
.bubble.b2 { left: 20%; top: 17%; }
.bubble.b3 { left: 58%; top: 13%; }
.bubble.b4 { left: 85%; top: 20%; }

.solution { background: var(--bg-soft); }
.sol-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: end; gap: 12px; }
.sol-item { display: flex; flex-direction: column; align-items: center; }
.sol-item img { height: 130px; width: auto; object-fit: contain; margin-bottom: -6px; }
.sol-item .card {
  position: relative; width: 100%; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 14px;
}
.sol-item .card h3 { font-size: 18px; font-weight: 800; }
.sol-item .card h3 small { font-size: 15px; font-weight: 700; }
.sol-item .card h3.brand { color: var(--green); }
.sol-item .card p { margin: 10px 0 0; font-size: 14px; color: var(--text); }
.sol-item.is-center .card { border: 2px solid var(--green); padding-block: 26px; }
.sol-arrow { align-self: center; font-size: 40px; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 40px; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
}
.step {
  position: relative; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 12px 24px;
}
.step + .step::before {
  content: "›"; position: absolute; left: -17px; top: 50%; transform: translateY(-50%);
  font-size: 26px; color: #9aa7b0;
}
.step .num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  min-width: 34px; height: 28px; padding: 0 8px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 13px; font-weight: 700; line-height: 28px;
}
.step img { width: 60px; margin: 0 auto 14px; mix-blend-mode: multiply; }
.step h3 { font-size: 16px; font-weight: 800; }
.step p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }

.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-item img { width: 140px; flex: none; border-radius: 12px; }
.why-item h3 { font-size: 18px; font-weight: 800; }
.why-item p { margin: 8px 0 0; font-size: 14.5px; color: var(--text); }

.machines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.machines li { position: relative; text-align: center; }
.machines li + li::before {
  content: "→"; position: absolute; left: -22px; top: 32%;
  font-size: 22px; font-weight: 800; color: var(--green);
}
.machines img { width: 100%; max-width: 160px; margin: 0 auto 14px; border-radius: 12px; }
.machines strong { display: block; font-size: 17px; font-weight: 800; color: var(--ink); }
.machines small { display: block; font-size: 13px; color: var(--muted); }

.cta { background: linear-gradient(120deg, #0a4e34 0%, #0f6644 100%); color: #e8f2ed; overflow: hidden; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.cta-text { padding: 70px 0; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.cta p { margin: 20px 0 34px; font-size: 17px; }
.cta-visual { position: relative; container-type: inline-size; align-self: end; margin-right: calc((100vw - min(1200px, 100vw - 40px)) / -2); }
.cta-visual img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
          mask-image: linear-gradient(90deg, transparent 0, #000 14%);
}
.cta-badge {
  position: absolute; left: 56%; top: 20%;
  display: flex; align-items: center; gap: 2cqw;
  padding: 1.6cqw 3cqw 1.6cqw 1.6cqw; background: #fff; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font-size: 2.7cqw; font-weight: 700; line-height: 1.35; color: var(--ink);
  white-space: nowrap;
}
.cta-badge .ico {
  width: 7cqw; height: 7cqw; padding: 1.4cqw; border-radius: 50%;
  background: var(--green); color: #fff; stroke-width: 3;
}

.site-footer { background: #0e1a20; color: #a9b4ba; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 36px 0; }
.site-footer strong { color: #fff; font-size: 17px; }
.site-footer p { margin: 8px 0 0; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { font-size: 13px; color: #75828a; }
.admin-link {
  flex: none; padding: 8px 16px; border: 1px solid #36454d; border-radius: 999px;
  font-size: 13px; color: #a9b4ba;
}

.modal {
  width: min(440px, 100% - 32px); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.modal::backdrop { background: rgba(10, 20, 25, .55); }
.modal-sm { width: min(360px, 100% - 32px); }
.modal-body { padding: 30px 26px 24px; }
.modal h2 { font-size: 22px; font-weight: 800; }
.modal-sub { margin: 6px 0 22px; font-size: 14px; color: var(--muted); }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input {
  width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px;
  border: 1.5px solid #d3dbe0; border-radius: 10px; outline: none;
}
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(13,90,60,.12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { background: var(--bg-soft); border-radius: 10px; padding: 14px; font-size: 14px; }
.agree label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; color: var(--ink); font-weight: 600; }
.agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.agree details { margin-top: 8px; padding-left: 26px; }
.agree summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.agree ul { margin: 8px 0 0; padding-left: 16px; font-size: 12.5px; color: var(--muted); }
.form-msg { min-height: 1.4em; margin: 14px 0 0; font-size: 14px; }
.form-msg.is-error { color: #c62828; }
.form-msg.is-success { color: var(--green); font-weight: 700; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.modal-actions .btn { height: 48px; padding: 0 12px; }
.call-body { text-align: center; }
.call-sub { margin: 6px 0 10px; color: var(--muted); font-size: 14px; }
.call-number { display: block; font-size: 30px; font-weight: 800; color: var(--green); letter-spacing: .01em; margin-bottom: 14px; }

@media (max-width: 1024px) {
  .site-nav, .site-nav ul { gap: 22px; }
  .two-col.wide-right { grid-template-columns: 1fr; gap: 36px; }
  .steps { gap: 18px; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .logo strong { font-size: 21px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.06);
    padding: 8px 20px 20px;
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav .btn { margin-top: 16px; height: 48px; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 44px 0 10px; }
  .hero-visual { margin: 0 -20px; }
  .hero-visual img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%);
            mask-image: linear-gradient(180deg, transparent 0, #000 18%);
  }
  .hero .lead br { display: none; }

  .section { padding: 70px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }

  .sol-flow { grid-template-columns: 1fr; gap: 8px; max-width: 360px; margin-inline: auto; width: 100%; }
  .sol-flow .sol-arrow { transform: rotate(90deg); margin: 0 auto; font-size: 30px; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step {
    display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto;
    column-gap: 16px; text-align: left; padding: 18px 18px 18px 22px; align-items: center;
  }
  .step + .step::before { content: none; }
  .step .num { left: 12px; transform: none; top: -12px; height: 24px; line-height: 24px; font-size: 12px; }
  .step img { grid-row: 1 / 3; width: 56px; margin: 0; }
  .step p { margin: 4px 0 0; }
  .step p br { display: none; }

  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-item img { width: 110px; }

  .machines { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .machines li + li::before { content: none; }

  .cta-inner { grid-template-columns: 1fr; gap: 0; }
  .cta-text { padding: 56px 0 24px; }
  .cta p br { display: none; }
  .cta-visual { margin: 0 -20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .btn-row .btn { flex: 1 1 100%; }
  .hero-badges { gap: 10px 18px; }
  .hero-badges li { font-size: 13px; }
  .why-item img { width: 96px; }
}
