/* ============================================================
   AutoFix v4 — main.css
   Mobile-first | PHP 8.4 / WP 6.9.x 호환
   ============================================================ */

/* ── 1. CSS 변수 ─────────────────────────────────────────── */
:root {
  --c-primary:   #0284c7;
  --c-primary-d: #0369a1;
  --c-dark:      #1e293b;
  --c-darker:    #0f172a;
  --c-slate:     #334155;
  --c-muted:     #64748b;
  --c-light:     #f0f9ff;
  --c-border:    #e2e8f0;
  --c-white:     #ffffff;
  --c-success:   #03c75a;
  --c-warn:      #f59e0b;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 4px rgba(0,0,0,.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.14);

  --font-base:   'Noto Sans KR', sans-serif;
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semi:     600;
  --fw-bold:     700;
  --fw-black:    900;

  --max-w:       1200px;
  --gap:         24px;
  --transition:  .25s ease;
}

/* ── 2. 리셋 & 베이스 ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-base);
  font-size:   16px;
  color:       var(--c-slate);
  background:  var(--c-white);
  line-height: 1.7;
  overflow-x:  hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-primary-d); }

ul, ol { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-weight: var(--fw-bold);
  color:       var(--c-dark);
  line-height: 1.35;
}

/* ── 3. 레이아웃 유틸 ────────────────────────────────────── */
.container {
  width:   100%;
  max-width: var(--max-w);
  margin:  0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
}

.section-title {
  font-size:   2rem;
  font-weight: var(--fw-black);
  color:       var(--c-dark);
  margin-bottom: 12px;
  text-align:  center;
}
.section-sub {
  font-size:   1.05rem;
  color:       var(--c-muted);
  text-align:  center;
  margin-bottom: 48px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── 4. 버튼 ────────────────────────────────────────────── */
.btn {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  padding:       13px 28px;
  border-radius: var(--radius-md);
  font-weight:   var(--fw-semi);
  font-size:     15px;
  cursor:        pointer;
  border:        2px solid transparent;
  transition:    all var(--transition);
  white-space:   nowrap;
}

.btn-primary {
  background: var(--c-primary);
  color:      var(--c-white);
}
.btn-primary:hover {
  background: var(--c-primary-d);
  color:      var(--c-white);
  transform:  translateY(-2px);
  box-shadow: 0 6px 20px rgba(2,132,199,.35);
}

.btn-outline {
  background:   transparent;
  border-color: var(--c-white);
  color:        var(--c-white);
}
.btn-outline:hover {
  background: var(--c-white);
  color:      var(--c-dark);
}

.btn-dark {
  background: var(--c-dark);
  color:      var(--c-white);
}
.btn-dark:hover {
  background: var(--c-darker);
  color:      var(--c-white);
  transform:  translateY(-2px);
}

.btn-lg { padding: 17px 36px; font-size: 17px; }
.btn-sm { padding: 9px 18px;  font-size: 13px; }

/* ── 5. 헤더 / 내비게이션 ───────────────────────────────── */
.site-header {
  position:   sticky;
  top:        0;
  z-index:    900;
  background: rgba(15, 23, 42, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition);
}

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

.site-logo {
  font-size:   1.4rem;
  font-weight: var(--fw-black);
  color:       var(--c-white);
  letter-spacing: -.5px;
}
.site-logo span { color: var(--c-primary); }
.site-logo:hover { color: var(--c-white); }

.nav-menu {
  display:     flex;
  align-items: center;
  gap:         4px;
}
.nav-menu a {
  color:        rgba(255,255,255,.8);
  font-size:    14px;
  font-weight:  var(--fw-medium);
  padding:      8px 14px;
  border-radius: var(--radius-sm);
  transition:   all var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
  color:      var(--c-white);
  background: rgba(2,132,199,.2);
}

.nav-cta {
  background:   var(--c-primary) !important;
  color:        var(--c-white)   !important;
  border-radius: var(--radius-md) !important;
  padding:      8px 18px !important;
}
.nav-cta:hover {
  background: var(--c-primary-d) !important;
  transform:  translateY(-1px);
}

.hamburger {
  display:    none;
  flex-direction: column;
  gap:        5px;
  cursor:     pointer;
  padding:    6px;
  background: none;
  border:     none;
}
.hamburger span {
  display:  block;
  width:    24px;
  height:   2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger  { display: flex; }
  .nav-menu {
    display:    none;
    position:   fixed;
    top:        68px;
    left:       0;
    right:      0;
    background: var(--c-darker);
    flex-direction: column;
    padding:    24px 20px;
    gap:        4px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 16px; padding: 12px 16px; }
}

/* ── 6. 히어로 — 역동적 애니메이션 ─────────────────────── */
.hero {
  position:   relative;
  min-height: 100vh;
  display:    flex;
  align-items: center;
  overflow:   hidden;
  background: linear-gradient(-45deg, #0f172a, #1a3557, #0c4a6e, #1e293b);
  background-size: 400% 400%;
  animation:  heroGradient 14s ease infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* 파티클 레이어 */
.hero-particles {
  position: absolute;
  inset:    0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particles .p {
  position:      absolute;
  border-radius: 50%;
  background:    rgba(2,132,199,.25);
  animation:     floatUp linear infinite;
}

@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* 그리드 선 오버레이 */
.hero::before {
  content:  '';
  position: absolute;
  inset:    0;
  background-image:
    linear-gradient(rgba(2,132,199,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* 하단 웨이브 */
.hero-wave {
  position:    absolute;
  bottom:      -2px;
  left:        0;
  width:       100%;
  overflow:    hidden;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }

.hero-inner {
  position: relative;
  z-index:  10;
  width:    100%;
}

.hero-badge {
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
  background:    rgba(2,132,199,.2);
  border:        1px solid rgba(2,132,199,.5);
  color:         #7dd3fc;
  font-size:     13px;
  font-weight:   var(--fw-semi);
  padding:       6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation:     fadeInDown .7s ease both;
}
.hero-badge .dot {
  width:         8px;
  height:        8px;
  background:    var(--c-success);
  border-radius: 50%;
  animation:     pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(3,199,90,.5); }
  50%       { box-shadow: 0 0 0 6px rgba(3,199,90,0); }
}

.hero h1 {
  font-size:     clamp(2.2rem, 5vw, 3.8rem);
  font-weight:   var(--fw-black);
  color:         var(--c-white);
  line-height:   1.2;
  margin-bottom: 24px;
  animation:     fadeInDown .8s .1s ease both;
}
.hero h1 .highlight {
  color: var(--c-primary);
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content:    '';
  position:   absolute;
  bottom:     4px;
  left:       0;
  right:      0;
  height:     4px;
  background: var(--c-primary);
  border-radius: 2px;
  opacity:    .4;
}

.hero-sub {
  font-size:     clamp(1rem, 2vw, 1.2rem);
  color:         rgba(255,255,255,.75);
  max-width:     600px;
  margin-bottom: 36px;
  animation:     fadeInDown .8s .2s ease both;
  line-height:   1.8;
}

.hero-actions {
  display:    flex;
  gap:        16px;
  flex-wrap:  wrap;
  margin-bottom: 56px;
  animation:  fadeInDown .8s .3s ease both;
}

.hero-stats {
  display:     flex;
  gap:         40px;
  flex-wrap:   wrap;
  padding-top: 32px;
  border-top:  1px solid rgba(255,255,255,.1);
  animation:   fadeInDown .8s .4s ease both;
}
.hero-stat-item .num {
  font-size:   2rem;
  font-weight: var(--fw-black);
  color:       var(--c-white);
  display:     block;
}
.hero-stat-item .label {
  font-size: 13px;
  color:     rgba(255,255,255,.55);
  display:   block;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 히어로 우측 이미지/카드 */
.hero-visual {
  position: relative;
  animation: fadeInRight .9s .3s ease both;
}
.hero-card {
  background:    rgba(255,255,255,.06);
  border:        1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding:       28px;
  color:         var(--c-white);
  margin-bottom: 16px;
}
.hero-card-live {
  display:     flex;
  align-items: center;
  gap:         10px;
  font-size:   13px;
  color:       #7dd3fc;
  margin-bottom: 16px;
}
.hero-card-live .live-dot {
  width:         10px;
  height:        10px;
  background:    var(--c-success);
  border-radius: 50%;
  animation:     pulse 1.5s infinite;
}
.hero-card-title {
  font-size:   16px;
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}
.hero-card-meta {
  font-size:   13px;
  color:       rgba(255,255,255,.6);
}
.hero-mock-bar {
  height:        8px;
  background:    rgba(255,255,255,.1);
  border-radius: 4px;
  margin-top:    16px;
  overflow:      hidden;
}
.hero-mock-bar-fill {
  height:        100%;
  background:    linear-gradient(90deg, var(--c-primary), #38bdf8);
  border-radius: 4px;
  animation:     barGrow 3s ease infinite alternate;
}
@keyframes barGrow {
  from { width: 30%; }
  to   { width: 85%; }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .hero-stats { gap: 24px; }
  .hero-stat-item .num { font-size: 1.6rem; }
  .hero-visual { display: none; }
}

/* ── 7. 페인 섹션 ─────────────────────────────────────────── */
.pain-section {
  background: #f8fafc;
}

.pain-card {
  background:    var(--c-white);
  border:        1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding:       28px 24px;
  display:       flex;
  gap:           16px;
  align-items:   flex-start;
  box-shadow:    var(--shadow-sm);
  transition:    all var(--transition);
}
.pain-card:hover {
  border-color: var(--c-primary);
  box-shadow:   var(--shadow-md);
  transform:    translateY(-3px);
}

.pain-icon {
  font-size:     2rem;
  flex-shrink:   0;
  line-height:   1;
}
.pain-card h3 {
  font-size:     1rem;
  color:         var(--c-dark);
  margin-bottom: 6px;
}
.pain-card p {
  font-size: 14px;
  color:     var(--c-muted);
}

.pain-vs {
  text-align:    center;
  margin:        48px 0;
  position:      relative;
}
.pain-vs::before {
  content:    '';
  position:   absolute;
  top:        50%;
  left:       0;
  right:      0;
  height:     1px;
  background: var(--c-border);
}
.pain-vs span {
  position:      relative;
  background:    #f8fafc;
  padding:       0 20px;
  font-size:     14px;
  color:         var(--c-muted);
  font-weight:   var(--fw-semi);
}

/* ── 8. 솔루션 섹션 ────────────────────────────────────────── */
.solution-section {
  background: var(--c-white);
}

.solution-step {
  display:     flex;
  gap:         32px;
  align-items: center;
  padding:     40px 0;
  border-bottom: 1px solid var(--c-border);
}
.solution-step:last-child { border-bottom: none; }
.solution-step.reverse    { flex-direction: row-reverse; }

.step-num {
  font-size:   4rem;
  font-weight: var(--fw-black);
  color:       var(--c-border);
  flex-shrink: 0;
  width:       80px;
  text-align:  center;
  line-height: 1;
}
.step-body h3 {
  font-size:     1.4rem;
  margin-bottom: 12px;
}
.step-body p {
  color:         var(--c-muted);
  margin-bottom: 16px;
}
.step-tag {
  display:       inline-block;
  background:    var(--c-light);
  color:         var(--c-primary);
  font-size:     12px;
  font-weight:   var(--fw-semi);
  padding:       4px 12px;
  border-radius: 100px;
  border:        1px solid rgba(2,132,199,.3);
}

@media (max-width: 640px) {
  .solution-step, .solution-step.reverse { flex-direction: column; }
  .step-num { font-size: 2.5rem; width: auto; }
}

/* ── 9. 기능 카드 ──────────────────────────────────────────── */
.features-section { background: var(--c-light); }

.feature-card {
  background:    var(--c-white);
  border-radius: var(--radius-lg);
  padding:       32px 28px;
  box-shadow:    var(--shadow-sm);
  border:        1px solid var(--c-border);
  transition:    all var(--transition);
}
.feature-card:hover {
  transform:  translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary);
}

.feature-icon {
  width:         56px;
  height:        56px;
  background:    var(--c-light);
  border-radius: var(--radius-md);
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     1.8rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size:     1.1rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size:  14px;
  color:      var(--c-muted);
  line-height: 1.7;
}

/* ── 10. 통계 섹션 ─────────────────────────────────────────── */
.stats-section {
  background: var(--c-dark);
  color:      var(--c-white);
}
.stats-section .section-title { color: var(--c-white); }
.stats-section .section-sub   { color: rgba(255,255,255,.6); }

.stat-card {
  text-align:    center;
  padding:       32px 20px;
  border:        1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  background:    rgba(255,255,255,.04);
  transition:    all var(--transition);
}
.stat-card:hover {
  background:   rgba(2,132,199,.15);
  border-color: var(--c-primary);
}
.stat-card .big-num {
  font-size:   3rem;
  font-weight: var(--fw-black);
  color:       var(--c-primary);
  display:     block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .stat-label {
  font-size: 14px;
  color:     rgba(255,255,255,.6);
}

/* ── 11. HOW IT WORKS ───────────────────────────────────────── */
.how-section { background: var(--c-white); }

.timeline {
  position:   relative;
  max-width:  720px;
  margin:     0 auto;
}
.timeline::before {
  content:    '';
  position:   absolute;
  top:        0;
  bottom:     0;
  left:       28px;
  width:      2px;
  background: var(--c-border);
}

.timeline-item {
  display:     flex;
  gap:         24px;
  margin-bottom: 40px;
  position:    relative;
}
.timeline-dot {
  width:         56px;
  height:        56px;
  background:    var(--c-primary);
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         var(--c-white);
  font-weight:   var(--fw-black);
  font-size:     1.1rem;
  flex-shrink:   0;
  position:      relative;
  z-index:       1;
}
.timeline-content {
  padding:    10px 0;
  flex:       1;
}
.timeline-content h3 {
  font-size:     1.05rem;
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 14px;
  color:     var(--c-muted);
}

/* ── 12. CTA 섹션 ───────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--c-darker) 0%, #0c4a6e 100%);
  color:      var(--c-white);
  text-align: center;
  position:   relative;
  overflow:   hidden;
}
.cta-section::before {
  content:  '';
  position: absolute;
  top:      -50%;
  left:     -50%;
  width:    200%;
  height:   200%;
  background: radial-gradient(circle, rgba(2,132,199,.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color:         var(--c-white);
  font-size:     clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.cta-section p {
  color:         rgba(255,255,255,.7);
  font-size:     1.1rem;
  margin-bottom: 36px;
}
.cta-note {
  margin-top: 20px;
  font-size:  13px;
  color:      rgba(255,255,255,.45);
}

/* 긴급성 배너 */
.urgency-bar {
  background:  var(--c-warn);
  color:       var(--c-darker);
  text-align:  center;
  font-size:   14px;
  font-weight: var(--fw-semi);
  padding:     10px 20px;
}

/* ── 13. 포스트 카드 (정비사례) ──────────────────────────── */
.post-card {
  background:    var(--c-white);
  border:        1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow:      hidden;
  box-shadow:    var(--shadow-sm);
  transition:    all var(--transition);
  display:       flex;
  flex-direction: column;
}
.post-card:hover {
  transform:   translateY(-5px);
  box-shadow:  var(--shadow-lg);
  border-color: var(--c-primary);
}
.post-card-thumb {
  aspect-ratio: 16/9;
  overflow:     hidden;
}
.post-card-thumb img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.06); }

.post-card-body {
  padding:        20px;
  flex:           1;
  display:        flex;
  flex-direction: column;
}
.post-card-cat {
  font-size:     11px;
  font-weight:   var(--fw-semi);
  color:         var(--c-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.post-card-title {
  font-size:     1rem;
  color:         var(--c-dark);
  font-weight:   var(--fw-bold);
  margin-bottom: 8px;
  line-height:   1.5;
  display:       -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:      hidden;
}
.post-card-excerpt {
  font-size:  13px;
  color:      var(--c-muted);
  flex:       1;
  display:    -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:   hidden;
  margin-bottom: 16px;
}
.post-card-meta {
  display:     flex;
  align-items: center;
  gap:         12px;
  font-size:   12px;
  color:       var(--c-muted);
}
.post-card-meta .read-more {
  margin-left:  auto;
  color:        var(--c-primary);
  font-weight:  var(--fw-semi);
  font-size:    13px;
}

/* AI 리포트 배지 */
.ai-badge {
  display:       inline-flex;
  align-items:   center;
  gap:           6px;
  background:    var(--c-light);
  color:         var(--c-primary);
  font-size:     11px;
  font-weight:   var(--fw-semi);
  padding:       3px 10px;
  border-radius: 100px;
  border:        1px solid rgba(2,132,199,.3);
  margin-bottom: 8px;
}

/* ── 14. 아카이브 페이지 ─────────────────────────────────── */
.archive-header {
  background:    var(--c-dark);
  color:         var(--c-white);
  padding:       48px 0 40px;
}
.archive-header h1 {
  color:         var(--c-white);
  font-size:     2rem;
  margin-bottom: 8px;
}
.archive-header p {
  color: rgba(255,255,255,.6);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 48px;
}
@media (max-width: 960px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts-grid { grid-template-columns: 1fr; } }

/* ── 15. 단일 포스트 ─────────────────────────────────────── */
.single-header {
  background:    var(--c-dark);
  padding:       48px 0 40px;
}
.single-header .post-title {
  color:         var(--c-white);
  font-size:     clamp(1.4rem, 3vw, 2rem);
  line-height:   1.35;
  margin-bottom: 12px;
}
.single-header .post-meta {
  display:     flex;
  gap:         16px;
  flex-wrap:   wrap;
  font-size:   13px;
  color:       rgba(255,255,255,.55);
}

.single-content {
  max-width:  800px;
  margin:     0 auto;
  padding:    48px 20px;
}

/* GAS v5.6.8 생성 콘텐츠 스타일 */
.single-content .autofix-report h2 {
  font-size:      1.3rem !important;
  font-weight:    700   !important;
  color:          #1e293b !important;
  margin:         24px 0 10px !important;
  padding-bottom: 8px !important;
  border-bottom:  2px solid #0284c7 !important;
}
.single-content .autofix-report h3 {
  font-size:      1.1rem !important;
  color:          #1e293b !important;
  margin:         20px 0 8px !important;
}
.single-content .autofix-report strong {
  color:       #0284c7 !important;
  font-weight: 700 !important;
}
.single-content .autofix-report p  { color: #334155; line-height: 1.8; margin-bottom: 12px; }
.single-content .autofix-report li { color: #334155; line-height: 1.8; margin-bottom: 6px; }

/* CTA 카드 화이트 텍스트 강제 */
.autofix-cta,
.single-content .autofix-cta {
  background:    #1e293b !important;
  border-radius: 12px;
  padding:       24px;
  color:         #ffffff !important;
}
.autofix-cta h3,
.single-content .autofix-cta h3 { color: #ffffff !important; }
.autofix-cta p,
.single-content .autofix-cta p  { color: #ffffff !important; }

/* 관련 포스트 */
.related-posts {
  background:    #f8fafc;
  padding:       48px 0;
  margin-top:    0;
}
.related-posts h2 {
  font-size:     1.3rem;
  margin-bottom: 24px;
  text-align:    center;
}

/* ── 16. 브레드크럼 ──────────────────────────────────────── */
.breadcrumb {
  padding:   12px 0;
  font-size: 13px;
}
.breadcrumb ol {
  display:  flex;
  gap:      8px;
  flex-wrap: wrap;
}
.breadcrumb li { color: rgba(255,255,255,.5); }
.breadcrumb li::after { content: '/'; margin-left: 8px; }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }

/* ── 17. 페이지네이션 ────────────────────────────────────── */
.pagination {
  display:     flex;
  justify-content: center;
  gap:         8px;
  margin:      48px 0;
}
.page-numbers {
  display:       inline-flex;
  align-items:   center;
  justify-content: center;
  width:         40px;
  height:        40px;
  border:        1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size:     14px;
  color:         var(--c-slate);
  transition:    all var(--transition);
}
.page-numbers:hover,
.page-numbers.current {
  background:   var(--c-primary);
  border-color: var(--c-primary);
  color:        var(--c-white);
}
.page-numbers.prev, .page-numbers.next { width: auto; padding: 0 16px; }

/* ── 18. 푸터 ────────────────────────────────────────────── */
.site-footer {
  background: var(--c-darker);
  color:      rgba(255,255,255,.6);
  padding:    56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  font-size:   1.5rem;
  font-weight: var(--fw-black);
  color:       var(--c-white);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--c-primary); }
.footer-desc {
  font-size:   14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-contact p {
  font-size:   13px;
  margin-bottom: 4px;
}
.footer-contact strong { color: var(--c-white); }

.footer-col h4 {
  color:         var(--c-white);
  font-size:     14px;
  font-weight:   var(--fw-semi);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a  { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
  display:      flex;
  align-items:  center;
  justify-content: space-between;
  padding-top:  24px;
  border-top:   1px solid rgba(255,255,255,.08);
  font-size:    12px;
  flex-wrap:    wrap;
  gap:          12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--c-white); }

/* 플로팅 CTA */
.floating-cta {
  position:    fixed;
  bottom:      28px;
  right:       24px;
  z-index:     800;
  display:     flex;
  flex-direction: column;
  gap:         10px;
}
.floating-btn {
  width:         52px;
  height:        52px;
  border-radius: 50%;
  display:       flex;
  align-items:   center;
  justify-content: center;
  font-size:     22px;
  box-shadow:    0 4px 16px rgba(0,0,0,.2);
  text-decoration: none;
  transition:    all var(--transition);
}
.floating-btn:hover { transform: translateY(-3px) scale(1.06); }
.floating-kakao { background: #fee500; color: #000; }
.floating-tel   { background: var(--c-primary); color: var(--c-white); }

/* ── 19. 파트너 섹션 ─────────────────────────────────────── */
.partners-section { background: #f8fafc; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 768px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

.partner-card {
  background:    var(--c-white);
  border:        1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding:       20px;
  text-align:    center;
  transition:    all var(--transition);
}
.partner-card:hover {
  border-color: var(--c-primary);
  box-shadow:   var(--shadow-md);
}
.partner-card h4 {
  font-size:     15px;
  margin-bottom: 4px;
}
.partner-card p {
  font-size: 12px;
  color:     var(--c-muted);
}

/* ── 20. FAQ ───────────────────────────────────────────────── */
.faq-item {
  border:        1px solid var(--c-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow:      hidden;
}
.faq-q {
  display:       flex;
  align-items:   center;
  justify-content: space-between;
  padding:       20px 24px;
  cursor:        pointer;
  font-weight:   var(--fw-semi);
  color:         var(--c-dark);
  background:    var(--c-white);
  transition:    background var(--transition);
  user-select:   none;
}
.faq-q:hover   { background: #f8fafc; }
.faq-q.open    { color: var(--c-primary); }
.faq-arrow {
  font-size: 20px;
  transition: transform var(--transition);
  color:     var(--c-muted);
  flex-shrink: 0;
}
.faq-q.open .faq-arrow { transform: rotate(45deg); color: var(--c-primary); }
.faq-a {
  display:  none;
  padding:  0 24px 20px;
  color:    var(--c-muted);
  font-size: 14px;
  line-height: 1.8;
  background: var(--c-white);
}
.faq-a.open { display: block; }

/* ── 21. 404 페이지 ──────────────────────────────────────── */
.error-page {
  min-height: 70vh;
  display:    flex;
  align-items: center;
  text-align: center;
}
.error-page .big-404 {
  font-size:   8rem;
  font-weight: var(--fw-black);
  color:       var(--c-border);
  line-height: 1;
  margin-bottom: 16px;
}

/* ── 22. 반응형 보조 ─────────────────────────────────────── */
.hide-mobile { display: block; }
.show-mobile { display: none; }
@media (max-width: 640px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
}

/* ── 23. 스크롤 페이드인 ─────────────────────────────────── */
.reveal {
  opacity:    0;
  transform:  translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity:   1;
  transform: translateY(0);
}
