:root {
  --acreduca-blue: #181e6d;
  --acreduca-blue-dark: #11165d;
  --acreduca-orange: #ff7a00;
  --acreduca-green: #62b832;

  --acreduca-text: #111329;
  --acreduca-muted: #5b6175;
  --acreduca-soft: #f7f8fc;
  --acreduca-soft-2: #eef1f7;

  --acreduca-radius-sm: 1rem;
  --acreduca-radius-md: 1.5rem;
  --acreduca-radius-lg: 2rem;
  --acreduca-radius-xl: 2.5rem;

  --acreduca-shadow-sm: 0 10px 28px rgba(16, 24, 40, 0.06);
  --acreduca-shadow-md: 0 18px 50px rgba(16, 24, 40, 0.10);
  --acreduca-shadow-lg: 0 28px 80px rgba(16, 24, 40, 0.18);
}

/* ===== SECTION ===== */
.partners-section {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.partners-map {
  pointer-events: none;
}

.partners-title-line {
  width: 70px;
  height: 4px;
  border-radius: 50px;
}

/* ===== CARD DE CATEGORIA ===== */
.partner-category-card {
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 1.5rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  position: relative;
  overflow: hidden;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

html[data-bs-theme="dark"] .partner-category-card,
body[data-bs-theme="dark"] .partner-category-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.partner-category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--bs-body-color);
  transition: color 0.25s ease;
}

.partner-category-icon {
  font-size: 1.8rem;
  color: var(--bs-primary);
  line-height: 1;
  transition: color 0.25s ease;
}

/* ===== SLIDER ===== */
.partners-slider-wrap {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.partners-swiper {
  overflow: hidden;
}

.partners-swiper .swiper-slide,
.partners-swiper-3 .swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

/* ===== ITEM ===== */
.partner-item {
  width: 100%;
  text-align: center;
  padding: 0.5rem 0.25rem 0;
}

/* ===== LOGO CARD ===== */
.partner-logo-box {
  background-color: #ffffff;
  border: 1px solid rgba(24, 30, 109, 0.12);
  border-radius: 1rem;
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-logo-box:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 30, 109, 0.18);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

html[data-bs-theme="dark"] .partner-logo-box,
body[data-bs-theme="dark"] .partner-logo-box {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-bs-theme="dark"] .partner-logo-box:hover,
body[data-bs-theme="dark"] .partner-logo-box:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.partner-logo-box img {
  max-height: 155px;
  max-width: 96%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===== LABEL ===== */
.partner-label {
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--bs-secondary-color);
  min-height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  transition: color 0.25s ease;
}

/* ===== FLECHAS ===== */
.partner-swiper-prev,
.partner-swiper-next {
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  color: var(--bs-primary);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

html[data-bs-theme="dark"] .partner-swiper-prev,
html[data-bs-theme="dark"] .partner-swiper-next,
body[data-bs-theme="dark"] .partner-swiper-prev,
body[data-bs-theme="dark"] .partner-swiper-next {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.partner-swiper-prev::after,
.partner-swiper-next::after {
  font-size: 14px;
  font-weight: 800;
}

.partner-swiper-prev {
  left: 0;
}

.partner-swiper-next {
  right: 0;
}

/* ===== MAPA CLARO / OSCURO ===== */
.partners-map-light {
  display: block;
}

.partners-map-dark {
  display: none;
}

html[data-bs-theme="dark"] .partners-map-light,
body[data-bs-theme="dark"] .partners-map-light {
  display: none;
}

html[data-bs-theme="dark"] .partners-map-dark,
body[data-bs-theme="dark"] .partners-map-dark {
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .partner-category-card {
    padding: 1.5rem 1.25rem;
  }

  .partners-slider-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .partner-category-title {
    font-size: 1.35rem;
  }

  .partner-logo-box {
    min-height: 170px;
    padding: 0.75rem;
  }

  .partner-logo-box img {
    max-height: 145px;
    max-width: 96%;
  }
}

@media (max-width: 575.98px) {
  .partner-label {
    font-size: 0.85rem;
    min-height: 58px;
  }

  .partner-category-card {
    padding: 1.25rem 0.9rem;
    border-radius: 1.25rem;
  }

  .partners-slider-wrap {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .partner-logo-box {
    min-height: 160px;
    padding: 0.65rem;
  }

  .partner-logo-box img {
    max-height: 135px;
    max-width: 96%;
  }

  .partner-swiper-prev,
  .partner-swiper-next {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
}

.swiper3-button-prev::after,
.swiper3-button-next::after {
  display: none !important;
  content: none !important;
}

/* ===== TESTIMONIOS ===== */
.testimonials-section {
  position: relative;
  background-color: #181e6d;
  color: #ffffff;
}

/*.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 19, 0.18);
  pointer-events: none;
}*/

.testimonials-section .container {
  position: relative;
  z-index: 1;
}

.testimonials-eyebrow {
  padding: 0.48rem 0.95rem;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.testimonials-eyebrow i {
  color: #62b832;
}

.testimonials-title {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
}

.testimonials-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}

.testimonials-panel {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border-radius: 2rem;
  background-color: #f5f6fa;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  max-width: 960px;
  margin: 0 auto;
}

.testimonials-panel .row {
  justify-content: center;
}

.testimonials-panel .col-lg-4 {
  width: 46%;
}

.testimonials-panel .col-lg-8 {
  width: 46%;
}

.testimonials-panel .testimonials-swiper {
  max-width: 100%;
}

.testimonials-panel .swiper-slide {
  width: 100% !important;
}

.testimonials-summary {
  position: relative;
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #ffffff;
  color: #181e6d;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(24, 30, 109, 0.08);
}

.testimonials-summary-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border-radius: 1rem;
  background-color: rgba(24, 30, 109, 0.08);
  color: #181e6d;
  font-size: 1.7rem;
}

.testimonials-summary h3 {
  color: #181e6d;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.testimonials-summary p {
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 0;
}

/*.testimonials-summary-line {
  width: 72px;
  height: 4px;
  margin-top: 1.6rem;
  border-radius: 999px;
  background-color: var(--acreduca-orange, #ff7a00);
}*/

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #ffffff;
  border: 1px solid rgba(24, 30, 109, 0.08);
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 122, 0, 0.28);
  box-shadow: 0 20px 46px rgba(16, 24, 40, 0.14);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(24, 30, 109, 0.08);
  color: #181e6d;
  font-size: 1.65rem;
}

.testimonial-stars {
  color: #ff7a00;
  font-size: 0.98rem;
  letter-spacing: 0.08rem;
  white-space: nowrap;
}

.testimonial-message {
  color: #22243d;
  font-size: 1.05rem;
  line-height: 1.75;
}

.testimonial-message::before {
  content: "“";
}

.testimonial-message::after {
  content: "”";
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(24, 30, 109, 0.08);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background:
    linear-gradient(135deg, #181e6d, #262d92);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(24, 30, 109, 0.18);
}

.testimonial-person h6 {
  color: #181e6d;
  font-weight: 800;
  text-transform: capitalize;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonials-button-prev,
.testimonials-button-next {
  width: 42px;
  height: 42px;
  margin: 0;
  left: auto;
  right: auto;
  border: 1px solid rgba(24, 30, 109, 0.16);
  background-color: #ffffff;
  color: #181e6d;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.testimonials-button-prev:hover,
.testimonials-button-next:hover {
  background-color: #181e6d;
  border-color: #181e6d;
  color: #ffffff;
}

.testimonials-button-prev::after,
.testimonials-button-next::after {
  font-size: 13px;
  font-weight: 800;
}

.testimonials-pagination {
  width: auto !important;
  min-width: 70px;
}

.testimonials-pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background-color: rgba(24, 30, 109, 0.28);
  opacity: 1;
}

.testimonials-pagination .swiper-pagination-bullet-active {
  background-color: var(--acreduca-orange, #ff7a00);
}

/* DARK MODE */
html[data-bs-theme="dark"] .testimonials-section,
body[data-bs-theme="dark"] .testimonials-section {
  background:
    radial-gradient(circle at top left, rgba(98, 184, 50, 0.10), transparent 28%),
    linear-gradient(180deg, #111021 0%, #080713 100%);
}

html[data-bs-theme="dark"] .testimonials-title,
body[data-bs-theme="dark"] .testimonials-title {
  color: #ffffff;
}

html[data-bs-theme="dark"] .testimonials-subtitle,
body[data-bs-theme="dark"] .testimonials-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

html[data-bs-theme="dark"] .testimonials-panel,
body[data-bs-theme="dark"] .testimonials-panel {
  background-color: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .testimonial-card,
body[data-bs-theme="dark"] .testimonial-card {
  background-color: #111021;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .testimonial-message,
body[data-bs-theme="dark"] .testimonial-message {
  color: rgba(255, 255, 255, 0.84);
}

html[data-bs-theme="dark"] .testimonial-person h6,
body[data-bs-theme="dark"] .testimonial-person h6 {
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .testimonials-panel {
    max-width: 720px;
    padding: 2rem;
  }

  .testimonials-panel .col-lg-4,
  .testimonials-panel .col-lg-8 {
    width: 100%;
  }

  .testimonials-summary {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .testimonial-card {
    min-height: auto;
    padding: 1.5rem;
  }

  .testimonials-button-prev,
  .testimonials-button-next {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 575.98px) {
  .testimonials-panel {
    padding: 1.25rem;
    border-radius: 1.5rem;
  }

  .testimonials-summary {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .testimonials-title {
    font-size: 2rem;
  }

  .testimonial-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== MODAL CONOCE MÁS - ESTILO INSTITUCIONAL ===== */
.about-info-modal .modal-dialog {
  max-width: 980px;
}

.about-info-modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 1.75rem;
  background-color: #ffffff;
  box-shadow: 0 28px 80px rgba(16, 24, 40, 0.28);
}

.about-info-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  padding: 0;
  opacity: 1;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.16);
}

.about-info-modal-close::before,
.about-info-modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: #181e6d;
}

.about-info-modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.about-info-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.about-info-modal-close:hover {
  background-color: #f5f6fa;
}

.about-info-modal-close:focus {
  box-shadow: 0 0 0 0.25rem rgba(24, 30, 109, 0.16);
}

.about-info-modal-image-wrap {
  position: relative;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  background-color: #181e6d;
}

.about-info-modal-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.about-info-modal-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 30, 109, 0.08), rgba(24, 30, 109, 0.55)),
    linear-gradient(90deg, rgba(24, 30, 109, 0.10), rgba(24, 30, 109, 0.38));
}

.about-info-modal-body {
  min-height: 520px;
  padding: 4rem 4rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfbfd);
}

.about-info-modal-title {
  color: #181e6d;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1rem;
}

/*.about-info-modal-line {
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background-color: var(--acreduca-orange, #ff7a00);
  margin-bottom: 1.5rem;
}*/

.about-info-modal-text {
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 620px;
}

.about-info-modal-footer {
  margin-top: 2rem;
}

html[data-bs-theme="dark"] .about-info-modal-content,
body[data-bs-theme="dark"] .about-info-modal-content {
  background-color: #080713;
}

html[data-bs-theme="dark"] .about-info-modal-body,
body[data-bs-theme="dark"] .about-info-modal-body {
  background:
    radial-gradient(circle at top right, rgba(255, 122, 0, 0.12), transparent 34%),
    linear-gradient(180deg, #111021, #080713);
}

html[data-bs-theme="dark"] .about-info-modal-title,
body[data-bs-theme="dark"] .about-info-modal-title {
  color: #ffffff;
}

html[data-bs-theme="dark"] .about-info-modal-text,
body[data-bs-theme="dark"] .about-info-modal-text {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991.98px) {
  .about-info-modal .modal-dialog {
    max-width: 720px;
  }

  .about-info-modal-image-wrap,
  .about-info-modal-image {
    min-height: 320px;
  }

  .about-info-modal-body {
    min-height: auto;
    padding: 3rem 2.25rem 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .about-info-modal .modal-dialog {
    margin: 1rem;
  }

  .about-info-modal-content {
    border-radius: 1.35rem;
  }

  .about-info-modal-image-wrap,
  .about-info-modal-image {
    min-height: 240px;
  }

  .about-info-modal-body {
      padding: 2rem 1.5rem 2rem;
    }

  .about-info-modal-title {
    font-size: 1.75rem;
  }

  .about-info-modal-text {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .about-info-modal-close {
    top: 0.85rem;
    right: 0.85rem;
  }
}

/* ===== UN MEJOR FUTURO PARA TU INSTITUCIÓN ===== */
.institution-future-section {
  background-color: var(--bs-body-bg);
}

.institution-future-card {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 4rem;
  border-radius: 2.25rem;
  background-color: #ffffff;
  border: 1px solid rgba(24, 30, 109, 0.08);
  box-shadow: 0 18px 55px rgba(16, 24, 40, 0.06);
}

.institution-future-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(24, 30, 109, 0.08);
  color: #181e6d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.institution-future-title {
  max-width: 540px;
  margin-bottom: 1.25rem;
  color: #181e6d;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
}

.institution-future-title span {
  color: #2f7d18;
}

.institution-future-lead {
  max-width: 560px;
  margin-bottom: 2rem;
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1.75;
}

.institution-future-list {
  display: grid;
  gap: 1rem;
}

.institution-future-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background-color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(24, 30, 109, 0.08);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.institution-future-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 0, 0.24);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.institution-future-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(98, 184, 50, 0.14);
  color: #2f7d18;
  font-size: 1.15rem;
}

.institution-future-item p {
  margin: 0;
  color: #22243d;
  font-size: 0.98rem;
  line-height: 1.6;
}

.institution-future-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.institution-future-image-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 38% 62% 48% 52% / 45% 40% 60% 55%;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
  border: 10px solid rgba(255, 255, 255, 0.88);
}

.institution-future-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.institution-future-shape {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
}

.institution-future-shape-green {
  width: 96px;
  height: 96px;
  right: 1rem;
  top: 5rem;
  background-color: rgba(98, 184, 50, 0.88);
}

.institution-future-shape-blue {
  width: 58px;
  height: 58px;
  left: 1.5rem;
  bottom: 5rem;
  background-color: rgba(24, 30, 109, 0.95);
}

.institution-future-badge {
  position: absolute;
  z-index: 3;
  left: 0.5rem;
  bottom: 2.5rem;
  max-width: 170px;
  padding: 1rem 1.15rem;
  border-radius: 1.25rem;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
  border: 1px solid rgba(24, 30, 109, 0.08);
}

.institution-future-badge span {
  display: block;
  color: #181e6d;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.institution-future-badge small {
  display: block;
  margin-top: 0.35rem;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

/* DARK MODE */
html[data-bs-theme="dark"] .institution-future-card,
body[data-bs-theme="dark"] .institution-future-card {
  background-color: #111021;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .institution-future-title,
body[data-bs-theme="dark"] .institution-future-title {
  color: #ffffff;
}

html[data-bs-theme="dark"] .institution-future-lead,
body[data-bs-theme="dark"] .institution-future-lead {
  color: rgba(255, 255, 255, 0.74);
}

html[data-bs-theme="dark"] .institution-future-item,
body[data-bs-theme="dark"] .institution-future-item {
  background-color: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="dark"] .institution-future-item p,
body[data-bs-theme="dark"] .institution-future-item p {
  color: rgba(255, 255, 255, 0.82);
}

html[data-bs-theme="dark"] .institution-future-eyebrow,
body[data-bs-theme="dark"] .institution-future-eyebrow {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .institution-future-card {
    padding: 3rem 2rem;
  }

  .institution-future-visual {
    min-height: auto;
  }

  .institution-future-image-wrap {
    max-width: 460px;
  }

  .institution-future-badge {
    left: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .institution-future-card {
    padding: 2.25rem 1.25rem;
    border-radius: 1.5rem;
  }

  .institution-future-title {
    font-size: 2rem;
  }

  .institution-future-lead {
    font-size: 0.98rem;
  }

  .institution-future-item {
    padding: 0.9rem;
  }

  .institution-future-visual {
    margin-top: 0.5rem;
  }

  .institution-future-image-wrap {
    border-width: 7px;
  }

  .institution-future-shape-green {
    width: 72px;
    height: 72px;
    right: 0;
    top: 2rem;
  }

  .institution-future-shape-blue {
    width: 44px;
    height: 44px;
    left: 0;
    bottom: 3rem;
  }

  .institution-future-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -2rem auto 0;
  }
}

/* ===== CURSOS Y EVENTOS HOME ===== */
.home-learning-section {
  background-color: #ffffff;
}

.home-learning-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background-color: rgba(24, 30, 109, 0.08);
  color: #181e6d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-learning-title {
  margin-bottom: 1rem;
  color: #181e6d;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
}

.home-learning-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #5b6175;
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-learning-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(24, 30, 109, 0.08);
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-learning-card:hover {
  transform: translateY(-6px);
  border-color: rgba(98, 184, 50, 0.32);
  box-shadow: 0 22px 52px rgba(16, 24, 40, 0.12);
}

.home-learning-image-wrap {
  position: relative;
  height: 310px;
  overflow: hidden;
  background-color: #181e6d;
}

.home-learning-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-learning-card:hover .home-learning-image {
  transform: scale(1.045);
}

.home-learning-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 30, 109, 0.04), rgba(24, 30, 109, 0.56)),
    linear-gradient(90deg, rgba(24, 30, 109, 0.25), rgba(24, 30, 109, 0.02));
}

.home-learning-icon {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background-color: #ffffff;
  color: #181e6d;
  font-size: 1.65rem;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.18);
}

.home-learning-body {
  padding: 2rem;
}

.home-learning-label {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: #2f7d18;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.home-learning-body h3 {
  margin-bottom: 0.9rem;
  color: #181e6d;
  font-size: 1.65rem;
  font-weight: 800;
}

.home-learning-body p {
  margin-bottom: 1.5rem;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.7;
}

.home-learning-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #181e6d;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.home-learning-link:hover {
  gap: 0.65rem;
  color: #2f7d18;
}

.home-learning-link i {
  font-size: 1.15rem;
  line-height: 1;
}

/* DARK MODE */
html[data-bs-theme="dark"] .home-learning-section,
body[data-bs-theme="dark"] .home-learning-section {
  background-color: var(--bs-body-bg);
}

html[data-bs-theme="dark"] .home-learning-card,
body[data-bs-theme="dark"] .home-learning-card {
  background-color: #111021;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .home-learning-title,
body[data-bs-theme="dark"] .home-learning-title,
html[data-bs-theme="dark"] .home-learning-body h3,
body[data-bs-theme="dark"] .home-learning-body h3 {
  color: #ffffff;
}

html[data-bs-theme="dark"] .home-learning-subtitle,
body[data-bs-theme="dark"] .home-learning-subtitle,
html[data-bs-theme="dark"] .home-learning-body p,
body[data-bs-theme="dark"] .home-learning-body p {
  color: rgba(255, 255, 255, 0.76);
}

html[data-bs-theme="dark"] .home-learning-eyebrow,
body[data-bs-theme="dark"] .home-learning-eyebrow {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

html[data-bs-theme="dark"] .home-learning-link,
body[data-bs-theme="dark"] .home-learning-link {
  color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .home-learning-image-wrap {
    height: 280px;
  }

  .home-learning-body {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .home-learning-image-wrap {
    height: 230px;
  }

  .home-learning-body {
    padding: 1.4rem;
  }

  .home-learning-title {
    font-size: 2rem;
  }

  .home-learning-subtitle {
    font-size: 0.98rem;
  }

  .home-learning-icon {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }
}

/* ===== SECTION CLIENTES ESTILO MOSAICO ===== */
.partners-section {
  background-color: #ffffff;
}

.partners-main-title {
  color: #181e6d;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}

.partners-main-subtitle {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  color: #5b6175;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

.partner-category-block {
  padding-top: 3.25rem;
  padding-bottom: 2.25rem;
  border-top: 1px solid rgba(24, 30, 109, 0.08);
}

.partner-category-heading {
  color: #181e6d;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.partner-category-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.65;
}

.partner-hex-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3rem 1.75rem;
  justify-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.partner-hex-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 190px));
  justify-content: center;
  gap: 2.5rem 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.partner-hex-item {
  width: 100%;
  max-width: 190px;
  text-align: center;
}

.partner-hex-shape {
  position: relative;
  opacity: 0.96;

  width: 175px;
  height: 192px;

  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  clip-path: polygon(
    25% 6.7%,
    75% 6.7%,
    100% 50%,
    75% 93.3%,
    25% 93.3%,
    0% 50%
  );

    background: linear-gradient(180deg, #ffffff 0%, #f3f5f9 100%);

    box-shadow:
      0 12px 26px rgba(16, 24, 40, 0.08),
      inset 0 0 0 1px rgba(24, 30, 109, 0.08);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-hex-shape::before {
  content: "";
  position: absolute;
  inset: 6px;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
  background: #ffffff;
  z-index: 0;
}

.partner-hex-shape img {
  position: relative;
  z-index: 1;

  max-width: 125px;
  max-height: 105px;

  width: auto;
  height: auto;
  object-fit: contain;

  filter: saturate(1.02);
}

.partner-hex-item:hover .partner-hex-shape {
  transform: translateY(-5px);
  box-shadow:
    0 16px 28px rgba(16, 24, 40, 0.12),
    inset 0 0 0 1px rgba(255, 122, 0, 0.24);
}

.partner-hex-label {
  color: #374151;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 2.8em;
}

/* Ajuste opcional para logos muy anchos */
.partner-hex-shape img.logo-wide {
  max-width: 145px;
  max-height: 95px;
}

/* DARK MODE */
html[data-bs-theme="dark"] .partners-section,
body[data-bs-theme="dark"] .partners-section {
  background-color: var(--bs-body-bg);
}

html[data-bs-theme="dark"] .partners-main-title,
html[data-bs-theme="dark"] .partner-category-heading,
body[data-bs-theme="dark"] .partners-main-title,
body[data-bs-theme="dark"] .partner-category-heading {
  color: #ffffff;
}

html[data-bs-theme="dark"] .partners-main-subtitle,
html[data-bs-theme="dark"] .partner-category-subtitle,
html[data-bs-theme="dark"] .partner-hex-label,
body[data-bs-theme="dark"] .partners-main-subtitle,
body[data-bs-theme="dark"] .partner-category-subtitle,
body[data-bs-theme="dark"] .partner-hex-label {
  color: rgba(255, 255, 255, 0.76);
}

html[data-bs-theme="dark"] .partner-category-block,
body[data-bs-theme="dark"] .partner-category-block {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html[data-bs-theme="dark"] .partner-hex-shape,
body[data-bs-theme="dark"] .partner-hex-shape {
  background: linear-gradient(180deg, #f8f9fc 0%, #eceff5 100%);
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .partner-hex-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 820px;
    gap: 2.5rem 1.25rem;
  }

  .partner-hex-shape {
    width: 155px;
    height: 170px;
  }

  .partner-hex-shape img {
    max-width: 110px;
    max-height: 90px;
  }
}

@media (max-width: 575.98px) {
  .partner-hex-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 360px;
    gap: 1.5rem 0.75rem;
  }

  .partner-hex-shape {
    width: 140px;
    height: 154px;
  }

  .partner-hex-shape img {
    max-width: 100px;
    max-height: 80px;
  }
}

.section-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background-color: rgba(24, 30, 109, 0.08);
  color: var(--acreduca-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.section-title {
  color: var(--acreduca-blue);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.section-subtitle {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: var(--acreduca-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== CONOCE MÁS ===== */
.about-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background-color: #ffffff;
  border: 1px solid rgba(24, 30, 109, 0.08);
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(98, 184, 50, 0.32);
  box-shadow: 0 22px 52px rgba(16, 24, 40, 0.11);
}

.about-card-image-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
  background-color: #181e6d;
}

.about-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 30, 109, 0.02), rgba(24, 30, 109, 0.16));
  pointer-events: none;
}

.about-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.about-card:hover .about-card-img {
  transform: scale(1.045);
}

.about-card-body {
  position: relative;
  padding: 1.65rem 1.7rem 1.8rem;
}

/*.about-card-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.7rem;
  width: 58px;
  height: 4px;
  border-radius: 999px;
  background-color: #62b832;
}*/

.about-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(98, 184, 50, 0.13);
  color: #2f7d18;
  font-size: 1.25rem;
}

.about-card-title {
  color: #181e6d;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.about-card-text {
  color: #5b6175;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.about-card::after {
  content: "Ver detalle";
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  color: #181e6d;
  font-size: 0.86rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.about-card:hover::after {
  opacity: 1;
  transform: translateX(0);
  color: #2f7d18;
}

/* DARK MODE */
html[data-bs-theme="dark"] .about-card,
body[data-bs-theme="dark"] .about-card {
  background-color: #111021;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .about-card-title,
body[data-bs-theme="dark"] .about-card-title {
  color: #ffffff;
}

html[data-bs-theme="dark"] .about-card-text,
body[data-bs-theme="dark"] .about-card-text {
  color: rgba(255, 255, 255, 0.74);
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .about-card-image-wrap {
    height: 270px;
  }
}

@media (max-width: 575.98px) {
  .about-card-image-wrap {
    height: 230px;
  }

  .about-card-body {
    padding: 1.4rem 1.4rem 1.6rem;
  }

  .about-card-body::before {
    left: 1.4rem;
  }

  .about-card::after {
    display: none;
  }
}

.navbar-brand img {
  max-height: 42px;
}

.navbar {
  min-height: 76px;
}

/* =========================
   HERO AUTOPLAY CONTROL
========================= */

.hero-autoplay-toggle {
  position: absolute;

  left: 22px;
  bottom: 82px;

  z-index: 10;

  width: 46px;
  height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);

  background-color: rgba(10, 14, 50, 0.55);
  color: #ffffff;

  font-size: 1.35rem;
  line-height: 1;

  cursor: pointer;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.hero-autoplay-toggle:hover {
  background-color: rgba(24, 30, 109, 0.9);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.hero-autoplay-toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

/* Mobile */
@media (max-width: 767.98px) {
  .hero-autoplay-toggle {
    left: 16px;
    bottom: 75px;

    width: 42px;
    height: 42px;

    font-size: 1.2rem;
  }
}

/* =========================================================
   HERO HOME - MOBILE FIX
   Evita que el contenido quede debajo del header fijo
   ========================================================= */

/* Desktop / tablet */
body > main {
    padding-top: 124px;
}


/* =========================================================
   HERO BASE
   ========================================================= */

.swiper-classic {
    position: relative;
}

.swiper-classic .swiper-slide {
    position: relative;

    background-size: cover;
    background-repeat: no-repeat;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    body > main {
        padding-top: 110px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    /*
     * Compensación del header fijo.
     * Así el hero comienza DESPUÉS del navbar.
     */
    body > main {
        padding-top: 110px;
    }


    /*
     * No depender únicamente de 100vh en móviles,
     * porque Chrome cambia la altura cuando muestra/oculta
     * su barra de navegación.
     */
    .swiper-classic,
    .swiper-classic .swiper-wrapper,
    .swiper-classic .swiper-slide {
        min-height: 520px;
    }


    /*
     * Usamos viewport dinámico cuando el navegador
     * lo soporta.
     */
    .swiper-classic .swiper-slide {
        min-height: min(620px, 72dvh);

        background-size: cover;
        background-position: 50% 25%;
    }


    /*
     * El contenido deja de quedar demasiado pegado
     * al borde superior.
     */
    .swiper-classic .swiper-slide > .container {
        padding-top: 1.75rem;
        padding-bottom: 7rem;
    }


    /*
     * Evita que el título crezca demasiado en móvil.
     */
    .swiper-classic .carousel-layers h2 {
        font-size: clamp(1.8rem, 8vw, 2.25rem) !important;
        line-height: 1.12;
        margin-bottom: 1.5rem !important;
    }


    /*
     * Botón CTA un poco más compacto.
     */
    .swiper-classic .carousel-layers .btn-lg {
        font-size: 1rem;
        padding: 0.85rem 1.4rem;
    }


    /*
     * Dejamos espacio inferior para los thumbnails
     * y el botón play/pause.
     */
    .swiper-classic .row.h-100 {
        min-height: inherit;
        align-items: center !important;
    }


    /*
     * Fondo del primer slide:
     * ligeramente desplazado para que el equipo
     * quede mejor encuadrado en formato vertical.
     */
    .swiper-classic .swiper-slide:first-child {
        background-position: 50% 20% !important;
    }
}


/* =========================================================
   ACREDUCA - HERO
   EL CAMINO HACIA LA EXCELENCIA EDUCATIVA
   ========================================================= */

.acreduca-hero {
    position: relative;
    isolation: isolate;
}

/* ==========================================
   SLIDES Y FONDOS
   ========================================== */

.acreduca-hero .acreduca-hero-slide {
    position: relative;
    min-height: 650px;

    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

/* Oscurecimiento institucional
   sin modificar la imagen original */

.acreduca-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 15, 51, 0.74) 0%,
            rgba(16, 22, 69, 0.53) 55%,
            rgba(10, 15, 51, 0.48) 100%
        );
}

/* ==========================================
   CONTENIDO CENTRAL
   ========================================== */

.acreduca-hero-content {
    position: relative;
    width: 100%;
    max-width: 810px;

    margin: 0 auto;
    padding: 2.4rem 3rem;

    text-align: center;

    background: rgba(12, 19, 65, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 22px;

    box-shadow:
        0 20px 55px rgba(0, 0, 0, 0.12);

    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
}

/* Los textos quedan sobre la imagen */

.acreduca-hero .carousel-layers {
    position: relative;
    z-index: 2;
}

/* ==========================================
   ETIQUETA INSTITUCIONAL
   ========================================== */

.acreduca-hero-eyebrow {
    display: inline-block;

    margin-bottom: 1rem;

    color: #ffbd85;

    font-size: 0.77rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* ==========================================
   TÍTULO PRINCIPAL
   ========================================== */

.acreduca-hero
.carousel-layers
.acreduca-hero-title {

    margin: 0 0 1rem !important;

    color: #ffffff;

    font-size: clamp(2.5rem, 4.6vw, 4rem);
    font-weight: 800;

    line-height: 1.08;
    letter-spacing: -0.035em;
}

/* ==========================================
   MENSAJE PRINCIPAL
   ========================================== */

.acreduca-hero-headline {
    max-width: 740px;

    margin: 0 auto 1rem;

    color: #ffffff;

    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    font-weight: 600;

    line-height: 1.45;
}

/* ==========================================
   DESCRIPCIÓN
   ========================================== */

.acreduca-hero-description {
    max-width: 710px;

    margin: 0 auto 1.5rem;

    color: #e2e6f3;

    font-size: 0.99rem;
    font-weight: 400;

    line-height: 1.7;
}

/* ==========================================
   BOTÓN Y PORTAFOLIOS
   ========================================== */

.acreduca-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 0.85rem;
}

.acreduca-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.8rem;

    padding: 0.9rem 1.5rem;

    border: 1px solid #ff7a00;
    border-radius: 50px;

    background: #ff7a00;
    color: #ffffff;

    font-family: inherit;
    font-size: 0.91rem;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.acreduca-hero-btn:hover,
.acreduca-hero-btn:focus-visible {
    background: #e66d00;
    border-color: #e66d00;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(255, 122, 0, 0.22);

    text-decoration: none;
}

.acreduca-hero-btn:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.acreduca-hero-btn i {
    font-size: 0.95rem;
}

.acreduca-hero-portfolio {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.5rem;

    padding: 0.7rem 1rem;

    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
}

.acreduca-hero-portfolio i {
    color: #ffb276;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 991.98px) {

    .acreduca-hero .acreduca-hero-slide {
        min-height: 650px;
    }

    .acreduca-hero-content {
        max-width: 730px;
        padding: 2rem 2.3rem;
    }

    .acreduca-hero-headline {
        font-size: 1.25rem;
    }

    .acreduca-hero-description {
        font-size: 0.92rem;
    }
}

/* ==========================================
   RESPONSIVE - MÓVIL
   ========================================== */

@media (max-width: 575.98px) {

    .acreduca-hero .acreduca-hero-slide {
        min-height: 690px;
    }

    .acreduca-hero
    .acreduca-hero-slide > .container {
        padding-top: 1rem;
        padding-bottom: 7.5rem;
    }

    .acreduca-hero-content {
        padding: 1.45rem 1.15rem;

        border-radius: 16px;

        background: rgba(12, 19, 65, 0.60);

        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    .acreduca-hero-eyebrow {
        margin-bottom: 0.75rem;
        font-size: 0.61rem;
        letter-spacing: 0.07em;
    }

    .acreduca-hero
    .carousel-layers
    .acreduca-hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem) !important;
        margin-bottom: 0.75rem !important;
    }

    .acreduca-hero-headline {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 0.75rem;
    }

    .acreduca-hero-description {
        font-size: 0.82rem;
        line-height: 1.55;
        margin-bottom: 1.1rem;
    }

    .acreduca-hero-actions {
        flex-direction: column;
        gap: 0.65rem;
    }

    .acreduca-hero-btn {
        width: 100%;
        padding: 0.78rem 1rem;
        font-size: 0.79rem;
    }

    .acreduca-hero-portfolio {
        font-size: 0.7rem;
        padding: 0.55rem 0.8rem;
    }
}

/* ==========================================
   PANTALLAS MUY PEQUEÑAS
   ========================================== */

@media (max-width: 380px) {

    .acreduca-hero .acreduca-hero-slide {
        min-height: 750px;
    }

    .acreduca-hero-content {
        padding: 1.15rem 0.9rem;
    }

    .acreduca-hero-description {
        font-size: 0.78rem;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {

    .acreduca-hero-btn {
        transition: none;
    }

    .acreduca-hero-btn:hover {
        transform: none;
    }
}

/* ==========================================
   MATERIALES DE PONENCIAS
   ========================================== */

.home-resources-section {
    background: var(--bs-body-bg);
}

.home-resources-banner {
    padding: 2.5rem 3rem;
    border-radius: 1.5rem;
    background: linear-gradient(
        120deg,
        #181e6d,
        #293486
    );
    color: #ffffff;
}

.home-resources-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    color: #ff7a00;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.home-resources-title {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.7vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.home-resources-description {
    max-width: 690px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.home-resources-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 999px;
    background: #ff8000;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    transition: 0.25s ease;
}

.home-resources-btn:hover {
    background: #e97400;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {

    .home-resources-banner {
        padding: 2rem 1.5rem;
    }

    .home-resources-btn {
        width: 100%;
    }
}

/* =========================================================
   ACREDUCA - HERO PRINCIPAL
   AJUSTE DE DISEÑO COMPACTO
   ========================================================= */

/* ==========================================
   ENCABEZADO INSTITUCIONAL
   ========================================== */

.acreduca-hero .acreduca-hero-eyebrow {
    color: #ff8a00;

    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.065em;

    margin-bottom: 0.8rem;
}


/* ==========================================
   GESTIONE - CAJA MÁS COMPACTA
   ========================================== */

.acreduca-hero-slide-gestione
.acreduca-hero-content {

    max-width: 720px;

    padding: 1.8rem 2.4rem;

    background: rgba(12, 19, 65, 0.58);

    border: 1px solid rgba(255, 255, 255, 0.20);

    border-radius: 20px;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}


/* ==========================================
   TÍTULO GESTIONE
   ========================================== */

.acreduca-hero
.acreduca-hero-slide-gestione
.carousel-layers
.acreduca-hero-title {

    font-size: clamp(2.3rem, 3.6vw, 3.25rem);

    line-height: 1.08;

    margin-bottom: 1rem !important;
}


/* ==========================================
   PÁRRAFO ÚNICO
   ========================================== */

.acreduca-hero-slide-gestione
.acreduca-hero-description {

    max-width: 610px;

    margin: 0 auto 1.5rem;

    color: #f0f2fa;

    font-size: 1rem;
    font-weight: 400;

    line-height: 1.65;
}


/* ==========================================
   BOTÓN Y BADGE
   ========================================== */

.acreduca-hero-slide-gestione
.acreduca-hero-actions {

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 0.75rem;
}

.acreduca-hero-slide-gestione
.acreduca-hero-btn {

    padding: 0.8rem 1.25rem;
    font-size: 0.84rem;

    white-space: nowrap;
}

.acreduca-hero-slide-gestione
.acreduca-hero-portfolio {

    max-width: 320px;

    padding: 0.65rem 0.9rem;

    background: rgba(255, 255, 255, 0.12);

    border: 1px solid rgba(255, 255, 255, 0.27);

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.45;

    text-align: left;

    border-radius: 14px;
}

.acreduca-hero-slide-gestione
.acreduca-hero-portfolio > i {

    flex-shrink: 0;

    font-size: 1rem;

    color: #ffad67;
}


/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 991.98px) {

    .acreduca-hero-slide-gestione
    .acreduca-hero-content {

        max-width: 660px;
        padding: 1.7rem 1.8rem;
    }

    .acreduca-hero-slide-gestione
    .acreduca-hero-actions {

        flex-wrap: wrap;
    }

}


/* ==========================================
   RESPONSIVE - MÓVIL
   ========================================== */

@media (max-width: 575.98px) {

    .acreduca-hero
    .acreduca-hero-eyebrow {

        font-size: 0.72rem;
        letter-spacing: 0.045em;
    }

    .acreduca-hero-slide-gestione
    .acreduca-hero-content {

        padding: 1.5rem 1.1rem;
        border-radius: 16px;
    }

    .acreduca-hero
    .acreduca-hero-slide-gestione
    .carousel-layers
    .acreduca-hero-title {

        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .acreduca-hero-slide-gestione
    .acreduca-hero-description {

        font-size: 0.86rem;
        line-height: 1.6;

        margin-bottom: 1.2rem;
    }

    .acreduca-hero-slide-gestione
    .acreduca-hero-actions {

        flex-direction: column;
        gap: 0.75rem;
    }

    .acreduca-hero-slide-gestione
    .acreduca-hero-btn {

        width: 100%;
        white-space: normal;
    }

    .acreduca-hero-slide-gestione
    .acreduca-hero-portfolio {

        width: 100%;
        max-width: 100%;

        justify-content: center;
        text-align: center;

        font-size: 0.7rem;
    }

}

/* =========================================================
   ACREDUCA - HERO GESTIONE
   AJUSTE FINAL DE TAMAÑO Y POSICIÓN
   ========================================================= */

@media (min-width: 992px) {

    /* Título más proporcionado */
    .acreduca-hero
    .acreduca-hero-slide-gestione
    .carousel-layers
    .acreduca-hero-title {
        font-size: clamp(2rem, 2.8vw, 2.7rem);
        line-height: 1.1;
        margin-bottom: 1rem !important;
    }

    /* Desplazar la caja hacia abajo */
    .acreduca-hero-slide-gestione
    .acreduca-hero-content {
        transform: translateY(65px);
    }

    /* Párrafo más compacto */
    .acreduca-hero-slide-gestione
    .acreduca-hero-description {
        max-width: 560px;
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.4rem;
    }

}

/* Tablets y móviles: sin desplazamiento */
@media (max-width: 991.98px) {

    .acreduca-hero-slide-gestione
    .acreduca-hero-content {
        transform: none;
    }

}

/* =========================================================
   ACREDUCA - HERO ADÁPTESE
   MISMO DISEÑO COMPACTO QUE GESTIONE
   ========================================================= */

.acreduca-hero-slide-adaptese
.acreduca-hero-content {

    max-width: 720px;
    padding: 1.8rem 2.4rem;

    background: rgba(12, 19, 65, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 20px;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* TÍTULO MÁS PEQUEÑO */

.acreduca-hero
.acreduca-hero-slide-adaptese
.carousel-layers
.acreduca-hero-title {

    font-size: clamp(2rem, 2.8vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 1rem !important;
}

/* PÁRRAFO */

.acreduca-hero-slide-adaptese
.acreduca-hero-description {

    max-width: 560px;
    margin: 0 auto 1.4rem;

    color: #f0f2fa;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
}

/* BOTÓN + BADGE */

.acreduca-hero-slide-adaptese
.acreduca-hero-actions {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.acreduca-hero-slide-adaptese
.acreduca-hero-btn {

    padding: 0.8rem 1.25rem;
    font-size: 0.84rem;
    white-space: nowrap;
}

.acreduca-hero-slide-adaptese
.acreduca-hero-portfolio {

    max-width: 320px;
    padding: 0.65rem 0.9rem;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.27);

    border-radius: 14px;

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.acreduca-hero-slide-adaptese
.acreduca-hero-portfolio > i {

    flex-shrink: 0;
    font-size: 1rem;
    color: #ffad67;
}

/* POSICIÓN MÁS BAJA EN ESCRITORIO */

@media (min-width: 992px) {

    .acreduca-hero-slide-adaptese
    .acreduca-hero-content {
        transform: translateY(65px);
    }

}

/* TABLETS */

@media (max-width: 991.98px) {

    .acreduca-hero-slide-adaptese
    .acreduca-hero-content {
        max-width: 660px;
        padding: 1.7rem 1.8rem;
        transform: none;
    }

    .acreduca-hero-slide-adaptese
    .acreduca-hero-actions {
        flex-wrap: wrap;
    }

}

/* MÓVILES */

@media (max-width: 575.98px) {

    .acreduca-hero-slide-adaptese
    .acreduca-hero-content {
        padding: 1.5rem 1.1rem;
        border-radius: 16px;
    }

    .acreduca-hero
    .acreduca-hero-slide-adaptese
    .carousel-layers
    .acreduca-hero-title {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .acreduca-hero-slide-adaptese
    .acreduca-hero-description {
        font-size: 0.86rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .acreduca-hero-slide-adaptese
    .acreduca-hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .acreduca-hero-slide-adaptese
    .acreduca-hero-btn {
        width: 100%;
        white-space: normal;
    }

    .acreduca-hero-slide-adaptese
    .acreduca-hero-portfolio {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.7rem;
    }

}

/* =========================================================
   ACREDUCA - HERO TRANSFÓRMESE
   DISEÑO COMPACTO
   ========================================================= */

/* CAJA CENTRAL */

.acreduca-hero-slide-transformese
.acreduca-hero-content {

    max-width: 720px;
    padding: 1.8rem 2.4rem;

    background: rgba(12, 19, 65, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 20px;

    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* TÍTULO */

.acreduca-hero
.acreduca-hero-slide-transformese
.carousel-layers
.acreduca-hero-title {

    font-size: clamp(2rem, 2.8vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 1rem !important;
}

/* PÁRRAFO */

.acreduca-hero-slide-transformese
.acreduca-hero-description {

    max-width: 560px;
    margin: 0 auto 1.4rem;

    color: #f0f2fa;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
}

/* BOTÓN Y BADGE */

.acreduca-hero-slide-transformese
.acreduca-hero-actions {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.acreduca-hero-slide-transformese
.acreduca-hero-btn {

    padding: 0.8rem 1.25rem;
    font-size: 0.84rem;
    white-space: normal;
}

.acreduca-hero-slide-transformese
.acreduca-hero-portfolio {

    max-width: 320px;
    padding: 0.65rem 0.9rem;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 14px;

    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.acreduca-hero-slide-transformese
.acreduca-hero-portfolio > i {

    flex-shrink: 0;
    font-size: 1rem;
    color: #ffad67;
}

/* POSICIÓN EN ESCRITORIO */

@media (min-width: 992px) {

    .acreduca-hero-slide-transformese
    .acreduca-hero-content {
        transform: translateY(65px);
    }

}

/* TABLETS */

@media (max-width: 991.98px) {

    .acreduca-hero-slide-transformese
    .acreduca-hero-content {
        max-width: 660px;
        padding: 1.7rem 1.8rem;
        transform: none;
    }

    .acreduca-hero-slide-transformese
    .acreduca-hero-actions {
        flex-wrap: wrap;
    }

}

/* MÓVILES */

@media (max-width: 575.98px) {

    .acreduca-hero-slide-transformese
    .acreduca-hero-content {
        padding: 1.5rem 1.1rem;
        border-radius: 16px;
    }

    .acreduca-hero
    .acreduca-hero-slide-transformese
    .carousel-layers
    .acreduca-hero-title {
        font-size: clamp(1.85rem, 7.3vw, 2.5rem);
    }

    .acreduca-hero-slide-transformese
    .acreduca-hero-description {
        font-size: 0.86rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }

    .acreduca-hero-slide-transformese
    .acreduca-hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .acreduca-hero-slide-transformese
    .acreduca-hero-btn {
        width: 100%;
        white-space: normal;
    }

    .acreduca-hero-slide-transformese
    .acreduca-hero-portfolio {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.7rem;
    }

}

/* =========================================================
   ACREDUCA - RECURSOS DRELM EN INICIO
   ========================================================= */

.home-resources-drelm {
    padding: 2.5rem 3rem;
}

.home-resources-drelm .home-resources-title {
    max-width: 850px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.home-resources-drelm .home-resources-description {
    max-width: 850px;
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.home-resources-speaker {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;

    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.5;
}

.home-resources-speaker i {
    flex-shrink: 0;
    color: #ff9c44;
    font-size: 1.1rem;
}

.home-resources-topic {
    max-width: 850px;
    margin: 0 0 1.3rem;

    color: rgba(255, 255, 255, 0.88);
    font-size: 0.94rem;
    font-style: italic;
    line-height: 1.7;
}

.home-resources-file-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-resources-file-types span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    padding: 0.45rem 0.75rem;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;

    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 600;
}

.home-resources-file-types i {
    color: #ffac65;
}

.home-resources-link-note {
    margin: 0.8rem 0 0;

    color: rgba(255, 255, 255, 0.75);
    font-size: 0.78rem;
    text-align: right;
}

@media (max-width: 991.98px) {

    .home-resources-drelm {
        padding: 2rem;
    }

    .home-resources-link-note {
        text-align: left;
    }
}

@media (max-width: 575.98px) {

    .home-resources-drelm {
        padding: 1.5rem;
    }

    .home-resources-file-types {
        gap: 0.5rem;
    }

    .home-resources-speaker {
        align-items: flex-start;
    }

}
