/* ==========================================================================
   Sector detail pages – matches sectores-page.pen design
   ========================================================================== */

/* ---------- Hero ---------- */
.sector-hero {
  padding: 64px 0 48px;
}

.sector-hero-content {
  max-width: 720px;
}

.sector-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.sector-hero-description {
  font-size: 1.25rem;
  color: #000;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Tags / badges row */
.sector-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fcff;
  color: #000;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 5px 12px;
  border-radius: 12px;
  line-height: 1.5;
}

.sector-tag i {
  color: var(--brand);
  font-size: 1rem;
}

/* CTA buttons row */
.sector-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-outline-brand {
  color: var(--brand);
  border: 1px solid var(--brand);
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- Challenges section ---------- */
.sector-challenges {
  background: #f8fcff;
  padding: 64px 0;
}

.sector-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #000;
  line-height: 1.5;
}

.sector-challenge-card {
  background: #fff;
  border-radius: 17px;
  padding: 15px;
  box-shadow: 0 1px 3.5px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.012);
  height: 100%;
}

.sector-challenge-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sector-challenge-icon {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.sector-challenge-icon i {
  font-size: 1.5rem;
  color: var(--brand);
}

.sector-challenge-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #000;
  line-height: 1.5;
  margin-bottom: 4px;
}

.sector-challenge-card-desc {
  font-size: 0.8125rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ---------- Solutions section ---------- */
.sector-solution-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sector-solution-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-solution-icon i {
  font-size: 1.375rem;
  color: #fff;
}

.sector-solution-text {
  flex: 1;
}

/* ---------- Recommended services ---------- */
.sector-service-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: 0 2px 3.5px rgba(0, 0, 0, 0.15);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sector-service-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #000;
  line-height: 1.23;
  margin-bottom: 8px;
}

.sector-service-card-desc {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.5;
  margin-bottom: 16px;
}

.sector-service-suggested {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.sector-service-suggested-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
  width: 100%;
  margin-bottom: 4px;
}

.sector-service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e2f3ff;
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .sector-hero-title {
    font-size: 1.75rem;
  }

  .sector-section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .sector-hero {
    padding: 40px 0 32px;
  }

  .sector-challenges {
    padding: 40px 0;
  }

  .sector-hero-title {
    font-size: 1.5rem;
  }

  .sector-hero-description {
    font-size: 1.0625rem;
  }

  .sector-section-title {
    font-size: 1.5rem;
  }
}
