/* =========================================
   GUIDE PAGE 전용 스타일 (이용 가이드)
   ========================================= */

body.page-guide {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  margin: 0;
  padding: 0;
  color: #1a1a1a;
  padding-bottom: 110px;
}
body.page-guide * { box-sizing: border-box; }
body.page-guide img { max-width: 100%; display: block; }

/* ========== CUSTOM HERO (다크 배경 + 흰 텍스트) ========== */
body.page-guide .custom-hero {
  position: relative;
  width: 100%;
  min-height: 1280px;
  background:
    linear-gradient(135deg, rgba(20, 20, 30, 0.92) 0%, rgba(40, 20, 40, 0.88) 50%, rgba(20, 20, 30, 0.92) 100%),
    radial-gradient(ellipse at top right, rgba(255, 20, 147, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(219, 39, 119, 0.15) 0%, transparent 60%),
    #0a0a14;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 124px;
  padding-bottom: 80px;
  overflow: hidden;
}
body.page-guide .custom-hero::before {
  content: '';
  position: absolute;
  top: 5%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 20, 147, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
body.page-guide .custom-hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}
body.page-guide .custom-hero-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
body.page-guide .custom-hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  transform: translateY(45px);
}
body.page-guide .custom-hero-content {
  color: #fff;
  max-width: 1000px;
}
body.page-guide .hero-eyebrow {
  font-family: 'Archivo', 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  display: block;
}
body.page-guide .custom-hero .hero-title {
  font-family: 'Archivo', 'Pretendard', sans-serif;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 40px 0;
  word-break: keep-all;
}
body.page-guide .hero-subtitle {
  font-family: 'Archivo', 'Pretendard', sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 40px 0;
  word-break: keep-all;
}
body.page-guide .hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
body.page-guide .hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Archivo', 'Pretendard', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  background: #ff1493;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
body.page-guide .hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 20, 147, 0.4);
}
body.page-guide .btn-text-pc { display: inline; }
body.page-guide .btn-text-mobile { display: none; }

/* ========== MOBILE ONLY IMAGE 섹션 ========== */
.guide-mobile-image {
  display: none;
  background: #fff;
  text-align: center;
  padding: 0;
}
.guide-mobile-image img {
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .guide-mobile-image {
    display: block;
  }
}

/* ========== MAIN CONTENT (기사 본문) ========== */
.guide-content {
  background: #fff;
  padding: 35px 15px 80px;
}
.guide-container {
  max-width: 1235px;
  margin: 0 auto;
  padding: 0;
}

/* 배너 이미지 */
.guide-banner {
  width: 100%;
  margin: 24px 0 42px;
  overflow: hidden;
  border-radius: 0;
}
.guide-banner img {
  width: 100%;
  aspect-ratio: 1920 / 400;
  height: auto;
  object-fit: cover;
  display: block;
}

body.page-guide:not(.page-service) .guide-content {
  padding-bottom: 6px;
}

body.page-service .guide-content {
  padding-top: 61px;
  padding-bottom: 214px;
}

body.page-service .guide-text-block h3 {
  margin-top: 24px;
}

body.page-service .guide-text-block hr {
  margin: 10px 0 16px 0;
}

body.page-service .guide-text-block p {
  line-height: 1.65;
  margin-bottom: 6px;
}

/* 텍스트 블록 */
.guide-text-block {
  max-width: 1235px;
  margin: 0 auto;
  padding: 0;
  word-break: keep-all;
}
.guide-text-block h2 {
  font-size: 36px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 40px 0 0 0;
  line-height: 1.4;
  letter-spacing: -1px;
}
.guide-text-block h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 40px 0 0 0;
  line-height: 1.4;
  letter-spacing: -0.5px;
}
.guide-text-block hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0 24px 0;
}
.guide-text-block p {
  font-size: 18px;
  color: #1a1a1a;
  line-height: 2;
  margin: 0 0 12px 0;
  word-break: keep-all;
}
.guide-text-block p strong {
  color: #db2777;
  font-weight: 700;
}
.guide-text-block p u {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(219, 39, 119, 0.3);
}

/* 정렬된 리스트 (안의 h3 + hr + p 패턴용) */
.guide-ordered {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-ordered > li {
  margin: 0;
}

/* ========== FLOATING CTA (이전 페이지와 동일) ========== */
body.page-guide .floBanPc1 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
}
body.page-guide .floBanPc1 .float {
  width: 100%;
  display: flex;
  justify-content: center;
}
body.page-guide .floBanPc1 .float-container {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  width: 100%;
  max-width: 1200px;
  pointer-events: auto;
}
body.page-guide .float-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
  position: relative;
  animation: floatBlinkG 1.5s infinite alternate;
}
@keyframes floatBlinkG {
  from { opacity: 1; }
  to { opacity: 0.85; }
}
body.page-guide .float-btn-sms {
  background: linear-gradient(135deg, #ff8a3d 0%, #f56b3a 60%, #e8504f 100%);
}
body.page-guide .float-btn-call {
  background: linear-gradient(135deg, #2dd4bf 0%, #0ea5e9 60%, #1e6bdc 100%);
}
body.page-guide .float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  animation-play-state: paused;
}
body.page-guide .float-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.page-guide .float-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
body.page-guide .float-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}
body.page-guide .float-num {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
body.page-guide .float-arrow {
  flex-shrink: 0;
  opacity: 0.95;
}
body.page-guide .float-btn:hover .float-arrow {
  transform: translateX(4px);
}

/* ========== RESPONSIVE (imweb 기준: 991px / 767px) ========== */
@media (max-width: 1199px) {
  body.page-guide .custom-hero { min-height: 980px; padding-top: 110px; padding-bottom: 70px; }
  body.page-guide .custom-hero .hero-title { font-size: 56px; }
}

@media (max-width: 991px) {
  body.page-guide .custom-hero { min-height: 700px; padding-top: 100px; padding-bottom: 60px; }
  body.page-guide .custom-hero .hero-title { font-size: 44px; }
  body.page-guide .hero-subtitle { font-size: 17px; }
  .guide-text-block { padding: 0 24px; }
  .guide-text-block h2 { font-size: 30px; }
  .guide-text-block h3 { font-size: 22px; }
  .guide-text-block p { font-size: 16px; line-height: 1.9; }
  .guide-banner { margin: 32px 0; }
}

@media (max-width: 767px) {
  body.page-guide .custom-hero {
    min-height: 700px;
    padding-top: 80px;
    padding-bottom: 50px;
  }
  body.page-guide .custom-hero-overlay { padding: 0 24px; text-align: center; }
  body.page-guide .custom-hero-content { max-width: 100%; margin: 0 auto; }
  body.page-guide .custom-hero .hero-title { font-size: 32px; line-height: 1.3; margin-bottom: 24px; }
  body.page-guide .hero-subtitle { font-size: 14px; margin-bottom: 28px; }
  body.page-guide .hero-eyebrow { font-size: 11px; margin-bottom: 14px; }
  body.page-guide .hero-cta-group { justify-content: center; }
  body.page-guide .hero-btn-primary { padding: 14px 28px; font-size: 16px; }
  body.page-guide .btn-text-pc { display: none; }
  body.page-guide .btn-text-mobile { display: inline; }

  .guide-content { padding: 23px 15px 50px; }
  body.page-service .guide-mobile-image { display: none; }
  body.page-guide:not(.page-service) .guide-content { padding-bottom: 279px; }
  body.page-service .custom-hero-overlay { transform: translateY(29px); }
  body.page-service .guide-content { padding-top: 23px; padding-bottom: 156px; }
  body.page-service .guide-text-block p { line-height: 1.7; }
  .guide-container { padding: 0; }
  .guide-text-block { padding: 0; }
  .guide-text-block h2 { font-size: 24px; margin-top: 30px; }
  .guide-text-block h3 { font-size: 20px; margin-top: 30px; }
  .guide-text-block p { font-size: 15px; line-height: 1.9; }
  .guide-banner { margin: 24px 0; border-radius: 0; }

  body.page-guide .floBanPc1 .float-container {
    gap: 0;
    padding: 0;
  }
  body.page-guide .float-btn {
    border-radius: 0;
    padding: 12px 14px;
    gap: 10px;
  }
  body.page-guide .float-icon { width: 40px; height: 40px; }
  body.page-guide .float-icon svg { width: 28px; height: 28px; }
  body.page-guide .float-label { font-size: 11px; }
  body.page-guide .float-num { font-size: 18px; }
  body.page-guide .float-arrow svg { width: 22px; height: 22px; }
}
