/**
 * Guide Pages — AEO/GEO Optimized
 * The달팽이 대리석연마광택 전문
 * v1.0
 */

/* ==============================================
   KEYFRAME ANIMATIONS
============================================== */

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes progressFill {
  from {
    width: 0%;
  }
  to {
    width: var(--progress-width, 100%);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(196, 170, 123, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(196, 170, 123, 0);
  }
}

@keyframes drawLine {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* ==============================================
   INTERSECTION OBSERVER — .guide-animate
============================================== */

.guide-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.guide-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.guide-animate--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.guide-animate--left.visible {
  opacity: 1;
  transform: translateX(0);
}

.guide-animate--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.guide-animate--right.visible {
  opacity: 1;
  transform: translateX(0);
}

.guide-animate--scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.guide-animate--scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.guide-animate-stagger > *:nth-child(1) { transition-delay: 0s; }
.guide-animate-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.guide-animate-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.guide-animate-stagger > *:nth-child(4) { transition-delay: 0.3s; }
.guide-animate-stagger > *:nth-child(5) { transition-delay: 0.4s; }
.guide-animate-stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ==============================================
   GUIDE HERO
============================================== */

.guide-hero {
  background: linear-gradient(160deg, #0D2018 0%, #1A3A2E 50%, #0D2018 100%);
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.guide-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(196, 170, 123, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.guide-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  animation: fadeInDown 0.6s ease both;
}

.guide-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.guide-hero__breadcrumb a:hover {
  color: rgba(196, 170, 123, 0.9);
}

.guide-hero__breadcrumb-sep {
  opacity: 0.4;
}

.guide-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInDown 0.6s 0.1s ease both;
}

.guide-hero__h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 20px;
  word-break: keep-all;
  animation: fadeInUp 0.7s 0.15s ease both;
}

.guide-hero__answer-box {
  background: rgba(196, 170, 123, 0.1);
  border: 1px solid rgba(196, 170, 123, 0.3);
  border-left: 3px solid #C4AA7B;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 28px 0 32px;
  max-width: 720px;
  animation: pulse 3s 1.5s ease infinite, fadeInUp 0.7s 0.3s ease both;
}

.guide-hero__answer-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.guide-hero__answer-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  word-break: keep-all;
  margin: 0;
}

.guide-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  animation: fadeInUp 0.7s 0.45s ease both;
}

.guide-hero__stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px 24px;
  min-width: 140px;
  text-align: center;
}

.guide-hero__stat-value {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #C4AA7B;
  line-height: 1.1;
  margin-bottom: 6px;
}

.guide-hero__stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* ==============================================
   TABLE OF CONTENTS
============================================== */

.guide-toc {
  background: #F5F3EF;
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 48px;
}

.guide-toc__title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A7A78;
  margin: 0 0 16px;
}

.guide-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 32px;
}

@media (max-width: 640px) {
  .guide-toc__list {
    columns: 1;
  }
}

.guide-toc__item {
  margin-bottom: 8px;
  break-inside: avoid;
}

.guide-toc__link {
  font-size: 14px;
  color: #1C1C1A;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: color 0.2s;
}

.guide-toc__link:hover {
  color: #C4AA7B;
}

.guide-toc__link::before {
  content: attr(data-num);
  font-size: 11px;
  color: #C4AA7B;
  font-weight: 600;
  flex-shrink: 0;
}

/* ==============================================
   GUIDE BODY SECTIONS
============================================== */

.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-section {
  margin-bottom: 60px;
}

.guide-section__heading {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 400;
  color: #1A3A2E;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E0DC;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-section__heading::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: #C4AA7B;
  border-radius: 2px;
  flex-shrink: 0;
}

.guide-section__body {
  font-size: 15px;
  line-height: 1.85;
  color: #2A5040;
  word-break: keep-all;
}

.guide-section__body p {
  margin: 0 0 16px;
}

/* Alternating section animations */
.guide-section:nth-child(odd) {
  /* slides in from left */
}

.guide-section:nth-child(even) {
  /* slides in from right */
}

/* ==============================================
   PROGRESS BAR
============================================== */

.guide-progress-bar {
  height: 4px;
  background: #E2E0DC;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 40px;
}

.guide-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #C4AA7B, #A08850);
  border-radius: 2px;
  width: 0%;
  transition: width 1.2s ease;
}

.guide-progress-bar__fill.visible {
  animation: progressFill 1.5s ease forwards;
  --progress-width: 100%;
}

/* ==============================================
   HOW-TO TIMELINE STEPS
============================================== */

.guide-steps {
  position: relative;
  margin: 48px 0;
}

.guide-steps__title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: #1A3A2E;
  margin: 0 0 36px;
  text-align: center;
}

.guide-steps__timeline {
  position: relative;
  padding-left: 48px;
}

.guide-steps__timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, #C4AA7B, #E2E0DC);
  border-radius: 1px;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.2s ease;
}

.guide-steps__timeline.visible::before {
  transform: scaleY(1);
}

.guide-step {
  position: relative;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.guide-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.guide-step:nth-child(1) { transition-delay: 0.1s; }
.guide-step:nth-child(2) { transition-delay: 0.2s; }
.guide-step:nth-child(3) { transition-delay: 0.3s; }
.guide-step:nth-child(4) { transition-delay: 0.4s; }
.guide-step:nth-child(5) { transition-delay: 0.5s; }
.guide-step:nth-child(6) { transition-delay: 0.6s; }

.guide-step__dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 2px solid #C4AA7B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #C4AA7B;
  z-index: 1;
}

.guide-step__body {
  background: #FAF8F4;
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  padding: 20px 24px;
}

.guide-step__num {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.guide-step__title {
  font-size: 16px;
  font-weight: 600;
  color: #1A3A2E;
  margin: 0 0 8px;
}

.guide-step__desc {
  font-size: 14px;
  line-height: 1.75;
  color: #2A5040;
  margin: 0;
  word-break: keep-all;
}

/* ==============================================
   STATS COUNTER
============================================== */

.guide-stats-band {
  background: linear-gradient(135deg, #1A3A2E, #0D2018);
  border-radius: 12px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  margin: 48px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.guide-stat-item__value {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #C4AA7B;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.guide-stat-item__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* ==============================================
   FAQ ACCORDION
============================================== */

.guide-faq {
  margin: 48px 0;
}

.guide-faq__title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: #1A3A2E;
  margin: 0 0 28px;
  text-align: center;
}

.guide-faq__item {
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.guide-faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #1A3A2E;
  line-height: 1.5;
  transition: background 0.2s;
}

.guide-faq__question:hover {
  background: #FAF8F4;
}

.guide-faq__question[aria-expanded="true"] {
  background: #FAF8F4;
  color: #A08850;
}

.guide-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid #C4AA7B;
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}

.guide-faq__icon::before,
.guide-faq__icon::after {
  content: '';
  position: absolute;
  background: #C4AA7B;
  border-radius: 1px;
}

.guide-faq__icon::before {
  width: 10px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.guide-faq__icon::after {
  width: 1.5px;
  height: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.guide-faq__question[aria-expanded="true"] .guide-faq__icon {
  background: #C4AA7B;
}

.guide-faq__question[aria-expanded="true"] .guide-faq__icon::before,
.guide-faq__question[aria-expanded="true"] .guide-faq__icon::after {
  background: #fff;
}

.guide-faq__question[aria-expanded="true"] .guide-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.guide-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-faq__answer.open {
  max-height: 400px;
}

.guide-faq__answer-inner {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #2A5040;
  word-break: keep-all;
}

/* ==============================================
   RELATED GUIDES
============================================== */

.guide-related {
  margin: 60px 0 40px;
}

.guide-related__title {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #1A3A2E;
  margin: 0 0 24px;
}

.guide-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.guide-related__card {
  background: #FAF8F4;
  border: 1px solid #E2E0DC;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.guide-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #C4AA7B;
}

.guide-related__card-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.guide-related__card-title {
  font-size: 14px;
  font-weight: 500;
  color: #1A3A2E;
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

/* ==============================================
   GUIDE LIST PAGE
============================================== */

.guide-list-hero {
  background: linear-gradient(160deg, #1A3A2E 0%, #0D2018 100%);
  padding: clamp(80px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
  text-align: center;
}

.guide-list-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInDown 0.6s ease both;
}

.guide-list-hero__h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 16px;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.guide-list-hero__desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 0.7s 0.2s ease both;
}

/* Filter Tabs */
.guide-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 40px 0;
}

.guide-filter__btn {
  background: #fff;
  border: 1.5px solid #E2E0DC;
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #1C1C1A;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.guide-filter__btn:hover,
.guide-filter__btn.active {
  background: #C4AA7B;
  border-color: #C4AA7B;
  color: #fff;
}

/* Guide Cards Grid */
.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0;
}

.guide-card {
  background: #fff;
  border: 1px solid #E2E0DC;
  border-radius: 12px;
  padding: 28px 26px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.guide-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
  border-color: #C4AA7B;
}

.guide-card__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C4AA7B;
  text-transform: uppercase;
}

.guide-card__title {
  font-size: 15px;
  font-weight: 500;
  color: #1A3A2E;
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

.guide-card__excerpt {
  font-size: 13px;
  color: #7A7A78;
  line-height: 1.65;
  margin: 0;
  word-break: keep-all;
  flex: 1;
}

.guide-card__tag {
  display: inline-block;
  background: #F5F3EF;
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 11px;
  color: #7A7A78;
  font-weight: 500;
  align-self: flex-start;
}

.guide-card__arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #C4AA7B;
  font-weight: 500;
  margin-top: 4px;
}

/* ==============================================
   GUIDE NAVIGATION
============================================== */

.guide-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid #E2E0DC;
  margin-top: 48px;
}

.guide-page-nav__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1C1C1A;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid #E2E0DC;
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s ease;
}

.guide-page-nav__btn:hover {
  border-color: #C4AA7B;
  color: #A08850;
  background: #FAF8F4;
}

.guide-page-nav__center {
  font-size: 13px;
  color: #7A7A78;
  text-align: center;
}

.guide-page-nav__center a {
  color: #C4AA7B;
  text-decoration: none;
  font-weight: 500;
}

/* ==============================================
   GUIDE CTA
============================================== */

.guide-cta-banner {
  background: linear-gradient(135deg, #1A3A2E 0%, #0D2018 100%);
  border-radius: 14px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 52px);
  text-align: center;
  margin: 60px 0 0;
}

.guide-cta-banner__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.guide-cta-banner__title {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.4;
}

.guide-cta-banner__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
  line-height: 1.7;
  word-break: keep-all;
}

.guide-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C4AA7B;
  color: #1A3A2E;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.guide-cta-banner__btn:hover {
  background: #A08850;
  transform: translateY(-2px);
}

/* ==============================================
   READING PROGRESS INDICATOR
============================================== */

.guide-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #C4AA7B, #A08850);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==============================================
   RESPONSIVE
============================================== */

@media (max-width: 768px) {
  .guide-hero__stats {
    gap: 12px;
  }

  .guide-hero__stat {
    flex: 1;
    min-width: 100px;
    padding: 12px 16px;
  }

  .guide-hero__stat-value {
    font-size: 1.4rem;
  }

  .guide-steps__timeline {
    padding-left: 40px;
  }

  .guide-step__dot {
    left: -32px;
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .guide-steps__timeline::before {
    left: 12px;
  }

  .guide-stats-band {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .guide-cards-grid {
    grid-template-columns: 1fr;
  }

  .guide-toc__list {
    columns: 1;
  }

  .guide-page-nav {
    flex-direction: column;
    gap: 12px;
  }

  .guide-page-nav__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .guide-hero__stats {
    flex-direction: column;
  }

  .guide-hero__stat {
    width: 100%;
  }

  .guide-stats-band {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   HOTFIX: guide-visible → visible 클래스명 통일
   JS가 guide-visible을 추가하므로 양쪽 모두 적용
============================================== */

.guide-animate.guide-visible {
  opacity: 1;
  transform: translateY(0);
}

.guide-animate--left.guide-visible {
  opacity: 1;
  transform: translateX(0);
}

.guide-animate--right.guide-visible {
  opacity: 1;
  transform: translateX(0);
}

.guide-animate--scale.guide-visible {
  opacity: 1;
  transform: scale(1);
}

/* ==============================================
   HTML CLASS → CSS 호환 레이어
   (템플릿 클래스명이 BEM이 아닌 하이픈 방식)
============================================== */

/* --- HERO 영역 --- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #C4AA7B;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.guide-area-tag {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.guide-answer-box {
  background: rgba(196,170,123,0.1);
  border: 1px solid rgba(196,170,123,0.3);
  border-top: 3px solid #C4AA7B;
  border-radius: 6px;
  padding: 24px 28px 20px;
  margin: 28px auto 32px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.guide-answer-icon {
  width: 32px;
  height: 32px;
  background: #C4AA7B;
  color: #1A3A2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-answer-text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  word-break: keep-all;
  margin: 0;
}

/* --- STATS 섹션 --- */
.guide-stats-section {
  background: #F5F3EF;
  padding: clamp(36px,5vw,56px) 0;
}

.guide-stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.guide-stat-card {
  background: #fff;
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  padding: 20px 28px;
  min-width: 160px;
  text-align: center;
  flex: 1 1 160px;
  max-width: 260px;
}

.guide-stat-value {
  display: block;
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.3rem,3vw,1.8rem);
  font-weight: 700;
  color: #C4AA7B;
  line-height: 1.2;
  margin-bottom: 6px;
}

.guide-stat-label {
  display: block;
  font-size: 12px;
  color: #7A7A78;
  letter-spacing: 0.04em;
}

/* --- 레이아웃: TOC + 본문 2컬럼 --- */
.guide-content-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 48px;
}

@media (max-width: 900px) {
  .guide-content-wrap {
    grid-template-columns: 1fr;
  }
}

/* --- TOC --- */
.guide-toc {
  position: sticky;
  top: 80px;
}

.guide-toc-inner {
  padding: 0;
}

.guide-toc-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7A7A78;
  margin: 0 0 16px;
}

.guide-toc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.guide-toc-list li {
  margin-bottom: 8px;
}

.guide-toc-link {
  font-size: 14px;
  color: #1C1C1A;
  text-decoration: none;
  display: block;
  padding: 4px 0;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 0.2s, border-color 0.2s;
}

.guide-toc-link:hover,
.guide-toc-link.active {
  color: #C4AA7B;
  border-left-color: #C4AA7B;
}

.guide-toc-cta {
  margin-top: 20px;
}

.guide-cta-btn {
  display: block;
  background: #C4AA7B;
  color: #1A3A2E;
  text-decoration: none;
  text-align: center;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}

.guide-cta-btn:hover {
  background: #A08850;
}

/* --- 본문 아티클 --- */
.guide-article {
  min-width: 0;
}

.guide-article .guide-section {
  margin-bottom: 56px;
}

.guide-article .guide-section > h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.15rem,2.5vw,1.45rem);
  font-weight: 400;
  color: #1A3A2E;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E0DC;
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-article .guide-section > h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: #C4AA7B;
  border-radius: 2px;
  flex-shrink: 0;
}

.guide-body-text {
  font-size: 15px;
  line-height: 1.9;
  color: #2A5040;
  word-break: keep-all;
  margin: 0;
}

/* --- 타임라인(시공 단계) --- */
.guide-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 52px;
}

.guide-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom,#C4AA7B,#E2E0DC);
  border-radius: 1px;
}

.guide-timeline-item {
  position: relative;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.guide-timeline-num {
  position: absolute;
  left: -44px;
  top: 0;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 2px solid #C4AA7B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #C4AA7B;
  flex-shrink: 0;
  z-index: 1;
}

.guide-timeline-content {
  background: #FAF8F4;
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  padding: 14px 18px;
  flex: 1;
}

.guide-timeline-text {
  font-size: 15px;
  font-weight: 500;
  color: #1A3A2E;
}

/* --- FAQ 아코디언 --- */
.guide-faq-item {
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.guide-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}

.guide-faq-q:hover {
  background: #FAF8F4;
}

.guide-faq-q[aria-expanded="true"] {
  background: #FAF8F4;
}

.guide-faq-q-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #C4AA7B;
  color: #1A3A2E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.guide-faq-q-text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #1A3A2E;
  line-height: 1.5;
}

.guide-faq-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid #C4AA7B;
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s;
}

.guide-faq-arrow::before,
.guide-faq-arrow::after {
  content: '';
  position: absolute;
  background: #C4AA7B;
  border-radius: 1px;
}

.guide-faq-arrow::before {
  width: 8px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.guide-faq-arrow::after {
  width: 1.5px;
  height: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: transform 0.3s, opacity 0.3s;
}

.guide-faq-q[aria-expanded="true"] .guide-faq-arrow::after {
  transform: translate(-50%,-50%) rotate(90deg);
  opacity: 0;
}

.guide-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}

.guide-faq-a-inner {
  padding: 0 18px 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guide-faq-a-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: #E2E0DC;
  color: #7A7A78;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

.guide-faq-a-inner p {
  font-size: 14px;
  line-height: 1.8;
  color: #2A5040;
  word-break: keep-all;
  margin: 0;
}

/* --- 관련 가이드 --- */
.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 16px;
}

.guide-related-card {
  background: #FAF8F4;
  border: 1px solid #E2E0DC;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.guide-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #C4AA7B;
}

.guide-related-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C4AA7B;
  text-transform: uppercase;
}

.guide-related-title {
  font-size: 14px;
  font-weight: 500;
  color: #1A3A2E;
  line-height: 1.5;
  word-break: keep-all;
}

.guide-related-arrow {
  font-size: 13px;
  color: #C4AA7B;
  margin-top: auto;
}

/* --- 이전/다음 내비게이션 --- */
.guide-nav {
  padding: 32px 0;
  border-top: 1px solid #E2E0DC;
  margin-top: 16px;
}

.guide-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.guide-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 14px 18px;
  border: 1px solid #E2E0DC;
  border-radius: 8px;
  background: #fff;
  min-width: 180px;
  max-width: 280px;
  transition: all 0.2s;
}

.guide-nav-btn:hover {
  border-color: #C4AA7B;
  background: #FAF8F4;
}

.guide-nav-prev {
  align-items: flex-start;
}

.guide-nav-next {
  align-items: flex-end;
  text-align: right;
}

.guide-nav-arrow {
  font-size: 16px;
  color: #C4AA7B;
}

.guide-nav-label {
  font-size: 11px;
  color: #7A7A78;
  letter-spacing: 0.06em;
}

.guide-nav-title {
  font-size: 13px;
  font-weight: 500;
  color: #1A3A2E;
  word-break: keep-all;
  line-height: 1.4;
}

.guide-nav-placeholder {
  min-width: 180px;
}

.guide-nav-list-btn {
  font-size: 13px;
  color: #7A7A78;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid #E2E0DC;
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s;
  white-space: nowrap;
}

.guide-nav-list-btn:hover {
  border-color: #C4AA7B;
  color: #C4AA7B;
}

/* --- CTA 밴드 --- */
.cta-band {
  background: linear-gradient(135deg,#1A3A2E 0%,#0D2018 100%);
  padding: clamp(36px,5vw,56px) 0;
  margin-top: 40px;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: 'Noto Serif KR', serif;
  font-size: clamp(1.2rem,2.5vw,1.7rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 8px;
}

.cta-band-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.cta-band-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C4AA7B;
  color: #1A3A2E;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.cta-band-btn:hover {
  background: #A08850;
  transform: translateY(-2px);
}

/* --- 반응형 보완 --- */
@media (max-width: 768px) {
  .guide-stats-grid {
    gap: 12px;
  }
  .guide-stat-card {
    min-width: 120px;
  }
  .guide-nav-inner {
    flex-direction: column;
    gap: 10px;
  }
  .guide-nav-btn,
  .guide-nav-placeholder {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
  .guide-nav-next {
    align-items: flex-start;
    text-align: left;
  }
  .guide-nav-list-btn {
    width: 100%;
    text-align: center;
  }
  .cta-band-inner {
    flex-direction: column;
    text-align: center;
  }
  .guide-timeline {
    padding-left: 44px;
  }
  .guide-timeline-num {
    left: -36px;
    width: 26px;
    height: 26px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .guide-stats-grid {
    flex-direction: column;
  }
  .guide-stat-card {
    max-width: 100%;
  }
  .guide-related-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================
   GUIDE 목록 페이지 (.guide-list-*)
============================================== */

.guide-list-section {
  padding: clamp(48px,7vw,80px) 0;
}

.guide-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 24px;
  margin: 0;
}

.guide-list-card {
  background: #fff;
  border: 1px solid #E2E0DC;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.25s ease;
}

.guide-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.09);
  border-color: #C4AA7B;
}

.guide-list-card-header {
  background: linear-gradient(135deg,#1A3A2E 0%,#0D2018 100%);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-list-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #C4AA7B;
  text-transform: uppercase;
  background: rgba(196,170,123,0.15);
  border: 1px solid rgba(196,170,123,0.3);
  border-radius: 4px;
  padding: 3px 8px;
  flex-shrink: 0;
}

.guide-list-card-body {
  padding: 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-list-card-title {
  font-size: 15px;
  font-weight: 500;
  color: #1A3A2E;
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
}

.guide-list-card-desc {
  font-size: 13px;
  color: #7A7A78;
  line-height: 1.65;
  margin: 0;
  word-break: keep-all;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-list-card-footer {
  padding: 12px 22px 16px;
  border-top: 1px solid #F5F3EF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-list-read-btn {
  font-size: 12px;
  font-weight: 500;
  color: #C4AA7B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.guide-list-read-btn::after {
  content: '→';
  font-size: 13px;
}

/* 반응형 */
@media (max-width: 768px) {
  .guide-list-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 900px) {
  .guide-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
