*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --green: #1A4731;
  --green-hover: #2d6b4f;
  --green-pale: #e0ece5;
  --gray: #EDE9E1;   /* 회색빛 베이지 — 박스 섹션 색 */
  --page-bg: #F6F3EE; /* 페이지 배경 — 흰 섹션과 박스 섹션 사이 여백 색 */
  --white: #FFFFFF;
  --border: #DDD8CE;
  --text: #1C1C1A;
  --muted: #888;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  background: var(--page-bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  height: 56px; display: flex; align-items: center;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 20px; font-weight: 700; color: var(--green); letter-spacing: -0.04em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 13px; font-weight: 600; padding: 8px 18px;
  border-radius: 6px; background: var(--green); color: var(--white) !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: var(--green-hover) !important; }

/* === 공통 섹션 타이틀 === */
/* 공통 섹션 */
.section-eyebrow {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); font-weight: 600; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 8px;
}
.section-desc { font-size: 14px; color: var(--muted); margin-bottom: 48px; }

/* ===== FOOTER — 박스형 녹색 카드 ===== */
footer { background: var(--green); padding: 40px 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-inner-disabled {
  background: var(--green); border-radius: 20px; padding: 32px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-size: 16px; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: -0.03em; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 3px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-contact { text-align: right; }
.footer-contact p { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.7; }

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links li:has(a:not(.nav-cta)) { display: none; }
  .nav-cta { font-size: 12px; padding: 7px 14px; }

  .hero-inner { grid-template-columns: 1fr !important; }
  .hero-right { display: none; }
  .hero-left {
    padding-right: 0;
    display: flex; flex-direction: column; align-items: flex-start;
    text-align: left;
  }
  .hero-eyebrow { display: none !important; }
  .hero-problem, .hero-solution { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .portfolio-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .portfolio-thumb { aspect-ratio: 4/3; }

  .stats-inner { grid-template-columns: 1fr 1fr !important; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }

  .process-grid { grid-template-columns: 1fr 1fr !important; }
  .process-step:nth-child(2n) { border-right: none; }
  .process-step:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .process-desc { display: none; }

  .cta-inner { grid-template-columns: 1fr; text-align: center; padding: 36px 28px; }
  .footer-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-inner-disabled { flex-direction: column; gap: 20px; text-align: center; padding: 28px 24px; }
  .footer-links { flex-direction: column; gap: 10px; align-items: center; }
  .footer-contact { text-align: center; }
}

/* ===== LEGAL PAGES — 약관/방침 ===== */
.legal-page { padding: 60px 0 80px; background: var(--white); }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 8px; letter-spacing: -0.02em; }
.legal-page .legal-date { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.legal-page h2 { font-size: 17px; font-weight: 700; color: var(--green); margin: 36px 0 10px; }
.legal-page p { font-size: 14px; color: var(--text); line-height: 1.9; margin-bottom: 4px; }
.legal-page ul { margin: 8px 0 8px 20px; }
.legal-page li { font-size: 14px; color: var(--text); line-height: 1.9; }

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .logo { font-size: 18px; }

  .hero-inner { padding: 40px 16px 36px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.2rem) !important; }
  .hero-problem { font-size: 13px; margin-bottom: 16px; }
  .hero-solution { font-size: 14px; margin-bottom: 28px; }
  .hero-btns { flex-wrap: wrap; }

  .section-title { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .section-desc { margin-bottom: 28px; font-size: 13px; }

  /* 2열 카드 — 폰트/패딩 축소 */
  .services-grid, .portfolio-grid { gap: 10px; }

  .service-card { padding: 14px; gap: 10px; }
  .service-icon { width: 36px; height: 36px; border-radius: 8px; }
  .service-icon svg { width: 18px; height: 18px; }
  .service-name { font-size: 12.5px; }

  .portfolio-info { padding: 12px 14px; }
  .portfolio-badge { font-size: 9px; padding: 3px 8px; }
  .portfolio-category { font-size: 9px; margin-bottom: 4px; }
  .portfolio-name { font-size: 13px; margin-bottom: 4px; }
  .portfolio-sub { font-size: 10.5px; line-height: 1.5; }

  .stat-item { padding: 16px 10px; }
  .stat-val { font-size: 1.05rem; }
  .stat-label { font-size: 10.5px; }

  .process-step { padding: 16px 14px; }
  .process-num { font-size: 10px; margin-bottom: 4px; }
  .process-name { font-size: 12.5px; margin-bottom: 0; }

  .cta-inner { padding: 28px 18px; border-radius: 14px; }
  .cta-right { width: 100%; }
  .btn-green { width: 100%; white-space: normal; }
}
#page-chipbook, #page-sunscreen, #page-food, #page-realestate { display: none; }