:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --ink: #111827;
  --muted: #4b5563;
  --paper: #f8fafc;
  --cream: #fff7ed;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --coral: #f97316;
  --ok: #10b981;
  --gold: #d97706;
  font-family: "Pretendard", "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 40%, #f1f5f9 100%);
  color: var(--ink);
  word-break: keep-all;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
.progress {
  position: fixed; top: 0; left: 0; z-index: 90;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--coral));
}
.site-head {
  position: sticky; top: 0; z-index: 80;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 34px);
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 950; color: var(--navy);
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(37,99,235,.22);
}
.nav { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.nav a { padding: 9px 10px; border-radius: 8px; color: #334155; }
.nav a:hover, .nav .active { background: #f1f5f9; color: var(--navy); }
.nav .phone { background: var(--navy); color: #fff; }
.menu {
  display: none; width: 44px; height: 40px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.menu span { display: block; height: 2px; margin: 6px 10px; background: var(--navy); }
.topline {
  border-bottom: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(90deg, rgba(37,99,235,.08), rgba(124,58,237,.08));
}
.topline span {
  display: inline-block; white-space: nowrap;
  padding: 10px 0; color: #334155; font-weight: 800;
  animation: marquee 28s linear infinite;
}
.poster { padding: 36px 0 52px; }
.hero-shell {
  position: relative;
  display: grid; grid-template-columns: 1fr minmax(280px, 390px);
  gap: 26px; align-items: center;
}
.hero-shell::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -20px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-copy h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4.8vw, 60px); line-height: 1.08; letter-spacing: -0.02em;
}
.badge {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(37,99,235,.35); border-radius: 999px;
  background: rgba(37,99,235,.10); padding: 7px 13px;
  color: var(--accent); font-weight: 900; font-size: 13px;
}
.lead { color: var(--muted); line-height: 1.75; font-size: 17px; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 28px 60px rgba(15,23,42,.16);
}
.contact-note {
  display: grid; gap: 8px; width: min(320px, 100%);
  padding: 20px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.08);
}
.contact-note b { font-size: 26px; color: var(--navy); }
.contact-note span { color: var(--muted); }
.hero-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 10px; font-weight: 900; font-size: 15px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.section { padding: 64px 0; border-top: 1px solid rgba(226,232,240,.8); }
.section:nth-of-type(even) { background: rgba(248,250,252,.6); }
.section h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.1; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  position: relative; display: block;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  overflow: hidden; min-height: 190px; opacity: 0; transform: translateY(12px);
  transition: .5s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--coral));
}
.card.is-visible { opacity: 1; transform: none; }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card .copy { display: grid; gap: 10px; padding: 18px; }
.card strong { display: block; font-size: 20px; line-height: 1.22; color: var(--navy); }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.scroll-row {
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 14px 0 14px; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.scroll-row .card {
  flex: 0 0 min(290px, 82vw); opacity: 1; transform: none;
  scroll-snap-align: start; min-height: 0;
}
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.panel { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.85); padding: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { min-height: 160px; border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.step b { color: var(--gold); }
.step h3 { font-size: 21px; margin: 14px 0 8px; color: var(--navy); }
.step p { color: var(--muted); line-height: 1.6; margin: 0; }
.faq { display: grid; gap: 12px; }
.qa { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px; }
.qa h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; }
.qa p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer { padding: 40px 0 96px; border-top: 1px solid var(--line); color: var(--muted); background: rgba(241,245,249,.6); }
.footer strong { color: var(--navy); }
.footer small { display: block; margin-top: 12px; color: #9ca3af; }
.float { position: fixed; left: 10px; right: 10px; bottom: 12px; z-index: 70; display: flex; gap: 8px; }
.float a {
  flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center;
  padding: 0 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font-weight: 950; box-shadow: 0 12px 30px rgba(15,23,42,.18);
}
.float .call { background: var(--navy); border-color: var(--navy); color: #fff; }
.float .sms { background: var(--accent); border-color: var(--accent); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes marquee { from { transform: translateX(12%); } to { transform: translateX(-100%); } }
@media (max-width: 920px) {
  .menu { display: block; }
  .nav { position: fixed; left: 10px; right: 10px; top: 72px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.98); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s; }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; background: #f8fafc; }
  .poster { padding: 24px 0 42px; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16/10; }
  .split { grid-template-columns: 1fr; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero-copy h1 { font-size: 33px; }
  .section h2 { font-size: 28px; }
  .contact-note { width: 100%; }
}
@media (max-width: 430px) {
  .wrap { width: calc(100% - 20px); }
  .nav { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 30px; }
  .contact-note b { font-size: 22px; }
}
