/* =========================
   Fresh Light Theme / 2026
   ========================= */

:root {
  --bg: #f4f7f4;
  --surface: #ffffff;
  --surface-soft: #f8fbf8;
  --text: #1f2937;
  --text-weak: #5b6470;
  --line: #dfe7df;
  --line-strong: #cfd9cf;
  --brand: #16a34a;
  --brand-dark: #127c39;
  --brand-soft: #e8f8ee;
  --accent: #0f766e;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(22, 163, 74, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

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

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

.brand {
  color: #111827;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-sub {
  color: var(--text-weak);
  font-size: 13px;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.header-call,
.big-phone,
.btn-primary,
.cta-strip a,
.footer-phone a,
.post-box a,
.call-box a {
  background: linear-gradient(135deg, var(--brand), #22c55e);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.18);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
}

/* Hero */
.hero-section {
  padding: 34px 0 10px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 24px;
}

.hero-copy,
.hero-panel-card,
.content-card,
.symptom-card,
.reason-card,
.process-card,
.post-box,
.cta-strip,
.sidebar-panel,
.call-box,
.summary-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.hero-copy {
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(255, 255, 255, 0.95) 28%),
    var(--surface);
}

.eyebrow,
.label-badge,
.post-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow {
  margin-bottom: 18px;
  background: #eefaf1;
  color: var(--brand-dark);
  border: 1px solid #d7efd8;
}

.hero-copy h1 {
  margin: 0 0 16px;
  color: #111827;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.lead {
  margin: 0;
  color: var(--text-weak);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
}

.btn-secondary {
  border: 1px solid #cfe4d3;
  background: #f6fbf7;
  color: var(--brand-dark);
}

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

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

.hero-panel-card {
  height: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
}

.hero-panel-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
  color: #111827;
}

.check-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--text-weak);
}

.check-list li + li {
  margin-top: 8px;
}

.big-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  font-size: 22px;
}

.panel-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 13px;
}

/* Common Layout */
.page-main {
  padding: 10px 0 80px;
}

.content-section {
  margin-top: 28px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2,
.content-card h1,
.content-card h2,
.content-card h3 {
  margin: 0 0 10px;
  color: #111827;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
}

.section-head p,
.content-card p {
  margin: 0;
  color: var(--text-weak);
  font-size: 15px;
}

.label-badge {
  margin-bottom: 12px;
  background: #eef7ff;
  color: #075985;
  border: 1px solid #d9ebfb;
}

/* Index-only additions */
.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-item {
  padding: 22px;
}

.summary-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: #111827;
}

.text-block {
  padding: 26px;
}

/* Grid Cards */
.symptom-grid,
.reason-grid,
.process-grid,
.posts-grid {
  display: grid;
  gap: 18px;
}

.symptom-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reason-grid,
.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.symptom-card,
.reason-card,
.process-card,
.post-box,
.content-card {
  padding: 24px;
}

.symptom-card,
.sidebar-links a,
.post-box,
.reason-card,
.process-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.symptom-card:hover,
.sidebar-links a:hover,
.post-box:hover,
.reason-card:hover,
.process-card:hover {
  transform: translateY(-4px);
  border-color: #c7ddcc;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.10);
}

.symptom-card strong,
.reason-card strong,
.process-card strong,
.post-box h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  color: #111827;
}

.symptom-card p,
.reason-card p,
.process-card p,
.post-box p {
  color: var(--text-weak);
  font-size: 15px;
}

.process-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  font-weight: 900;
}

.post-kicker {
  margin-bottom: 12px;
  background: #eefaf1;
  color: var(--brand-dark);
  border: 1px solid #d8efde;
}

.post-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
}

/* Article Pages */
.article-hero {
  margin-bottom: 24px;
}

.article-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
}

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

.section-block + .section-block {
  margin-top: 28px;
}

.info-list {
  display: flex;
  flex-direction: column;
}

.info-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #e6ede6;
}

.info-item:last-child {
  border-bottom: 0;
}

.info-item strong {
  color: #111827;
  font-size: 15px;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-weak);
}

.bullet-list li + li {
  margin-top: 8px;
}

/* Sidebar */
.sidebar-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.sidebar-panel h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #111827;
}

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

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

.call-box {
  padding: 18px;
}

.call-box strong {
  display: block;
  margin-bottom: 10px;
  color: #111827;
  font-size: 18px;
}

.call-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  font-size: 15px;
}

/* FAQ */
.faq-card {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding-top: 16px;
  border-top: 1px dashed #d2ddd2;
}

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

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #111827;
}

/* CTA */
.cta-strip {
  margin-top: 28px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #d5e8d8;
  background:
    linear-gradient(135deg, rgba(22, 163, 74, 0.10), rgba(255, 255, 255, 0.96) 34%),
    var(--surface);
}

.cta-strip h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 32px);
  color: #111827;
}

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

.cta-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 20px;
}

/* Footer */
.site-footer {
  margin-top: 44px;
  padding: 40px 0 46px;
  background: #111827;
  color: #e5e7eb;
}

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

.footer-info strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  color: #ffffff;
}

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

.footer-menu {
  display: grid;
  gap: 10px;
}

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

.footer-phone a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  border-radius: 12px;
  padding: 0 16px;
}

/* Responsive */
@media (max-width: 1100px) {
  .reason-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .posts-grid,
  .symptom-grid,
  .summary-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

  .sidebar-panel {
    position: static;
  }
}

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

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

  .hero-grid,
  .cta-strip {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip a {
    min-width: 100%;
  }

  .symptom-grid,
  .reason-grid,
  .process-grid,
  .posts-grid,
  .summary-band {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .info-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero-copy,
  .hero-panel-card,
  .symptom-card,
  .reason-card,
  .process-card,
  .post-box,
  .content-card,
  .summary-item,
  .cta-strip {
    padding: 20px;
    border-radius: 18px;
  }

  .brand {
    font-size: 22px;
  }

  .main-nav {
    justify-content: center;
  }

  .btn,
  .header-call {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .big-phone {
    font-size: 19px;
  }

  .section-head h2 {
    font-size: 28px;
  }

  .article-hero h1,
  .hero-copy h1 {
    font-size: 32px;
  }

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