/* ====== FRANJA DE SECCIÓN ====== */
.section-banner {
  position: relative;
  background: url("../imagenes/frontis.jpg") no-repeat center center/cover;
  padding: 3rem 1rem;
  border-radius: 12px;
  margin: 2rem auto;
  text-align: center;
  overflow: hidden;
}

/* Degradado superpuesto */
.section-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( rgba(128,0,0,0.8));
  border-radius: 12px;
}

.section-banner h1 {
  position: relative;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}

.section-banner h1 i {
  font-size: 1.8rem;
}


/** CONTENIDO **/
/* Contenedor principal */
.laboral {
  font-family: 'Inter', sans-serif;
  padding: 40px 20px;
  text-align: center;
}

/* Intro */
.laboral__intro h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.laboral__intro h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.laboral__intro p {
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.btn-primary {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #555;
}

/* Roles */
.laboral__roles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}

.rol-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  max-width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.rol-card:hover {
  transform: translateY(-5px);
}

.rol-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.rol-card h4 {
  margin-top: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}


/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #800000;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.tab-btn.active {
  color: #800000;
  border-color: #800000;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content input {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.btn-primary.full {
  width: 100%;
}
