/* =========================
   HIGH SCHOOL
========================= */

.highschool-page,
.highschool-page * {
  box-sizing: border-box;
}

.highschool-page {
  padding: 175px 0 60px;
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  color: #12324a;
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================
   HERO SUPERIOR
========================= */

.highschool-showcase {
  width: 100%;
  padding: 40px 24px 28px;
}

.highschool-layout {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.highschool-slider-card,
.highschool-info-card,
.highschool-proposal-card,
.experience-grid article,
.highschool-final-cta {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(8, 54, 86, 0.10);
  overflow: hidden;
}

/* =========================
   SLIDER
========================= */

.highschool-slider-card {
  position: relative;
  height: 500px;
}

.highschool-slider-card .nivel-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.highschool-slider-card .nivel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.highschool-slider-card .nivel-slide.active {
  opacity: 1;
  z-index: 1;
}

.highschool-slider-card .nivel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.highschool-slider-card .slider-btn {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #083656;
  color: #ffffff;
  font-size: 1.45rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highschool-slider-card .slider-btn.prev {
  left: 18px;
  transform: translateY(-50%);
}

.highschool-slider-card .slider-btn.next {
  right: 18px;
  transform: translateY(-50%);
}

.highschool-slider-card .slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 6;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

.highschool-slider-card .dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  cursor: pointer;
}

.highschool-slider-card .dot.active {
  background: #083656;
}

/* =========================
   CARD INFORMACIÓN
========================= */

.highschool-info-card {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
}

.highschool-label {
  color: #ff2b1c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.highschool-info-card h1 {
  margin: 0 0 14px;
}

.highschool-info-card h1 img {
  width: 100%;
  max-width: 280px;
  display: block;
}

.highschool-intro {
  color: #405b70;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

.highschool-data-list {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.highschool-data-list p {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(8, 54, 86, 0.14);
  color: #3d5669;
  font-size: 0.9rem;
  line-height: 1.55;
}

.highschool-data-list p > span {
  flex: 0 0 28px;
  color: #ff2b1c;
  font-size: 1.18rem;
  line-height: 1.2;
  text-align: center;
}

.highschool-data-list strong {
  color: #083656;
  font-weight: 800;
}

.highschool-main-btn {
  margin-top: auto;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 8px;
  background: #083656;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.highschool-main-btn span {
  font-size: 1.2rem;
}

/* =========================
   PROPUESTA
========================= */

.highschool-proposal {
  padding: 12px 24px 34px;
}

.highschool-proposal-card {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: center;
}

.highschool-proposal-text {
  padding: 30px 26px;
}

.highschool-proposal-text > span {
  display: block;
  color: #ff2b1c;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.highschool-proposal-text h2 {
  color: #083656;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 16px;
}

.highschool-proposal-text .section-title-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.highschool-proposal-text > p {
  color: #405b70;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
}

.proposal-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proposal-points p {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: #3d5669;
  font-size: 0.92rem;
  line-height: 1.65;
}

.proposal-points i {
  flex: 0 0 28px;
  font-style: normal;
  font-size: 1.25rem;
  text-align: center;
}

.highschool-proposal-img {
  width: 100%;
  height: 360px;
  max-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  align-self: center;
}

.highschool-proposal-img img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================
   EXPERIENCIAS
========================= */

.highschool-experiences {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 8px 24px 42px;
  text-align: center;
}

.highschool-experiences h2 {
  color: #083656;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 28px;
}

.highschool-experiences h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin: 12px auto 0;
  background: #ff2b1c;
  border-radius: 999px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.experience-grid article {
  padding: 26px 16px;
  min-height: 178px;
}

.experience-grid article span {
  display: block;
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.experience-grid h3 {
  color: #083656;
  font-size: 0.95rem;
  margin-bottom: 9px;
}

.experience-grid p {
  color: #526a7d;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* =========================
   CTA
========================= */

.highschool-final-cta {
  width: min(calc(100% - 48px), 1280px);
  min-height: 230px;
  margin: 0 auto;
  padding: 42px 46px;
  background:
    linear-gradient(90deg, rgba(8, 54, 86, 0.96) 0%, rgba(8, 54, 86, 0.76) 42%, rgba(8, 54, 86, 0.18) 100%),
    url("../assets/img/academic-levels/secundaria-highschool/galeria/foto-299.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.highschool-final-cta div {
  max-width: 560px;
  color: #ffffff;
}

.highschool-final-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.highschool-final-cta p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.highschool-final-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff3b30;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

@media (max-width: 1100px) {
  .highschool-layout,
  .highschool-proposal-card {
    grid-template-columns: 1fr;
  }

  .highschool-slider-card {
    height: 430px;
  }

  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .highschool-proposal-img {
    height: 330px;
    max-height: 330px;
  }

  .highschool-proposal-img img {
    max-height: 330px;
  }
}

@media (max-width: 768px) {
  .highschool-page {
    padding-top: 125px;
  }

  .highschool-showcase,
  .highschool-proposal,
  .highschool-experiences {
    padding-left: 16px;
    padding-right: 16px;
  }

  .highschool-slider-card {
    height: 320px;
  }

  .highschool-info-card {
    padding: 28px 24px;
  }

  .highschool-proposal-card {
    padding: 14px;
  }

  .highschool-proposal-text {
    padding: 24px 18px;
  }

  .highschool-proposal-img {
    height: 280px;
    max-height: 280px;
  }

  .highschool-proposal-img img {
    max-height: 280px;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highschool-final-cta {
    width: calc(100% - 32px);
    padding: 34px 24px;
    background:
      linear-gradient(90deg, rgba(8, 54, 86, 0.94), rgba(8, 54, 86, 0.78)),
      url("../assets/img/academic-levels/secundaria-highschool/galeria/foto-299.webp") center/cover no-repeat;
  }
}

@media (max-width: 480px) {
  .highschool-slider-card {
    height: 260px;
  }

  .highschool-slider-card .slider-btn {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .highschool-proposal-img {
    height: 230px;
    max-height: 230px;
  }

  .highschool-proposal-img img {
    max-height: 230px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .highschool-main-btn,
  .highschool-final-cta a {
    width: 100%;
  }
}

/* =========================
   SVG ICON CONTAINERS
========================= */
.highschool-data-list .dli {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #083656;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highschool-data-list .dli img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}
.proposal-points .pill-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #083656;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.proposal-points .pill-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}
.experience-grid .exp-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #083656;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 0;
}
.experience-grid .exp-icon img {
  width: 26px;
  height: 26px;
  display: block;
  filter: brightness(0) invert(1);
}
