/* =========================
   ENGLISH PAGE
   Misma estética que High School
========================= */

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

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

/* =========================
   BLOQUE 1 — HERO (= highschool-showcase)
========================= */

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

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

/* Tarjetas con estética Sanvi */
.en-slider-card,
.en-info-card,
.en-proposal-card,
.en-experiences .experience-grid article,
.en-cert-panel,
.en-final-cta {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(8, 54, 86, 0.10);
  overflow: hidden;
}

/* =========================
   SLIDER DEL HERO
========================= */

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

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

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

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

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

.en-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;
}

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

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

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

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

/* =========================
   INFO CARD (= highschool-info-card)
========================= */

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

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

.en-info-card h1 {
  color: #083656;
  font-family: Arial, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
}

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

/* Feature list (= highschool-data-list) */
.en-feature-list {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  flex: 1;
}

.en-feature-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.88rem;
  line-height: 1.55;
  margin: 0;
}

.en-feature-list p > span:not(.dli) {
  flex: 1;
}

.en-feature-list strong {
  color: #083656;
  font-weight: 800;
}

.en-feature-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;
}

.en-feature-list .dli img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

/* Botón azul principal (= highschool-main-btn) */
.en-main-btn {
  margin-top: 22px;
  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;
  transition: background 0.22s ease;
}

.en-main-btn:hover {
  background: #1a4e78;
}

.en-main-btn span:last-child {
  font-size: 1.2rem;
}

/* =========================
   BLOQUE 2 — RECORRIDO (= highschool-proposal)
========================= */

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

.en-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;
}

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

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

.en-proposal-text h2 {
  color: #083656;
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.en-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;
  margin: 0;
}

.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);
}

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

.en-proposal-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* =========================
   BLOQUE 3 — PROGRAMA (= highschool-experiences)
========================= */

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

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

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

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

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

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

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

.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;
}

.exp-icon img {
  width: 26px;
  height: 26px;
  display: block;
  filter: brightness(0) invert(1);
}

/* =========================
   BLOQUE 4 — CERTIFICACIONES
========================= */

.en-certs {
  background: #ffffff;
  padding: 0 24px 60px;
}

.en-certs-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.en-certs-head {
  text-align: center;
  padding: 60px 0 44px;
}

.en-certs-head h2 {
  color: #083656;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 0 0 12px;
}

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

.en-certs-head .section-title-img {
  display: block;
  max-width: 420px;
  height: auto;
  margin: 0 auto 0;
}

.en-certs-head .section-title-img + p {
  margin-top: 12px;
}

.en-certs-head:has(.section-title-img)::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  margin: 12px auto 12px;
  background: #ff2b1c;
  border-radius: 999px;
}

.en-certs-head p {
  color: #405b70;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Fila de logos */
.en-cert-logos-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.en-cert-logo-card {
  background: #f7f9fc;
  border: 1px solid rgba(8, 54, 86, 0.10);
  border-radius: 16px;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.en-cert-logo-card:hover {
  box-shadow: 0 10px 28px rgba(8, 54, 86, 0.12);
  transform: translateY(-3px);
}

.en-cert-logo-card img {
  max-width: 260px;
  max-height: 80px;
  width: 100%;
  object-fit: contain;
  display: block;
}

/* Paneles Trinity y Cambridge */
.en-certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.en-cert-panel {
  padding: 36px 32px;
  text-align: left;
}

.en-cert-panel-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #12324a;
  letter-spacing: 0.5px;
  margin: 0 0 6px;
}

.en-cert-subtitle {
  font-size: 0.82rem;
  color: #ff2b1c;
  font-weight: 700;
  margin: 0 0 22px;
}

.en-gese-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.en-gese-item {
  flex: 1;
  border: 1px solid rgba(8, 54, 86, 0.12);
  border-radius: 14px;
  padding: 16px 10px;
  text-align: center;
}

.en-gese-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #083656;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.en-gese-icon img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1);
}

.en-gese-item strong {
  display: block;
  font-size: 0.78rem;
  color: #083656;
  font-weight: 700;
  line-height: 1.4;
}

.en-cert-note {
  font-size: 0.82rem;
  color: #526a7d;
  line-height: 1.65;
  margin: 0;
}

.en-cambridge-prep {
  font-size: 0.8rem;
  color: #526a7d;
  margin: 0 0 6px;
}

.en-cambridge-badge {
  display: inline-block;
  background: #1055a8;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 7px;
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.en-cambridge-table {
  width: 100%;
  border-collapse: collapse;
}

.en-cambridge-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: #526a7d;
  padding: 6px 0 10px;
  text-align: left;
  border-bottom: 1px solid rgba(8, 54, 86, 0.12);
}

.en-cambridge-table th:nth-child(2) { width: 38%; }

.en-cambridge-table td {
  padding: 8px 0;
  font-size: 0.82rem;
  color: #12324a;
  vertical-align: middle;
}

.en-cambridge-table td:first-child {
  color: #526a7d;
  padding-right: 8px;
}

.en-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
}

.en-tag-yellow { background: #d49000; }
.en-tag-green  { background: #1e8a45; }
.en-tag-blue   { background: #1a5dc8; }

.en-cambridge-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #12324a;
  padding: 4px 0;
}

.en-cambridge-dot::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #083656;
  flex-shrink: 0;
}

.en-dot-dark::before { background: #1a3d52; }

/* =========================
   BLOQUE 5 — INMERSIÓN
========================= */

.en-inmersion {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 600px;
  background: #061e34;
}

.en-inmersion-gallery {
  position: relative;
  overflow: hidden;
}

.en-inmersion-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88);
}

/* Texto de la sección de inmersión */
.en-inmersion-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.en-inmersion-content .en-label {
  color: rgba(255, 90, 80, 0.90);
}

.en-inmersion-content h2 {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.en-inmersion-content > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 28px;
}

/* Checkmarks */
.en-inmersion-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.en-inmersion-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.en-inmersion-checks li::before {
  content: "✔";
  color: #ff2b1c;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================
   CTA FINAL (= highschool-final-cta)
========================= */

.en-final-cta {
  width: min(calc(100% - 48px), 1280px);
  min-height: 230px;
  margin: 40px auto 0;
  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/ingles-english/foto-285.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
}

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

.en-final-cta h2 {
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

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

.en-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;
  transition: background 0.22s ease;
}

.en-final-cta a:hover {
  background: #e0321e;
}

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

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

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

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

  .en-proposal-img {
    height: 330px;
  }

  .en-inmersion {
    grid-template-columns: 1fr;
  }

  .en-inmersion-img {
    min-height: 420px;
  }

  .en-inmersion-content {
    padding: 60px 40px;
    background: #061e34;
  }

  .en-certs-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

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

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

  .en-proposal-img {
    height: 280px;
  }

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

  .en-cert-logos-row {
    gap: 12px;
  }

  .en-cert-logo-card {
    min-width: 130px;
    padding: 16px 20px;
  }

  .en-inmersion-content {
    padding: 48px 28px;
  }

  .en-final-cta {
    width: calc(100% - 32px);
    padding: 34px 24px;
  }
}

@media (max-width: 480px) {
  .english-page {
    padding-top: 110px;
  }

  .en-slider-card {
    height: 260px;
  }

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

  .en-proposal-img {
    height: 230px;
  }

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

  .en-cert-logos-row {
    flex-direction: column;
    align-items: center;
  }

  .en-cert-logo-card {
    width: 100%;
    max-width: 100%;
  }

  .en-main-btn,
  .en-final-cta a {
    width: 100%;
    justify-content: center;
  }

  .en-inmersion-img {
    min-height: 280px;
  }
}
