/* ===============================
   MAIN VISUAL
================================ */
.main-visual {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.main-visual__slides {
  width: 100%;
  height: 100%;
  position: relative;
}

/* SLIDE */
.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.mv-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* IMAGE */
.mv-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mv-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease;
}

.mv-slide.is-active .mv-bg img {
  transform: scale(1.08);
  /* 🔥 내부 확대 */
}

/* TEXT */
.mv-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(30px);
  text-align: center;
  color: #fff;
  opacity: 0;
  transition: all 1.2s ease;
}

.mv-slide.is-active .mv-text {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.mv-text h2 {
  font-size: 74px;
  font-weight: 700;
  line-height: 1.15;
}

.mv-text p {
  font-size: 20px;
  margin-top: 16px;
}

/* LEFT NAV */
.mv-nav {
  position: absolute;
  left: 127px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}

.mv-dot {
  background: none;
  border: none;
  font-size: 25px;
  color: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: color .3s;
}

.mv-dot.is-active {
  color: #fff;
  font-weight: 700;
}

/* RIGHT SCROLL */
.mv-scroll {
  position: absolute;
  right: 60px;
  bottom: 42%;
  writing-mode: vertical-rl;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  color: #fff;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .mv-text h2 {
    font-size: 27px;
  }

  .mv-text p {
    font-size: 16px;
  }

  .mv-nav {
    left: 24px;
  }

  .mv-scroll {
    right: 24px;
    bottom: 40px;
  }
}





/*********2섹션********/

/* ===============================
  BASE
================================ */
.prd-inner {
  width: min(1400px, 92%);
  margin: 0 auto
}

.prd-sec {
  background: #fff;
  padding: 120px 0 80px
}

/* TOP TEXT */
.prd-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 38px;
}

.btn-pill .dot {
  display: none !important;
}

.prd-title1 {
  margin: 0 0 10px;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 800;
  color: #33b6c6;
}

.prd-sub {
  margin: 0;
  font-size: 36px;
  line-height: 1.18;
  font-weight: 300;
  color: #111;
}

.prd-sub strong {
  font-weight: 600
}

.prd-desc {
  margin: 49px 0 0;
  max-width: 560px;
  justify-self: end;
  color: #666;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 500;
}

/* ===============================
  PAUSE / PLAY ICON TOGGLE
================================ */

/* 기본: pause(Ⅱ) */
.btn-pause span {
  transition: opacity .2s ease;
}

/* ▶ play 아이콘 (CSS 삼각형) */
.btn-pause::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 14px solid #111;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  opacity: 0;
  transform: translateX(2px);
}

/* 🔁 paused 상태 → play 아이콘 표시 */
.btn-pause[aria-pressed="true"] span {
  opacity: 0;
  /* Ⅱ 숨김 */
}

.btn-pause[aria-pressed="true"]::before {
  opacity: 1;
  /* ▶ 표시 */
}

/* ===============================
  SLIDER : FULL WIDTH (100vw)
================================ */
.prd-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  /* ✅ 화면 꽉차게 */
  padding-bottom: 34px;
  /* 컨트롤 공간 */
}

.prd-viewport {
  overflow: hidden;
  width: 100%;
}

/* 카드 사이 간격 */
:root {
  --prd-gap: 40px;
  --prd-cardW: 1100px;
  --prd-cardH: 620px;
  --prd-radius: 36px;
}

/* 트랙 */
.prd-track {
  display: flex;
  gap: var(--prd-gap);
  will-change: transform;
  transition: transform .55s ease;
  /* ✅ 양옆 잘린 대기 슬라이드가 보이게 패딩 (반쯤 보이는 느낌) */
  padding: 0 calc((100vw - var(--prd-cardW)) / 2);
}

/* 슬라이드 카드 */
.prd-slide {
  flex: 0 0 var(--prd-cardW);
  height: var(--prd-cardH);
  border-radius: var(--prd-radius);
  overflow: hidden;
  position: relative;
  background: #eee;
}




/* ✅ 이미지 원본 비율 유지 + 꽉 차게 */
.prd-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 이미지 안 텍스트 */
.prd-overlay {
  position: absolute;
  left: 48px;
  top: 52px;
  max-width: 960px;
  color: #fff;
  pointer-events: none;
}

.prd-h3 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
}

.prd-p {
  margin: 0;
  font-size: 22px;
  line-height: 1.75;
  max-width: 620px;
}

/* 패키지 썸네일 */
.prd-pack {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.prd-pack img {
  height: 78px;
  width: auto;
  display: block;
}

/* ===============================
  CONTROLS (✅
  ⚠ JS는 그대로 pill-bar(left 이동) + progress-bar(width) 씀
================================ */

.prd-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.prd-controls__row {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* (1) pause */
.btn-pause {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f3f3f3;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 0;
}

.btn-pause span {
  width: 7px;
  height: 22px;
  background: #111;
  border-radius: 999px;
  display: block;
}

/* (2) pill (회색 동그라미 박스) */
.btn-pill {
  position: relative;
  width: 340px;
  height: 56px;
  background: #f4f4f4;
  border-radius: 999px;

  /* ✅ dot + progress를 같은 줄에 중앙 정렬 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  /* 캡슐 안 여백 */
  padding: 0 22px;
}

/* dots */
.btn-pill .dot {
  width: 7px;
  height: 7px;
  background: #d8d8d8;
  border-radius: 50%;
  cursor: pointer;
  display: block;
}

/* ✅ pill-bar: 기능 건드리지 말라 했으니 "삭제"가 아니라 "숨김"만 */
.pill-bar {
  display: none !important;
}

/* (3) progress: ✅ pill 안 중앙에 들어가게 */
.btn-progress {
  width: 140px;
  /* 가운데 바 길이(시안처럼) */
  height: 8px;
  /* 두께(시안처럼) */
  background: #dedede;
  /* 회색 트랙 */
  border-radius: 999px;
  overflow: hidden;

  /* ✅ pill 안에 자연스럽게 배치되도록 */
  flex: 0 0 auto;
  margin: 0 6px;
}

.progress-bar1 {
  width: 0%;
  height: 100%;
  display: block;
  background: #111;
  border-radius: 999px;
}

/* ✅ [추가] 진행바 양옆 동그라미 번호 버튼 */
.slide-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.slide-btns .slide-num {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: #d8d8d8;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.slide-btns .slide-num:hover {
  background: #bdbdbd;
}

/* ===============================
  RESPONSIVE
================================ */
@media (max-width:900px) {
  .btn-pause {
    width: 56px;
    height: 56px;
  }

  .btn-pause span {
    width: 6px;
    height: 18px;
  }

  .btn-pill {
    width: 360px;
    height: 50px;
    gap: 14px;
    padding: 0 18px;
  }

  .btn-progress {
    width: 120px;
    height: 8px;
  }

}

@media (max-width:520px) {
  .btn-pill {
    width: 300px;
  }

  .btn-progress {
    width: 100px;
  }

  .slide-btns {
    gap: 8px;
  }

  .slide-btns .slide-num {
    width: 10px;
    height: 10px;
    font-size: 10px;
  }
}


/* ===============================
  RESPONSIVE
================================ */
@media (max-width: 1200px) {
  :root {
    --prd-cardW: 720px;
    --prd-cardH: 340px;
    --prd-gap: 28px;
    --prd-radius: 32px;
  }

  .prd-title1 {
    font-size: 50px
  }

  .prd-sub {
    font-size: 32px
  }

  .prd-overlay {
    left: 38px;
    top: 44px
  }

  .prd-h3 {
    font-size: 26px
  }

  /* 버튼 반응형(시안 비율 유지) */
  .btn-pill {
    width: 460px;
    height: 54px;
    gap: 30px
  }

  .pill-bar {
    width: 50px;
    height: 9px
  }
}

@media (max-width: 900px) {
  .prd-sec {
    padding: 90px 0 70px
  }

  .aq-main {
    position: absolute;
    left: -33px !important;
    top: 0;
    width: 74%;
    height: 100%;
    z-index: 2;
  }

  .prd-sub {
    font-size: 20px;
    color: #666;
    margin-bottom: 0px !important;
    font-weight: 400;
  }

  .aq-info {
    margin-top: 72px;
    max-width: 760px;
    margin-left: 3% !important;
  }

  .prd-head {
    grid-template-columns: 1fr;
    gap: 0px !important;
    margin-bottom: 26px
  }

  .prd-desc {
    justify-self: start;
    max-width: unset;
    font-size: 18px;
  }

  :root {
    --prd-cardW: 86vw;
    /* 모바일: 중앙 카드가 거의 화면 꽉 */
    --prd-cardH: 46vw;
    --prd-gap: 16px;
    --prd-radius: 26px;
  }

  .prd-overlay {
    left: 18px;
    top: 18px;
    max-width: 84%
  }

  .prd-h3 {
    font-size: 18px
  }

  .prd-p {
    font-size: 9px;
    max-width: unset
  }

  .prd-pack img {
    height: 52px
  }

  .prd-controls__row {
    gap: 14px
  }

  .btn-pause {
    width: 56px;
    height: 56px
  }

  .btn-pause span {
    width: 6px;
    height: 18px
  }

  .btn-pill {
    width: 360px;
    height: 50px;
    gap: 26px
  }

  .pill-bar {
    width: 46px;
    height: 9px
  }

  .btn-progress {
    width: 130px
  }
}

@media (max-width: 520px) {
  .prd-title1 {
    font-size: 40px
  }

  .prd-sub {
    font-size: 26px
  }

  .btn-pill {
    width: 300px
  }
}


.prd-slide {
  overflow: hidden;
}

/* 기본 */
.prd-bg {
  transform: scale(1);
  transition: transform 1.3s cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}

/* active일때 확실히 확대 */
.prd-slide.is-active .prd-bg {
  transform: scale(1.05);
}

/* ===============================
   PRD SECTION SCROLL FADE-IN ONLY
   (기존 코드 절대 수정 없음)
================================ */

/* 처음엔 안보이게 */
.prd-sec {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s ease, transform 1s ease;
}

/* 스크롤 들어오면 등장 */
.prd-sec.is-show {
  opacity: 1;
  transform: translateY(0);
}


/********************************3번째섹션*********************************************/

/* SECTION HEIGHT (pin 구간 확보) */
.about-pin {
  position: relative;
  height: 360vh;
  /* 🔥 여기 중요 */
  background: #fff;
}

/* 초기 텍스트 */
.about-intro {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
}

.about-title {
  font-size: 42px;
  color: #3bb6c4;
}

.about-sub {
  font-size: 26px;
  margin-top: 10px;
}

/* PIN STAGE */
.about-pin__stage {
  position: relative;
  height: 100vh;
}

/* VIDEO WRAP (초기 작게) */
.about-video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: 360px;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  overflow: hidden;
}

.about-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY (스크롤 후) */
.about-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.about-circle {
  position: absolute;
  top: -27%;
  left: -5%;
  width: 800px;
  height: 800px;
  background: #38b1c2;
  border-radius: 50%;
}

.about-text {
  position: absolute;
  top: 20%;
  left: 6%;
  color: #fff;
  font-size: 21px;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-video-wrap {
    width: 320px;
    height: 220px;
  }

  .about-circle {
    width: 200px;
    height: 200px;
  }
}

.about-video-wrap {
  will-change: width, height;
}

.about-video-wrap video {
  transform: translateZ(0);
}



/********4번섹션******/
.aq {
  background: #f5fdff;
  padding: 120px 0;
  overflow: hidden;
  margin-top: -11%;
  z-index: 5;
  position: relative;
}

.aq__inner {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 90px;
}

/* LEFT */
.aq-left {
  flex: 0 0 340px;
}

.aq-title {
  font-size: 70px;
  font-weight: 700;
  color: #2db2c6;
  line-height: 1;
  margin-bottom: 20px;
}

.aq-sub {
  font-size: 40px;
  line-height: 1.25;
}

.aq-sub strong {
  font-weight: 600;
}

/* RIGHT */
.aq-right {
  flex: 1;
}

/* ===== IMAGE STAGE ===== */
.aq-stage {
  position: relative;
  height: 500px;
  overflow: visible;
  left: 9%;
}

/* MAIN */
.aq-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 74%;
  height: 100%;
  z-index: 2;
}

.aq-main img {
  transition: none !important;
}

.aq-main img,
.aq-peek img,
.aq-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* PEEK (NEXT) */
.aq-peek {
  position: absolute;
  right: -170px;
  top: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* OVERLAY (TRANSITION) */
.aq-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 74%;
  height: 100%;
  z-index: 3;
  opacity: 0;
  transform: translateX(120px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.aq-overlay.is-in {
  opacity: 1;
  transform: translateX(0);
}

/* NAV */
.aq-nav {
  position: absolute;
  right: 15%;
  bottom: -16%;
  display: flex;
  gap: 10px;
}

.aq-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 23px;
  cursor: pointer;
  font-weight: 700;
}

/* TEXT */
.aq-info {
  margin-top: 72px;
  max-width: 760px;
  margin-left: 10%;
}

.aq-info h3 {
  font-size: 35px;
  font-weight: 700;
  margin-bottom: 12px;
}

.aq-info p {
  font-size: 17px;
  line-height: 1.6;
  color: #666;
}

/* 태블릿 (≤1200px) */
@media (max-width: 1200px) {
  .aq__inner {
    gap: 60px;
  }

  .aq-left {
    flex: 0 0 300px;
  }

  .aq-title {
    font-size: 48px;
  }

  .aq-sub {
    font-size: 22px;
  }

  .aq-stage {
    height: 380px;
  }

  .aq-main {
    width: 78%;
  }

  .aq-peek {
    width: 42%;
    right: -140px;
  }

  .aq-overlay {
    width: 78%;
  }

  .aq-info {
    margin-top: 60px;
  }
}

/* 태블릿 세로 / 소형 노트북 (≤1024px) */
@media (max-width: 1024px) {
  .aq__inner {
    flex-direction: column;
    gap: 40px;
  }

  .aq-left {
    flex: none;
    padding-top: 0;
  }

  .aq-right {
    width: 100%;
  }

  .aq-stage {
    height: 360px;
  }

  .aq-main,
  .aq-overlay {
    width: 100%;
  }

  .aq-peek {
    display: none;
    /* 모바일/태블릿에서는 미리보기 제거 */
  }

  .aq-nav {
    bottom: -52px;
  }

  .aq-info {
    max-width: 100%;
  }
}

/* 모바일 (≤768px) */
@media (max-width: 768px) {
  .aq {
    padding: 80px 0;
    margin-top: -50%;
  }

  .aq__inner {
    padding: 0 20px;
  }

  .aq-title {
    font-size: 40px;
  }

  .aq-sub {
    font-size: 18px;
  }

  .aq-stage {
    height: 300px;
  }

  .aq-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .aq-nav {
    bottom: -48px;
  }

  .aq-info h3 {
    font-size: 22px;
  }

  .aq-info p {
    font-size: 13px;
  }
}

/* 소형 모바일 (≤480px) */
@media (max-width: 480px) {
  .aq-title {
    font-size: 34px;
  }

  .aq-sub {
    font-size: 16px;
  }

  .aq-stage {
    height: 240px;
  }

  .aq-nav {
    right: 82%;
  }
}


/* ===== FIX: transition 강제 복구 ===== */

/* 카드가 틀 */
.aq-main,
.aq-peek,
.aq-overlay {
  overflow: hidden;
  border-radius: 40px;
}

/* ❗ transition: none !important 를 이김 */
.aq-main img,
.aq-peek img,
.aq-overlay img {
  transition: transform 0.45s ease-out !important;
  /* ← 여기서 살아남 */
  transform: scale(1);
}

/* hover 시 이미지만 확대 */
.aq-main:hover img {
  transform: scale(1.05);
}

.aq-peek:hover img {
  transform: scale(1.03);
}




/*************5번섹션************/



/* ==============================
   Clean-Origin Section
============================== */
.clean-origin {
  background: #fff;
  padding: 120px 0 140px;
}

.clean-origin__inner {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== 상단 텍스트 ===== */
.clean-origin__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
  gap: 60px;
}

.clean-origin__title-wrap {
  flex-shrink: 0;
}

.clean-origin__title {
  font-size: 70px;
  font-weight: 700;
  color: #2bb3c0;
  line-height: 1.2;
}

.clean-origin__subtitle {
  margin-top: 10px;
  font-size: 50px;
  font-weight: 600;
  color: #111;
}

.clean-origin__desc {
  max-width: 620px;
  font-size: 21px;
  line-height: 1.8;
  color: #666;
  font-weight: 500;
  margin-top: 65px;
}

/* ===== 카드 그리드 ===== */
.clean-origin__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.clean-origin__card {
  text-align: center;
}

/* 이미지 영역 */
.clean-origin__img {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.clean-origin__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.8s ease;
}

/* ✅ 호버 시 서서히 확대 */
.clean-origin__card:hover .clean-origin__img img {
  transform: scale(1.08);
}

.clean-origin__name {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
  color: #111;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 1024px) {
  .clean-origin__head {
    flex-direction: column;
    gap: 0px;
  }

  .clean-origin__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .clean-origin {
    padding: 80px 0 100px;
  }

  .clean-origin__inner {
    padding: 0 20px;
  }

  .clean-origin__title {
    font-size: 30px;
  }

  .clean-origin__subtitle {
    font-size: 22px;
  }

  .clean-origin__desc {
    font-size: 15px;
  }

  .clean-origin__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}