/* ============================================================
   사장온 — 공통 스타일
   ============================================================ */

:root {
  --bg: #F8F6F1;
  --bg-2: #F5F5F5;
  --bg-elevated: #FFFFFF;
  --ink: #333333;
  --ink-2: #444444;
  --muted: #666666;
  --line: #E8E4E0;
  --accent: #84223B;
  --accent-hover: #6B1B30;
  --accent-soft: #F0E6EA;
  --accent-ink: #6B1B30;
  --shadow-sm: 0 1px 2px rgba(40, 20, 25, 0.04);
  --shadow-md: 0 6px 24px rgba(132, 34, 59, 0.06);
  --shadow-lg: 0 12px 40px rgba(132, 34, 59, 0.08);
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

/* layout primitives */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--accent-soft); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.18; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }

p { color: var(--ink); text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(132, 34, 59, 0.22);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(132, 34, 59, 0.3); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn-line {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-arrow::after { content: '→'; font-weight: 500; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 246, 241, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 14px;
  letter-spacing: -0.02em;
}
.brand-name strong { color: var(--accent); font-weight: 800; }
.brand-name { font-weight: 700; }
.brand-name span { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 13px; }

.nav-desktop { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-desktop a {
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-desktop a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-desktop a.active { color: var(--accent); font-weight: 700; }
.header-cta { margin-left: 12px; padding: 10px 18px; font-size: 14px; }

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  margin-left: auto;
  align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 55;
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow-y: auto;
  padding: 24px 24px 120px;
  display: flex; flex-direction: column;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a {
  display: block;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer a:hover { color: var(--accent); }
.mobile-drawer .btn-primary { margin-top: 24px; }

@media (max-width: 920px) {
  .nav-desktop, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .brand-name span { display: none; }
}

/* ============================================================
   HERO TYPING + 3-CHANNEL
   ============================================================ */
.hero {
  padding: 80px 0 64px;
  min-height: 780px;
  overflow: visible;
  background:
    radial-gradient(1200px 600px at 80% -20%, rgba(132, 34, 59, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(132, 34, 59, 0.04), transparent 60%),
    var(--bg);
}
.hero .container { overflow: visible; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
  overflow: visible;
}
@media (max-width: 920px) {
  .hero { min-height: auto; padding: 64px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 .typing {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.hero h1 .typing::after {
  content: '';
  display: inline-block;
  width: 3px; height: 0.95em;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: -0.12em;
  animation: caret 0.9s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.hero h1 .accent { color: var(--accent); }
.hero .sub {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 480px;
}
.hero .cta-row {
  margin-top: 36px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.pill-ai {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.pill-ai .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(132,34,59,0.12);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.3); opacity: 0.7; } }

/* === Channel stack — 2× sized cards + bouncy roll === */
.channel-stack {
  position: relative;
  height: 600px;
  overflow: visible;
}
.ch-card {
  position: absolute;
  width: 95%;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
  opacity: 0;
  transition:
    transform .4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity .35s ease-out,
    box-shadow .35s ease-out,
    filter .35s ease-out,
    border-color .35s ease-out;
  will-change: transform, opacity, filter;
}

/* base stacked positions */
.ch-card.ch-blog { left: 0;   top: 0;     z-index: 3; transform: rotate(-3deg)   scale(0.92); }
.ch-card.ch-ig   { left: 5%;  top: 150px; z-index: 2; transform: rotate(2deg)    scale(0.92); }
.ch-card.ch-th   { left: 10%; top: 300px; z-index: 1; transform: rotate(-1.5deg) scale(0.92); }

/* visible but not front — heavily dimmed */
.ch-card.show { opacity: 0.3; filter: blur(3px); box-shadow: none; }

/* rolling front — protagonist */
.ch-card.front {
  opacity: 1;
  z-index: 20;
  filter: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  border-color: rgba(132, 34, 59, 0.15);
}
.ch-card.ch-blog.front { transform: rotate(-3deg)   scale(1.08) translateY(-12px); animation: popUpBlog .4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ch-card.ch-ig.front   { transform: rotate(2deg)    scale(1.08) translateY(-12px); animation: popUpIg   .4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ch-card.ch-th.front   { transform: rotate(-1.5deg) scale(1.08) translateY(-12px); animation: popUpTh   .4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes popUpBlog { from { transform: rotate(-3deg)   translateY(20px) scale(0.92); } }
@keyframes popUpIg   { from { transform: rotate(2deg)    translateY(20px) scale(0.92); } }
@keyframes popUpTh   { from { transform: rotate(-1.5deg) translateY(20px) scale(0.92); } }

.ch-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ch-badge {
  font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
.ch-card.ch-ig .ch-badge { background: #fde6ed; color: #b8385a; }
.ch-card.ch-th .ch-badge { background: #ece6f5; color: #5b3a7a; }
.ch-card .ch-source { font-weight: 700; font-size: 18px; color: var(--ink); }
.ch-card .ch-time { color: var(--muted); font-size: 14px; margin-left: auto; }
.ch-card .ch-title { font-weight: 700; font-size: 22px; line-height: 1.4; margin-bottom: 12px; color: var(--ink); }
.ch-card .ch-body { color: var(--muted); font-size: 17px; line-height: 1.6; }
.ch-card .ch-quote {
  margin-top: 16px;
  padding: 6px 0 6px 16px;
  border-left: 4px solid var(--accent);
  font-size: 16px; line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
  background: transparent;
}

@media (max-width: 920px) {
  .channel-stack { height: 560px; max-width: 90vw; margin: 0 auto; }
  .ch-card { width: 90vw; max-width: 480px; padding: 24px; }
  .ch-card .ch-title { font-size: 19px; }
  .ch-card .ch-body  { font-size: 15px; }
  .ch-card .ch-quote { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-card { transition: none; animation: none !important; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-bar .container {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item .n { font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; color: var(--accent); letter-spacing: -0.02em; }
.trust-item .l { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
@media (max-width: 720px) { .trust-bar .container { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CHECKLIST INTERACTIVE
   ============================================================ */
.checklist {
  display: grid; gap: 12px;
  max-width: 720px;
  margin: 40px auto 0;
}
.check-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  cursor: pointer;
  transition: all .2s ease;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  width: 100%;
}
.check-item:hover { border-color: var(--accent-soft); }
.check-item .box {
  width: 26px; height: 26px;
  border: 2px solid #c5bdb6;
  border-radius: 7px;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all .2s;
}
.check-item .box svg { width: 14px; height: 14px; opacity: 0; transition: opacity .15s; }
.check-item.checked { background: var(--accent-soft); border-color: var(--accent); }
.check-item.checked .box { background: var(--accent); border-color: var(--accent); }
.check-item.checked .box svg { opacity: 1; }
.check-result {
  margin-top: 24px;
  text-align: center;
  min-height: 60px;
  font-weight: 600;
  color: var(--accent);
  font-size: 17px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.check-result.show { opacity: 1; transform: translateY(0); }
.check-result a { text-decoration: underline; }

/* ============================================================
   FLIP CARDS — 고민 4개
   ============================================================ */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 40px;
}
@media (max-width: 720px) { .flip-grid { grid-template-columns: 1fr; } }
.flip {
  perspective: 1000px;
  min-height: 200px;
}
.flip-inner {
  position: relative; width: 100%; height: 100%;
  min-height: 200px;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d;
}
.flip.flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
}
.flip-front { background: #fff; border: 1px solid var(--line); }
.flip-back  { background: var(--accent-soft); transform: rotateY(180deg); border: 1px solid var(--accent-soft); }
.flip-front .quote { font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--ink); }
.flip-front .hint { margin-top: 16px; color: var(--muted); font-size: 13px; }
.flip-back .label { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.flip-back .answer { font-size: 17px; font-weight: 500; line-height: 1.6; color: var(--ink); }

/* ============================================================
   SERVICE PREVIEW (3 cards)
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.svc-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-card .num { color: var(--accent); font-weight: 800; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 14px; }
.svc-card h3 { margin-bottom: 12px; }
.svc-card p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.svc-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc-card .tag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }

/* ============================================================
   BEFORE / AFTER day
   ============================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 720px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-card {
  border-radius: var(--radius);
  padding: 28px;
}
.ba-card.before { background: #efece8; }
.ba-card.after  { background: var(--accent-soft); border: 1.5px solid var(--accent); }
.ba-tag {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: 18px;
}
.ba-card.before .ba-tag { background: #d8d2cc; color: #6b6760; }
.ba-card.after .ba-tag  { background: var(--accent); color: #fff; }
.ba-card h3 { margin-bottom: 18px; }
.ba-card.before h3 { color: #807870; }
.ba-card.after h3 { color: var(--accent); }
.ba-row { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,0.06); align-items: baseline; }
.ba-row:first-of-type { border-top: none; }
.ba-row .t { font-weight: 700; font-size: 14px; }
.ba-row .d { font-size: 15px; line-height: 1.55; }
.ba-card.before .t, .ba-card.before .d { color: #8a8278; }
.ba-card.after .t { color: var(--accent); }
.ba-card.after .d { color: var(--ink); }

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare {
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.compare th { background: var(--bg); font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.compare tr:last-child td { border-bottom: none; }
.compare .col-axis { font-weight: 600; color: var(--ink-2); width: 24%; }
.compare .col-agency { color: var(--muted); }
.compare .col-us { background: var(--accent-soft); color: var(--ink); font-weight: 600; position: relative; }
.compare th.col-us { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 720px) {
  .compare th, .compare td { padding: 14px 14px; font-size: 13.5px; }
}

/* ============================================================
   RESULTS / CASES
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
}
.case-card .case-tag { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; }
.case-card h3 { font-size: 22px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.case-stat { background: var(--bg); border-radius: 10px; padding: 14px; text-align: center; }
.case-stat .n { font-size: 22px; font-weight: 900; color: var(--accent); }
.case-stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-ph {
  display: grid; place-items: center;
  background: #E8E4E0;
  background-image: repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.4) 16px 17px);
  color: #8c847d;
  font-size: 13px;
  font-family: 'Noto Sans KR', monospace;
  border-radius: 12px;
  border: 1px dashed #c9c0b8;
  letter-spacing: 0.02em;
}
.img-ph .lbl {
  background: rgba(255,255,255,0.7);
  padding: 6px 12px;
  border-radius: 999px;
}
.img-ph.ratio-16-9 { aspect-ratio: 16/9; }
.img-ph.ratio-1-1  { aspect-ratio: 1/1; }
.img-ph.ratio-2-3  { aspect-ratio: 2/3; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-cat { margin-top: 40px; }
.faq-cat-title {
  font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: 'Q';
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
}
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body {
  padding: 0 24px 22px 68px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.75;
}
.faq-body p + p { margin-top: 12px; }

/* ============================================================
   FORM
   ============================================================ */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) { .form-card { padding: 28px 22px; } }
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field label .req { color: var(--accent); margin-left: 4px; }
.form-field input, .form-field textarea, .form-field select {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(132,34,59,0.1);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-error { color: var(--accent); font-size: 13px; min-height: 16px; }
.form-checks { display: grid; gap: 10px; margin-top: 6px; }
.form-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2); cursor: pointer;
}
.form-check input { margin-top: 3px; accent-color: var(--accent); }
.form-check a { text-decoration: underline; }
.form-note { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 10px; }
.form-submit { width: 100%; padding: 16px; font-size: 16px; }
.form-success {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  color: var(--accent);
}
.form-success .icon { font-size: 36px; margin-bottom: 12px; }
.form-success h3 { color: var(--accent); margin-bottom: 8px; }

/* radio chip set */
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chips label {
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .15s;
  background: #fff;
}
.radio-chips input { display: none; }
.radio-chips input:checked + span { color: var(--accent); }
.radio-chips label:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(40, 22, 28, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
  overflow-y: auto;
}
.modal-bg.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px 36px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  background: var(--bg);
}
.modal-close:hover { background: var(--accent-soft); color: var(--accent); }
.modal .eyebrow { margin-bottom: 8px; }
.modal h2 { font-size: 24px; margin-bottom: 8px; }
.modal .lead { font-size: 15px; color: var(--ink-2); margin-bottom: 24px; line-height: 1.65; }
@media (max-width: 600px) { .modal { padding: 28px 22px 22px; } }

/* ============================================================
   FLOATING CTA
   ============================================================ */
.floating-cta {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 50;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(132,34,59,0.35);
  transition: transform .15s, background .15s;
}
.floating-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
@media (max-width: 600px) {
  .floating-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 14px; }
}

/* TOP scroll button — sits above the floating CTA */
.top-btn {
  position: fixed;
  right: 24px; bottom: 84px;
  z-index: 51;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #666;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  display: grid; place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .15s, color .15s, border-color .15s;
}
.top-btn.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-btn:hover { background: var(--bg); color: var(--accent); border-color: var(--accent-soft); }
/* When floating CTA is suppressed (data-no-floating), put TOP at its bottom slot */
body[data-no-floating] .top-btn { bottom: 24px; }
@media (max-width: 600px) {
  .top-btn { right: 16px; bottom: 72px; width: 40px; height: 40px; font-size: 10px; }
  body[data-no-floating] .top-btn { bottom: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  color: var(--ink-2);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid ul { list-style: none; display: grid; gap: 10px; }
.foot-grid a { color: var(--ink-2); }
.foot-grid a:hover { color: var(--accent); }
.foot-biz { color: var(--muted); line-height: 1.7; font-size: 13.5px; }
.foot-biz strong { color: var(--ink); font-weight: 700; }
.foot-sns { display: flex; gap: 10px; margin-top: 16px; }
.foot-sns a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: grid; place-items: center;
  color: var(--ink-2);
  border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.foot-sns a svg { display: block; }
.foot-sns a:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); transform: translateY(-2px); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--muted);
}
.foot-bottom a { color: var(--muted); margin-left: 14px; }
.foot-bottom a:hover { color: var(--accent); }

/* ============================================================
   PAGE HERO (subpages)
   ============================================================ */
.page-hero {
  padding: 80px 0 48px;
  background: var(--bg);
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 720px; }

/* ============================================================
   PROCESS STEPS (services page)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.step .step-n { font-family: 'Playfair Display', serif; color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; }
.step h3 { margin: 8px 0 12px; }
.step p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.step .step-meta { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; }

/* features 6 */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 820px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.feat .feat-i {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px;
  margin-bottom: 14px;
}
.feat h4 { margin-bottom: 6px; font-size: 16px; }
.feat p { color: var(--ink-2); font-size: 14px; line-height: 1.65; }

/* ============================================================
   ABOUT (전문가 소개)
   ============================================================ */
.about-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 720px) { .about-hero { grid-template-columns: 1fr; } .about-hero .img-ph { max-width: 240px; } }
.about-list { display: grid; gap: 10px; margin-top: 18px; }
.about-list li {
  list-style: none;
  padding-left: 22px;
  position: relative;
  font-size: 15.5px; line-height: 1.65;
}
.about-list li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}
.media-table { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.media-table th, .media-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.media-table th { background: var(--bg); font-weight: 700; color: var(--muted); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.media-table tr:last-child td { border-bottom: none; }

/* ============================================================
   REVIEWS
   ============================================================ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card .stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.review-card blockquote { font-size: 16px; line-height: 1.75; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 16px; }
.review-card .who { color: var(--muted); font-size: 13.5px; }
.review-card .who strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.blog-filter button {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
  transition: all .15s;
}
.blog-filter button:hover { border-color: var(--accent); color: var(--accent); }
.blog-filter button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .img-ph { border-radius: 0; aspect-ratio: 16/9; border: none; border-bottom: 1px solid var(--line); }
.blog-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card .meta { display: flex; gap: 10px; font-size: 12.5px; color: var(--muted); align-items: center; }
.blog-card .cat { background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 999px; font-weight: 700; font-size: 11.5px; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 18px; line-height: 1.4; color: var(--ink); }
.blog-card .desc { color: var(--ink-2); font-size: 14px; line-height: 1.65; flex: 1; }
.blog-card .more { color: var(--accent); font-weight: 600; font-size: 13.5px; margin-top: 6px; }

/* blog post */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
}
.post-body h2 { margin: 40px 0 16px; font-size: 24px; }
.post-body h3 { margin: 28px 0 12px; font-size: 19px; }
.post-body p { margin-bottom: 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; }
.post-body li { margin-bottom: 6px; }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: var(--ink);
}
.post-body strong { color: var(--accent); font-weight: 700; }
.post-body .img-ph { margin: 28px 0; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.post-meta .cat { background: var(--accent-soft); color: var(--accent); padding: 3px 10px; border-radius: 999px; font-weight: 700; margin-right: 8px; }
.post-nav { max-width: 720px; margin: 48px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-nav a { flex: 1; min-width: 200px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: all .15s; }
.post-nav a:hover { border-color: var(--accent); color: var(--accent); }
.post-nav .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.post-nav .ttl { font-weight: 600; font-size: 15px; }

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta {
  text-align: center;
  padding: 80px 24px;
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  margin: 0 24px;
}
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { color: var(--ink-2); margin-bottom: 28px; font-size: 17px; }
.final-cta .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.legal h2 { margin: 32px 0 12px; font-size: 22px; color: var(--ink); }
.legal h3 { margin: 24px 0 8px; font-size: 17px; color: var(--ink); }
.legal p, .legal li { margin-bottom: 8px; }
.legal ul, .legal ol { margin: 8px 0 16px 24px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; background: #fff; border-radius: 10px; overflow: hidden; }
.legal th, .legal td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.legal th { background: var(--bg); color: var(--muted); font-weight: 700; }

/* ============================================================
   LANDING (/start) — vertical scroll
   ============================================================ */
.landing-section {
  padding: 96px 24px;
  text-align: center;
}
.landing-section.alt { background: #fff; }
.landing-section h2 { margin-bottom: 16px; }
.landing-section .container-narrow { max-width: 920px; margin: 0 auto; }
.landing-hero {
  background: linear-gradient(170deg, var(--bg) 0%, var(--accent-soft) 100%);
  padding: 120px 24px 96px;
  text-align: center;
}
.landing-hero h1 { max-width: 820px; margin: 0 auto 24px; }

/* ============================================================
   misc utilities
   ============================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.hide-sm { display: none; }
@media (min-width: 720px) { .hide-sm { display: revert; } .show-sm { display: none; } }

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
