:root {
  --ink: #14151a;
  --muted: #5b6170;
  --line: #e6e8ef;
  --bg: #f5f7fb;
  --paper: #ffffff;
  --hero: #eaf1ff;
  --accent: #2f5bff;
  --accent-dark: #1c3fd6;
  --mark: #ffe566;
  --navy: #151b2e;
  --ticket: #3b5bfd;
  --ticket-2: #7b5cff;
  --shadow: 0 18px 50px rgba(21, 27, 46, 0.12);
  --radius: 22px;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id],
#price,
#portfolio,
#contact,
#service,
#process,
#policy,
#check,
#faq {
  scroll-margin-top: 88px;
}
body {
  margin: 0;
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  background: #fff;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}
.logo-text { font-size: 18px; letter-spacing: -0.04em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a:not(.nav-cta):not(.nav-kakao):hover { color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
}
.nav-kakao {
  background: #fee500;
  color: #191919 !important;
  padding: 10px 16px;
  border-radius: 999px;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
}
.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--hero) 0%, #f7f9ff 70%, #fff 100%);
  overflow: hidden;
  padding: 28px 0 0;
}
.hero-bg {
  position: absolute;
  inset: auto -120px -80px auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(123,92,255,.18), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  min-height: 620px;
}
.eyebrow {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  font-size: 13px;
}
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(36px, 5vw, 62px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
.brand-word {
  background: linear-gradient(#fff6a8, var(--mark));
  box-decoration-break: clone;
  padding: 0 8px 4px;
  border-radius: 8px;
}
.hero-lead {
  font-size: 22px;
  font-weight: 700;
  color: #2a3144;
  margin: 22px 0 28px;
}
.hero-lead mark {
  background: var(--mark);
  padding: 0 6px;
  border-radius: 6px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-kakao { background: #fee500; color: #191919; }
.btn-kakao:hover { background: #f6dc00; }
.btn-ghost { background: #fff; border: 1px solid #d9deea; }
.btn-light { background: #fff; color: var(--ink); }
.btn-block { width: 100%; }
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.hero-chips li {
  background: #fff;
  border: 1px solid #dce3f3;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #3b4458;
}

.hero-visual { position: relative; }
.hero-photo-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.hero-photo-wrap img { width: 100%; height: 430px; object-fit: cover; }
.ticket {
  position: absolute;
  width: 168px;
  padding: 18px 16px 16px;
  border-radius: 18px;
  color: #fff;
  box-shadow: 0 16px 30px rgba(47,91,255,.28);
}
.ticket span { font-size: 12px; opacity: .8; }
.ticket strong { display: block; font-size: 42px; line-height: 1; margin: 4px 0 6px; }
.ticket strong span { font-size: 16px; }
.ticket em { font-style: normal; font-size: 12px; opacity: .85; }
.ticket-a { background: var(--ticket); left: -18px; bottom: 34px; transform: rotate(-8deg); }
.ticket-b { background: var(--ticket-2); right: -8px; top: 28px; transform: rotate(7deg); }

.quick-bar { margin-top: 36px; }
.quick-bar-inner {
  background: #fff;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -10px 40px rgba(21,27,46,.06);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 8px 0;
}
.quick-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 8px 22px;
  text-align: center;
}
.quick-bar b { font-size: 14px; }
.quick-bar small { color: var(--muted); font-size: 12px; }
.qb-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: var(--accent);
  font-weight: 800;
}
.qb-icon.kakao { background: #fee500; color: #191919; }
.qb-icon.kakao svg { width: 22px; height: 22px; display: block; }

.stats { background: var(--navy); color: #fff; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 42px 0;
  gap: 16px;
}
.stats article { text-align: center; }
.stats strong { display: block; font-size: 36px; }
.stats span { color: #b8c0d6; font-size: 14px; }

.section { padding: 96px 0; }
.section.alt { background: var(--bg); }
.section-head { margin-bottom: 42px; }
.section-head p { color: var(--muted); max-width: 640px; }

.price-calc {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: #fff;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f0f3fa;
  grid-column: 1;
}
.calc-tabs button {
  border: 0;
  background: transparent;
  min-height: 64px;
  font-weight: 800;
  cursor: pointer;
  color: #6a7386;
}
.calc-tabs button.is-active {
  background: #fff;
  color: var(--ink);
}
.calc-body {
  display: contents;
}
.calc-info {
  padding: 8px 36px 36px;
  grid-column: 1;
}
.calc-receipt {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.calc-info h3 { font-size: 28px; margin-bottom: 10px; }
.calc-info > p { color: var(--muted); margin-top: 0; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; }
.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.info-list span { color: var(--muted); }
.shop-range { margin-top: 28px; }
.shop-range.is-hidden { display: none; }
.shop-range label { display: flex; justify-content: space-between; font-weight: 800; }
.shop-range em { color: var(--accent); font-style: normal; }
.shop-range input { width: 100%; margin: 14px 0 8px; accent-color: var(--accent); }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.range-note { color: var(--muted); font-size: 13px; }

.calc-receipt {
  background: var(--navy);
  color: #fff;
  padding: 36px 28px;
}
.calc-receipt h4 { margin-bottom: 18px; }
.calc-receipt dl { margin: 0; }
.calc-receipt dl > div {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.calc-receipt .zero dd { color: #9be7a6; }
.calc-receipt .sum { font-weight: 800; }
.total {
  margin: 22px 0 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.total span { font-size: 13px; color: #c5cbe0; }
.total span span { display: block; }
.total strong { font-size: 30px; color: var(--mark); }
.receipt-foot { color: #9aa3bd; font-size: 12px; margin: 12px 0 0; }

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.plan-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.plan-kicker { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.plan-card.featured .plan-kicker { color: var(--mark); }
.plan-card h3 { margin: 8px 0 16px; }
.plan-price { font-size: 42px; font-weight: 900; margin: 0; }
.plan-price span { font-size: 16px; margin-left: 4px; }
.plan-month { color: var(--muted); }
.plan-card.featured .plan-month { color: #c9cdd8; }
.plan-month b { color: inherit; }
.plan-card ul { padding-left: 18px; color: var(--muted); }
.plan-card.featured ul { color: #d7dbe6; }

.feature-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-grid li {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  min-height: 220px;
}
.f-ico { display: block; color: var(--accent); font-weight: 900; margin-bottom: 18px; }
.feature-grid h3 { font-size: 18px; margin-bottom: 8px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: none;
}
.process li {
  background: var(--bg);
  border-radius: 22px;
  padding: 28px 22px;
}
.process span {
  display: inline-block;
  background: var(--mark);
  color: var(--ink);
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.process p { color: var(--muted); margin-bottom: 0; }

.folio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.folio {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(21,27,46,.06);
}
.folio img { width: 100%; height: 210px; object-fit: cover; }
.folio div { padding: 18px 18px 22px; }
.folio span {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  background: #eef2ff;
  padding: 4px 8px;
  border-radius: 999px;
}
.folio h3 { margin: 10px 0 6px; font-size: 20px; }
.folio p { margin: 0; color: var(--muted); font-size: 14px; }

.policy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.policy-cards article {
  background: var(--bg);
  border-radius: 22px;
  padding: 28px;
}
.policy-cards h3 { font-size: 15px; color: var(--muted); }
.big { font-size: 32px; font-weight: 900; margin: 8px 0 12px; }
.policy-cards p:last-child { color: var(--muted); margin: 0; }

.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px 18px 48px;
  margin-bottom: 10px;
  position: relative;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mark);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

.faq details {
  background: var(--bg);
  border-radius: 16px;
  padding: 6px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
}
.faq p { margin: 0 0 16px; color: var(--muted); }

.cta-band {
  background: linear-gradient(120deg, #1a2140, #2f5bff);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #d7defa; margin-bottom: 28px; }
.cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.kakao-wide { margin: 8px 0 22px; min-width: 280px; }
.contact-points { padding-left: 18px; font-weight: 700; }
.form {
  background: var(--bg);
  border-radius: 24px;
  padding: 28px;
}
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.form-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form select, .form textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
.form textarea { resize: vertical; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 8px 0 16px; }
.form-ok { color: #0f7a3e; font-weight: 700; }
.form-info { color: #1c3fd6; font-weight: 700; }
.form-err { color: #c0392b; font-weight: 700; }
.form .btn-ghost { margin-top: 10px; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.btn[disabled] { opacity: .65; cursor: wait; }

.footer {
  background: #0f121c;
  color: #d5d8e2;
  padding: 48px 0 110px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.footer .logo-text { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; color: #9aa1b5; }
.footer a { color: #fee500; text-decoration: underline; }
.footer .copy { width: min(1160px, calc(100% - 40px)); margin: 0 auto; color: #6e758a; font-size: 13px; }

.mobile-cta { display: none; }
.kakao-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fee500;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.kakao-float img {
  width: 34px;
  height: 34px;
}

@media (max-width: 980px) {
  .price-calc { grid-template-columns: 1fr; }
  .calc-tabs, .calc-info, .calc-receipt { grid-column: 1; grid-row: auto; }
  .hero-grid, .calc-body, .plan-cards, .contact-grid, .stats-grid,
  .feature-grid, .process, .folio-grid, .policy-cards {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process, .folio-grid, .policy-cards, .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { min-height: 0; padding-bottom: 20px; }
  .ticket { width: 140px; }
  .ticket strong { font-size: 32px; }
}

@media (max-width: 760px) {
  .container { width: min(1160px, calc(100% - 28px)); }
  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav-cta { text-align: center; }
  .menu-btn { display: block; }
  .price-calc { grid-template-columns: 1fr; }
  .hero-grid, .calc-body, .plan-cards, .contact-grid,
  .feature-grid, .process, .folio-grid, .policy-cards, .stats-grid, .form-duo,
  .quick-bar-inner, .footer-inner {
    grid-template-columns: 1fr;
  }
  .quick-bar-inner { grid-template-columns: 1fr 1fr; }
  .ticket { display: none; }
  .hero-photo-wrap { transform: none; }
  .hero-photo-wrap img { height: 220px; }
  .section { padding: 72px 0; }
  .calc-info, .calc-receipt { padding: 24px 20px; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: #fff;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 8px;
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  }
  .mobile-cta a {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-weight: 800;
    background: #f0f3fa;
  }
  .mobile-cta .kakao-fill { background: #fee500; color: #191919; }
  .kakao-float { display: none; }
  body { padding-bottom: 76px; }
}
