/* 글로마케팅 — 로즈 베이지 + 네이비 */
:root {
  --rose-50: #FBF6F3;
  --rose-100: #F5E9E4;
  --rose-200: #EBD5CE;
  --rose-300: #D9B1A7;
  --rose-400: #C99A8E;
  --navy-900: #13264A;
  --navy-800: #1E3A5F;
  --navy-600: #3A5479;
  --ink: #262B36;
  --muted: #5E6574;
  --line: #E7D9D3;
  --white: #FFFFFF;
  --kakao: #FEE500;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(30, 58, 95, .08);
  --serif: 'Noto Serif KR', 'Apple SD Gothic Neo', serif;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --wrap: 1080px;
  --cta-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--rose-50);
  word-break: keep-all;
  overflow-wrap: break-word;
  padding-bottom: var(--cta-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-800); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy-800); line-height: 1.35; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 헤더 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 243, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { height: 30px; width: auto; }
.brand-name { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--rose-100); }
.nav .nav-cta { background: var(--navy-800); color: var(--white); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--navy-900); }
.menu-btn {
  appearance: none; border: 0; background: transparent; padding: 10px; margin-right: -10px;
  display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 모바일 메뉴 */
.drawer {
  display: none; position: fixed; inset: 60px 0 0 0; z-index: 49;
  background: var(--rose-50); overflow-y: auto; padding: 8px 20px calc(var(--cta-h) + 24px);
}
.menu-open .drawer { display: block; }
.menu-open { overflow: hidden; }
.drawer-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.drawer-group > a { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--navy-800); text-decoration: none; }
.drawer-subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.drawer-subs a, .chip {
  display: inline-block; font-size: 14px; text-decoration: none; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; line-height: 1.4;
}
.chip:hover, .drawer-subs a:hover { border-color: var(--navy-600); color: var(--navy-800); }
.chip.is-current { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.drawer-links { display: grid; gap: 4px; padding-top: 14px; }
.drawer-links a { text-decoration: none; color: var(--ink); padding: 8px 0; font-weight: 500; }

/* 하단 고정 상담 버튼 */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(251, 246, 243, .96); border-top: 1px solid var(--line);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 12px;
  font-family: var(--sans); font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy-800); color: var(--white); }
.btn-primary:hover { background: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-ghost:hover { background: var(--rose-100); }
.btn-block { display: flex; width: 100%; }
.kakao-dot { width: 22px; height: 22px; flex: none; }
.cta-bar .btn { max-width: 560px; margin: 0 auto; }

/* 섹션 공통 */
.section { padding: 56px 0; }
.section-alt { background: var(--white); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--rose-400); margin-bottom: 8px; }
.section-title { font-size: 26px; }
.section-lead { color: var(--muted); margin-bottom: 28px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: .25em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--rose-400); opacity: .6; }

/* 히어로 */
.hero { padding: 44px 0 52px; background: linear-gradient(180deg, var(--rose-200) 0%, var(--rose-50) 100%); position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; right: -90px; top: -60px; width: 280px; height: 280px;
  border: 26px solid rgba(255, 255, 255, .28); border-radius: 50%; pointer-events: none;
}
.hero-logo { width: 190px; margin-bottom: 4px; }
.hero .divider { max-width: 280px; margin-bottom: 28px; }
.hero h1 { font-size: 30px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, rgba(255,255,255,.75) 62%); }
.hero-sub { font-size: 17px; color: var(--ink); margin-bottom: 28px; }
.hero-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.hero-points li {
  position: relative; padding: 12px 14px 12px 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); line-height: 1.5;
}
.hero-points li::before {
  content: ''; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.hero-points strong { display: block; color: var(--navy-800); font-size: 16px; }
.hero-points span { font-size: 14px; color: var(--muted); }
.hero-actions { display: grid; gap: 10px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* 업종 그룹 카드 */
.group-grid { display: grid; gap: 14px; }
.group-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; text-decoration: none; color: inherit; box-shadow: var(--shadow);
}
.section-alt .group-card { background: var(--rose-50); }
.group-card img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; }
.group-card h3 { font-size: 18px; margin: 0 0 2px; }
.group-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.group-card .count { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--rose-400); margin-left: 4px; }

/* 서비스·원칙 카드 */
.card-grid { display: grid; gap: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-alt .card { background: var(--rose-50); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .num { font-family: var(--serif); font-size: 13px; font-weight: 700; color: var(--rose-400); display: block; margin-bottom: 6px; }

/* 진행 과정 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 64px;
}
.section-alt .steps li { background: var(--rose-50); }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--navy-800); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.steps strong { display: block; color: var(--navy-800); font-size: 17px; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 15px; }

/* 비용표 */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-table th { background: var(--navy-800); color: var(--white); font-weight: 600; font-size: 14px; padding: 12px 10px; }
.price-table td { padding: 16px 12px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 14px; color: var(--muted); }
.price-table td:first-child { font-weight: 700; color: var(--navy-800); font-size: 15px; white-space: nowrap; }
.price-table td:last-child { font-family: var(--serif); font-weight: 700; color: var(--navy-800); font-size: 17px; white-space: nowrap; text-align: right; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* 성과형 협력 */
.partner { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.partner h2, .partner h3 { font-size: 22px; }
.partner-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.partner-steps li { background: var(--rose-50); border-radius: 12px; padding: 14px 12px; font-size: 14px; font-weight: 600; color: var(--navy-800); }
.partner-steps b { display: block; font-family: var(--serif); color: var(--rose-400); font-size: 13px; }
.partner-result { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.partner-result div { border-radius: 12px; padding: 14px 12px; text-align: center; font-size: 14px; }
.partner-result .ok { background: var(--navy-800); color: var(--white); }
.partner-result .no { background: var(--rose-100); color: var(--muted); }
.partner-result strong { display: block; font-size: 16px; }
.partner .price-note { margin-bottom: 0; }

/* 업종 상세 페이지 */
.breadcrumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; color: var(--rose-400); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.page-head { padding: 18px 0 22px; }
.page-head .eyebrow { margin-bottom: 4px; }
.page-head h1 { font-size: 28px; margin-bottom: 10px; }
.page-head .subtitle { font-family: var(--serif); font-size: 18px; color: var(--navy-600); line-height: 1.55; margin: 0; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 8px; aspect-ratio: 16 / 9; background: var(--rose-100); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article { font-size: 17px; line-height: 1.9; padding: 28px 0 8px; max-width: 720px; }
.article h2 { font-size: 21px; margin: 1.6em 0 .7em; padding-left: 14px; border-left: 3px solid var(--rose-300); }
.article strong { color: var(--navy-800); background: linear-gradient(transparent 64%, var(--rose-200) 64%); }
.article .quotes {
  font-family: var(--serif); color: var(--navy-800); background: var(--white);
  border-radius: 12px; padding: 18px 20px; border: 1px solid var(--line); line-height: 1.8;
}
.article p:last-child { font-family: var(--serif); color: var(--navy-800); font-size: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.inline-cta { background: var(--navy-800); color: var(--white); border-radius: var(--radius); padding: 26px 22px; margin: 28px 0 8px; }
.inline-cta h2 { color: var(--white); font-size: 21px; margin-bottom: 6px; }
.inline-cta p { color: rgba(255,255,255,.82); font-size: 15px; margin-bottom: 18px; }
.inline-cta .btn { background: var(--white); color: var(--navy-800); }
.inline-cta .btn:hover { background: var(--rose-100); }
.related { padding: 8px 0 40px; }
.related h2 { font-size: 19px; }
.related .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-steps li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.mini-steps b { color: var(--rose-400); font-family: var(--serif); }
.more-link { display: inline-block; margin-top: 12px; font-size: 15px; font-weight: 600; }
.aside { display: none; }
.aside .card h3 { font-size: 17px; }

/* 일반 문서(소개·개인정보) */
.doc { max-width: 720px; padding: 28px 0 48px; }
.doc h1 { font-size: 28px; }
.doc h2 { font-size: 20px; margin-top: 1.8em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 1em; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--rose-100); width: 32%; }

/* 푸터 */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.75); padding: 36px 0 28px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.9); }
.footer-brand { font-family: var(--serif); font-size: 18px; color: var(--white); margin-bottom: 4px; }
.footer-slogan { letter-spacing: .2em; font-size: 11px; margin-bottom: 18px; }
.footer-info { margin: 0 0 14px; line-height: 1.9; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 18px; }
.footer-links a { text-decoration: none; }
.footer-industries { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 16px; }
.footer-industries a { color: rgba(255,255,255,.7); text-decoration: none; }
.copyright { font-size: 12px; color: rgba(255,255,255,.5); margin: 0; }

/* 태블릿·데스크톱 */
@media (min-width: 720px) {
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: 40px; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
  .hero-sub { max-width: 640px; }
  .hero-points { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .group-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .section-title { font-size: 32px; }
  .page-head h1 { font-size: 36px; }
  .partner-steps { grid-template-columns: repeat(4, 1fr); }
  .partner { padding: 32px; }
  .price-table td, .price-table th { padding: 18px 20px; font-size: 15px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .cta-bar { display: none; }
  .nav { display: flex; align-items: center; }
  .menu-btn, .drawer { display: none !important; }
  .menu-open { overflow: auto; }
  .group-grid { grid-template-columns: repeat(3, 1fr); }
  .group-card { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
  .group-card img { width: 100%; height: 170px; border-radius: 0; }
  .group-card div { padding: 4px 18px 18px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 64px 20px 20px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
  .hero-img { aspect-ratio: 5 / 2; }
  .aside { display: block; position: sticky; top: 84px; padding-top: 28px; }
  .article { padding-top: 32px; }
}
