body {
  background: #f7f9fb;
  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, rgba(146, 166, 190, 0.4) 20%, rgba(227, 232, 239, 0.4) 100%), url('/assets/images/ingenieria-agropecuaria.jpg') 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 {
  color: #ffffff;
  font-size: 3.1em;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.15em;
}
.hero-overlay p {
  color: #ffffff;
  font-size: 1.3em;
  margin-top: 0;
  font-weight: 500;
  text-shadow: 0 2px 10px #7a8ca7;
}
.ac-title {
  text-align: center;
  color: #4b8fd6;
  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 #e5ecf4;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}
.ac-toggle {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-size: 25px;
  font-weight: 600;
  color: #37475a;
  padding: 2em 1.9em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6em;
  transition: background 0.12s, color 0.16s;
}
.ac-toggle .ti {
  font-size: 1.2em;
  color: #4b8fd6;
  margin-right: 0.2em;
}
.ac-toggle.active {
  background: #eff4f8;
  color: #1a2b3c;
}
.ac-panel {
  display: none;
  padding: 1.3em 2em;
  background: #f1f4f7;
  border-top: 1px solid #d5dce3;
  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 #c2c8d0;
}
.tab {
  padding: 0.5em 1em;
  margin: 0 0.2em;
  cursor: pointer;
  background: #e9eff7;
  border: 1px solid #c2c8d0;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}
.tab.active {
  background: #ffffff;
  font-weight: bold;
  border-bottom: 2px solid #ffffff;
}
.table-container {
  max-width: 900px;
  margin: 0 auto 2em auto;
  padding: 1em;
  background: #ffffff;
  border: 1px solid #ccd4de;
  border-radius: 4px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 0.75em;
  border: 1px solid #dee3ea;
  text-align: left;
}
th {
  background: #f5f7fa;
}
@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: #3a4758;
  font-size: 1.08em;
  border-bottom: 1px solid #e1e6ec;
}
.ac-list li:last-child {
  border-bottom: none;
}
.ac-list .ti {
  color: #4b8fd6;
  font-size: 1.1em;
}
/* Responsive */
@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;
  }
}
