/* ============================================================
   EFECTIVOS — empresas.css
   Estilos ESPECÍFICOS de la landing B2B.
   main.css + Bootstrap manejan el resto del sitio.
   Aquí solo vive lo que no existe en ninguno de los dos.
   ============================================================ */

/* ----------------------------------------------------------
   1. HERO B2B
      dark-background ya lo estiliza main.css,
      aquí solo ajustamos detalles propios de esta página.
---------------------------------------------------------- */
.empresas-page .emp-hero {
  background-color: #ffffff;
  color: inherit;
}

.empresas-page .emp-hero .hero-title,
.empresas-page .emp-hero .hero-description {
  color: inherit;
}

.empresas-page .emp-hero-visual {
  position: relative;
}

.empresas-page .emp-hero-img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  width: 100%;
}

/* Badge circular "+20 años" sobre la imagen */
.empresas-page .emp-hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: var(--accent-color, #3B7302);
  border: 4px solid rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.empresas-page .emp-badge-years {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.empresas-page .emp-badge-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  margin-top: 2px;
}

/* ----------------------------------------------------------
   2. TRUST BAR — barra de credenciales verde
---------------------------------------------------------- */
.emp-trust-bar {
  background-color: var(--accent-color);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.emp-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.emp-trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  padding: 0.4rem 2rem;
}

.emp-trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.emp-trust-item:hover .emp-trust-icon {
  background-color: rgba(255,255,255,0.28);
  transform: scale(1.1);
}

.emp-trust-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.emp-trust-text strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.emp-trust-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

/* Separador vertical entre ítems */
.emp-trust-sep {
  width: 1px;
  height: 40px;
  background-color: rgba(255,255,255,0.25);
  list-style: none;
}

@media (max-width: 991px) {
  .emp-trust-sep { display: none; }
  .emp-trust-item { padding: 0.5rem 1rem; }
}

@media (max-width: 575px) {
  .emp-trust-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .emp-trust-text strong { font-size: 0.88rem; }
  .emp-trust-text span   { font-size: 0.7rem; }
  .emp-trust-item { padding: 0.4rem 0.75rem; }
}

/* ----------------------------------------------------------
   3. CAJA DE PROBLEMA (columna izquierda de certificaciones)
---------------------------------------------------------- */
.emp-problem-box {
  background-color: #f0f7e6;
  border-left: 5px solid var(--secondary-color, #D20305);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
}

.emp-problem-box h2 {
  margin-bottom: 0.75rem;
}

/* ----------------------------------------------------------
   4. TARJETAS DE CERTIFICACIONES
---------------------------------------------------------- */
.emp-cert-card {
  background: #fff;
  border: 1px solid #ddecc5;
  border-top: 3px solid var(--accent-color, #3B7302);
  border-radius: 8px;
  padding: 1.25rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.emp-cert-card:hover {
  box-shadow: 0 6px 18px rgba(59,115,2,0.14);
  transform: translateY(-3px);
}

.emp-cert-icon {
  font-size: 2rem;
  color: var(--accent-color, #3B7302);
  display: block;
  margin-bottom: 0.6rem;
}

.emp-cert-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.emp-cert-card p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0;
  line-height: 1.55;
}

/* ----------------------------------------------------------
   5. TARJETAS DE SECTORES
---------------------------------------------------------- */
.emp-sector-card {
  background: #fff;
  border: 1px solid #ddecc5;
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.emp-sector-card:hover {
  box-shadow: 0 6px 20px rgba(59,115,2,0.13);
  transform: translateY(-3px);
}

.emp-sector-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #eef6e2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-color, #3B7302);
  font-size: 1.5rem;
  transition: background-color 0.2s ease;
}

.emp-sector-card:hover .emp-sector-icon {
  background-color: var(--accent-color, #3B7302);
  color: #fff;
}

.emp-sector-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.emp-sector-card p {
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   6. TEXTO CTA DE SECTORES
---------------------------------------------------------- */
.emp-cta-lead {
  font-size: 1rem;
  color: #444;
}

/* ----------------------------------------------------------
   7. BANNER CTA INTERMEDIO
      dark-background lo hereda de main.css
---------------------------------------------------------- */
.emp-cta-banner-title {
  color: #fff;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.emp-cta-banner-desc {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   8. ETIQUETA DE COBERTURA EN CIERRE
---------------------------------------------------------- */
.emp-coverage-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #8fcc3e;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ----------------------------------------------------------
   9. RESPONSIVE AJUSTES ESPECÍFICOS
---------------------------------------------------------- */
@media (max-width: 767px) {

  /* Compensar el header fixed-top (~86px) que no ocupa espacio en el flujo */
  .empresas-page .hero.emp-hero {
    padding-top: 95px !important;
  }

  .emp-hero-badge {
    width: 80px;
    height: 80px;
    bottom: -10px;
    left: 10px;
  }

  .emp-badge-years { font-size: 1.5rem; }
  .emp-badge-label { font-size: 0.6rem; }

  .emp-trust-list  { gap: 0.5rem 1rem; }
  .emp-trust-item  { font-size: 0.78rem; }

  .emp-problem-box { padding: 1.25rem; }

  .emp-cta-banner-title { font-size: 1.1rem; }

}

@media (max-width: 575px) {

  .empresas-page .emp-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

}
