/* =========================
   CSS RESET (Modern)
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
  word-break: keep-all;
}

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

h1, h2, h3, p, ul, ol, li, figure {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* =========================
   공통 레이아웃
========================= */
section {
  padding: 80px 20px;
}

h2 {
  font-size: 28px;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  font-size: 16px;
  color: #333;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 100vh;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #111;
  color: #fff;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* =========================
   CALL BUTTON
========================= */
.call-btn {
  display: inline-block;
  padding: 14px 28px;
  background: #fff;
  color: #111;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.call-btn:hover {
  background: #eaeaea;
}

.call-btn.big {
  font-size: 20px;
  padding: 18px 36px;
}

/* =========================
   SERVICES
========================= */
.services {
  background: #f7f7f7;
}

.service-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.service-item {
  background: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.service-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.service-item p {
  font-size: 15px;
  color: #444;
}

/* =========================
   PROJECTS
========================= */
.projects-desc {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.project-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.project-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #fff;
}

/* 프로젝트 이미지 크기 제어 */
.project-item img {
  width: 100%;
  height: 220px;          /* ← 여기서 크기 제어 */
  object-fit: cover;
}


.project-item figcaption {
  padding: 12px;
  font-size: 14px;
  text-align: center;
  background: #fafafa;
}

/* =========================
   PROCESS
========================= */
.process {
  background: #fff;
}

.process ol {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.process li {
  padding: 16px 20px;
  border-left: 4px solid #111;
  background: #f8f8f8;
  font-weight: 500;
}

/* =========================
   CONTACT
========================= */
.contact {
  background: #111;
  color: #fff;
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 32px 20px;
  text-align: center;
  background: #000;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.footer p + p {
  margin-top: 8px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {
  section {
    padding: 60px 16px;
  }

  h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 16px;
  }
}
