body {
  background: #fff;
  font-family:  "Nunito", sans-serif;
  margin: 0;
  padding: 0;
}
.hero-enf {
  width: 98vw;
  margin: 1em auto 2em auto;
  min-height: 270px;
  max-height: 350px;
  background: linear-gradient(110deg, #4185c2d0 20%, #53afe8e0 100%), url('/assets/images/carrera-de-laboratorio.webp') center/cover no-repeat;
  border-radius: 0.4em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  width: 100%;
  text-align: center;
  padding: 3em 1em 2em 1em;
}
.hero-overlay h1 {
  font-family:  "Nunito", sans-serif;
  color: #ffffff;
  font-size: 3.1em;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.15em;
}
.hero-overlay p {
  font-family: "Nunito", sans-serif;
  color: #fff;
  font-size: 1.3em;
  margin-top: 0;
  font-weight: 500;
  text-shadow: 0 2px 10px #397bb699;
}
.ac-title {
  text-align: center;
  font-family: "Nunito", sans-serif;
  color: #03a9f4;
  font-size: 3em;
  font-weight: 800;
  margin-top: 1.2em;
  margin-bottom: 1.7em;
  letter-spacing: 1px;
}
.acordeon {
  max-width: 1000px;
  max-height: 2800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}
.ac-item {
  box-shadow: 0 4px 20px rgba(44, 90, 180, 0.07);
  border: 2px solid #ffffff;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.ac-toggle {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-size: 25px;
  font-weight: 600;
  color: #03a9f4;
  padding: 2em 1.9em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6em;
  transition: background .12s, color .16s;
}
.ac-toggle .ti {
  font-size: 1.2em;
  color: #03a9f4;
  margin-right: 0.2em;
}
.ac-toggle.active {
  background: #f3f7fb;
  color: #0a1a3b;
}
.ac-panel {
  display: none;
  padding: 1.3em 2em;
  background: #f5f7fa;
  border-top: 1px solid #dbe4ef;
  animation: fadeIn 0.4s;
}
.ac-panel img{
  margin: 0px auto;
 padding-left: 145px;
}
.semester-selector { text-align: center; margin: 1em 0; }
.tabs { display: inline-flex; list-style: none; padding: 0; margin: 0; border-bottom: 2px solid #ccc; }
.tab { padding: 0.5em 1em; margin: 0 0.2em; cursor: pointer; background: #e0eaff; border: 1px solid #ccc; border-bottom: none; border-radius: 4px 4px 0 0; }
.tab.active { background: #fff; font-weight: bold; border-bottom: 2px solid #fff; }

.table-container { max-width: 900px; margin: 0 auto 2em auto; padding: 1em; background: #fff; border: 1px solid #ccc; border-radius: 4px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75em; border: 1px solid #ddd; text-align: left; }
th { background: #f0f0f0; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.ac-item.open .ac-panel {
  display: block;
}
.ac-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.ac-list li {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.45em 0;
  color: #3b4863;
  font-size: 1.08em;
  border-bottom: 1px solid #e6e8ec;
}
.ac-list li:last-child {
  border-bottom: none;
}
.ac-list .ti {
  color: #2d7fd0;
  font-size: 1.1em;
}

/* Responsive: slider y cards en columna en móvil, oculta flechas */
@media (max-width: 1000px) {
  .hero-enf {
    min-height: 180px;
    max-height: 240px;
  }
  .hero-overlay h1 { font-size: 2em; }
  .hero-overlay p { font-size: 1.08em; }
  .enf-card { padding: 1.3em 1.2em; max-width: 98vw; }
  .enf-bar { height: 48px; }
  .enf-card h2 { font-size: 1.37em; }
  .enf-card p { font-size: 1.01em; }
}
@media (max-width: 900px) {
  .plan-slider-container { flex-direction: column; gap: 0.7em;}
  .plan-slider-btn { display: none !important; }
  .plan-grid-slider { flex-direction: column; gap: 0.7em; overflow-x: visible; }
  .ciclo-box { max-width: 100%; min-width: 0; }
}
@media (max-width: 700px) {
  .hero-enf {
    min-height: 110px;
    max-height: 140px;
    border-radius: 0.2em;
  }
  .hero-overlay { padding: 1.2em 0.2em; }
  .hero-overlay h1 { font-size: 1.1em; margin-bottom: 0.2em; }
  .hero-overlay p { font-size: 0.89em; }
 .ac-title {
    font-size: 1.5em;
    margin-top: 0.9em;
    margin-bottom: 1em;
  }
  .ac-toggle {
    font-size: 1em;
    padding: 0.75em 0.7em;
  }
  .ac-panel {
    padding: 1em 0.8em;
    font-size: 0.99em;
  }
}
@media (max-width: 600px) {
      .tab { padding: 0.5em 0.7em; font-size: 0.9em; }
      th, td { font-size: 0.9em; }
    }