@charset "UTF-8";
/* ============================
   OFFLINE PT — HERO SECTION
=============================== */
.offline-hero-section {
  position: relative;
  width: 100%;
  height: 75vh;
  padding-top: 0px;
  background: url("../images/offline-hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.offline-hero-section .inner {
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.offline-hero-section .hero-sub {
  font-size: 18px;
  opacity: 0.9;
  margin-top: 10px;
}
.offline-hero-section .hero-title {
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

/* 모바일 */
@media (max-width: 768px) {
  .offline-hero-section {
    height: 68vh;
    margin-bottom: 40px;
  }
  .offline-hero-section .hero-title {
    font-size: 36px;
  }
  .offline-hero-section .hero-sub {
    font-size: 16px;
  }
}
/* ============================
   Section Title with Underline
=============================== */
.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 50px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}

.section-underline {
  width: 0;
  height: 1px;
  background: #fff;
  margin: 20px auto 0;
  animation: sectionUnderlineGrow 1.8s ease forwards;
}

@keyframes sectionUnderlineGrow {
  0% {
    width: 0;
  }
  50% {
    width: 0;
  }
  100% {
    width: 350px;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 50px;
  }
}
/* ============================
   TABLET FIX — Section Underline Spacing
============================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-title {
    margin-bottom: 26px;
  }
  .section-underline {
    margin-top: 4px;
  }
}
/* ============================
   VARIABLES
=============================== */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #9b9b9b;
  --cream: #f2f2e9;
  --accent: #cba77c;
  --container: 1200px;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ============================
   MAIN CONTENT
=============================== */
.offline-content-section {
  background: #000;
  margin-top: -250px;
  /* 설명 박스 */
  /* Feature Grid */
  /* RESPONSIVE */
  /* Lead Target 구분 세로선 */
  /* Step Intro */
  /* ============================
     STEP (오프라인 PT · 영상+텍스트)
  =============================== */
  /* Reverse (왼쪽/오른쪽 반전) */
  /* MOBILE */
  /* PC */
  /* ===============================
     📱 모바일에서 영상 축소 + 정사각형 유지
  ================================== */
}
.offline-content-section .inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 20px;
  color: var(--text);
}
.offline-content-section .desc-box {
  text-align: center;
  margin-bottom: 70px;
}
.offline-content-section .desc-box .section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}
.offline-content-section .desc-box .section-text {
  color: #bdbdbd;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.7;
}
.offline-content-section .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offline-content-section .feature-grid .feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 28px 22px;
  border-radius: 10px;
  text-align: center;
  transition: 0.25s ease;
}
.offline-content-section .feature-grid .feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}
.offline-content-section .feature-grid .feature-item p {
  color: #cfcfcf;
  line-height: 1.6;
  font-size: 15px;
}
.offline-content-section .feature-grid .feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.4);
}
@media (max-width: 1024px) {
  .offline-content-section .offline-content-section .feature-grid {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .offline-content-section .offline-content-section .inner {
    padding: 40px 18px;
  }
  .offline-content-section .offline-content-section .desc-box .section-title {
    font-size: 22px;
  }
  .offline-content-section .offline-content-section .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .offline-content-section .offline-content-section .feature-grid .feature-item {
    padding: 24px 18px;
  }
  .offline-content-section .offline-content-section .feature-grid .feature-item h3 {
    font-size: 18px;
  }
  .offline-content-section .offline-content-section .feature-grid .feature-item p {
    font-size: 14px;
  }
}
.offline-content-section .lead-target-divider {
  margin-top: -50px;
  display: flex;
  justify-content: center;
  padding: 12px 0 24px;
}
.offline-content-section .lead-target-divider .divider-line {
  width: 2px;
  height: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
}
@keyframes drawDivider {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 75px;
    opacity: 1;
  }
}
.offline-content-section .lead-target-divider.fade-up.show .divider-line {
  animation: drawDivider 0.9s ease forwards;
  animation-delay: 0.15s;
}
.offline-content-section .offline-target-section {
  background: #000;
  padding: 20px 20px;
  color: #fff;
}
.offline-content-section .offline-target-section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 0px;
}
.offline-content-section .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 60px;
}
.offline-content-section .section-title span {
  color: #9dff00; /* Glow 포인트 */
}
.offline-content-section .target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.offline-content-section .target-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}
.offline-content-section .target-card:hover {
  border-color: #9dff00;
  transform: translateY(-6px);
}
.offline-content-section .target-card p {
  font-size: 18px;
  line-height: 1.6;
}
.offline-content-section .target-card strong {
  color: #9dff00;
}
@media (max-width: 768px) {
  .offline-content-section .target-grid {
    grid-template-columns: 1fr;
  }
  .offline-content-section .section-title {
    font-size: 26px;
    margin-top: -25px;
  }
}
.offline-content-section .step-intro {
  text-align: center;
  margin: 120px 0 72px;
  margin-top: 50px;
}
.offline-content-section .step-intro-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 14px;
}
.offline-content-section .step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}
.offline-content-section .step .step__media {
  flex: 0 0 auto;
}
.offline-content-section .step .step__media video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.offline-content-section .step .step-text {
  color: #fff;
}
.offline-content-section .step .step-text h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--cream);
}
.offline-content-section .step .step-text p {
  color: #cfcfcf;
  line-height: 1.7;
  font-size: 16px;
  max-width: 520px;
}
.offline-content-section .step__text .step__meta {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: 1px;
  opacity: 0.8;
}
.offline-content-section .step__text .step__title {
  font-size: 22px;
  margin-bottom: 16px;
}
.offline-content-section .step__text .step__desc {
  line-height: 1.7;
  color: #cfcfcf;
}
.offline-content-section .step.step--reverse {
  grid-template-columns: 1fr 1fr;
}
.offline-content-section .step.step--reverse {
  direction: rtl;
}
.offline-content-section .step.step--reverse > * {
  direction: ltr;
}
@media (max-width: 768px) {
  .offline-content-section {
    /* reverse 시 모바일에서는 아래→위 순서 유지 */
  }
  .offline-content-section .step {
    grid-template-columns: 1fr;
    gap: 0px;
    margin-bottom: 50px;
    margin-top: 50px;
  }
  .offline-content-section .step .step__media {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .offline-content-section .step,
  .offline-content-section .step.step--reverse {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }
}
@media (max-width: 768px) {
  .offline-content-section .step.step--reverse {
    direction: ltr !important;
  }
}
@media (min-width: 1024px) {
  .offline-content-section .step__video {
    max-width: 520px;
  }
}
@media (max-width: 768px) {
  .offline-content-section .step__media {
    width: 100%;
    max-width: 320px; /* 🔥 영상 전체 크기를 조절하는 핵심 */
    aspect-ratio: 1/1; /* 🔥 강제 정사각형 유지 */
    overflow: hidden; /* 잘리는 부분 안 보이게 */
    margin: 0 auto; /* 가운데 정렬 */
    border-radius: 16px; /* 이미 다른 스텝에서도 쓴 radius 있으면 동일하게 */
  }
  .offline-content-section .step__media video {
    max-width: 300px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    -o-object-fit: cover;
       object-fit: cover; /* 🔥 비율 깨짐 방지하면서 꽉 채우기 */
    display: block;
  }
}

/* 기본 상태: 아래로 내려가 있고 투명 */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* 화면에 보이면 활성화 */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   DETAIL PAGE — BOTTOM CTA
============================= */
.detail-bottom-cta {
  background: #000;
  padding: 60px 0px 0px; /* 위로 붙는 느낌 */
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.detail-bottom-cta .cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
}

.cta-btn {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 50px 40px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn .sub {
  display: block;
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.cta-btn .main {
  font-size: 26px;
  font-weight: 700;
}

/* Hover Effect */
.cta-btn:hover {
  background: #fff;
  color: #000;
}

.cta-btn:hover .sub {
  opacity: 0.8;
}

/* ============================
   MOBILE
============================= */
@media (max-width: 768px) {
  .detail-bottom-cta {
    padding: 50px 20px 30px;
  }
  .cta-btn {
    padding: 24px 20px;
  }
  .cta-btn .main {
    font-size: 18px;
  }
}