/* 회사 소개 페이지 전용 스타일 */

/* 상단 히어로 영역: 페이지 제목과 안내 문구를 강조 */
.company-hero {
  background: var(--bg-light);
  padding: 80px 0 60px;
}

/* 히어로 상단 작은 제목(eyebrow) 스타일 */
.company-hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* 히어로 설명 문구 */
.company-hero__lead {
  max-width: 640px;
  color: var(--text-light);
}

/* 섹션 배경 변주: 흰색/연회색으로 구분 */
.section--alt {
  background: var(--bg-light);
}

/* 회사 개요 카드 그리드 */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* 기술력 카드 그리드 */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* 품질 관련 카드 그리드 */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* 대표 인사말 카드 그리드 */
.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* 대표 인사말 목록 스타일 */
.message-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-dark);
}

.message-list li {
  margin-bottom: 8px;
}

/* 표 영역 래퍼: 작은 화면에서 여백 확보 */
.table-wrap {
  margin-bottom: 32px;
}

/* 표 제목 스타일 */
.table-title {
  margin-bottom: 12px;
  font-size: 20px;
}

/* 제품/서비스 표 스타일 */
.product-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

/* 표 헤더 영역 */
.product-table thead {
  background: #f3f4f6;
}

.product-table th,
.product-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

/* 마지막 행의 구분선 제거 */
.product-table tbody tr:last-child th,
.product-table tbody tr:last-child td {
  border-bottom: none;
}

/* 제품 목록 영역 */
.product-list {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}

.product-list__title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.product-list ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 16px;
}

/* 연락처 카드: 주소/전화 정보를 강조 */
.contact-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

/* 연락처 카드 내부 제목 */
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* 지도 + 연락처 통합 레이아웃 */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* 지도 컨테이너: 비율을 유지하면서도 카드처럼 보이게 구성 */
.contact-map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  min-height: 260px;
}

/* 지도 iframe을 컨테이너 전체에 꽉 차게 배치 */
.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 접근성을 위한 숨김 캡션 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 모바일 화면에서 히어로 여백 축소 */
@media (max-width: 768px) {
  .company-hero {
    padding: 60px 0 40px;
  }

  /* 모바일에서는 지도와 연락처를 세로로 배치 */
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
