/* Pretendard 웹폰트 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

html { scroll-behavior: smooth; }

html, body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* iOS Safari 탭 하이라이트 제거 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* 터치 친화적 링크/버튼 기본 */
a, button {
  touch-action: manipulation;
}

/* 헤드라인 타이포 */
.font-display {
  letter-spacing: -0.04em;
  font-weight: 800;
}

/* 섹션 타이틀 행 (타이틀 좌 + 링크 우) */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.section-head .more {
  font-size: 12px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.section-head .more:hover { color: #475569; }

/* 카드 */
.flat-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.flat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.18);
}

/* 특징 카드 (PC 호버만) */
@media (min-width: 640px) {
  .feature-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 6px 18px -12px rgba(15, 23, 42, 0.18);
  }
}

/* 이미지 */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 스크롤바 얇게 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #d5dbe3; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b7c0cc; }

/* 라인 클램프 */
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 갤러리 항목 */
.gallery-item { overflow: hidden; border-radius: 8px; background: #f1f5f9; }
.gallery-item img { transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
