/* ===== Design tokens ===== */
:root {
  --navy: #19154E;
  --purple: #7421FC;
  --purple-soft: #8a52ff;
  --lavender: #F6F4FF;
  --footer-bg: #3a2a8c;
  --gray: #6b6b80;
  --text: #19154E;
  --radius: 24px;
  --container: 1240px;
  --header-h: 84px;
  --en: "Manrope", sans-serif;
  --ko: "Nanum Gothic", "Manrope", sans-serif;
}

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

/* 부드러운 스크롤은 Lenis(JS)가 담당. 폴백용 scroll-padding만 유지. */
html { scroll-padding-top: var(--header-h); }

body {
  font-family: var(--ko);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--purple);
  margin-bottom: 18px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(25, 21, 78, 0.08); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-text {
  font-family: var(--en);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-family: var(--en);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--purple); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(25, 21, 78, 0.14);
  padding: 10px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.18s ease, color 0.18s ease;
}
.dropdown-menu a:hover { background: var(--lavender); color: var(--purple); }

.btn-primary {
  font-family: var(--ko);
  font-weight: 700;
  font-size: 15px;
  color: #fff !important;
  background: var(--purple);
  padding: 13px 24px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--purple-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(116, 33, 252, 0.34);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-btn span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px 24px;
  background: #fff;
  border-top: 1px solid #eee;
}
.mobile-menu a {
  font-family: var(--en);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy);
  padding: 12px 4px;
}
.mobile-menu .btn-primary { text-align: center; margin-top: 6px; }
.mobile-menu.open { display: flex; }

/* ===== Reveal animation (애니메이션은 GSAP이 제어) ===== */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  will-change: opacity, transform;
}
/* JavaScript가 꺼져 있으면 모든 콘텐츠를 즉시 표시 */
@media (scripting: none) {
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* 모션 최소화 선호 시 등장 효과 비활성 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 90px) 0 100px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 224, 204, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-title {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 28px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--gray);
  line-height: 1.9;
}
.hero-sub-2 { margin-top: 18px; font-weight: 700; color: var(--navy); }
.hero-img {
  margin-top: 56px;
  width: 100%;
  max-width: 980px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(25, 21, 78, 0.16);
}
.hero-img img { width: 100%; height: auto; }

/* ===== Intro rows ===== */
.intro { padding: 40px 0; }
.intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  background: var(--lavender);
  border-radius: 32px;
  padding: 64px;
  margin-bottom: 40px;
}
.intro-row.reverse .intro-text { order: 2; }
.intro-row.reverse .intro-media { order: 1; }
.intro-text h2 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 24px;
}
.intro-desc { font-size: 17px; color: var(--gray); line-height: 1.9; }
.intro-media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ded6ff, #c9bcff);
  box-shadow: 0 20px 50px rgba(116, 33, 252, 0.18);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Dark CTA banner ===== */
.cta-banner {
  margin: 60px auto;
  max-width: var(--container);
  width: calc(100% - 48px);
  border-radius: 32px;
  background:
    linear-gradient(135deg, #100b2e 0%, #1d1147 45%, #3a1d8c 80%, #5b29c9 100%);
  color: #fff;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 90% at 80% 110%, rgba(140, 80, 255, 0.55), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-label {
  font-family: var(--en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
  opacity: 0.95;
}
.cta-title {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 64px);
  line-height: 1.25;
  margin-bottom: 28px;
}
.cta-sub { font-size: clamp(15px, 2vw, 20px); line-height: 1.9; opacity: 0.9; }

/* ===== Features ===== */
.features { padding: 60px 0 40px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 120px;
}
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }
.feature-media {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 24px 60px rgba(25, 21, 78, 0.14);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-title {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--purple);
  margin-bottom: 28px;
}
.feature-text p { font-size: 16px; color: var(--gray); margin-bottom: 16px; line-height: 1.85; }
.feature-text p.emph { color: var(--navy); font-weight: 700; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li {
  position: relative;
  padding-left: 38px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l4 4 10-10' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ===== Services ===== */
.service { padding: 80px 0 120px; }
.service-head { text-align: center; margin-bottom: 60px; }
.service-head h2 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 20px;
}
.service-sub { font-size: 18px; color: var(--gray); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid #ece8fb;
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(116, 33, 252, 0.16);
  border-color: transparent;
}
.card-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--lavender);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.card-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
}
.service-card > p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 28px; }
.card-link {
  font-weight: 700;
  font-size: 15px;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease;
}
.card-link:hover { gap: 14px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 70px 0 90px;
}
.footer-logo { margin-bottom: 30px; }
.footer-logo .logo-text { color: #fff; }
.footer-info p { font-size: 15px; line-height: 2.1; color: rgba(255, 255, 255, 0.72); }
.footer-info .footer-name { font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 4px; }
.footer-info a:hover { color: #fff; text-decoration: underline; }

/* ===== Floating talk button ===== */
.talk-btn {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 90;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
  transition: transform 0.2s ease;
}
.talk-btn img { width: 120px; height: auto; }
.talk-btn:hover { transform: translateY(-3px) scale(1.03); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .intro-row, .feature-row {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
  }
  .intro-row.reverse .intro-text,
  .intro-row.reverse .intro-media,
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-text { order: 0; }
  .intro-media, .feature-media { order: -1 !important; }
  .feature-row { margin-bottom: 80px; }
  .service-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 70px 22px; }
  .talk-btn img { width: 96px; }
}

@media (max-width: 520px) {
  .hero { padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; }
  .intro-row, .feature-row { padding: 32px 22px; }
  .service-card { padding: 30px 26px; }
}

/* ============================================================
   상세페이지(Detail) 공통 컴포넌트
   ============================================================ */

/* 페이지 히어로 */
.page-hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  text-align: center;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255, 224, 204, 0.5) 0%, rgba(255, 255, 255, 0) 55%);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 60px);
  line-height: 1.25;
  color: var(--navy);
}
.page-hero .lead {
  margin-top: 26px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--gray);
  line-height: 1.9;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  font-family: var(--ko);
  font-weight: 700;
  font-size: 15px;
  color: var(--purple);
  background: #fff;
  border: 1.5px solid var(--purple);
  padding: 13px 24px;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-outline:hover { background: var(--lavender); transform: translateY(-2px); }
.page-hero .hero-figure {
  margin: 56px auto 0;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(25, 21, 78, 0.16);
}

/* 일반 섹션 */
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 18px;
}
.section-head p { font-size: 17px; color: var(--gray); line-height: 1.9; }

/* 좌우 분할 행 (텍스트 + 미디어) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.split + .split { margin-top: 80px; }
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }
.split-text h2 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.32;
  color: var(--navy);
  margin-bottom: 22px;
}
.split-text h2.accent { color: var(--purple); }
.split-text p { font-size: 16px; color: var(--gray); line-height: 1.9; margin-bottom: 14px; }
.split-text p.emph { color: var(--navy); font-weight: 700; }
.split-media {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #ded6ff, #c9bcff);
  box-shadow: 0 24px 56px rgba(116, 33, 252, 0.16);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media.tall { aspect-ratio: 3 / 4; }

/* 3컬럼 특징 카드 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.fcard {
  background: #fff;
  border: 1px solid #ece8fb;
  border-radius: 20px;
  padding: 34px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fcard:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(116, 33, 252, 0.14); }
.fcard .fcard-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--lavender);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.fcard h3 { font-family: var(--ko); font-weight: 800; font-size: 21px; color: var(--navy); margin-bottom: 12px; }
.fcard p { font-size: 15px; color: var(--gray); line-height: 1.8; }

/* 워크플로(번호 단계) */
.workflow-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.workflow-step + .workflow-step { margin-top: 64px; }
.workflow-step.reverse .ws-text { order: 2; }
.workflow-step.reverse .ws-media { order: 1; }
.ws-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--purple); color: #fff;
  font-family: var(--en); font-weight: 800; font-size: 22px;
  margin-bottom: 18px;
}
.ws-tag {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: var(--purple);
  background: var(--lavender);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px; margin-left: 10px;
}
.ws-text h3 { font-family: var(--ko); font-weight: 800; font-size: clamp(24px, 3vw, 34px); color: var(--navy); margin-bottom: 16px; }
.ws-text p { font-size: 16px; color: var(--gray); line-height: 1.9; }
.ws-media { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 56px rgba(25,21,78,0.14); }
.ws-media img { width: 100%; height: 100%; object-fit: cover; }

/* 가격 카드 */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 880px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1px solid #ece8fb; border-radius: 24px; padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.price-card.featured { border-color: var(--purple); box-shadow: 0 24px 60px rgba(116,33,252,0.18); }
.price-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(116,33,252,0.16); }
.price-card .plan { font-family: var(--en); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; color: var(--purple); margin-bottom: 16px; }
.price-card .amount { font-family: var(--ko); font-weight: 800; font-size: 40px; color: var(--navy); margin-bottom: 4px; }
.price-card .amount small { font-size: 20px; }
.price-card .basis { font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.price-list { list-style: none; }
.price-list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--navy); margin-bottom: 12px; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--purple); font-weight: 800;
}

/* FAQ 아코디언 */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e9e5f7; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--ko); font-weight: 700; font-size: 18px; color: var(--navy);
  padding: 26px 44px 26px 4px; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 400; color: var(--purple); transition: transform 0.3s ease;
}
.faq-item.open .faq-q::after { content: "×"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-a p { font-size: 15px; color: var(--gray); line-height: 1.9; padding: 0 4px; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 26px; }

/* 칩 / 키워드 태그 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  font-size: 14px; font-weight: 600; color: var(--purple);
  background: var(--lavender); padding: 8px 16px; border-radius: 999px;
}
.chip.solid { background: var(--purple); color: #fff; }

/* 템플릿 갤러리 — 프레이머식 미리보기 썸네일 */
.template-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tpl {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ece8fb;
  box-shadow: 0 6px 18px rgba(25, 21, 78, 0.06);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.tpl-thumb { display: block; overflow: hidden; background: #f5f5f7; }
.tpl-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.tpl-cap {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  border-top: 1px solid #f0edfb;
}
.tpl:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(116, 33, 252, 0.18); }
.tpl:hover .tpl-thumb img { transform: scale(1.06); }

/* 하단 CTA 밴드 */
.cta-band { padding: 90px 0; text-align: center; background: var(--lavender); }
.cta-band .small { font-family: var(--en); font-weight: 700; letter-spacing: 0.06em; color: var(--purple); margin-bottom: 14px; }
.cta-band h2 { font-family: var(--ko); font-weight: 800; font-size: clamp(26px, 3.6vw, 44px); color: var(--navy); line-height: 1.35; margin-bottom: 30px; }
.cta-band .btn-primary { font-size: 16px; padding: 16px 32px; }

/* 다크 배너 변형(상세페이지) */
.dark-band {
  margin: 0 auto; max-width: var(--container); width: calc(100% - 48px);
  border-radius: 32px; color: #fff; text-align: center;
  background: linear-gradient(135deg, #100b2e 0%, #1d1147 45%, #3a1d8c 80%, #5b29c9 100%);
  padding: 80px 24px; position: relative; overflow: hidden;
}
.dark-band h2 { font-family: var(--ko); font-weight: 800; font-size: clamp(26px, 4vw, 44px); line-height: 1.3; }
.dark-band p { margin-top: 20px; font-size: 17px; line-height: 1.9; opacity: 0.9; }

@media (max-width: 900px) {
  .split, .workflow-step { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-text, .split.reverse .split-media,
  .workflow-step.reverse .ws-text, .workflow-step.reverse .ws-media { order: 0; }
  .split-media, .ws-media { order: -1; }
  .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .template-grid { grid-template-columns: repeat(2, 1fr); }
  .ws-tag { margin-left: 0; }
}

/* ============================================================
   인사이트(블로그 목록) + 블로그 글 페이지
   ============================================================ */

/* 카테고리 뱃지 */
.post-badge {
  display: inline-block;
  font-family: var(--en);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--purple);
  background: var(--lavender);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* 글 목록 그리드 */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.post-card {
  display: block;
  background: #fff;
  border: 1px solid #ece8fb;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(25, 21, 78, 0.12); }
.post-card-thumb { overflow: hidden; aspect-ratio: 16 / 10; background: var(--lavender); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { padding: 28px 30px 32px; }
.post-card-body .post-badge { margin-bottom: 14px; }
.post-card-body h3 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.4;
  color: var(--navy);
  margin-bottom: 10px;
}
.post-card-body .en {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* 글 페이지 헤더 */
.article-header { text-align: center; max-width: 820px; margin: 0 auto; padding: calc(var(--header-h) + 60px) 0 40px; }
.article-header h1 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 18px;
}
.article-header .en-sub { font-size: 16px; color: var(--gray); line-height: 1.6; margin-bottom: 18px; }
.article-header .date { font-size: 14px; color: #9a99ad; font-family: var(--en); font-weight: 600; }

.article-hero {
  max-width: 980px;
  margin: 0 auto 60px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px rgba(25, 21, 78, 0.16);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* 본문 prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--navy);
  line-height: 1.4;
  margin: 52px 0 20px;
}
.prose h3 {
  font-family: var(--ko);
  font-weight: 700;
  font-size: 19px;
  color: var(--purple);
  margin: 32px 0 14px;
}
.prose p {
  font-size: 17px;
  line-height: 1.95;
  color: #3a3a48;
  margin-bottom: 22px;
  white-space: pre-line;
}
.prose p.lead { font-weight: 700; color: var(--navy); }
.prose ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 17px; line-height: 1.8; color: #3a3a48;
}
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.prose blockquote {
  margin: 28px 0; padding: 20px 26px;
  background: var(--lavender);
  border-left: 4px solid var(--purple);
  border-radius: 0 14px 14px 0;
  font-weight: 700; color: var(--navy); line-height: 1.7;
}
.prose .quote-villain {
  margin: 22px 0; padding: 16px 22px;
  background: #fdf2f2; border-left: 4px solid #e05a5a; border-radius: 0 12px 12px 0;
  color: #8a3a3a; font-size: 16px; line-height: 1.7;
}

/* 관련 글 */
.related { background: var(--lavender); padding: 80px 0; margin-top: 90px; }
.related h2 {
  font-family: var(--en); font-weight: 800; font-size: 14px; letter-spacing: 0.1em;
  color: var(--purple); text-align: center; margin-bottom: 40px;
}
.related .post-grid { max-width: 920px; margin: 0 auto; }

/* 구독 섹션 */
.subscribe { text-align: center; padding: 80px 24px; }
.subscribe .small { font-family: var(--en); font-weight: 700; letter-spacing: 0.08em; color: var(--purple); margin-bottom: 14px; }
.subscribe h2 { font-family: var(--ko); font-weight: 800; font-size: clamp(24px, 3.4vw, 38px); color: var(--navy); margin-bottom: 28px; }
.subscribe-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; padding: 14px 18px; border: 1.5px solid #e0dcf0; border-radius: 12px;
  font-size: 15px; font-family: var(--ko); color: var(--navy); outline: none;
}
.subscribe-form input:focus { border-color: var(--purple); }

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; gap: 26px; }
  .related { padding: 56px 0; margin-top: 60px; }
  .subscribe-form { flex-direction: column; }
}

/* ============================================================
   동행하기(Contact) 페이지
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  padding: calc(var(--header-h) + 64px) 0 110px;
}
.contact-left .eyebrow { margin-bottom: 18px; }
.contact-left h1 {
  font-family: var(--en);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.contact-form { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.field {
  width: 100%;
  padding: 16px 18px;
  border: 1.5px solid #e3def4;
  border-radius: 12px;
  font-family: var(--ko);
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field::placeholder { color: #a7a4ba; }
.field:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(116, 33, 252, 0.12); }
textarea.field { min-height: 150px; resize: vertical; line-height: 1.6; }
.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  padding: 17px 24px;
  font-size: 16px;
  margin-top: 6px;
  cursor: pointer;
  border: none;
}
.form-status {
  font-size: 14px;
  padding: 0;
  min-height: 20px;
  transition: all 0.2s ease;
}
.form-status.ok { color: #1f9d55; font-weight: 700; }
.form-status.err { color: #d64545; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.contact-right .biz-label {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--navy);
  margin-bottom: 18px;
}
.contact-right .biz-desc { font-size: 16px; color: var(--gray); line-height: 1.95; margin-bottom: 18px; }
.contact-meta { margin-top: 48px; }
.contact-meta .meta-label {
  font-family: var(--ko);
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-meta .meta-addr { font-size: 16px; color: var(--gray); margin-bottom: 28px; }
.contact-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--en);
  font-weight: 700;
  font-size: 15px;
  color: var(--purple);
  margin-bottom: 12px;
  transition: gap 0.2s ease;
}
.contact-meta a:hover { gap: 14px; }
.contact-meta a span { font-size: 17px; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 48px; padding-bottom: 70px; }
  .contact-right { order: 2; }
  .contact-left { order: 1; }
}

/* 구독 폼 상태 메시지 줄바꿈 */
.subscribe-form { flex-wrap: wrap; }
.subscribe-form .form-status { flex-basis: 100%; text-align: center; margin-top: 4px; }

/* 원본 PNG 로고 마크 — 푸터(어두운 배경)에서는 흰색으로 반전 */
img.logo-mark { object-fit: contain; }
.footer-logo img.logo-mark { filter: brightness(0) invert(1); }

/* 카카오 채널 채팅 버튼 (우측 하단 플로팅) */
.kakao-chat-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
}
.kakao-chat-float img,
.kakao-chat-float a { display: block; }
@media (max-width: 900px) {
  .kakao-chat-float { right: 18px; bottom: 18px; }
}

/* ===== VERSATILE PAGES — 좌측 고정 제목 + 우측 스크롤 카드 (프레이머식) ===== */
.versatile-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}
.versatile-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
}
.versatile-head h2 {
  font-family: var(--ko);
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 18px;
}
.versatile-head .vh-sub { font-size: 17px; color: var(--gray); line-height: 1.9; }
.versatile-wrap .template-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .versatile-wrap { grid-template-columns: 1fr; gap: 28px; }
  .versatile-head { position: static; }
}
