* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  background: #f4f6fb;
  color: #172033;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hero {
  min-height: 640px;
  background: radial-gradient(circle at top left, #e8f0ff, #ffffff 45%, #edf3ff);
  padding: 24px;
}
.top-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-weight: 900; font-size: 22px; }
.nav-links { display: flex; gap: 20px; font-size: 15px; }
.nav-links a { color: #33415c; }
.hero-inner {
  max-width: 1180px;
  margin: 86px auto 0;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 48px;
  align-items: center;
}
.eyebrow { letter-spacing: 4px; font-size: 13px; font-weight: 800; color: #315bdc; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); margin: 8px 0 0; letter-spacing: -3px; }
.hero h2 { font-size: clamp(22px, 3vw, 34px); margin: 10px 0; color: #263b68; }
.subtitle { font-size: 22px; font-weight: 700; color: #4b5875; }
.intro { font-size: 17px; line-height: 1.8; color: #4b5875; max-width: 760px; }
.hero-buttons { display: flex; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dce3f5;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(32, 53, 105, .08);
}
.btn.primary { background: #1f55e6; color: white; border-color: #1f55e6; }
.hero-photo {
  border-radius: 36px;
  overflow: hidden;
  background: white;
  box-shadow: 0 26px 80px rgba(27, 50, 99, .16);
  min-height: 420px;
}
.hero-photo img { width: 100%; height: 420px; object-fit: cover; }
.photo-placeholder {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #b7c1d9;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section.alt {
  max-width: none;
  background: #fff;
}
.section.alt .section-title,
.section.alt .grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.section-title { margin-bottom: 30px; }
.section-title p { color: #315bdc; font-weight: 900; letter-spacing: 3px; margin: 0 0 8px; }
.section-title h2 { margin: 0; font-size: 36px; letter-spacing: -1px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid #e4e9f4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(24, 40, 80, .08);
}
.thumb, .video-thumb {
  position: relative;
  display: block;
  height: 220px;
  background: #dde7fb;
  overflow: hidden;
}
.thumb img, .video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.empty-thumb {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b98b4;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, #eff4ff, #dfe9ff);
}
.empty-thumb.big { height: 520px; border-radius: 22px; }
.video-thumb {
  height: 360px;
  aspect-ratio: 9 / 16;
  margin: 18px auto 0;
  width: min(72%, 230px);
  border-radius: 20px;
}
.video-thumb img { border-radius: 20px; }
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1f55e6;
  font-weight: 900;
}
.card-body { padding: 22px; }
.card h3 { margin: 0 0 10px; font-size: 21px; }
.card p { margin: 0 0 14px; color: #56627b; line-height: 1.65; }
.small-link { color: #1f55e6; font-weight: 800; }
.contact-box {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  border: 1px solid #e4e9f4;
  box-shadow: 0 16px 50px rgba(24, 40, 80, .08);
}
.contact-box p { margin: 8px 0; color: #4d5a76; }
footer {
  padding: 34px 20px;
  text-align: center;
  color: #6b7690;
  background: #11192c;
}

.detail-page { max-width: 920px; margin: 0 auto; padding: 40px 22px 80px; }
.back { display: inline-block; margin-bottom: 18px; color: #1f55e6; font-weight: 800; }
.detail-card {
  background: white;
  border-radius: 28px;
  padding: 28px;
  border: 1px solid #e4e9f4;
  box-shadow: 0 18px 60px rgba(24, 40, 80, .1);
}
.detail-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 24px;
}
.detail-card h1 { font-size: 36px; margin: 8px 0 18px; }
.detail-card p { color: #4d5a76; line-height: 1.8; font-size: 17px; }
.video-player-wrap {
  display: flex;
  justify-content: center;
  background: #11192c;
  border-radius: 24px;
  overflow: hidden;
}
.video-player {
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  border: 0;
  background: #000;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; margin-top: 48px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { gap: 10px; font-size: 13px; }
  .hero { padding: 18px; }
  .hero-photo, .hero-photo img, .photo-placeholder { min-height: 320px; height: 320px; }
}
