:root {
  --teal: #073B3A;
  --teal-deep: #052C2B;
  --green: #18B978;
  --green-soft: #E6F6EF;
  --line: #DCE8E1;
  --ink: #1a2421;
  --muted: #5b6b64;
  --bg: #F7FAF8;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  word-break: keep-all;
}
a { color: var(--teal); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  background: var(--teal-deep);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav .brand {
  font-size: 17px; font-weight: 800; text-decoration: none; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.nav .brand svg { height: 26px; width: auto; }
.nav .brand .b-green { color: var(--green); }
.nav .menu { display: flex; gap: 4px; }
.nav .menu a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14.5px; font-weight: 700; padding: 6px 12px; border-radius: 6px;
}
.nav .menu a:hover, .nav .menu a.active { color: #fff; background: rgba(255,255,255,0.08); }
@media (max-width: 560px) {
  .nav .menu a { padding: 6px 8px; font-size: 13.5px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  padding: 56px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 40px solid rgba(24, 185, 120, 0.14);
  pointer-events: none;
}
.badge {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  color: var(--green); border: 1.5px solid var(--green); border-radius: 999px;
  padding: 4px 14px; margin-bottom: 22px; letter-spacing: 1px;
}
.hero .logo svg { height: 64px; width: auto; display: block; }
.hero h1 {
  font-size: clamp(24px, 4.5vw, 34px);
  font-weight: 800; letter-spacing: -0.5px;
  margin-top: 26px; line-height: 1.35;
}
.hero h1 .accent { color: var(--green); }
.hero .lead {
  margin-top: 16px; font-size: 16.5px; color: rgba(255,255,255,0.82);
  max-width: 560px;
}
.hero .cta-row { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  font-size: 15.5px; border-radius: 8px; padding: 12px 24px;
}
.btn-green { background: var(--green); color: #04241C; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }

/* ---------- Page header (subpages) ---------- */
.page-head {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; padding: 40px 0 44px;
}
.page-head h1 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
.page-head .desc { margin-top: 8px; color: rgba(255,255,255,0.78); font-size: 15.5px; }

/* ---------- Sections ---------- */
section { padding: 56px 0 0; }
section:last-of-type { padding-bottom: 64px; }
.kicker {
  font-size: 13px; font-weight: 800; color: var(--green);
  letter-spacing: 2px; text-transform: uppercase;
}
h2 {
  font-size: clamp(20px, 3.2vw, 25px); font-weight: 800; color: var(--teal);
  margin: 6px 0 8px; letter-spacing: -0.3px;
}
.sec-desc { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

/* 서비스 카드 */
.cards {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 26px;
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 3px rgba(7, 59, 58, 0.05);
}
.card .ico {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--green-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card .ico svg { width: 20px; height: 20px; }
.card h3 { font-size: 16.5px; font-weight: 800; color: var(--teal); margin-bottom: 6px; }
.card p { font-size: 14.5px; color: #33413b; }
.card.wide { grid-column: 1 / -1; }
.card.highlight { border-color: var(--green); border-width: 1.5px; }

/* 체크리스트 */
.checklist {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 26px; margin-top: 26px;
  box-shadow: 0 1px 3px rgba(7, 59, 58, 0.05);
}
.check-item {
  display: flex; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid #eef3f0; align-items: flex-start;
}
.check-item:last-child { border-bottom: none; }
.check-item .mark {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--green-soft); margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
}
.check-item .mark svg { width: 14px; height: 14px; }
.check-item .t { font-size: 15px; color: #33413b; }
.check-item .t b { display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 3px; }
.check-item .t .basis { color: #8a978f; font-size: 13px; display: block; margin-top: 4px; }

/* 연락처 */
.contact-card {
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; border-radius: 16px;
  padding: 38px 36px; margin-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.contact-card .name { font-size: 22px; font-weight: 800; }
.contact-card .role { font-size: 14px; color: var(--green); font-weight: 700; margin-top: 2px; }
.contact-card .info { font-size: 17px; line-height: 2; text-align: right; }
.contact-card .info a { color: #fff; text-decoration: none; font-weight: 800; }
.contact-card .info .label { color: rgba(255,255,255,0.65); font-size: 14px; margin-right: 10px; }
@media (max-width: 560px) {
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-card .info { text-align: left; }
}

/* 문의 폼 */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; margin-top: 26px;
  box-shadow: 0 1px 3px rgba(7, 59, 58, 0.05);
  display: flex; flex-direction: column; gap: 16px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--teal); flex: 1;
}
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 14px; background: var(--bg);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 185, 120, 0.15);
}
.contact-form textarea { resize: vertical; }
.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row label { min-width: 220px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.form-status { font-size: 14px; font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #C0392B; }
.btn-submit { background: var(--teal); color: #fff; border: none; cursor: pointer; font: inherit; font-weight: 700; }
.btn-submit:disabled { opacity: 0.6; cursor: default; }

/* ---------- 블로그 목록 ---------- */
.post-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.post-item {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 24px 26px; text-decoration: none;
  box-shadow: 0 1px 3px rgba(7, 59, 58, 0.05);
}
.post-item:hover { border-color: var(--green); }
.post-item .date { font-size: 13px; color: #8a978f; font-weight: 700; }
.post-item h3 { font-size: 18px; font-weight: 800; color: var(--teal); margin: 4px 0 6px; }
.post-item p { font-size: 14.5px; color: #33413b; }

/* ---------- 아티클 본문 ---------- */
.article {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 40px 44px; margin: 40px 0 64px;
  box-shadow: 0 1px 3px rgba(7, 59, 58, 0.05);
}
@media (max-width: 560px) { .article { padding: 28px 22px; } }
.article .date { font-size: 13.5px; color: #8a978f; font-weight: 700; }
.article h1 { font-size: clamp(21px, 3.6vw, 27px); font-weight: 800; color: var(--teal); margin: 6px 0 22px; line-height: 1.4; }
.article h2 { font-size: 19px; margin: 34px 0 10px; border: none; }
.article p { font-size: 15.5px; margin-bottom: 14px; color: #2a3630; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 14px; }
.article li { font-size: 15.5px; margin-bottom: 6px; color: #2a3630; }
.article .callout {
  border-left: 3.5px solid var(--green); background: var(--green-soft);
  border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 20px 0;
  font-size: 15px;
}
.article .ref { font-size: 13.5px; color: #8a978f; margin-top: 26px; padding-top: 14px; border-top: 1px solid #eef3f0; }
.article .back { display: inline-block; margin-top: 20px; font-weight: 700; font-size: 14.5px; }

/* ---------- 공지 게시판 ---------- */
.board { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(7, 59, 58, 0.05); }
.board .row { padding: 20px 26px; border-bottom: 1px solid #eef3f0; }
.board .row:last-child { border-bottom: none; }
.board .row .meta { font-size: 13px; color: #8a978f; font-weight: 700; }
.board .row h3 { font-size: 17px; font-weight: 800; color: var(--teal); margin: 3px 0 6px; }
.board .row p { font-size: 14.5px; color: #33413b; }

footer {
  background: var(--teal-deep); color: rgba(255,255,255,0.55);
  font-size: 13.5px; padding: 26px 0; margin-top: 64px;
}
footer a { color: rgba(255,255,255,0.7); }
