:root {
  --blue: #0069a6;
  --blue-dark: #004e7c;
  --blue-soft: #e8f3f9;
  --slate: #8c9ca5;
  --ink: #1a2430;
  --muted: #5c6b75;
  --line: #e4eaee;
  --bg: #f6f8fa;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 50, 90, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: #eef3f7;
  border-bottom: 1px solid var(--line);
}
.topbar p {
  margin: 0;
  padding: 6px 0;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.logo span, .logo-footer span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.logo-footer {
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--blue); }
.header-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(100deg, #002e50 0%, #0069a6 70%, #3a9ad4 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  padding: 80px 0;
}
.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.25;
  font-weight: 800;
  max-width: 14ch;
}
.hero p {
  margin-top: 16px;
  max-width: 38ch;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--white); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }

.section { padding: 88px 0; }
.section.alt { background: var(--bg); }
.kicker { color: var(--blue); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; }
.section h2 { font-size: 32px; margin: 8px 0 36px; letter-spacing: -0.03em; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card ul { margin-top: 18px; color: var(--ink); padding-left: 18px; }
.card li { margin: 6px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.phone {
  font-size: 40px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.04em;
}
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--bg);
}
.form textarea { min-height: 110px; resize: vertical; }
.form button { background: var(--blue); color: var(--white); }

.footer {
  background: #10202c;
  color: #c5d2da;
  padding: 48px 0 28px;
  font-size: 13px;
}
.footer strong { color: var(--white); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
}
.legal { line-height: 1.8; }

.toast {
  display: none;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .menu-btn { display: block; }
  .cards, .steps, .contact-grid, .footer-top { grid-template-columns: 1fr; display: grid; }
  .hero { min-height: 480px; }
}
