@charset "utf-8";

/* ======================
   리쥬비끄 소개 (rejuvique.css)
   ====================== */

/* 브랜드 컬러 변수 */
:root {
  --rj-brown-dark: #381010;
  --rj-brown-accent: #a1795e;
  --rj-brown-text: rgba(0, 0, 0, 0.6);
  --rj-formula-bg: #bdb6af;
  --rj-card-radius: 3rem;
  --rj-img-radius: 5rem;
}


.section__title {
  font-size: 7.2rem;
  font-weight: 700;
  color: var(--rj-brown-dark);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

/* ======================
   비주얼 섹션
   ====================== */

.rj-visual {
  position: relative;
  height: 100vh;
  min-height: 70rem;
  overflow: hidden;
  background-image: url(../img/about/banner.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.rj-visual__bg {
  position: absolute;
  inset: 0;
}

.rj-visual__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rj-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(81, 57, 41, 0) 0%, rgba(81, 57, 41, 0.8) 100%);
}

.rj-visual__content {
  position: absolute;
  bottom: 6rem;
  top: 25rem;
  left: 0;
  right: 0;
  padding: 0 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rj-visual__subtitle {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--rj-brown-dark);
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.rj-visual__subtitle strong {
  font-weight: 700;
}

.rj-visual__text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  text-transform: capitalize;
}

.rj-visual__sub-heading {
  font-size: 2.8rem;
}

.rj-visual__heading {
  font-size: 10rem;
}

/* ======================
   케어 방식 섹션
   ====================== */

.rj-care {
  padding: 18rem 0;
  background-color: #ffffff;
}

.rj-care .container {}

.rj-care__title {
  font-size: 5.4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6rem;
}

.rj-care__list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.rj-care__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.4rem;
}

.rj-care__item--reverse {
  flex-direction: row-reverse;
}

.rj-care__img-wrap {
  flex-shrink: 0;
  width: 50%;
  height: 40rem;
  border-radius: var(--rj-img-radius);
  overflow: hidden;
}

.rj-care__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rj-care__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
  padding: 0 4.2%;
}

.rj-care__item--reverse .rj-care__text {
  padding: 0 4.2% 0 8.2%;
}

.rj-care__head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rj-care__num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--rj-brown-accent);
  line-height: 1.4em;
  text-transform: capitalize;
}

.rj-care__name {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--rj-brown-dark);
  letter-spacing: -0.04em;
  line-height: 1.2em;
}

.rj-care__desc {
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--rj-brown-text);
  letter-spacing: -0.04em;
  line-height: 1.4em;
}

/* ======================
   CTA 배너 섹션
   ====================== */

.rj-banner {}

.rj-banner__inner {
  position: relative;
}

.rj-banner__bg {
  height: 80rem;
  border-radius: 8rem;
  overflow: hidden;
}

.rj-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1.2s ease;
}

.rj-banner__inner:hover img {
  transform: scale(1.2);
}

.rj-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(54, 30, 14, 0.5);
  display: none;
}

.rj-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.rj-banner__title {
  font-weight: 600;
  color: #ffffff;
  line-height: 1.1;
}

.rj-banner__desc {
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.04em;
  line-height: 1.4;
}

/* ======================
   기술 섹션
   ====================== */

.rj-tech {
  padding: 18rem 0 0;
  background-color: #ffffff;
}

.rj-tech__header {
  margin-bottom: 6rem;
}

.rj-tech__title {
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 0;
}

.rj-tech__subtitle {
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: -0.04em;
  line-height: 1.6;
  margin-top: 1.6rem;
}

.rj-tech__grid {
  display: flex;
  gap: 2rem;
  height: 60rem;
}

.rj-tech__card {
  position: relative;
  border-radius: var(--rj-card-radius);
  overflow: hidden;
  flex: 1;
  transition: flex-grow 0.5s ease;
}

.rj-tech__card-bg {
  height: 100%;
}

.rj-tech__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rj-tech__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.65) 100%);
  opacity: 0;
  transform: translateY(100%);
  transition: all .5s ease;
}

.rj-tech__card-body {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding: 4rem;
  opacity: 0;
  /* transform: translateY(100%); */
  transition: all .5s ease;
  width: 100%;
  transform-origin: bottom;
  box-sizing: border-box;
}

.rj-tech__card-head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rj-tech__card-num {
  font-size: 2rem;
  font-weight: 600;
  color: #f3ece8;
  text-transform: capitalize;
  line-height: 1.4em;
}

.rj-tech__card-name {
  font-size: 3.2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.2em;
}

.rj-tech__card-desc {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.5em;
  max-width: 70rem;
}

.rj-tech__card:hover {
  flex-grow: 3.6;
}

.rj-tech__card:hover .rj-tech__card-overlay,
.rj-tech__card:hover .rj-tech__card-body {
  opacity: 1;
  transform: translateY(0);
}

/* ======================
   피부 에너지 역할 섹션
   ====================== */

.rj-role {
  padding: 18rem 0;
  background-color: #ffffff;
}

.rj-role__header {
  text-align: center;
  margin-bottom: 6rem;
}

.rj-role__title {}

.rj-role__subtitle {
  font-size: 2.4rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  letter-spacing: -0.04em;
  line-height: 1.6;
  margin-top: 1.6rem;
}

.rj-role__grid {
  height: 60rem;
}

.rj-role__grid .swiper-wrapper {
  align-items: center;
}

.rj-role__card {
  position: relative;
  border-radius: var(--rj-card-radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  transition: all .5s ease !important;
  height: auto !important;
}


.rj-role__card-bg {
  height: 100%;
}

.rj-role__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rj-role__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.6) 100%);
  opacity: 0;
  transform: translateY(0);
  transition: all .5s ease;
}


.rj-role__card-body {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  text-align: center;
  width: 100%;
  padding: 4rem;
  justify-content: center;
}

.rj-role__card-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.2em;
}



.rj-role__card-desc {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.5;
  display: none;
  /* height: 0; */
  overflow: hidden;
  transition: all .3s;
  max-width: 35rem;
  margin: auto;
}

.rj-role__card:hover {
  flex-grow: 1.2;
  height: 100% !important;
}

.rj-role__card:hover .rj-role__card-overlay {
  transform: translateY(0);
  opacity: 1;
}

.rj-role__card:hover .rj-role__card-body {
  top: auto;

}

.rj-role__card:hover .rj-role__card-title {
  font-size: 3.2rem;
}

.rj-role__card:hover .rj-role__card-desc {
  display: block;
  /* height: auto; */
}

/* ======================
   포뮬레이션 CTA 섹션
   ====================== */

.rj-formula {
  position: relative;
  background-color: var(--rj-formula-bg);
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../img/about/section5-1.png);
  height: 100vh;
  min-height: 70rem;
  max-height: 100rem;
}

.rj-formula__inner {
  position: absolute;
  left: 0;
  right: 0;
  top: 18rem;
  margin: auto;
}

.rj-formula__text {
  font-size: 5.6rem;
  font-weight: 700;
  color: var(--rj-brown-dark);
  letter-spacing: -0.04em;
  line-height: 1.3em;
  flex: 1;
}

.rj-formula__text .rj-formula__highlight {
  color: var(--rj-brown-accent);
}

.rj-formula__imgs {
  flex-shrink: 0;
  width: 38rem;
  position: relative;
  height: 50rem;
}

.rj-formula__img {
  position: absolute;
  border-radius: 2rem;
  overflow: hidden;
}

.rj-formula__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rj-formula__img--1 {
  width: 28rem;
  height: 37rem;
  right: 8rem;
  top: 0;
}

.rj-formula__img--2 {
  width: 22rem;
  height: 29rem;
  right: 0;
  bottom: 0;
}

/* ======================
   반응형 (모바일 768px 이하)
   ====================== */

@media (max-width: 1024px) {


  /* 비주얼 */
  .rj-visual {
    min-height: auto;
    max-height: 60rem;
    background-image: url(../img/about/banner-mo.png);
  }

  .rj-visual__overlay {
    background: linear-gradient(to bottom, rgba(81, 57, 41, 0) 50%, rgba(81, 57, 41, 0.8) 100%);
  }

  .rj-visual__content {
    top: 10rem;
    bottom: 4.8rem;
  }

  .rj-visual__text {
    gap: 0.4rem;
  }

  .rj-visual__subtitle {
    font-size: 1.6rem;
  }

  .rj-visual__sub-heading {
    font-size: 2rem;
    max-width: 70%;
  }

  .rj-visual__heading {
    font-size: 3.2rem;
  }

  /* 케어 섹션 */
  .rj-care {
    padding: 8rem 0 7rem;
  }


  .rj-care__title {
    font-size: 2.6rem;
    margin-bottom: 3.2rem;
    line-height: 1.2;
  }

  .rj-care__list {
    gap: 4.8rem;
  }

  .rj-care__item,
  .rj-care__item--reverse {
    flex-direction: column;
    gap: 3.2rem;
  }

  .rj-care__img-wrap {
    width: 100%;
    height: 17rem;
    border-radius: 2.4rem;
  }

  .rj-care__text {
    gap: 1.6rem;
    padding: 0 !important;
    width: 100%;
  }

  .rj-care__num {
    font-size: 1.4rem;
  }

  .rj-care__name {
    font-size: 2rem;
  }

  .rj-care__desc {
    font-size: 1.6rem;
  }

  /* CTA 배너 */
  .rj-banner {}

  .rj-banner__content {
    gap: 1.6rem;
  }

  .rj-banner__title {
    font-size: 2.6rem;
  }

  .rj-banner__desc {
    font-size: 1.6rem;
  }

  .rj-banner__bg {
    height: 48rem;
    border-radius: 3.2rem;
  }

  /* 기술 섹션 */
  .rj-tech {
    padding: 8rem 0 0;
  }

  .rj-tech__header {
    margin-bottom: 3.2rem;
  }

  .rj-tech__title {
    font-size: 2.6rem;
  }

  .rj-tech__subtitle {
    font-size: 1.8rem;
    margin-top: 0.8rem;
  }

  .rj-tech__grid {
    flex-direction: column;
    height: auto;
  }

  .rj-tech__card {
    height: 40rem;
    flex: none;
  }

  .rj-tech__card-body {
    padding: 2.4rem;
    opacity: 1;
  }

  .rj-tech__card-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .rj-tech__card-num {
    font-size: 1.4rem;
  }

  .rj-tech__card-name {
    font-size: 1.8rem;
  }

  .rj-tech__card-desc {
    font-size: 1.4rem;
  }

  /* 에너지 역할 섹션 */
  .rj-role {
    padding: 8rem 0;
  }

  .rj-role__header {
    margin-bottom: 3.2rem;
    text-align: left;
  }

  .rj-role__title {
    font-size: 2.6rem;
  }

  .rj-role__subtitle {
    margin-top: 0.8rem;
    font-size: 1.8rem;
  }

  .rj-role__grid {
    flex-direction: column;
    height: auto;
  }

  .rj-role__grid .swiper-scrollbar {
    position: static !important;
    margin: 1.6rem auto !important;
  }

  .rj-role__card {
    flex: none;
  }

  .rj-role__card-body {
    gap: 1rem;
    top: unset !important;
  }

  .rj-role__card-title {
    font-size: 2rem !important;
  }

  .rj-role__card-desc {
    font-size: 1.4rem;
    display: block;
  }

  .rj-role__card-overlay {
    opacity: 1;
  }

  /* 포뮬레이션 섹션 */
  .rj-formula {
    background-image: url(../img/about/section5-1-mo.png);
    max-height: 72rem;
    min-height: 50rem;

  }

  .rj-formula__inner {
    top: 4.8rem;
  }

  .rj-formula__bg {}

  .rj-formula__text {
    font-size: 2.6rem;
  }

  .rj-formula__imgs {
    width: 100%;
    height: 30rem;
  }

  .rj-formula__img--1 {
    width: 18rem;
    height: 23rem;
    right: 6rem;
    top: 0;
  }

  .rj-formula__img--2 {
    width: 14rem;
    height: 18rem;
    right: 0;
    bottom: 0;
  }
}