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

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-2: #f8fbfc;
  --text: #17212b;
  --sub: #52606d;
  --muted: #6b7a88;
  --line: #dde5ea;
  --line-strong: #cfd8df;
  --primary: #14532d;
  --primary-2: #166534;
  --primary-soft: #ecfdf3;
  --accent: #ea580c;
  --accent-soft: #fff3e8;
  --dark: #0f172a;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

body {
  margin: 0;
  font-family: Arial, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #ffffff 0%, transparent 22%),
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 100%);
  line-height: 1.7;
  word-break: keep-all;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease;
}

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

/* =========================
   header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 251, 253, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 229, 234, 0.9);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.main-nav a:hover {
  color: var(--primary-2);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(20, 83, 45, 0.18);
}

.header-call:hover {
  transform: translateY(-1px);
}

/* =========================
   shared cards
========================= */
.hero-main,
.hero-side-card,
.content-card,
.cta-strip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.content-card,
.post-box,
.sidebar-links a,
.call-box,
.big-phone,
.header-call,
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.content-card:hover,
.post-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

/* =========================
   hero
========================= */
.hero-section {
  padding: 34px 0 24px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    radial-gradient(circle at right top, rgba(22, 101, 52, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f9fcfb 100%);
}

.hero-main::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(234, 88, 12, 0.06);
}

.eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-main h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 50px;
  line-height: 1.12;
  letter-spacing: -1.3px;
  color: var(--dark);
}

.lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 700px;
  font-size: 17px;
  color: var(--sub);
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 50px;
  padding: 0 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: #f8fafc;
}

.hero-note {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid #d8e9dd;
}

.hero-note-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hero-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-note p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-side-card {
  padding: 24px;
}

.contact-card {
  border: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(135deg, #14532d 0%, #166534 100%);
  color: #fff;
}

.contact-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.3;
}

.contact-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.big-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.big-phone:hover {
  transform: translateY(-1px);
}

.mini-points {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.check-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
}

.check-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.3;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.check-bullet {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-item p {
  margin: 0;
  font-size: 14px;
  color: var(--sub);
}

/* =========================
   main
========================= */
.page-main {
  padding: 10px 0 90px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.content-card {
  padding: 28px;
}

.content-card h1,
.content-card h2,
.content-card h3 {
  margin: 0 0 14px;
  line-height: 1.32;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.content-card h1 {
  font-size: 38px;
}

.content-card h2 {
  font-size: 30px;
}

.content-card h3 {
  font-size: 22px;
}

.content-card p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--sub);
}

.label-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}

.region-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.detail-table {
  display: flex;
  flex-direction: column;
}

.detail-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #ebeff3;
}

.detail-row:last-child {
  border-bottom: 0;
}

.detail-row strong {
  color: var(--dark);
  font-size: 15px;
}

.detail-row p {
  margin: 0;
  font-size: 15px;
  color: var(--sub);
}

/* =========================
   posts
========================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fcfefd 100%);
  box-shadow: var(--shadow-sm);
}

.post-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.post-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.4;
  color: var(--dark);
}

.post-box p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--sub);
}

.post-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.post-box a:hover {
  transform: translateY(-1px);
}

/* =========================
   faq
========================= */
.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  padding-top: 18px;
  border-top: 1px dashed #d7e0e6;
}

.faq-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.42;
  color: var(--dark);
}

.faq-item p {
  margin: 0;
  color: var(--sub);
}

/* =========================
   article page
========================= */
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.article-main section + section {
  margin-top: 24px;
}

.article-main h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.article-main ul {
  margin: 0;
  padding-left: 20px;
  color: var(--sub);
}

.article-main li + li {
  margin-top: 8px;
}

.sidebar-card {
  position: sticky;
  top: 98px;
}

.sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.sidebar-links {
  display: grid;
  gap: 10px;
}

.sidebar-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.sidebar-links a:hover {
  background: #f4f9f6;
  border-color: #cfe3d4;
  color: var(--primary);
}

.call-box {
  margin-top: 18px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fdf8 0%, #eef9f1 100%);
  border: 1px solid #d7eadb;
}

.call-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--dark);
}

.call-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

/* =========================
   cta
========================= */
.cta-strip {
  margin-top: 28px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-left: 8px solid var(--accent);
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf6 100%);
}

.cta-strip h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.3;
  color: var(--dark);
}

.cta-strip p {
  margin: 0;
  color: var(--sub);
}

.cta-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.16);
}

.cta-strip a:hover {
  transform: translateY(-1px);
}

/* =========================
   footer
========================= */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  color: #e5e7eb;
  padding: 34px 0 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.footer-info strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-info p {
  margin: 4px 0;
  font-size: 14px;
  color: #cbd5e1;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.footer-menu a {
  font-size: 14px;
  color: #e5e7eb;
}

.footer-menu a:hover {
  color: #bbf7d0;
}

.footer-phone {
  text-align: right;
}

.footer-phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 54px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.footer-phone p {
  margin: 10px 0 0;
  font-size: 13px;
  color: #cbd5e1;
}

/* =========================
   text polish
========================= */
article.content-card .lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--sub);
}

article.content-card p + p {
  margin-top: 10px;
}

/* =========================
   responsive
========================= */
@media (max-width: 1180px) {
  .posts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .hero-wrap,
  .overview-grid,
  .article-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-phone {
    text-align: left;
  }

  .sidebar-card {
    position: static;
  }

  .hero-main h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }

  .brand-wrap {
    align-items: center;
    text-align: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-section {
    padding: 24px 0 18px;
  }

  .hero-main,
  .hero-side-card,
  .content-card,
  .cta-strip {
    padding: 22px;
  }

  .hero-main h1 {
    font-size: 32px;
  }

  .lead,
  .content-card p,
  .detail-row p,
  .post-box p,
  .faq-item p,
  article.content-card .lead,
  .article-main li {
    font-size: 14px;
  }

  .hero-actions,
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-note {
    width: 100%;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip a,
  .footer-phone a,
  .header-call,
  .big-phone {
    min-width: 100%;
  }

  .content-card h1 {
    font-size: 28px;
  }

  .content-card h2,
  .cta-strip h2 {
    font-size: 24px;
  }

  .content-card h3,
  .post-box h3,
  .faq-item h3 {
    font-size: 20px;
  }
}