/*--------------------------------------------------------------
# 회사소개 (company.html) — 통이미지 대신 HTML 텍스트 + 분리한 사진
--------------------------------------------------------------*/

/* 상단 배너 */
.home.bc-banner.company-banner {
  background-image: url("../img/company/header.webp");
  background-color: #1d7ad8;
}

/* 인사말 */
.greetings.bc-section {
  min-height: 0;
  display: block;
  padding: clamp(80px, 9vw, 140px) 0;
  background: #fff;
  color: var(--bc-text);
}

.greetings-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1800 / 554;
  object-fit: cover;
  border-radius: 24px 0 24px 0;
}

.greetings-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px 48px;
  margin-top: clamp(32px, 4vw, 56px);
}

.greetings-body h3 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1.35;
}

.greetings-body p {
  margin: 0 0 1em;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.8;
  color: #333;
}

@media (max-width: 899px) {
  .greetings-body {
    grid-template-columns: 1fr;
  }
}

/* 회사 정보 */
.company-information.bc-section {
  min-height: 0;
  display: block;
  position: relative;
  padding: clamp(80px, 9vw, 140px) 0;
  background: #dae6f3;
  color: var(--bc-text);
  overflow: hidden;
}

.company-information::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  aspect-ratio: 1600 / 750;
  background: url("../img/company/info-deco.webp") right top / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  pointer-events: none;
}

.company-information .container {
  position: relative;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px 28px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 60, 120, 0.08);
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #777;
}

.info-card > i {
  margin-top: auto;
  align-self: flex-end;
  font-size: 40px;
  line-height: 1;
  color: #0072bc;
}

.info-card.brand {
  grid-column: span 2;
  align-items: center;
  justify-content: center;
  background: #0072bc;
  color: #fff;
  text-align: left;
}

.info-card.brand span {
  display: block;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 500;
}

.info-card.brand img {
  display: block;
  width: min(220px, 80%);
  margin-top: 6px;
}

.info-card.certs {
  grid-column: span 3;
}

.cert-list {
  display: flex;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.cert-list li {
  flex: 1;
  max-width: 130px;
  text-align: center;
}

.cert-list img {
  display: block;
  width: 100%;
  border: 1px solid #e3e3e3;
  cursor: zoom-in;
}

.cert-list figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
  word-break: keep-all;
}

@media (max-width: 1199px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-card.brand,
  .info-card.certs {
    grid-column: span 2;
  }
}

@media (max-width: 575px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid > li,
  .info-card.brand,
  .info-card.certs {
    grid-column: span 1;
  }

  .cert-list {
    gap: 8px;
  }
}

/* 업무공간 */
.work-space.bc-section {
  min-height: 0;
  display: block;
  padding: clamp(80px, 9vw, 140px) 0;
  background: #fff;
  color: var(--bc-text);
}

.workspace-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.workspace-gallery li:first-child {
  grid-column: 1 / -1;
}

.workspace-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.workspace-gallery li:first-child img {
  aspect-ratio: 1800 / 590;
}

@media (max-width: 767px) {
  .workspace-gallery {
    grid-template-columns: 1fr;
  }
}

/* 오시는 길 (회사소개 페이지는 흰 배경) */
.company-location.bc-section.location-light {
  background: #fff;
  color: var(--bc-text);
}

.company-location.location-light .bc-eyebrow {
  color: #8c8c8c;
}

.company-location.location-light .location-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}
