/* 솔루시오네모스 홈페이지 — 정적 단일 페이지, 시스템 폰트만 사용 */

:root {
  --green: #2e7d4f;
  --green-dark: #1f5c39;
  --green-soft: #e8f3ec;
  --ink: #1d2521;
  --muted: #5b6660;
  --line: #dfe6e1;
  --bg: #ffffff;
  --bg-alt: #f6f9f7;
  --orange: #e8622c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-dark); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.nav a:hover, .nav a:focus-visible { color: var(--green); }

/* 히어로 */
.hero {
  background: linear-gradient(135deg, var(--green-soft) 0%, #ffffff 70%);
  padding: 96px 0 88px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.25;
  color: var(--ink);
}
.lead {
  margin: 0 0 32px;
  max-width: 640px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--muted);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--green);
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-ghost { background: #fff; color: var(--green-dark); }
.btn-ghost:hover { background: var(--green-soft); }

/* 섹션 공통 */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--ink);
}
.section-desc { margin: 0 0 32px; color: var(--muted); }
.sub-title {
  margin: 48px 0 20px;
  font-size: 20px;
  color: var(--green-dark);
}

/* 제품 */
.problem-card {
  background: var(--green-soft);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  padding: 24px 28px;
  margin-bottom: 8px;
}
.problem-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--green-dark); }
.problem-card p { margin: 0; }

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
}
.feature-num {
  display: inline-block;
  color: var(--orange);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}
.feature h4 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery { margin: 0; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #eef2f0;
}
.gallery figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

.spec-card {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 28px;
}
.spec-card h3 { margin: 0 0 12px; font-size: 18px; }
.spec-card dl { margin: 0; display: grid; gap: 10px; }
.spec-card dl div { display: flex; gap: 16px; flex-wrap: wrap; }
.spec-card dt { min-width: 96px; font-weight: 700; color: var(--muted); }
.spec-card dd { margin: 0; }

/* 기술 흐름 */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  counter-reset: none;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 800;
  font-size: 18px;
  background: var(--bg-alt);
  line-height: 1;
  z-index: 1;
}
.flow-num {
  margin: 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.flow-step strong { font-size: 16px; }
.flow-step span:last-child { font-size: 13px; color: var(--muted); }

/* 회사 */
.info-table {
  margin: 0;
  border-top: 2px solid var(--ink);
}
.info-table > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
}
.info-table dt { font-weight: 700; color: var(--muted); }
.info-table dd { margin: 0; }

/* 문의 */
.contact { text-align: center; }
.contact p { color: var(--muted); margin: 0 0 16px; }
.email {
  display: inline-block;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 3px solid var(--green);
  padding-bottom: 2px;
}

/* 푸터 */
.site-footer {
  background: var(--ink);
  color: #c9d2cd;
  padding: 28px 0;
  font-size: 14px;
}
.site-footer p { margin: 0; text-align: center; }

/* 모바일 */
@media (max-width: 760px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
  .nav { gap: 14px; }
  .brand-logo { height: 36px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 24px; }
  html { scroll-padding-top: 110px; }
  .nav a { font-size: 14px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step:not(:last-child)::after {
    content: "↓";
    right: auto;
    top: auto;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
  }
  .flow-step { padding: 16px; flex-direction: row; justify-content: flex-start; text-align: left; flex-wrap: wrap; }
  .flow-step { align-items: center; gap: 6px 10px; }
  .flow-num { margin: 0; }
  .flow-step span:last-child { width: 100%; padding-left: 40px; }
  .info-table > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
