.about-main {
  padding: 0;
  margin: 0;
}

/* 비디오 히어로: 페이지 스코프 + 모바일 안전 vh */
.about-main .video-hero {
  position: relative;
  width: 100%;
  min-height: 100svh; /* 100vh → 100svh */
  overflow: hidden;
}
.about-main .video-hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.about-main .video-hero .overlay {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding-top: min(30svh, 30vh);
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* 📄 공통 섹션(about 전용) */
.about-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--section-padding) 0;
  text-align: center;
  font-size: var(--fs-base);
  color: var(--color-text);
  line-height: 1.8;
}
.about-section h2 {
  font-size: var(--fs-h2);
  color: var(--color-primary);
  margin-top: var(--gap-lg);
  margin-bottom: var(--gap-sm);
}

/* 📦 카드 컨테이너 (회사 가치/역량) */
.solution-values .card-container,
.solution-strengths .card-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 1400px;
  padding: 40px 20px;
  margin: 0 auto;
}

/* 🧩 개별 카드 */
.solution-values .card,
.solution-strengths .card {
  flex: 0 0 280px;
  min-width: 280px;
  max-width: 380px;
  max-height: 450px;
  border-radius: 16px;
  overflow: hidden;

  background: transparent;                  /* ✅ 배경 투명 */
  border: 1px solid var(--color-primary);   /* ✅ 녹색 테두리 */

  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  scroll-snap-align: start;
  transition: flex 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}
.solution-values .card:hover,
.solution-strengths .card:hover {
  flex: 0 0 380px;
  border-color: color-mix(in oklab, var(--color-primary) 85%, white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 카드 헤더 (제목) */
.solution-values .card-header h3,
.solution-strengths .card-header h3 {
  color: var(--color-primary);   /* ✅ 녹색 */
  font-weight: 700;
  margin: 0.75rem 0;
  line-height: 1.3;
}
.solution-values .card-header,
.solution-strengths .card-header {
  padding: 10px 12px;
  text-align: center;
}

/* 이미지 영역 */
.solution-values .card-image,
.solution-strengths .card-image {
  width: 100%;
  height: 220px;  /* ✅ 텍스트 공간 확보 */
  transition: opacity 0.3s ease;
}
.solution-values .card-image img,
.solution-strengths .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* 오버레이 */
.solution-values .card-overlay,
.solution-strengths .card-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240,240,240,0.92);
  opacity: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.solution-values .card:hover .card-image img,
.solution-strengths .card:hover .card-image img {
  opacity: 0.3;
  filter: blur(4px);
  transform: scale(1.05);
}
.solution-values .card:hover .card-overlay,
.solution-strengths .card:hover .card-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* 흐릿 아이콘 */
.solution-values .card-overlay .overlay-icon,
.solution-strengths .card-overlay .overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

/* 텍스트 */
.solution-values .card-overlay p,
.solution-strengths .card-overlay p {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;    /* 검정색 */
  background: none;              /* ✅ 배경 제거 */
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1.6;
}

/* 인트로 */
.about-intro {
  background-image: url('../../img/bg/about-intro-bg.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  margin-top: 75px;
  text-align: center;
  overflow: hidden;
  padding: 4rem 1rem;
}
.about-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(40, 80, 40, 0.5);
  z-index: -1;
  transition: background-color 0.3s ease;
}
.about-intro:hover::before { background-color: rgba(40, 80, 40, 0.7); }
.about-intro h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* === 타자 텍스트 === */
.about-intro .typewriter-box { 
  max-width: 980px; 
  margin: 0 auto; 
}
.about-intro .typewriter-box p,
.about-intro .typewriter {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: normal;
  overflow: visible;
  width: auto;
  max-width: 100%;
  line-height: 1.7;
  display: block;
  margin: .5rem auto;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 연혁 리스트 */
.history-list {
  list-style: none;
  padding: 0;
  margin-top: var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.history-list li span {
  font-weight: bold;
  margin-right: 0.5rem;
  color: var(--color-primary);
}

.about-subpages {
  margin-bottom: 40px;  /* 푸터와 간격 */
}

/* 모바일 카드/히어로 보완 */
@media (max-width: 768px) {
  .solution-values .card-container,
  .solution-strengths .card-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    overflow-x: visible;
  }
  .solution-values .card,
  .solution-strengths .card {
    flex: 1 1 100%;
    max-width: 100%;
    margin: 0 auto 20px;
  }
  .solution-values .card:hover,
  .solution-strengths .card:hover {
    flex: 1 1 100%;
  }
  .about-main .video-hero .overlay { padding-top: 22svh; }
}

/* === [모바일 전용] 카드 이미지 위에 '뒷면 보기' 라벨 표시 (HTML 수정 없음) === */
@media (max-width: 768px) {
  .solution-values .card .card-image,
  .solution-strengths .card .card-image {
    position: relative; /* 기준점 */
  }

  /* 중앙 → 오른쪽 하단으로 위치 변경 */
  .solution-values .card .card-image::after,
  .solution-strengths .card .card-image::after {
    content: "내용 보기";             /* 필요 시 "뒷면 보기"로 변경 */
    position: absolute;
    right: 10px;                         /* ✅ 오른쪽 */
    bottom: 10px;                        /* ✅ 하단 */
    left: auto;                          /* 중앙 정렬 해제 */
    transform: none;                     /* 중앙 보정 제거 */

    display: inline-block;
    padding: 5px 10px;
    background: rgba(255,255,255,.92);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 999px;                /* pill 형태 */
    font-weight: 600;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    z-index: 2;
    pointer-events: none;                /* 클릭 방해 X */
  }
}
