/*
.slide-image-wrap {
  height: 520px;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .slide-image-wrap {
    height: 380px;
  }
}

@media (max-width: 575.98px) {
  .slide-image-wrap {
    height: 260px;
  }
}

.slider-number-controls-wrapper {
  margin-top: 0;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 5;
}

.slider-number-controls {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  min-height: 56px;
}

.slider-number-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(18, 29, 84, 0.22) !important;
  background: #ffffff !important;
  color: #121d54 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.slider-number-btn:hover {
  transform: translateY(-2px);
  border-color: #1b1e65 !important;
  color: #1b1e65 !important;
}

.slider-number-btn.active {
  background: #1b1e65 !important;
  border-color: #1b1e65 !important;
  color: #fff !important;
}

@media (max-width: 767.98px) {
  .slider-number-btn {
    width: 42px !important;
    height: 42px !important;
    font-size: 0.88rem !important;
  }
}

*/
/* ===== HERO EQUIPO ===== *//*

.about-team-hero {
  background: var(--bs-primary);
}

[data-bs-theme="dark"] .about-team-hero {
  background: var(--bs-primary);
}

*/
/* ===== TEAM SECTION ===== *//*

.team-section {
  background: #f7f8fc;
  color: #1f2937;
}

.team-row-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(39, 179, 0, 0.18);
  box-shadow: 0 10px 30px rgba(18, 26, 84, 0.06);
  color: #181e6d;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
  position: relative;
}

.team-row-title::before,
.team-row-title::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b1e65, #27b300);
  opacity: 0.10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.team-row-title::before {
  left: 14px;
}

.team-row-title::after {
  right: 14px;
}

@media (max-width: 991.98px) {
  .team-row-title {
    font-size: 1.2rem;
    padding: 0.8rem 1.4rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 575.98px) {
  .team-row-title {
    font-size: 1rem;
    padding: 0.75rem 1.1rem;
    line-height: 1.35;
  }
}

.team-card {
  background: #fff;
  border: 1px solid rgba(27, 30, 101, 0.12);
  border-radius: 20px;
  padding: 1.1rem 1.1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(18, 26, 84, 0.08);
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(18, 26, 84, 0.14);
  border-color: rgba(27, 30, 101, 0.22);
}

.team-card-image-wrap {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(27, 30, 101, 0.08);
}

.team-card-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: transparent;
}

.team-name {
  color: #1b1e65;
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
  text-transform: uppercase;
  min-height: 3.2rem;
  margin-bottom: .6rem;
}

.team-role {
  color: #5cb52d;
  font-size: 1.1rem;
  line-height: 1.3;
  min-height: 2.9rem;
  margin-bottom: 1rem;
}

.team-profile-btn {
  margin-top: auto;
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .team-name {
    min-height: auto;
  }

  .team-role {
    min-height: auto;
  }

  .team-card-image {
    height: 320px;
    object-position: center top;
  }
}

.modal-profile-image {
  max-height: 520px;
  object-fit: contain;
}

.modal-profile-name {
  color: #243d73;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
}

.modal-profile-role {
  color: #6bb53d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.modal-profile-area {
  color: #243d73;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.modal-profile-text {
  border-left: 4px solid #243d73;
  padding-left: 1rem;
  color: #222;
  line-height: 1.75;
  text-align: justify;
}

*/
/* ===== TEAM EXPERTS ===== *//*

.team-experts-section {
  min-height: 500px;
}

.team-experts-section .container,
.team-experts-section .row {
  height: 100%;
}

*/
/* ===== QUOTE ===== *//*

.team-quote-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem 0;
}

.team-quote-text {
  font-family: inherit;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: #141b4d;
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-quote-author {
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4b5563;
  font-weight: 700;
}

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

.team-cta-section {
  padding-top: 4rem;
  padding-bottom: 5rem;
  background: #f7f8fc;
}

.team-cta-box {
  background: #ffffff;
  border: 1px solid rgba(27, 30, 101, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(18, 26, 84, 0.08);
  padding: 2.4rem 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.team-cta-title {
  color: #121d54;
  font-size: clamp(1.5rem, 2.1vw, 2.2rem);
  line-height: 1.16;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.team-cta-btn {
  border-radius: 14px;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
}

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

.team-cta-btn-orange {
  background-color: #f97316;
  border-color: #f97316;
  color: #fff;
}

.team-cta-btn-orange:hover,
.team-cta-btn-orange:focus,
.team-cta-btn-orange:active {
  background-color: #ea580c;
  border-color: #ea580c;
  color: #fff;
}

.team-cta-btn-orange:focus {
  box-shadow: 0 0 0 0.25rem rgba(249, 115, 22, 0.25);
}

*/
/* ===== TEAM MODAL CLOSE ===== *//*

.team-modal-close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #181e6d;
  color: white;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

.team-modal-close:hover {
  background: #304bb3;
}

*/
/* ===== DARK THEME SUPPORT ===== *//*

[data-bs-theme="dark"] .slider-number-btn {
  background: #171b3a !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .slider-number-btn:hover {
  border-color: #7ea2ff !important;
  color: #ffffff !important;
}

[data-bs-theme="dark"] .slider-number-btn.active {
  background: #304bb3 !important;
  border-color: #304bb3 !important;
  color: #fff !important;
}

[data-bs-theme="dark"] .team-section {
  background: #0f122b;
  color: rgba(255, 255, 255, 0.92);
}

[data-bs-theme="dark"] .team-row-title {
  background: #171b3a;
  border-color: rgba(126, 231, 135, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  color: #ffffff;
}

[data-bs-theme="dark"] .team-row-title::before,
[data-bs-theme="dark"] .team-row-title::after {
  opacity: 0.18;
}

[data-bs-theme="dark"] .team-card {
  background: #171b3a;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

[data-bs-theme="dark"] .team-card:hover {
  border-color: rgba(126, 231, 135, 0.20);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

[data-bs-theme="dark"] .team-card-image-wrap {
  background: #121631;
  border-color: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .team-name {
  color: #ffffff;
}

[data-bs-theme="dark"] .team-role {
  color: #8ddf63;
}

[data-bs-theme="dark"] .team-quote-text {
  color: #ffffff;
}

[data-bs-theme="dark"] .team-quote-author {
  color: rgba(255, 255, 255, 0.66);
}

[data-bs-theme="dark"] .team-section hr {
  border-color: rgba(255, 255, 255, 0.10);
}

[data-bs-theme="dark"] .team-cta-section {
  background: #10142f;
}

[data-bs-theme="dark"] .team-cta-box {
  background: #171b3a;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .team-cta-title {
  color: #ffffff;
}

[data-bs-theme="dark"] .cta-text-gradient-edu {
  color: #8ddf63;
  background: none;
  -webkit-text-fill-color: unset;
}

[data-bs-theme="dark"] .team-modal-close {
  background: #304bb3;
}

[data-bs-theme="dark"] .team-modal-close:hover {
  background: #4b63d1;
}

.about-slider-heading {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.about-slider-heading .slider-number-controls-wrapper {
  margin: 0;
  flex-shrink: 0;
}

.about-slider-heading #slider-dynamic-title {
  color: #050a3f;
  line-height: 1.15;
}

@media (max-width: 991.98px) {
  .about-slider-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .about-slider-heading .slider-number-controls-wrapper {
    margin-bottom: 0;
  }
}*/

/* =========================================================
   ACREDUCA - ABOUT PAGE
   ========================================================= */

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

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

    --acreduca-border: rgba(24, 30, 109, 0.10);
    --acreduca-border-strong: rgba(24, 30, 109, 0.16);

    --acreduca-shadow-sm: 0 12px 34px rgba(16, 24, 40, 0.055);
    --acreduca-shadow-md: 0 18px 50px rgba(16, 24, 40, 0.08);
    --acreduca-shadow-lg: 0 24px 60px rgba(16, 24, 40, 0.14);

    --acreduca-radius-md: 1.25rem;
    --acreduca-radius-lg: 1.6rem;
    --acreduca-radius-xl: 2rem;
}

/* =========================================================
   COMPENSACIÓN POR HEADER FIJO
   ========================================================= */

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

@media (max-width: 991.98px) {
    body > main {
        padding-top: 108px;
    }
}

@media (max-width: 575.98px) {
    body > main {
        padding-top: 106px;
    }
}

/* =========================================================
   HERO NOSOTROS
   ========================================================= */

.about-hero-section {
    background-color: var(--bs-body-bg);
}

.about-hero-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about-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.05em;
    line-height: 1;
    text-transform: uppercase;
}

.about-hero-title {
    max-width: 700px;
    margin-bottom: 1.2rem;
    color: var(--acreduca-blue);
    font-size: clamp(2rem, 3.6vw, 3.05rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.about-hero-subtitle {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--acreduca-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.about-hero-btn-primary,
.about-hero-btn-outline {
    min-width: 190px;
    font-weight: 800;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.about-hero-btn-outline {
    border-width: 2px;
    color: var(--acreduca-blue);
    border-color: rgba(24, 30, 109, 0.22);
    background-color: transparent;
}

.about-hero-btn-outline:hover {
    color: #ffffff;
    background-color: var(--acreduca-blue);
    border-color: var(--acreduca-blue);
}

.about-hero-visual {
    position: relative;
    min-height: 520px;
}

.about-hero-image-main {
    position: relative;
    width: 78%;
    height: 430px;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: var(--acreduca-shadow-md);
}

.about-hero-image-main img,
.about-hero-image-floating img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-hero-image-floating {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52%;
    height: 285px;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 10px solid #ffffff;
    background-color: #ffffff;
    box-shadow: var(--acreduca-shadow-lg);
}

.about-hero-badge {
    position: absolute;
    left: 1.5rem;
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.1rem;
    border-radius: 1.2rem;
    background-color: #ffffff;
    border: 1px solid rgba(24, 30, 109, 0.08);
    box-shadow: 0 16px 38px rgba(16, 24, 40, 0.14);
}

.about-hero-badge span {
    color: var(--acreduca-green-dark);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.about-hero-badge small {
    max-width: 95px;
    color: var(--acreduca-blue);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
}

/* =========================================================
   ACERCA DE ACREDUCA
   ========================================================= */

.about-intro-section {
    background-color: #ffffff;
}

.about-intro-card {
    padding: 4rem;
    border: 1px solid var(--acreduca-border);
    border-radius: var(--acreduca-radius-xl);
    background-color: #ffffff;
    box-shadow: var(--acreduca-shadow-md);
}

.about-intro-visual {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
}

.about-intro-image {
    width: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-intro-highlight {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 330px;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    background-color: #ffffff;
    color: var(--acreduca-blue);
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.16);
}

.about-intro-highlight i {
    color: var(--acreduca-green);
    font-size: 1.25rem;
}

/* =========================================================
   TITULARES Y TEXTOS COMPARTIDOS
   ========================================================= */

.about-section-title {
    margin-bottom: 1.1rem;
    color: var(--acreduca-blue);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

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

.about-section-text {
    color: var(--acreduca-muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

/* =========================================================
   NUESTRA ESENCIA
   ========================================================= */

.about-essence-section {
    background-color: var(--acreduca-soft);
}

.about-essence-card {
    padding: 2rem;
    border: 1px solid rgba(24, 30, 109, 0.08);
    border-radius: var(--acreduca-radius-lg);
    background-color: #ffffff;
    box-shadow: var(--acreduca-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-essence-card:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 30, 109, 0.16);
    box-shadow: var(--acreduca-shadow-lg);
}

.about-essence-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background-color: rgba(98, 184, 50, 0.12);
    color: var(--acreduca-green-dark);
    font-size: 1.65rem;
}

.about-essence-card h3 {
    margin-bottom: 0.9rem;
    color: var(--acreduca-blue);
    font-size: 1.4rem;
    font-weight: 800;
}

.about-essence-card p {
    margin-bottom: 0;
    color: var(--acreduca-muted);
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
}

/* =========================================================
   INTRO EQUIPO
   ========================================================= */

.about-team-intro-section {
    background-color: #ffffff;
}

/* =========================================================
   EQUIPO
   ========================================================= */

.team-section {
    background-color: var(--acreduca-soft);
    color: var(--acreduca-text);
}

.section-anchor-team {
    scroll-margin-top: 140px;
}

.team-row-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid rgba(24, 30, 109, 0.10);
    box-shadow: var(--acreduca-shadow-sm);
    color: var(--acreduca-blue);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0;
}

.team-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(24, 30, 109, 0.08);
    border-radius: var(--acreduca-radius-lg);
    background-color: #ffffff;
    color: inherit;
    box-shadow: var(--acreduca-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(24, 30, 109, 0.16);
    box-shadow: var(--acreduca-shadow-lg);
}

.team-card-image-wrap {
    width: 100%;
    height: 330px;
    overflow: hidden;
    background-color: #f5f6fa;
}

.team-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.team-card:hover .team-card-image {
    transform: scale(1.04);
}

.team-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.4rem 1.25rem 1.5rem;
    text-align: center;
}

.team-name {
    margin-bottom: 0.3rem;
    color: var(--acreduca-blue);
    font-size: 1.02rem;
    line-height: 1.22;
    font-weight: 800;
    text-transform: none;
    min-height: auto;
}

.team-role {
    margin-bottom: 0.85rem;
    color: var(--acreduca-green-dark);
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 700;
    min-height: auto;
}

.team-profile-btn {
    margin-top: auto;
    border-radius: 999px;
    font-weight: 800;
    padding: 0.55rem 1.1rem;
}

/* =========================================================
   FRASE
   ========================================================= */

.team-quote-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.2rem 2rem;
    border-radius: var(--acreduca-radius-xl);
    background-color: #ffffff;
    border: 1px solid rgba(24, 30, 109, 0.08);
    text-align: center;
    box-shadow: var(--acreduca-shadow-sm);
}

.team-quote-text {
    margin-bottom: 0.9rem;
    color: var(--acreduca-blue);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.team-quote-author {
    color: var(--acreduca-muted);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

.team-cta-section {
    padding-top: 4rem;
    padding-bottom: 5rem;
    background-color: var(--acreduca-soft);
}

.team-cta-box {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.7rem 2.2rem;
    border: 1px solid rgba(24, 30, 109, 0.08);
    border-radius: var(--acreduca-radius-xl);
    background-color: #ffffff;
    box-shadow: var(--acreduca-shadow-md);
}

.team-cta-title {
    max-width: 820px;
    margin: 0 auto 1.5rem;
    color: var(--acreduca-blue);
    font-size: clamp(1.65rem, 2.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

/* =========================================================
   MODAL EQUIPO
   ========================================================= */

.team-modal-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background-color: var(--acreduca-blue);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

.team-modal-close:hover {
    background-color: var(--acreduca-blue-dark);
}

/* =========================================================
   SWIPER / FLECHAS ANTIGUAS
   ========================================================= */

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

/* =========================================================
   DARK MODE
   ========================================================= */

[data-bs-theme="dark"] .about-hero-section,
[data-bs-theme="dark"] .about-intro-section,
[data-bs-theme="dark"] .about-team-intro-section {
    background-color: var(--bs-body-bg);
}

[data-bs-theme="dark"] .about-essence-section,
[data-bs-theme="dark"] .team-section,
[data-bs-theme="dark"] .team-cta-section {
    background-color: #0f122b;
}

[data-bs-theme="dark"] .about-hero-title,
[data-bs-theme="dark"] .about-section-title,
[data-bs-theme="dark"] .about-essence-card h3,
[data-bs-theme="dark"] .team-row-title,
[data-bs-theme="dark"] .team-name,
[data-bs-theme="dark"] .team-quote-text,
[data-bs-theme="dark"] .team-cta-title {
    color: #ffffff;
}

[data-bs-theme="dark"] .about-hero-subtitle,
[data-bs-theme="dark"] .about-section-subtitle,
[data-bs-theme="dark"] .about-section-text,
[data-bs-theme="dark"] .about-essence-card p,
[data-bs-theme="dark"] .team-quote-author {
    color: rgba(255, 255, 255, 0.76);
}

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

[data-bs-theme="dark"] .about-intro-card,
[data-bs-theme="dark"] .about-essence-card,
[data-bs-theme="dark"] .team-row-title,
[data-bs-theme="dark"] .team-card,
[data-bs-theme="dark"] .team-quote-block,
[data-bs-theme="dark"] .team-cta-box {
    background-color: #171b3a;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .about-hero-image-floating,
[data-bs-theme="dark"] .about-hero-badge,
[data-bs-theme="dark"] .about-intro-highlight {
    background-color: #171b3a;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .about-hero-badge small,
[data-bs-theme="dark"] .about-intro-highlight {
    color: #ffffff;
}

[data-bs-theme="dark"] .about-essence-icon {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

[data-bs-theme="dark"] .team-card-image-wrap {
    background-color: #121631;
}

[data-bs-theme="dark"] .team-role {
    color: #8ddf63;
}

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

@media (max-width: 991.98px) {
    .about-hero-container {
        padding-top: 4.25rem;
        padding-bottom: 4rem;
    }

    .about-hero-title {
        max-width: 100%;
    }

    .about-hero-subtitle {
        max-width: 100%;
    }

    .about-hero-visual {
        min-height: 470px;
    }

    .about-hero-image-main {
        height: 390px;
    }

    .about-hero-image-floating {
        height: 250px;
    }

    .about-intro-card {
        padding: 2rem;
        border-radius: 1.5rem;
    }

    .about-intro-image {
        min-height: 340px;
    }

    .team-row-title {
        font-size: 1.05rem;
        padding: 0.75rem 1.3rem;
    }

    .team-card-image-wrap {
        height: 320px;
    }

    .team-name,
    .team-role {
        min-height: auto;
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 575.98px) {
    body > main {
        padding-top: 108px;
    }

    .about-hero-container {
        padding-top: 3.75rem;
        padding-bottom: 3.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-eyebrow {
        display: none;
    }

    .about-hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .about-hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .about-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-hero-visual {
        min-height: 390px;
    }

    .about-hero-image-main {
        width: 86%;
        height: 300px;
        border-radius: 1.35rem;
    }

    .about-hero-image-floating {
        width: 56%;
        height: 190px;
        border-radius: 1.1rem;
        border-width: 6px;
    }

    .about-hero-badge {
        left: 1rem;
        bottom: 1.1rem;
        padding: 0.75rem 0.9rem;
    }

    .about-hero-badge span {
        font-size: 1.45rem;
    }

    .about-hero-badge small {
        font-size: 0.76rem;
    }

    .about-intro-section .container,
    .about-essence-section .container,
    .about-team-intro-section .container,
    .team-section .container,
    .team-cta-section .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-intro-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .about-intro-image {
        min-height: 260px;
    }

    .about-intro-highlight {
        left: 1rem;
        bottom: 1rem;
        max-width: calc(100% - 2rem);
        font-size: 0.9rem;
    }

    .about-section-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .about-section-subtitle,
    .about-section-text {
        font-size: 0.98rem;
        line-height: 1.6;
    }

    .about-essence-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .team-row-title {
        font-size: 0.95rem;
        line-height: 1.35;
        letter-spacing: 0.03em;
        padding: 0.7rem 1rem;
    }

    .team-card-image-wrap {
        height: 300px;
    }

    .team-card-body {
        padding: 1.25rem;
    }

    .team-name {
        font-size: 1rem;
    }

    .team-role {
        font-size: 0.95rem;
    }

    .team-quote-block {
        padding: 1.5rem 1.25rem;
        border-radius: 1.25rem;
    }

    .team-quote-text {
        font-size: 1.55rem;
    }

    .team-cta-box {
        padding: 2rem 1.3rem;
        border-radius: 1.4rem;
    }

    .team-cta-title {
        font-size: 1.55rem;
    }
}


/* =========================================================
   ACREDUCA - RENOVACIÓN INSTITUCIONAL
   QUÉ NOS INSPIRA
   ========================================================= */

.about-identity-section,
.about-purpose-section,
.about-values-section,
.about-quality-section,
.about-objectives-section,
.about-commitment-section,
.about-system-section {
    --about-navy: #181e6d;
    --about-orange: #ee7100;
    --about-muted: #657087;
    --about-border: #e1e6f1;

    padding: 6rem 0;
    scroll-margin-top: 140px;
}

/* ==========================================
   ENCABEZADOS
   ========================================== */

.about-institutional-heading {
    max-width: 850px;
    margin: 0 auto 3.2rem;
}

.about-card-eyebrow {
    display: block;
    margin-bottom: 1rem;

    color: #ff7a00;
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* ==========================================
   QUIÉNES SOMOS
   ========================================== */

.about-identity-section {
    background: #ffffff;
}

.about-identity-image {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
}

.about-identity-image img {
    display: block;
    width: 100%;
    min-height: 390px;
    object-fit: cover;
}

.about-identity-image-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px 20px;
    border-radius: 12px;

    background: rgba(255,255,255,.96);
    color: #181e6d;

    font-size: 0.84rem;
    font-weight: 700;
}

.about-identity-image-label i {
    color: #ee7100;
    font-size: 1.4rem;
}

/* ==========================================
   MISIÓN Y VISIÓN
   ========================================== */

.about-purpose-section {
    background: #f6f7fc;
}

.about-purpose-card {
    padding: 2.8rem;
    border: 1px solid #e1e6f1;
    border-radius: 22px;
    background: #ffffff;
}

.about-purpose-icon {
    display: grid;
    place-items: center;

    width: 62px;
    height: 62px;
    margin-bottom: 1.8rem;

    border-radius: 16px;
    background: #edf0fa;
    color: #181e6d;
    font-size: 1.7rem;
}

.about-purpose-card h3 {
    margin-bottom: 1.3rem;
    color: #181e6d;
    font-size: 1.75rem;
    font-weight: 800;
}

/* =========================================================
   ACREDUCA - MISIÓN Y VISIÓN
   TEXTO JUSTIFICADO
   ========================================================= */

.about-purpose-card p {
    margin-bottom: 0;

    color: #515c70;
    font-size: 0.96rem;
    line-height: 1.9;

    /* Alinear texto a ambos lados */
    text-align: justify;

    /* Distribución natural de palabras */
    text-justify: inter-word;

    /* Separación silábica en español */
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* ==========================================
   VALORES CORPORATIVOS
   ========================================== */

.about-values-section {
    background: #ffffff;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-value-card {
    padding: 2rem;
    border: 1px solid #e1e6f1;
    border-radius: 18px;
    background: #ffffff;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(24,30,109,.06);
}

.about-value-icon {
    display: grid;
    place-items: center;

    width: 54px;
    height: 54px;
    margin-bottom: 1.4rem;

    border-radius: 13px;
    background: #eef0fa;
    color: #181e6d;
    font-size: 1.4rem;
}

.about-value-card h3 {
    margin-bottom: .8rem;
    color: #181e6d;
    font-size: 1.15rem;
    font-weight: 700;
}

.about-value-card p {
    margin-bottom: 0;
    color: #606b7d;
    font-size: .87rem;
    line-height: 1.75;
}

/* ==========================================
   POLÍTICA DE CALIDAD
   ========================================== */

.about-quality-section {
    background: #f7f8fc;
}

.about-quality-intro {
    position: sticky;
    top: 150px;
}

.about-quality-highlight {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 1.5rem;
    margin-top: 1.7rem;

    border-radius: 14px;
    background: #e9edf8;
    color: #181e6d;

    font-size: .87rem;
    font-weight: 600;
    line-height: 1.65;
}

.about-quality-highlight i {
    flex-shrink: 0;
    font-size: 1.5rem;
}

.about-policy-list {
    display: grid;
    gap: 1rem;
}

.about-policy-item {
    display: flex;
    align-items: flex-start;
    gap: 1.3rem;

    padding: 1.6rem;
    border: 1px solid #e1e6f1;
    border-radius: 16px;
    background: #ffffff;
}

.about-policy-number {
    display: grid;
    place-items: center;
    flex-shrink: 0;

    width: 42px;
    height: 42px;
    border-radius: 11px;

    background: #181e6d;
    color: #ffffff;
    font-size: .8rem;
    font-weight: 800;
}

.about-policy-item h3 {
    margin-bottom: .6rem;
    color: #181e6d;
    font-size: 1rem;
    font-weight: 700;
}

.about-policy-item p {
    margin: 0;
    color: #626b7e;
    font-size: .87rem;
    line-height: 1.8;
}

/* ==========================================
   OBJETIVOS DE CALIDAD
   ========================================== */

.about-objectives-section {
    background: #ffffff;
}

.about-objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.about-objective-card {
    padding: 2rem;
    border: 1px solid #e1e6f1;
    border-radius: 18px;
    background: #fafbfe;
}

.about-objective-card > span {
    display: inline-block;
    margin-bottom: 1.3rem;
    color: #ee7100;
    font-size: .8rem;
    font-weight: 800;
}

.about-objective-card h3 {
    margin-bottom: .9rem;
    color: #181e6d;
    font-size: 1.09rem;
    font-weight: 700;
    line-height: 1.5;
}

.about-objective-card p {
    margin-bottom: 0;
    color: #606b7d;
    font-size: .86rem;
    line-height: 1.75;
}

/* ==========================================
   COMPROMISO INSTITUCIONAL
   ========================================== */

.about-commitment-section {
    background: #ffffff;
}

.about-commitment-panel {
    padding: 3.5rem;
    border-radius: 24px;
    background: linear-gradient(
        125deg,
        #181e6d 0%,
        #35468f 100%
    );
}

.about-commitment-panel h2 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 2.8vw, 2.8rem);
    font-weight: 800;
    line-height: 1.25;
}

.about-commitment-symbol {
    color: #ffffff;
    font-size: 3.5rem;
}

.about-commitment-panel p {
    color: rgba(255,255,255,.91);
    font-size: .96rem;
    line-height: 1.9;
}

.about-commitment-panel .about-card-eyebrow {
    color: #ff7a00;
}

/* ==========================================
   ARTICULACIÓN INSTITUCIONAL
   ========================================== */

.about-system-section {
    background: #f6f7fc;
}

.about-system-flow {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem;

    border: 1px solid #e1e6f1;
    border-radius: 22px;
    background: #ffffff;
}

.about-system-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 100px;
    padding: 1.4rem;
    border: 1px solid #e1e6f1;
    border-radius: 14px;
    background: #f9fafe;
    text-align: center;
}

.about-system-node.is-primary {
    background: #181e6d;
    border-color: #181e6d;
}

.about-system-node strong {
    margin-bottom: .35rem;
    color: #181e6d;
    font-size: 1rem;
    font-weight: 700;
}

.about-system-node span {
    color: #667085;
    font-size: .83rem;
    line-height: 1.6;
}

.about-system-node.is-primary strong,
.about-system-node.is-primary span {
    color: #ffffff;
}

.about-system-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    color: #ee7100;
    font-size: 1.2rem;
}

.about-system-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

@media (max-width: 991.98px) {

    .about-identity-section,
    .about-purpose-section,
    .about-values-section,
    .about-quality-section,
    .about-objectives-section,
    .about-commitment-section,
    .about-system-section {
        padding: 4rem 0;
    }

    .about-values-grid,
    .about-objectives-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-quality-intro {
        position: static;
    }

}

@media (max-width: 767.98px) {

    .about-values-grid,
    .about-objectives-grid,
    .about-system-pair {
        grid-template-columns: 1fr;
    }

    .about-purpose-card,
    .about-commitment-panel {
        padding: 2rem 1.5rem;
    }

    .about-system-flow {
        padding: 1rem;
    }

    .about-policy-item {
        padding: 1.2rem;
        gap: .8rem;
    }

}

@media (prefers-reduced-motion: reduce) {

    .about-value-card {
        transition: none;
    }

}

/* ANCLAS DE NAVEGACIÓN INSTITUCIONAL */

#quienes-somos,
#mision-vision,
#valores,
#politica-calidad,
#objetivos-calidad,
#compromiso-calidad,
#sistema-institucional,
#equipo {
    scroll-margin-top: 140px;
}

/* =========================================================
   NAVEGACIÓN POR ANCLAS - VISTA NOSOTROS
   ========================================================= */

html {
    scroll-padding-top: 140px;
}

#quienes-somos,
#mision-vision,
#mision,
#vision,
#valores,
#politica-calidad,
#objetivos-calidad,
#equipo,
#compromiso-calidad,
#sistema-institucional {
    scroll-margin-top: 140px;
}

/* Enlaces del megamenú de inspiración */

.acreduca-inspiration-card {
    text-decoration: none;
    cursor: pointer;
}

.acreduca-inspiration-card:hover,
.acreduca-inspiration-card:focus {
    text-decoration: none;
}

@media (max-width: 575.98px) {

    .about-purpose-card p {
        text-align: left;
        hyphens: none;
    }

}
