/* ========= 커스텀 페이지 ========= */
@keyframes floating {
  0%,
  100% {
    transform: translateY(-30px);
  }

  50% {
    transform: translateY(-45px);
  }
}

.sec-custom-section {
  position: relative;
  width: 100%;
}

.sec-custom-group {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

.sec-custom-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sec-custom-container.show {
  opacity: 1;
}

.panel-1 {
  background: url("/home_assets/img/main/skin/custom-rejudia.jpg") no-repeat
    center/ cover;
}

.panel-2 {
  background: url("/home_assets/img/main/skin/square_glass.png") no-repeat
    center / cover;
}

.sec-custom-images {
  width: 100%;
  height: 80%;
  position: absolute;
  bottom: 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.sec-custom-image-item {
  position: absolute;
}

.sec-custom-image-item img {
  width: 100%;
  object-fit: contain;
}

.sec-custom-olidia {
  width: 35%;
  left: 26%;
  bottom: 20%;
  z-index: 3;
}

.sec-custom-and {
  width: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.sec-custom-rejuran {
  width: 12%;
  right: 41%;
  z-index: 1;
}

.sec-custom-olidia::before {
  content: "OLIDIA";
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
  font-family: "Pretendard", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 150px;
  line-height: 179px;
  text-align: center;
  color: #fb8541;
  z-index: -1;
}

.sec-custom-rejuran::after {
  content: "REJURAN";
  position: absolute;
  top: 25%;
  right: -600px;
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 700;
  font-size: 150px;
  line-height: 179px;
  text-align: center;
  color: #a1a0a2;
  z-index: -1;
}

.sec-floating {
  animation: floating 3s ease-in-out infinite;
}

.sec-custom-container-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.45) 100%
  );
  backdrop-filter: blur(20px);
  color: #ffffff;
  font-family: "Pretendard", sans-serif;
  font-style: normal;
  padding: 32px;
}

.sec-custom-container-content.active {
  gap: 78px;
}

.sect-custom-cotent-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(-75%);
  transition: all 0.6s ease;
}

.sect-custom-cotent-title.move {
  transform: translateX(0%);
}

.sec-custom-title {
  font-weight: 100;
  font-size: min(10vw, 36px);
}

.sec-custom-subtitleKo {
  font-size: min(10vw, 24px);
  font-weight: 400;
}

.sec-custom-subtitleEn {
  font-family: "Oranienbaum", serif;
  font-size: min(10vw, 150px);
  line-height: 125px;
  font-weight: 400;
  padding-bottom: 100px;
}

.sec-custom-description {
  font-weight: 500;
  font-size: 20px;
}

.sec-custom-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 1vw, 25px);
  opacity: 0;
  color: #fff;
  transition: all 0.8s ease;
}

.sec-custom-container-content.active .sec-custom-list {
  opacity: 1;
  display: flex;
}

.sec-custom-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: clamp(6px, 1vw, 12px);
}

.sec-custom-number {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 1vw, 32px);
  flex-shrink: 0;
  line-height: 1;
}

.sec-custom-text {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  font-size: clamp(14px, 1vw, 16px);

  line-height: 1.5;
  flex: 1;
}
.scrollDown {
  position: fixed;
  bottom: 120px;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.scrollDown p {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}
/* Section wrapper */
.section-rejudia {
  position: relative;
  background: #fff;
  padding: 120px 24px 0;
  overflow: hidden;
}

/* Inner max width */
.rejudia-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Headings */
.rejudia-head {
  text-align: center;
  margin-bottom: 36px;
}

.rej-about {
  font-family: "Dream Orphans", sans-serif;
  /* dream orphans_regular_36 */
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  color: #000;
  display: inline-block;
}

.rej-brand {
  font-family: "Dream Orphans", sans-serif;
  /* dream orphans_regular_48 */
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  margin-top: 6px;
  display: inline-block;
}

.rej-sub {
  margin-top: 14px;
  font-family: "Noto Serif KR", serif;
  /* noto serif kr_regular_24 */
  font-weight: 400;
  font-size: 24px;
  color: #333;
}

/* Description */
.rejudia-body {
  text-align: center;
  margin: 22px auto 56px;
  max-width: 960px;
}

.rej-desc {
  margin: 18px 0;
  font-family: "Pretendard", sans-serif;
  /* pretendard_thin_20 */
  font-weight: 200;
  font-size: 20px;
  line-height: 1.85;
  color: #666;
}

.rej-desc span {
  font-weight: 600;
}

/* Bottom features bar */
.rejudia-features {
  margin-top: 60px;
  background: #e9f2ff;
  border-radius: 10px 10px 0 0;

  /* 화면 전체로 확장 */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.rejudia-features .feat-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 18px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
  text-align: center;
}

.feat-list > li {
  position: relative;
  padding: 0 28px;
}

.feat-list > li + li {
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.feat-list img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}

.feat-ttl {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1b1b1b;
}

.feat-sub {
  margin-top: 6px;
  font-family: "Pretendard", sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: #222;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .scrollDown {
    transform: translateX(-50%);
    bottom: 20%;
  }
  .sec-custom-group {
    padding: 16px;
  }

  .panel-1 {
    background: url("/home_assets/img/main/skin/custom-rejudia-mobile.png")
      no-repeat center/ cover;
  }

  .panel-2 {
    background: url("/home_assets/img/main/skin/square_glass-mobile.png")
      no-repeat center / cover;
  }

  .sec-custom-container-content {
    display: block;
    min-height: 40%;
    /* max-height: 249px; */
  }

  .sec-custom-list,
  .sect-custom-cotent-title {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .sec-custom-container-content.active .sec-custom-list {
    width: 100%;
    flex: 1;
  }

  /* .sec-custom-list {
    gap: 6px;
  } */

  .sec-custom-item {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    text-align: center;
  }

  .sect-custom-cotent-title.move {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: none;
  }

  .sec-custom-title {
    font-size: min(10vw, 26px);
  }

  .sec-custom-subtitleKo {
    font-size: min(10vw, 26px);
  }

  .sec-custom-subtitleEn {
    font-size: min(10vw, 100px);
    padding-bottom: 50px;
    line-height: normal;
  }

  .sec-custom-description {
    font-size: min(10vw, 18px);
  }

  .sec-custom-text {
    font-size: 14px;
    word-break: keep-all;
  }

  .rej-about {
    font-size: 26px;
  }

  .rej-brand {
    font-size: 30px;
  }

  .rej-sub {
    font-size: 24px;
  }

  .rej-desc {
    font-size: 18px;
    word-break: keep-all;
  }
  .rej-desc br {
    display: none !important;
  }

  .rejudia-features .feat-list {
    max-width: none;
    width: 80%;
    grid-template-columns: none;
    grid-template-rows: repeat(4, 1fr);
    padding: 0;
    align-items: center;
  }

  .feat-list > li {
    padding: 28px 0;
  }

  .feat-list > li + li {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .reco-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
