/* ═══════════════════════════════════════════
   업종별 홈페이지 허브 (/industry)
═══════════════════════════════════════════ */

.industry-section {
  padding: 88px 24px;
  background: var(--background);
}

.industry-section--others {
  padding-top: 0;
}

.industry-section-title {
  margin-bottom: 28px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #111111;
}

.industry-section-sub {
  margin: -16px 0 28px;
  color: rgba(17, 17, 17, 0.62);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

/* 업종 카드 */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.industry-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 25px -8px rgba(17, 17, 17, 0.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(17, 17, 17, 0.16);
}

.industry-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.industry-card-thumb picture,
.industry-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
}

.industry-card-thumb img {
  object-fit: cover;
  object-position: top center;
}

.industry-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 26px;
}

.industry-card-count {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.industry-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.industry-card h3 a {
  color: #111111;
  text-decoration: none;
}

.industry-card-body > p:not(.industry-card-count) {
  color: rgba(17, 17, 17, 0.66);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.industry-card-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px;
  padding: 0;
  list-style: none;
}

.industry-card-cases a {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.industry-card-cases a:hover {
  background: #e5e7eb;
}

.industry-card-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.industry-card-link:hover {
  text-decoration: underline;
}

/* 그 밖의 업종 */
.industry-others {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.industry-others li {
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.industry-others a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  color: #111111;
  text-decoration: none;
}

.industry-others-name {
  font-size: 15px;
  font-weight: 650;
  word-break: keep-all;
}

.industry-others a:hover .industry-others-name {
  color: var(--accent);
}

.industry-others-client {
  color: rgba(17, 17, 17, 0.5);
  font-size: 13px;
}

.industry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding: 28px 32px;
  border-radius: 20px;
  background: #f7f7f5;
}

.industry-cta p {
  color: rgba(17, 17, 17, 0.72);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
}

.industry-cta .btn-primary {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .industry-others {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .industry-section {
    padding: 64px 20px;
  }

  .industry-section--others {
    padding-top: 0;
  }

  .industry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .industry-card-body {
    padding: 20px 20px 22px;
  }

  .industry-card h3 {
    font-size: 20px;
  }

  .industry-others {
    grid-template-columns: minmax(0, 1fr);
  }

  .industry-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    text-align: center;
  }

  .industry-cta .btn-primary {
    justify-content: center;
  }
}
