/* =========================================
   BOLSA DE TRABAJO
========================================= */

.jobs-section {
  padding: 70px 0 80px;
  background: linear-gradient(180deg, #f5f8f7 0%, #ffffff 100%);
  margin-top: 20px;
  padding-top: 20px;
}

/* =========================================
   ENCABEZADO
========================================= */

.jobs-header {
  margin-bottom: 25px;
}

/* Badge */

.jobs-header .section-badge {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 8px 18px;

  border-radius: 30px;

  background: #eaf6ef;

  color: #0c733c;

  font-size: 0.85rem;

  font-weight: 600;

  margin-bottom: 18px;
}

/* Icono del badge */

.jobs-header .section-badge i {
  font-size: 1rem;
}

/* Título */

.jobs-header .section-title {
  font-size: 2.4rem;

  font-weight: 700;

  color: #263238;

  margin-bottom: 15px;
}

/* Descripción */

.jobs-header .section-description {
  max-width: 720px;

  margin: 0 auto;

  color: #6b7280;

  font-size: 1rem;

  line-height: 1.7;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {
  .jobs-section {
    padding: 50px 0;
  }

  .jobs-header .section-title {
    font-size: 2rem;
  }

  .jobs-header .section-description {
    padding: 0 15px;
  }
}
/* =========================================
   TE ESTAMOS BUSCANDO
========================================= */

.jobs-locations {
  margin-top: 30px;
}

/* =========================================
   TARJETA DE UBICACIÓN
========================================= */

.location-card {
  position: relative;

  display: flex;

  gap: 22px;

  height: 100%;

  padding: 28px;

  background: #ffffff;

  border-radius: 20px;

  border: 1px solid #e8ecef;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  overflow: hidden;

  transition: all 0.3s ease;
}

/* Línea superior */

.location-card::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 5px;

  background: linear-gradient(90deg, #0c733c, #1fa85b, #ea9321);
}

/* Hover */

.location-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);

  border-color: #0c733c;
}

/* =========================================
   ICONO
========================================= */

.location-icon {
  flex-shrink: 0;

  width: 62px;

  height: 62px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 18px;

  background: linear-gradient(135deg, #0c733c, #169b57);

  color: #ffffff;

  font-size: 27px;

  box-shadow: 0 8px 18px rgba(12, 115, 60, 0.2);
}

/* =========================================
   CONTENIDO
========================================= */

.location-content {
  flex: 1;
}

.location-content h3 {
  margin: 0 0 8px;

  color: #263238;

  font-size: 1.35rem;

  font-weight: 700;
}

.location-description {
  margin-bottom: 18px;

  color: #6b7280;

  font-size: 0.92rem;

  line-height: 1.5;
}

/* =========================================
   SUCURSALES
========================================= */

.branches-list {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;
}

.branches-list span {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 7px 11px;

  border-radius: 20px;

  background: #f1f7f3;

  color: #0c733c;

  font-size: 0.78rem;

  font-weight: 500;
}

.branches-list i {
  font-size: 0.75rem;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 576px) {
  .location-card {
    padding: 22px;

    gap: 15px;
  }

  .location-icon {
    width: 52px;

    height: 52px;

    border-radius: 15px;

    font-size: 22px;
  }

  .location-content h3 {
    font-size: 1.15rem;
  }

  .branches-list span {
    font-size: 0.72rem;

    padding: 6px 9px;
  }
}
/* ==================================
   VACANTES
================================== */

.vacantes-section {
  padding: 80px 0;
  background: #f8faf9;
}

.vacante-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

/* ENCABEZADO */

.vacante-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 25px 30px;

  background: linear-gradient(90deg, #087f3f, #e99a22);

  color: white;
}

.vacante-header h3 {
  margin: 10px 0 0;
  font-size: 26px;
  font-weight: 700;
}

.vacante-header > i {
  font-size: 45px;
  opacity: 0.9;
}

.vacante-badge {
  display: inline-block;

  background: rgba(255, 255, 255, 0.2);

  padding: 6px 14px;

  border-radius: 20px;

  font-size: 14px;
}

/* CONTENIDO */

.vacante-content {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;

  padding: 30px;
}

.vacante-bloque {
  padding: 20px;

  border-radius: 12px;

  background: #f8faf9;

  border: 1px solid #e8ece9;
}

.vacante-bloque h4 {
  color: #087f3f;

  font-size: 19px;

  margin-bottom: 18px;

  font-weight: 700;
}

.vacante-bloque h4 i {
  margin-right: 8px;
}

.vacante-bloque ul {
  padding-left: 20px;

  margin: 0;
}

.vacante-bloque li {
  margin-bottom: 12px;

  color: #555;

  line-height: 1.5;
}

/* FOOTER */

.vacante-footer {
  padding: 20px 30px;

  border-top: 1px solid #eee;

  text-align: right;
}

.btn-postular {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: #087f3f;

  color: white;

  padding: 11px 22px;

  border-radius: 25px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;
}

.btn-postular:hover {
  background: #066b35;

  color: white;

  transform: translateY(-2px);
}
/* ==================================
   POSTULACIÓN
================================== */

.postulacion-section {
  padding: 80px 0;
  background: #f8faf9;
}

/* INFORMACIÓN */

.postulacion-info {
  background: white;

  padding: 35px;

  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);

  height: 100%;
}

.postulacion-icon {
  width: 60px;
  height: 60px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #087f3f, #e99a22);

  color: white;

  border-radius: 15px;

  font-size: 25px;

  margin-bottom: 25px;
}

.postulacion-info h3 {
  color: #0b1d35;

  font-size: 25px;

  font-weight: 700;

  margin-bottom: 15px;
}

.postulacion-info > p {
  color: #666;

  line-height: 1.7;
}

/* CORREO */

.correo-contacto,
.horario-contacto {
  display: flex;

  gap: 15px;

  align-items: flex-start;

  margin-top: 30px;

  padding: 18px;

  background: #f5f8f6;

  border-radius: 12px;
}

.correo-contacto > i,
.horario-contacto > i {
  color: #087f3f;

  font-size: 22px;
}

.correo-contacto span {
  display: block;

  color: #666;

  margin-bottom: 5px;
}

.correo-contacto a {
  color: #087f3f;

  font-weight: 700;

  text-decoration: none;

  word-break: break-word;
}

.correo-contacto a:hover {
  color: #e99a22;
}

.horario-contacto strong {
  color: #222;
}

.horario-contacto p {
  margin: 5px 0 0;

  color: #666;
}

/* ==================================
   FORMULARIO
================================== */

.postulacion-form-card {
  background: white;

  padding: 35px;

  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.postulacion-form-card h3 {
  color: #0b1d35;

  font-size: 25px;

  font-weight: 700;

  margin-bottom: 5px;
}

.form-intro {
  color: #777;

  margin-bottom: 30px;
}

.postulacion-form-card label {
  font-weight: 600;

  color: #333;

  margin-bottom: 7px;
}

.postulacion-form-card .form-control {
  border: 1px solid #dfe5e1;

  border-radius: 10px;

  padding: 11px 14px;

  transition: 0.2s;
}

.postulacion-form-card .form-control:focus {
  border-color: #087f3f;

  box-shadow: 0 0 0 3px rgba(8, 127, 63, 0.1);
}

.postulacion-form-card small {
  display: block;

  margin-top: 6px;

  line-height: 1.4;
}

/* BOTÓN */

.btn-postular-form {
  border: none;

  background: #087f3f;

  color: white;

  padding: 12px 28px;

  border-radius: 25px;

  font-weight: 600;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  transition: 0.3s;
}

.btn-postular-form:hover {
  background: #e99a22;

  color: white;

  transform: translateY(-2px);

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* ==================================
   RESPONSIVE
================================== */

@media (max-width: 991px) {
  .postulacion-info {
    height: auto;
  }
}

@media (max-width: 576px) {
  .postulacion-section {
    padding: 50px 15px;
  }

  .postulacion-info,
  .postulacion-form-card {
    padding: 25px 20px;
  }

  .correo-contacto a {
    font-size: 14px;
  }
}
