/* ===== ABOUT ===== */
.abo {
  background: #fff;
  padding: 120px 0 160px;
  margin-top: 5%;
}

.abo__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 텍스트 */
.abo__head {
  max-width: 920px;
  margin-bottom: 60px;
}

.abo__title {
  font-size: 52px;
  font-weight: 700;
  color: #3db6c6;
  margin-bottom: 14px;
}

.abo__desc {
  font-size: 19px;
  line-height: 1.6;
  color: #666;
}

/* 카드 (절대 고정) */
.abo-card {
  position: relative;
  width: 1800px;
  height: 520px;
  overflow: hidden;
  border-radius: 40px;
  transform: none !important;
  will-change: auto;
  margin-left: auto;
  margin-right: -25%;
}

/* 이미지 래퍼 */
.abo-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 이벤트 차단 */
}

/* 🔥 이미지: GPU 레이어로 분리 */
.abo-img img {
  display: block;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center 22%;

  transform: translate3d(0, 0, 0);
  /* ⬅️ GPU 분리 핵심 */
  will-change: transform;
}

/* 반응형 */
@media (max-width:1024px) {
  .abo-card {
    height: 360px;
    border-radius: 28px;
  }
}

@media (max-width:768px) {
  .abo {
    padding: 80px 0 120px;
  }

  .abo__inner {
    padding: 0 20px;
  }

  .abo__title {
    font-size: 32px;
  }

  .abo-card {
    height: 300px;
    border-radius: 22px;
  }
}

/* ===== MOBILE RESET (이미지 안 보이던 문제 해결) ===== */
@media (max-width: 768px) {

  .abo-card {
    width: 100%;
    /* PC 고정 폭 제거 */
    max-width: 100%;
    height: 260px;

    margin-left: 0;
    margin-right: 0;
    /* 음수 마진 제거 */

    border-radius: 18px;
  }

  /* 이미지 영역 중앙 정렬 */
  .abo-img {
    inset: 0;
    background-position: center center !important;
  }
}



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

/* ===== SECTION ===== */
.an-section1 {
  padding: 140px 0 160px;
  background: #fff;
  overflow: hidden;
  margin-top: -6%;
}

.an-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== HEAD ===== */
.an-head {
  max-width: 1020px;
  margin-bottom: 90px;
}

.an-title {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.25;
  color: #111;
  margin-bottom: 24px;
}

.an-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #666;
}

/* ===== CARDS ===== */
.an-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.an-card {
  text-align: left;
}

.an-icon {
  width: 152px;
  height: 126px;
  margin-bottom: 28px;
}

.an-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.an-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}

.an-card-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #666;
}

/* ===== FADE IN ===== */
.fade-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .an-title {
    font-size: 40px;
  }

  .an-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .an-section1 {
    padding: 100px 0 120px;
    margin-top: -36%;
  }

  .an-inner {
    padding: 0 24px;
  }

  .an-title {
    font-size: 32px;
  }

  .an-desc {
    font-size: 16px;
  }

  .an-cards {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .an-icon {
    width: 64px;
    height: 64px;
  }
}

/* ===== CARD DIVIDER ===== */
.an-card {
  position: relative;
  padding-right: 40px;
}

/* 세로 회색 줄 */
.an-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 1px;
  height: 100%;
  background: #e6e6e6;
  /* 시안 같은 연한 회색 */
}

/* 마지막 카드 줄 제거 */
.an-card:last-child::after {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  /* 2열일 때: 짝수 카드 줄 제거 */
  .an-card:nth-child(2n)::after {
    display: none;
  }
}

@media (max-width: 768px) {

  /* 모바일 1열: 전부 제거 */
  .an-card {
    padding-right: 0;
  }

  .an-card::after {
    display: none;
  }
}