html, body {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Poppins', Arial, sans-serif;
      background: #f4f6f9;
      color: #333;
    }

    /* ===== Navbar ===== */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;                 
      background: rgba(0, 0, 0, 0.7);
      padding: 12px clamp(12px, 3vw, 40px);
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      z-index: 2;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      color: white;
      font-weight: 700;
      font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    }

    .logo {
      height: 40px;
      width: auto;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      text-decoration: none;
      padding: 10px 24px;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: 600;
      transition: 0.3s;
      white-space: nowrap;
    }

    .nav-links a:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    /* ===== Fondo principal con banner ===== */
    .hero-detalle {
      background: url("../../assets/img/backgrounds/fondoazul.jpeg") no-repeat center center/cover;
      height: 250px;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #fff;
      position: relative;
      margin-top: 60px;
    }

    .hero-detalle::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.5);
    }

    .hero-detalle h1 {
      z-index: 1;
      font-size: 2.5rem;
      font-weight: 700;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    }

    /* ===== Contenedor de detalle ===== */
    .detalle-vacante {
      max-width: 850px;
      margin: 50px auto;
      background: #fff;
      border-radius: 12px;
      padding: 40px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.1);
      position: relative;
      z-index: 1;
    }

    .detalle-vacante h2 {
      color: #007bff;
      font-size: 2rem;
      text-align: center;
      margin-bottom: 25px;
    }

    .detalle-vacante p {
      font-size: 1.1rem;
      margin: 10px 0;
      line-height: 1.6;
    }

    .detalle-vacante p strong {
      color: #0d3a8c;
    }

    .detalle-vacante i {
      color: #007bff;
      margin-right: 8px;
    }

    .detalle-vacante hr {
      border: none;
      height: 1px;
      background: #e0e0e0;
      margin: 25px 0;
    }

    .btn-postular {
      display: block;
      text-align: center;
      background: #1456c0;
      color: #fff;
      padding: 14px 0;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      letter-spacing: 0.3px;
      transition: background 0.3s, transform 0.2s;
    }

    .btn-postular:hover {
      background: #0d3a8c;
      transform: translateY(-2px);
    }

    /* ===== Responsivo ===== */
    @media (max-width: 600px) {
      .detalle-vacante {
        margin: 20px;
        padding: 25px;
      }
      .detalle-vacante h2 {
        font-size: 1.5rem;
      }
      .hero-detalle h1 {
        font-size: 2rem;
      }
    }
    
/* ===== Banner Vacantes con fondo ===== */
.hero-vacantes {
  background: url("../img/backgrounds/fondoazul.jpeg") no-repeat center center/cover;
  height: 200px;                /* alto del banner */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-top: 0px;             /* deja espacio para la navbar fija */
  position: relative;
}

.hero-vacantes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);  /* overlay seminegro */
}

.hero-vacantes h1 {
  font-size: 2.5rem;
  font-weight: 700;
  z-index: 1;                   /* encima del overlay */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  font-family: 'Poppins', sans-serif;

}
