/* ── 회사소개 ── */
.about-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 90px 5%;
    text-align: center;
}

.about-section h2 {
    padding-bottom: 3%;
}

.about-text {
    text-align: center;
    margin-bottom: 20px;
}

.about-text .intro {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 20px;
}

.about-text .sub{
    font-size: 14px;
    color: var(--silver);
}
.about-img {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.divider {
    margin: 0 auto;  
    width: 1px;
    height: 100px; 
    background: var(--silver);
}

.about-img img{
    height: 70px;
    width: auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ── 사업분야 ── */
.business-section {
    background: var(--white);
    padding: 0px 70px 90px;
}
.business-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.business-header {
    text-align: center;
    margin-bottom: 70px;
}
.business-header .section-divider {
    margin: 0 auto;
}

/* 카드 컨테이너 */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  gap: 2px;
  max-width: 1000px;
  margin: 0 auto;
}

/* 카드 기본 */
.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  border: 1px solid #ddd;
  overflow: hidden;
  cursor: pointer;
}

/* 카드 텍스트 */
.card-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-weight: 500;
  color: var(--navy);
}

/* hover 박스 */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  color: white;
  padding-left: 15px;
  padding-top: 15px;
  box-sizing: border-box;

  opacity: 0; 
  visibility: hidden;
  transition: opacity 0.3s ease;
}

/* hover 시 등장 */
.card:hover .overlay {
  opacity: 1;
  visibility: visible;
}

/* 호버 텍스트 */
.overlay h3 {
  font-size: 14px;
  margin-bottom: 10px;
}

.overlay ul {
  text-align: left;
}

.overlay li {
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
}


/* ── 반응형 ── */
@media (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .business-section {
    padding: 0px 40px 70px;
  }
}
@media (max-width: 450px) {
  .card-container {
    grid-template-columns: repeat(1, 1fr);
  }

  .business-section {
    padding: 0px 40px 70px;
  }
}