@charset "utf-8";
/* ======================================================================================================================= */
/* ======================================================= main style ==================================================== */
/* ======================================================================================================================= */

/* ===================================================================
   main-hero-scene : 스크롤 인터랙션 히어로
   - point-color(#0a392b) / playfair 폰트 등 common.css 기존 변수 재사용
=================================================================== */
.main-hero-scene { position: relative; }
.main-hero-scene .hero-scene-pin {
  position: sticky; top: 0;
  height: 100vh;
  overflow: hidden;
}
.main-hero-scene { height: 300vh; } /* 씬 전환 스크롤 구간 확보 */

.hero-bg-color {
  position: absolute; inset: 0; z-index: 0;
  background-color: #fff;
  will-change: background-color;
}
.hero-bg-grass {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0;
  will-change: opacity;
  background:
    linear-gradient(180deg, rgba(10,57,43,0.35) 0%, rgba(10,57,43,0.15) 30%, rgba(10,57,43,0.55) 75%, rgba(10,57,43,0.9) 100%),
    url('../img/main/hero_grass_bg.png') center bottom / cover no-repeat;
}

/* 씬1 -------------------------------------------------------------- */
.hero-scene1 {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-scene1 .model-img {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  height: 85%;
  width: auto;
  max-width: none;
  object-fit: contain;
  will-change: opacity, filter, transform;
}
.hero-scene1__text {
  position: relative; z-index: 3;
  text-align: center;
  padding-bottom: 12vh;
  opacity: 0;
}
.hero-scene1__text h1 {
  font-family: "condor", sans-serif;
  font-size: clamp(40px, 8vw, 128px);
  color: #0a392b;
  letter-spacing: 0.02em;
  text-shadow: 0 0 5px white;
}
.hero-scene1__text p {
  margin-top: 16px;
  font-size: 15px;
  color: #333;
}

/* 씬2 -------------------------------------------------------------- */
.hero-scene2 {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
  opacity: 0;
}
.hero-scene2 .inner { padding: 0 80px; }
.hero-scene2__text { flex: 1; }
.hero-scene2__text h3 { font-weight: 500; margin-bottom: 24px; }
.hero-scene2__text p { color: rgba(255,255,255,0.75); }
.hero-scene2__media {
  width: 400px; flex-shrink: 0;
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-left: 60px;
  background: #1c3829;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
.hero-scene2__media video { width: 100%; height: 100%; object-fit: cover; }

/* 씬3 -------------------------------------------------------------- */
.hero-scene3 {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 14vh;
  opacity: 0;
}
.hero-scene3 .inner { text-align: center; color: #fff; }
.hero-scene3 h2 { font-family: "condor", sans-serif; font-size: clamp(40px, 7vw, 96px); letter-spacing: 0.15em; margin-bottom: 20px; }
.hero-scene3__quote { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; margin-bottom: 20px; }
.hero-scene3__desc { color: rgba(255,255,255,0.75); margin-bottom: 32px; }


/* 반응형 (기존 브레이크포인트 1200/769/425 컨벤션) ------------------- */
@media screen and (max-width: 1200px) {
  .hero-scene2 .inner { flex-direction: column; text-align: center; padding: 0 20px; }
  .hero-scene2__media { width: 240px; margin: 24px 0 0; }
}
@media screen and (max-width: 769px) {
  .hero-scene1 .model-img { height: 80%; }
  .hero-scene1__text { padding-bottom: 8vh; }
}
/* ===================================================================
   main-area-space : 아름다움이 만들어지는 공간 (좌우 이미지 패럴랙스)
=================================================================== */
.main-area-space { overflow: hidden; }
.space-parallax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 80px 0;
}
.space-img {
  flex-shrink: 0;
  width: 420px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 15px;
  will-change: transform;
}
.space-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.35); /* 패럴랙스 이동폭만큼 여유분 확보 */
}
.space-img-right { margin-top: 60px; } /* 시안처럼 좌우 이미지가 다른 높이에서 시작 */

.space-text {
  flex: 0 0 auto;
  max-width: 480px;
  text-align: center;
}
.space-text h3 { margin-bottom: 24px;   font-weight: 500;}
.space-text p { margin-bottom: 32px; color: #555; }


/* 반응형 (1200 / 769 컨벤션) */
@media screen and (max-width: 1200px) {
  .space-parallax { flex-direction: column; gap: 40px; }
  .space-img { width: 60%; }
  .space-img-right { margin-top: 0; }
}

/* ===================================================================
   main-area-videoscale : 영상 박스 가로 80% → 100% 확장
=================================================================== */
.main-area-videoscale {
  height: 200vh;
  padding-top: 0;
}
.videoscale-pin {
  position: sticky;
  top: -30px;
  height: 100vh;
  height: 100svh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.videoscale-box {
  width: 70%;
  height: 100vh;   /* 70vh → 100vh : 시작부터 세로는 이미 꽉 채워서 확장감을 더 크게 */
  overflow: hidden;
  will-change: width, height;
}
.videoscale-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media screen and (max-width: 769px) {
  .main-area-videoscale { height: 160vh; }
  .videoscale-box { width: 90%; height: 50vh; }
}
/* ===================================================================
   main-area-smile : 5장 지그재그 갤러리 + 하단 카피
=================================================================== */
.main-area-smile { text-align: center; }
.main-area-smile.bg-gray{background: #fff;}
.smile-gallery {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}
.smile-img {
  width: 17%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(50px) scale(0.96);
}
.smile-img img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* 1·5(하단으로 내림) - 2·4(중간) - 3(맨 위, 세로로 김) */
.smile-img-1 { margin-top: 140px; }
.smile-img-2 { margin-top: 70px; }
.smile-img-3 {
  width: 20%;
  aspect-ratio: 3/4.2;
  margin-top: 0;
}
.smile-img-4 { margin-top: 70px; }
.smile-img-5 { margin-top: 140px; }

@media screen and (max-width: 769px) {
  .smile-gallery { flex-wrap: wrap; gap: 10px; margin-bottom: 30px;}
  .smile-img,
  .smile-img-3 { width: 30%; height: auto; margin-top: 0 !important;aspect-ratio: 1 / 1;}
}
/* ===================================================================
   main-area-doctors : OV DOCTORS 롤링 캐러셀
=================================================================== */
.main-area-doctors { text-align: center; }
.main-area-doctors .title h2 {
  font-family: "condor", sans-serif;
  font-size: clamp(40px, 8vw, 90px);
  color: #0a392b;
  margin-bottom: 20px;
}
.main-area-doctors .title p { margin-bottom: 24px; color: #555; }


.doctors-roll { position: relative; max-width: 900px; margin: 60px auto 0; }
.doctors-num {
  position: absolute;
  left: 0; top: 40px;
  font-size: 260px;
  font-weight: 700;
  color: #f2f2f2;
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.doctors-logo-symbol {
  position: absolute;
  left: 0; top: 100px;
  width: 340px;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.doctors-logo-symbol img { width: 100%; height: auto; }

.doctors-stage { position: relative; z-index: 1; height: 640px; overflow: hidden; }
.doctors-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.doctors-img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 40px);
  max-height: 100%;
  width: auto;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.doctors-img.active {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.doctors-arrow {
  position: absolute;
  top: 300px;
  width: 48px; height: 48px;
  border: none;
  border-radius: 8px;
  background: #0a392b;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
}
.doctors-arrow-prev { left: 0; }
.doctors-arrow-next { right: 0; }

@media screen and (max-width: 769px) {
  .doctors-num { font-size: 140px; }
  .doctors-stage { height: 420px; }
  .doctors-arrow { top: auto; bottom: 150px; }
  .doctors-img {max-height: 360px;}
}
/* ===================================================================
   main-area-services : DENTAL SERVICES 리스트
=================================================================== */
.main-area-services.bg-gray{background: #fff;}
.main-area-services .title h2 {
  font-family: "condor", sans-serif;
  font-size: clamp(40px, 8vw, 90px);
  color: #0a392b;
  margin-bottom: 12px;

}

.services-list { margin-top: 60px; }
.services-item {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.services-item:last-child{margin-bottom: 0;}
.services-img {
  width: 45%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}
.services-img img { width: 100%; height: 100%; object-fit: cover; }

.services-text { flex: 1; }
.services-text h4 {
  font-weight: 700;
  color: #0a392b;
  margin-bottom: 16px;
}
.services-text p {
  color: #555;
  margin-bottom: 24px;
}

@media screen and (max-width: 1024px) {
  .services-item { flex-direction: column; gap: 24px; align-items: start;}
  .services-img { width: 100%; }
}