/* ═══════════════════════════════════════════
   GUIDE PAGE — 제작 가이드
═══════════════════════════════════════════ */

/* ── 활성 네비 링크 ── */
.nav-active {
  color: var(--accent) !important;
}

/* ── 섹션 교번 배경 ── */
.guide-section-alt {
  background: #fafafa;
}

/* ── 홈페이지 종류 카드 ── */
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.type-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.type-card--featured {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  padding: 4px 12px;
  border-radius: 99px;
  width: fit-content;
}

.type-card--featured .type-badge {
  background: rgba(249, 115, 22, 0.18);
  color: rgba(249, 115, 22, 0.95);
}

.type-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: var(--weight-heading);
  color: #111111;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
}

.type-card--featured .type-title {
  color: #ffffff;
}


.type-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.type-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.75);
}

.type-card--featured .type-list li {
  color: rgba(255, 255, 255, 0.75);
}

.type-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.07);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.type-card--featured .type-list li::before {
  background-color: rgba(255, 255, 255, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.type-example {
  font-size: 13px;
  color: rgba(17, 17, 17, 0.4);
  border-top: 1px solid rgba(17, 17, 17, 0.07);
  padding-top: 16px;
  line-height: 1.6;
}

.type-card--featured .type-example {
  color: rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.type-note {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(17, 17, 17, 0.45);
  text-align: center;
}

/* ── 유지보수 그리드 ── */
.maint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.faq-item:first-child {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-q::after {
  transform: rotate(180deg);
}

.faq-item[open] .faq-q {
  color: var(--accent);
}

.faq-a {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(17, 17, 17, 0.62);
  padding: 0 0 28px 0;
  max-width: 68ch;
}

/* ── FAQ CTA ── */
.faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 64px;
  text-align: center;
}

.faq-cta p {
  font-size: 16px;
  color: rgba(17, 17, 17, 0.55);
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .type-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: -28px;
  }

  .type-card {
    padding: 28px 24px;
  }

  .maint-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: -28px;
  }

  .faq-list {
    margin-top: -28px;
  }

  .faq-q {
    font-size: 15px;
    padding: 22px 0;
  }

  .faq-a {
    font-size: 14px;
    padding-bottom: 22px;
  }

  .faq-cta {
    margin-top: 40px;
    gap: 16px;
  }

  /* 모바일: reveal 애니메이션 즉시 표시 */
  html.js .order-section .type-card,
  html.js .order-section .faq-list {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    animation: none;
  }
}
