/* =====================================================
   DESIGN SYSTEM BASE (Bootstrap friendly)
===================================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  /* =====================================================
     1) FONT FAMILY
  ===================================================== */
  --font-primary: "Poppins", sans-serif;

  --fw-regular: 400;
  --fw-bold: 700;
  --fw-black: 900;

  /* Bootstrap mapping */
  --bs-font-sans-serif: var(--font-primary);
  --bs-body-font-family: var(--bs-font-sans-serif);

  /* 🔥 BLOCKSY TYPOGRAPHY OVERRIDE */
  --theme-font-family: var(--font-primary);
  --theme-font-weight: 400;
  --theme-button-font-family: var(--font-primary);
  --theme-button-font-weight: 700;

  /* =====================================================
     2) TYPOGRAPHY SCALE
  ===================================================== */
  --fs-h1: 82px;
  --fs-h2: 62px;
  --fs-h3: 52px;
  --fs-h4: 32px;
  --fs-h5: 22px;

  --fs-body-1: 36px;
  --fs-body-2: 24px;
  --fs-body-3: 18px;
  --fs-body-4: 14px;

  /* =====================================================
     3) BRAND COLORS (RAW)
  ===================================================== */
  --red-900: #830806;
  --red-700: #b01816;
  --red-500: #e6605e;
  --red-100: #ffeaea;

  --blue-900: #0b1133;
  --blue-700: #232a55;
  --blue-500: #465197;
  --blue-300: #8c96d0;

  --gray-900: #1e1e1e;
  --gray-700: #4a4a4a;
  --gray-500: #8a8a8a;
  --gray-200: #cdcdcd;
  --gray-100: #f4f4f4;

  --gradient-1: linear-gradient(180deg, #232a55 0%, #465197 100%);
  --gradient-2: linear-gradient(180deg, #e6605e 0%, #b01816 100%);

  /* =====================================================
     4) SEMANTIC TOKENS
  ===================================================== */
  --color-primary: var(--blue-900);
  --color-primary-2: var(--blue-700);
  --color-accent: var(--red-700);

  --color-danger: var(--red-700);
  --color-danger-soft: var(--red-100);

  --text-strong: var(--gray-900);
  --text-default: var(--gray-700);
  --text-muted: var(--gray-500);
  --text-inverse: #ffffff;

  --bg-default: #ffffff;
  --bg-soft: var(--gray-200);

  --border-default: var(--gray-200);

  /* =====================================================
     5) BOOTSTRAP OVERRIDES
  ===================================================== */
  --bs-primary: var(--color-primary);
  --bs-secondary: var(--color-primary-2);
  --bs-danger: var(--color-danger);

  --bs-body-color: var(--text-default);
  --bs-body-bg: var(--bg-default);
  --bs-border-color: var(--border-default);
}

/* =====================================================
   GLOBAL BASE
===================================================== */

body {
  font-family: var(--font-primary) !important;
  font-weight: var(--fw-regular);
  color: var(--text-default);
}

/* Asegura herencia en contenedores de Blocksy */
.ct-site,
.ct-container,
#main-container {
  font-family: var(--font-primary) !important;
}

/* =====================================================
   HEADINGS
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.h1-custom,
.h2-custom,
.h3-custom,
.h4-custom,
.h5-custom {
  font-family: var(--font-primary) !important;
  font-weight: var(--fw-bold);
  color: var(--text-strong);
}

h1 {
  font-size: var(--fs-h1) !important;
}
h2 {
  font-size: var(--fs-h2) !important;
}
h3 {
  font-size: var(--fs-h3) !important;
}
h4 {
  font-size: var(--fs-h4) !important;
}
h5 {
  font-size: var(--fs-h5) !important;
}

/* =====================================================
   BODY TEXT CLASSES
===================================================== */

.body-1 {
  font-size: var(--fs-body-1);
  font-weight: var(--fw-regular);
}
.body-2 {
  font-size: var(--fs-body-2);
  font-weight: var(--fw-regular);
}
.body-3 {
  font-size: var(--fs-body-3);
  font-weight: var(--fw-regular);
}
.body-4 {
  font-size: var(--fs-body-4);
  font-weight: var(--fw-regular);
}

/* =====================================================
   OPTIONAL UTILITY CLASSES
===================================================== */

.text-strong {
  color: var(--text-strong);
}
.text-muted-custom {
  color: var(--text-muted);
}
.text-inverse {
  color: var(--text-inverse);
}

.bg-soft {
  background-color: var(--bg-soft);
}
.bg-accent {
  background-color: var(--color-accent);
}

.border-custom {
  border-color: var(--border-default);
}

/* Botones */

/* Botón */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  line-height: 1;
  width: fit-content;
}

.ds-btn--accent {
  background: var(--color-accent);
  color: var(--text-inverse);
}

.ds-btn--accent:hover {
  background-color: var(--red-500);
  filter: brightness(1.05);
  color: var(--text-inverse);
}

.btn-secondary{
  border-radius: 6px;
border: 1px solid #B01816;
background: #FFF;
width: 130px;
height: 40px;
padding: 15px;
    font-weight: bold;
}
/*  HOME */

/* =====================================================
   SECTION: Video + Certificados (flex, tokens DS)
===================================================== */

.ds-video {
  width: 100%;
}

/* ---------- Video ---------- */
.ds-video__media {
  padding: 0;
}

.ds-video__media-inner {
  display: flex;
  justify-content: center;
}

.ds-video__video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;

  /* look & feel */
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  margin-top: 14px;

  position: relative;
  z-index: 2;
}

.ds-video__video,
.ds-video__iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ---------- Certificados ---------- */
.ds-certificados {
  background: var(--gradient-1);
  color: var(--text-inverse);
  padding: 96px 0 64px; /* extra top por el overlap */
  position: relative;
  z-index: 1;
}

.ds-certificados__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.ds-certificados__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 920px;
}

.ds-certificados__title {
  color: var(--text-inverse);
  font-weight: var(--fw-bold);
  letter-spacing: 0.5px;
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0;
  line-height: 60px;
}

.ds-certificados__text {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 860px;
}

.ds-certificados__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
}

.ds-certificados__logo {
  margin: 0;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
}

.ds-certificados__logo img {
  width: 78%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 576px) {
  .ds-video-certificados__video-wrap {
    border-radius: 14px;
    margin-bottom: -36px;
  }
  .ds-certificados {
    padding: 84px 0 48px;
  }
  .ds-certificados__logo {
    width: 160px;
    height: 160px;
  }
  ..ds-certificados__title {
    line-height-step: normal !important;
  }
}

/* =====================================================
   SECTION: Formamos Líderes
===================================================== */

.ds-lideres {
  position: relative; /* ancla real para la imagen */
  background-color: var(--gray-100);
  padding: 80px 0;
  overflow: hidden;
}

/* IMPORTANT: el container trae position-relative en el HTML.
   Lo anulamos para que la imagen se ancle al SECTION (no al container). */
.ds-lideres .container-lideres.position-relative{
  position: static !important;
}

/* Layout principal */
.ds-lideres__inner {
  display: flex;
  align-items: flex-start; /* evita que el texto se baje */
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* =====================================================
   TEXTO
===================================================== */

.ds-lideres__content {
  flex: 1 1 520px;
  max-width: 630px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ds-lideres__title {
  font-weight: 900;
  color: var(--color-primary);
  line-height: 60px;
  margin: 0;
}

.text-accent {
  color: var(--color-accent);
}

.ds-lideres__text {
  color: var(--gray-900);
  margin: 0;
  line-height: 1.6;
}

/* =====================================================
   IMAGEN (pegada al borde derecho + abajo del SECTION)
===================================================== */

.ds-lideres__media{
  position: absolute;
  right: 0;  /* borde derecho REAL del section */
  bottom: 0; /* borde inferior REAL del section */
  z-index: 2;

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

  pointer-events: none; /* opcional */
}

/* si quieres que sobresalga un poco */
.ds-lideres.pb-0 .ds-lideres__media {
  bottom: -80px;
}

.ds-lideres__media img {
  display: block;
  max-height: 100%;
  width: 700px;
  height: auto;
  object-fit: contain;
}

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

@media (max-width: 1200px) {
  .ds-lideres__media img {
    max-height: 560px;
  }
}

@media (max-width: 992px) {

  .ds-lideres {
    padding: 60px 0;
  }

  /* devolvemos el container a normal (no hace falta static, pero no estorba) */
  .ds-lideres .container-lideres.position-relative{
    position: relative !important;
  }

  .ds-lideres__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .ds-lideres__content {
    align-items: center;
  }

  .ds-lideres__media {
    position: static; /* vuelve al flujo normal */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    pointer-events: auto;
  }

  .ds-lideres__media img {
    width: 100%;
    max-width: 480px;
    max-height: none;
    height: auto;
  }

  .ds-lideres__title {
    font-size: 40px;
  }
}

@media (max-width: 576px) {

  .ds-lideres {
    padding: 50px 0;
  }

  .ds-lideres__title {
    font-size: 32px;
    line-height: normal !important;
  }

  .ds-lideres__media img {
    max-width: 100%;
  }

  .ds-lideres__inner {
    gap: 0;
  }
}


/* =====================================================
   SECTION: Diferentes
===================================================== */

.ds-diferentes {
  padding: 70px 0;
  background: var(--bg-default);
}

/* Header */
.ds-diferentes__title {
  color: var(--color-accent);

  margin: 0;
}

.fw-black {
  font-weight: 900;
}

.ds-diferentes__subtitle {
  color: var(--gray-900);
  margin: 0;
  font-weight: var(--fw-regular);
}

/* =====================================================
   ACCORDION
===================================================== */

.ds-diferentes__accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ds-acc {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-default);
}

/* Botón */
.ds-acc__btn {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: var(--gray-100);
  color: var(--blue-700);
  font-weight: var(--fw-bold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

/* Hover */
.ds-acc__btn:hover {
  background: rgba(70, 81, 151, 0.08);
}

/* Activo */
.ds-acc__btn[aria-expanded="true"] {
  background: rgba(230, 96, 94, 0.08);
}

/* =====================================================
   ICONO FLECHA
===================================================== */

.ds-acc__icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--blue-700);
  position: relative;
  transition: background 0.2s ease;
}

/* Flecha → (cerrado) */
.ds-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  transition: transform 0.2s ease;
}

/* Activo: rojo */
.ds-acc__btn[aria-expanded="true"] .ds-acc__icon {
  background: var(--color-accent);
}

/* Activo: flecha hacia abajo */
.ds-acc__btn[aria-expanded="true"] .ds-acc__icon::after {
  transform: translate(-50%, -50%) rotate(45deg);
}

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

.ds-acc__content {
  padding: 14px 16px;
  background: var(--bg-default);
}

.ds-acc__text {
  color: var(--text-default);
  margin: 0;
  line-height: 1.6;
}

/* =====================================================
   IMAGEN
===================================================== */

.ds-diferentes__photo {
  border-radius: 0 0 233px 233px;
  overflow: hidden;
  border: 10px solid var(--border-default);
  height: 500px;
}

.ds-diferentes__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}



/* =====================================================
   SECTION: Oferta Educativa
===================================================== */

.ds-oferta {
  position: relative;
  padding: 70px 0 80px;
  background: var(--gradient-1);
  overflow: hidden;
}

/* Decor rojo lateral */
.ds-oferta__decor {
  position: absolute;
  left: -60px;
  top: 55%;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: var(--color-accent);
  transform: translateY(-50%);
  opacity: 0.95;
}

/* Inner */
.ds-oferta__inner {
  position: relative;
  z-index: 1;
}

.ds-oferta__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}

.ds-oferta__title {
  margin: 0;
  letter-spacing: 0.4px;
}

.ds-oferta__subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}
/* =====================================================
   Cards estilo overlay
===================================================== */

.ds-oferta__cards {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Card base */
.ds-oferta-card {
  position: relative;
  width: 260px;
  height: 380px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

/* Imagen ocupa todo */
.ds-oferta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay con gradiente */
.ds-oferta-card__overlay {
  position: absolute;
  inset: 0;
  padding: 18px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;

  border-radius: 15px;
  background: linear-gradient(180deg, rgba(35, 42, 85, 0) 0%, #232a55 100%);
}

/* Título */
.ds-oferta-card__title {
  margin: 0;
  font-weight: var(--fw-bold);
  line-height: 1.15;
}

/* Texto */
.ds-oferta-card__text {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 576px) {
  .ds-oferta-card {
    width: 100%;
    max-width: 320px;
    height: 420px;
  }
}

/* =====================================================
   SECTION: Proyección
===================================================== */

.ds-proyeccion {
  padding: 70px 0 80px;
  background: var(--gradient-2);
  overflow: hidden;
}

.ds-proyeccion__inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ds-proyeccion__title {
  margin: 0;
  letter-spacing: 0.4px;
  line-height: 60px;
}

.fw-black {
  font-weight: 900;
}

/* Cards wrapper */
.ds-proyeccion__cards {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Card */
.ds-proy-card {
  width: 230px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 4px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
}

/* Img */
.ds-proy-card__img {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.ds-proy-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.ds-proy-card__body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Title (similar compact) */
.ds-proy-card__title {
  margin: 0;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 13px;
  line-height: 1.25;
  min-height: 32px; /* uniforma alturas */
}

/* Button */
.ds-proy-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: #b01816;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  width: fit-content;
}

.ds-proy-card__btn:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* Responsive */
@media (max-width: 576px) {
  .ds-proy-card {
    width: 100%;
    max-width: 320px;
  }
  .ds-proy-card__img {
    height: 180px;
  }
  .ds-proyeccion__title{
    line-height: normal !important;
  }
}
/* =====================================================
   SECTION: Nuestras Alianzas
===================================================== */

.ds-alianzas {
  background: var(--bg-default);
  padding: 60px 0 54px;
}

.ds-alianzas__inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Title */
.ds-alianzas__title {
  margin: 0;
  color: var(--color-primary);
  letter-spacing: 0.4px;
}

.fw-black {
  font-weight: 900;
}

/* Logos row */
.ds-alianzas__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.ds-alianzas__logo {
  margin: 0;
  flex: 1 1 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 86px;
}

.ds-alianzas__logo img {
  max-height: 70px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* Labels */
.ds-alianzas__labels {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.ds-alianzas__label {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .ds-alianzas__logos {
    justify-content: center;
  }
  .ds-alianzas__labels {
    gap: 18px;
    text-align: center;
  }
}

/* =====================================================
   SECTION: Universidades
===================================================== */

.ds-universidades {
  padding: 70px 0;
}

/* Title */
.ds-universidades__title {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.15;
}

/* Imagen estilo escudo */
.ds-universidades__photo {
  max-width: 360px;

  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.ds-universidades__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .ds-universidades__title {
    font-size: 32px;
  }
}

/* =====================================================
   SECTION: Testimonial Title
===================================================== */

.ds-testimonial-title {
  background: var(--bg-default);
  padding: 60px 0 54px;
}

.ds-testimonial-title__title {
  margin: 0;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.4px;
}

.fw-black {
  font-weight: 900;
}

/* =====================================================
   SECTION: Blog Slider
===================================================== */
.ds-blog-slide-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ds-blog-slider {
  position: relative;
  padding: 70px 0 84px;
  background: linear-gradient(180deg, var(--blue-900) 0%, var(--blue-700) 100%);
  overflow: hidden;
}

.ds-blog-slider__head {
  margin-bottom: 18px;
}

.ds-blog-slider__title {
  margin: 0;
  letter-spacing: 0.4px;
  line-height: 1.1;
}



/* Swiper wrapper */
.ds-blog-slider__wrap {
  max-width: 920px;
  margin: 0 auto;
}

/* Card */
.ds-blog-card {
  background: var(--bg-default);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

/* Media */
.ds-blog-card__media {
  width: 36%;
  min-height: 220px;
  overflow: hidden;
  height: 300px !important;
}

.ds-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */
.ds-blog-card__body {
  width: 64%;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ds-blog-card__meta {
  font-size: 12px;
  color: var(--text-muted);
}

.ds-blog-card__title {
  margin: 0;
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1.2;
}

.ds-blog-card__excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--text-default);
  line-height: 1.5;
  max-width: 520px;
}

/* Footer row */
.ds-blog-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 6px;
}

.ds-blog-card__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.ds-blog-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--color-primary);
  display: inline-block;
}

.ds-blog-card__arrow {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
}

.ds-blog-card__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-55%, -50%) rotate(-45deg);
}

/* Pagination dots */
.ds-blog-swiper__pagination {
  position: static !important;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ds-blog-swiper__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

.ds-blog-swiper__pagination .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

/* Decor (opcional) */
.ds-blog-slider__decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.8;
}

.ds-blog-slider__decor--left {
  left: 20px;
  top: 44%;
  width: 26px;
  height: 120px;
  border-left: 6px solid rgba(255, 255, 255, 0.35);
  border-bottom: 6px solid rgba(255, 255, 255, 0.35);
  border-radius: 0 0 0 18px;
  transform: rotate(0deg);
}

.ds-blog-slider__decor--right {
  right: -70px;
  bottom: -70px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
  .ds-blog-card {
    flex-direction: column;
  }

  .ds-blog-card__media,
  .ds-blog-card__body {
    width: 100%;
  }

  .ds-blog-card__media {
    min-height: 190px;
  }

  .ds-blog-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  h1 {
    font-size: 42px !important;
  }
  h2 {
    font-size: 32px !important;
  }
  h3 {
    font-size: 28px !important;
  }
  h4 {
    font-size: 22px !important;
  }
  h5 {
    font-size: 18px !important;
  }
}

/* =====================================================
   SECTION: Conocenos
===================================================== */

.ds-proud {
  position: relative;
  padding: 70px 0;
  background: var(--gradient-1);
  overflow: hidden;
}

/* Title */
.ds-proud__title {
  margin: 0 0 16px;
  font-weight: var(--fw-bold);
  line-height: 1.05;
  letter-spacing: 0.2px;
}

/* Text */
.ds-proud__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

/* =====================================================
   IMAGEN (SIEMPRE pegada derecha + abajo)
===================================================== */

/* wrapper de la imagen */
.ds-proud__media{
  position: absolute;
  right: 130px;
  bottom: 0;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* imagen */
.ds-proud__img {
  display: block;
  max-height: 520px;
  width: auto;
  height: auto;
}

/* si quieres que sobresalga un poco del banner */
.ds-proud.pb-0 .ds-proud__media{
  bottom: 0px; /* ajusta según tu diseño */
}

/* =====================================================
   DECOR
===================================================== */

.ds-proud__decor--left {
  position: absolute;
  left: 28px;
  top: 55px;
  width: 38px;
  height: 180px;
  border-left: 8px solid rgba(255, 255, 255, 0.35);
  border-top: 8px solid rgba(255, 255, 255, 0.35);
  border-radius: 26px 0 0 0;
  transform: rotate(-12deg);
}

.ds-proud__decor--right {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 260px;
  height: 260px;
  background: var(--color-accent);
  border-radius: 55% 45% 55% 45%;
  transform: translateY(-50%);
  opacity: 0.95;
}

/* =====================================================
   LAYOUT
===================================================== */

.ds-proud .row{
  min-height: 460px; /* mantiene espacio visual del banner */
}

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

@media (max-width: 992px) {

  .ds-proud {
    padding: 56px 0 0 0;
    text-align: center;
  }

  .ds-proud .row {
    min-height: auto;
  }

  /* imagen vuelve al flujo normal */
  .ds-proud__media{
    position: static;
    margin-top: 30px;
    justify-content: center;
  }

  .ds-proud__img {
    max-height: 420px;
    max-width: 100%;
  }

  .ds-proud__text {
    margin-left: auto;
    margin-right: auto;
  }

  .ds-proud__decor--left {
    left: 14px;
    top: 22px;
    opacity: 0.6;
  }
}
/* =====================================================
   SECTION: Stats Institucionales
===================================================== */

.ds-stats {
  padding: 70px 0;
  background: var(--gradient-2);
}

/* Item */
.ds-stats__item {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Icon circle */
.ds-stats__icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 26px;
}

.ds-stats__icon > img {
  width: 35px;
}

/* Text */
.ds-stats__text {
  margin: 0;
  color: var(--text-inverse);
  font-size: 18px;
  font-weight: var(--fw-bold);
}

/* Responsive */
@media (max-width: 768px) {
  .ds-stats {
    padding: 56px 0;
  }

  .ds-stats__item {
    gap: 14px;
  }

  .ds-stats__icon {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .ds-stats__text {
    font-size: 16px;
  }
}

/* =====================================================
   SECTION: Filosofía
===================================================== */

.ds-filosofia {
  position: relative;
  padding: 70px 0 80px;
  background: var(--bg-default);
  overflow: hidden;
}

.ds-filosofia__head {
  margin-bottom: 26px;
}

.ds-filosofia__title {
  margin: 0;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: 0.4px;
}



/* Decor blobs */
.ds-filosofia__decor {
  position: absolute;
  pointer-events: none;
}

.ds-filosofia__decor--left {
  left: -90px;
  top: 180px;
  width: 140px;
  height: 220px;
  background: var(--color-accent);
  border-radius: 80px;
  transform: rotate(10deg);
  opacity: 0.95;
}

.ds-filosofia__decor--right {
  right: 26px;
  bottom: 40px;
  width: 36px;
  height: 120px;
  border-left: 8px solid rgba(35, 42, 85, 0.55);
  border-bottom: 8px solid rgba(35, 42, 85, 0.55);
  border-radius: 0 0 0 18px;
  transform: rotate(0deg);
  opacity: 0.9;
}

/* =====================================================
   Cards
===================================================== */

.ds-filo-card {
  border-radius: 14px;
  padding: 22px 18px 20px;
  min-height: 330px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.ds-filo-card--blue {
  background: var(--color-primary-2);
  color: var(--text-inverse);
}

.ds-filo-card--red {
  background: var(--color-accent);
  color: var(--text-inverse);
}

.ds-filo-card--light {
  background: #f4f4f4;
  color: var(--text-default);
  border: 1px solid var(--border-default);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* =====================================================
   Avatar con aro rojo sin crecer tamaño
===================================================== */

.ds-filo-card__avatar {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}

/* Imagen */
.ds-filo-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
      padding: 13px;
}


.ds-filo-card__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--color-accent);
  pointer-events: none;
}

.ds-filo-card__avatar--blue::after {
  box-shadow: inset 0 0 0 6px var(--color-primary);
} 

/* Para card clara: aro rojo como en referencia */
.ds-filo-card__avatar--light {
  border: 4px solid rgba(176, 24, 22, 0.95);
  outline: 3px solid rgba(0, 0, 0, 0.08);
}

/* Headline inside card */
.ds-filo-card__kicker {
  margin: 0 0 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.3px;
  color: inherit;
}

.ds-filo-card__kicker--dark {
  color: var(--color-primary);
}

/* Text */
.ds-filo-card__text {
  margin: 35px 0;
  font-size: 18px;
  line-height: 1.55;
  color: inherit;
  text-align: start;
}

.ds-filo-card__text--dark {
  color: var(--text-default);
  width: 100%;
  text-align: left;
}

/* List */
.ds-filo-card__list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 576px) {
  .ds-filo-card {
    min-height: auto;
  }
  .ds-filo-card__avatar {
    width: 128px;
    height: 128px;
  }
}


/* =====================================================
   SECTION: ¿Cómo funciona el programa?
===================================================== */

.ds-programa{
  position: relative;
  background: var(--bg-default);
  padding: 70px 0 80px;
  overflow: hidden;
}

/* referencia para la imagen absoluta */
.ds-programa .container{
  position: relative;
}

/* Head */
.ds-programa__head{
  margin-bottom: 14px;
}

.ds-programa__title{
  margin: 0;
  color: var(--color-primary);
  letter-spacing: .4px;
  line-height: 1.1;
}

/* Intro */
.ds-programa__intro{
  margin-bottom: 28px;
}

.ds-programa__lead{
  margin: 0 auto;
  max-width: 980px;
  color: var(--text-default);
  line-height: 1.6;
}

/* Body spacing */
.ds-programa__body{
  margin-top: 6px;
}

/* =========================================
   MEDIA (DESKTOP pegada abajo)
========================================= */

.ds-programa__media{
  position: absolute;
  left: 0;
  bottom: -250px;
  width: 100%;

  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin: 0;
}

.ds-programa__img{
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
}

/* =========================================
   Right content
========================================= */

.ds-programa__content{
  max-width: 520px;
}

.ds-programa__subtitle{
  margin: 0 0 12px;
  color: var(--text-default);
}

/* List */
.ds-programa__list{
  margin: 0;
  padding-left: 18px;
  color: var(--text-default);
  line-height: 1.7;
}

.ds-programa__list li{
  margin-bottom: 10px;
}

/* Decor esquina inferior derecha */
.ds-programa__decor{
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 40px;
  height: 120px;
  border-right: 8px solid rgba(35,42,85,.55);
  border-bottom: 8px solid rgba(35,42,85,.55);
  border-radius: 0 0 18px 0;
  pointer-events: none;
}

/* =========================================
   TABLET Y MOBILE
========================================= */

@media (max-width: 992px){
  .ds-programa{
    padding-top: 56px;
    padding-bottom: 0;
  }

  .ds-programa__media{
    position: static;        /* 👈 sale del absolute */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
  }

  .ds-programa__img{
    width: 100%;
    max-width: 520px;
    height: auto;
  }

  .ds-programa__content{
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 576px){
  .ds-programa__img{
    max-width: 420px;
  }
}


/* =====================================================
   SECTION: Programas (intercalados)
===================================================== */

.ds-programas{
  position: relative;
  background: var(--bg-default);
  padding: 70px 0 80px;
  overflow: hidden;
}

/* Espaciado entre bloques */
.ds-programas__item{
  margin-bottom: 56px;
}

.ds-programas__item:last-child{
  margin-bottom: 0;
}

/* Títulos */
.ds-programas__title{
  margin: 0 0 14px;
  color: var(--color-primary);
  text-transform:none;
  line-height: 1.1;
}

/* Listas */
.ds-programas__list{
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text-default);
  line-height: 1.7;
}

.ds-programas__list li{
  margin-bottom: 10px;
}

.ds-programas__list--sub{
  margin-top: 6px;
}

/* =====================================================
   Imagen tipo “escudo” (reusa tu clase base)
===================================================== */

.ds-diferentes__photo--shield{
  max-width: 360px;
  margin: 0 auto;
  border-radius: 220px 220px 34px 34px; /* look escudo */
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
}

/* Ajuste cuando va alineada a la derecha (desktop) */
@media (min-width: 992px){
  .ds-programas__item--img-right .ds-diferentes__photo--shield{
    margin-left: auto;
    margin-right: 0;
  }

  .ds-programas__item--img-left .ds-diferentes__photo--shield{
    margin-left: 0;
    margin-right: auto;
  }
}

/* =====================================================
   Decor (opcional)
===================================================== */

.ds-programas__decor{
  position: absolute;
  pointer-events: none;
}

.ds-programas__decor--right{
  right: -90px;
  top: 45%;
  width: 180px;
  height: 180px;
  background: var(--color-accent);
  border-radius: 55% 45% 55% 45%;
  transform: translateY(-50%);
  opacity: .95;
}

.ds-programas__decor--left{
  left: -90px;
  bottom: 90px;
  width: 140px;
  height: 220px;
  background: var(--color-accent);
  border-radius: 80px;
  opacity: .95;
}

/* =====================================================
   Overlay para imagen de programas
===================================================== */

.ds-diferentes__photo{
  position: relative;
  overflow: hidden; /* importante */
}

/* Overlay base */
.ds-diferentes__photo--overlay::after{
  content: "";
  position: absolute;
  inset: 0;
background: linear-gradient(180deg, rgba(35, 42, 85, 0.00) 0%, rgba(35, 42, 85, 0.75) 100%);
  pointer-events: none;
}

/* =====================================================
   SECTION: Form Escribenos
===================================================== */

.ds-form{
  background: var(--gray-100);
  padding: 70px 0 80px;
}

.ds-form__head{
  margin-bottom: 26px;
}

.ds-form__title{
  margin: 0;
  color: var(--color-primary);
  letter-spacing: .4px;
  line-height: 1.1;
}

.ds-form__subtitle{
  margin: 6px 0 0;
  color: var(--text-default);
}

/* Box */
.ds-form__box{
  max-width: 520px;
}

/* Groups */
.ds-form__group{
  margin-bottom: 16px;
}

.ds-form__label{
  display: block;
  margin: 0 0 6px;
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 600;
}

/* Controls */
.ds-form__control{
 border-radius: 10px !important;
border: 1px solid #8A8A8A !important;
background: #FFF !important;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-default);
 
}

.ds-form__control:focus{
  border-color: rgba(35,42,85,.45);
  box-shadow: 0 0 0 .15rem rgba(35,42,85,.15);
}

.ds-form__control--textarea{
  resize: vertical;
  min-height: 140px;
}

/* Chips */
.ds-form__chips{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ds-chip{
  margin: 0;
}

.ds-chip input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ds-chip__ui{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-primary-2);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}

/* active */
.ds-chip input:checked + .ds-chip__ui{
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Select with circle icon */
.ds-select{
  position: relative;
}

.ds-form__control--select{
  padding-right: 52px; /* espacio para el icono */
}

.ds-select__icon{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--color-primary);
  pointer-events: none;
}

.ds-select__icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* Note */
.ds-form__note{
  margin: 6px 0 18px;
  font-size: 12px;
  color: var(--color-accent);
}

/* Button */
.ds-form__btn{
  border: 0;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--text-inverse);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.ds-form__btn:hover{
  filter: brightness(1.05);
}

/* =====================================================
   SECTION: Historia de nuestro diario
===================================================== */

.ds-diario{
  position: relative;
  background: var(--bg-default);
  padding: 70px 0 40px;
  overflow: hidden;
}

/* Decor rojo lateral (como referencia) */
.ds-diario__decor{
  position: absolute;
  left: -90px;
  bottom: 40px;
  width: 140px;
  height: 220px;
  background: var(--color-accent);
  border-radius: 80px;
  opacity: .95;
  pointer-events: none;
}

.ds-diario__top{
  margin-bottom: 22px;
}

/* Title */
.ds-diario__title{
  margin: 0 0 14px;
  color: var(--color-accent); /* “HISTORIA DE” en rojo */
  line-height: 1.1;
  letter-spacing: .4px;
}

/* “NUESTRO DIARIO” en rojo también (si lo quieres azul, cambia a var(--color-primary)) */
.ds-diario__title .text-accent{
  color: var(--color-accent);
}

/* Text */
.ds-diario__text{
  margin: 0 0 16px;
  color: var(--text-default);
  line-height: 1.7;
}

/* List */
.ds-diario__list{
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--text-default);
  line-height: 1.7;
}

.ds-diario__list li{
  margin-bottom: 10px;
}

/* =====================================================
   Icon Circle (para Misión / Visión / Principios)
===================================================== */

.ds-filo-card__icon-circle{
  width: 180px;
  height: 180px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 32px;
  background: transparent;
}

.ds-filo-card__content{
  margin-top: 30px;
}

/* Azul card con aro rojo */
.ds-filo-card__icon-circle--red{
  border: 3px solid var(--color-accent);
  color: var(--text-inverse);
}

/* Roja card con aro azul */
.ds-filo-card__icon-circle--blue{
  border: 3px solid var(--color-primary);
  color: var(--text-inverse);
}

/* Card clara con aro rojo y fondo blanco */
.ds-filo-card__icon-circle--red-outline{
  border: 3px solid var(--color-accent);
  color: var(--color-primary);
}

/* Ajuste texto en cards centradas */
.ds-filo-card.ds-filo-card--blue,
.ds-filo-card.ds-filo-card--red{
  text-align: center;
}

.ds-filo-card.ds-filo-card--light{
  text-align: center;
}

@media (min-width: 992px){
  .ds-diario__photo{
    margin-left: 0;
    margin-right: auto;
  }
}

/* =====================================================
   CONTACT BAR
===================================================== */

.ds-contact-bar{
  background: var(--gradient-2);
  padding: 40px 0;
}

/* Title */

.ds-contact-bar__title{
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
  color: var(--text-inverse);
  letter-spacing: .5px;
}

/* Text */

.ds-contact-bar__text{
  color: rgba(255,255,255,.9);
  margin: 0;
  line-height: 1.6;
}
.ds-contact-bar__link{
  color: var(--text-inverse);
  text-decoration: none;
}

.ds-contact-bar__link:hover{
  text-decoration: underline;
  color: var(--text-inverse);
}

/* =====================================================
   PASOS ADMISION
===================================================== */

.ds-pasos{
  padding:40px 0 70px 0 ;
  background:var(--bg-default);
}

/* WRAPPER */

.ds-pasos__wrapper{
  display:flex;
  justify-content:space-between;
  position:relative;
}

/* línea horizontal */

.ds-pasos__wrapper::before{
  content:"";
  position:absolute;
  top:52px;
  left:8%;
  right:8%;
  height:3px;
  background:var(--color-accent);
}

/* ITEM */

.ds-paso{
  text-align:center;
  max-width:220px;
  position:relative;
  z-index:1;
}

/* ICONO */

.ds-paso__icon{
  width:100px;
  height:100px;
  border-radius:50%;
  background:var(--blue-700);
  border:3px solid var(--color-accent);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:36px;
  margin:0 auto 16px;
}

/* TEXTO */

.ds-paso__text{
  margin:0;
  color:var(--text-default);
  line-height:1.4;
}

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

@media (max-width:768px){

  .ds-pasos__wrapper{
    flex-direction:column;
    gap:30px;
    position:relative;
  }

  /* línea vertical centrada en los círculos */

  .ds-pasos__wrapper::before{
    content:"";
    position:absolute;
    top:0;
    left:35px;   /* mitad del círculo de 70px */
    width:3px;
    height:85%;
    background:var(--color-accent);
  }

  .ds-paso{
    display:flex;
    align-items:flex-start;
    text-align:left;
    max-width:100%;
    gap:20px;
  }

  .ds-paso__icon{
    width:70px;
    height:70px;
    font-size:28px;
    margin:0;
    flex-shrink:0;
  }

  .ds-paso__text{
    padding-top:10px;
  }

}


/* =====================================================
   STACKED GALLERY
===================================================== */

.ds-gallery-stack{
  background: var(--bg-default);
  padding: 40px 0 60px;
}

.ds-gallery-stack__item{
  margin-bottom: 34px;
}

.ds-gallery-stack__item:last-child{
  margin-bottom: 0;
}

.ds-gallery-stack__title{
  margin: 0 0 10px;
  text-align: center;
  color: var(--color-accent);
  font-weight: 900;
  line-height: 1.1;
}

/* Card del slide */
.ds-gallery-card{
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-default);
  position: relative;
}

.ds-gallery-card img{
  width: 100%;
  height: 620px;
  object-fit: cover;
  display: block;
}

/* Variante con borde azul como en "MEDIATECAS" */
.ds-gallery-card--outlined{
  border: 4px solid var(--color-primary);
  border-radius: 8px;
}

/* Pagination */
.ds-gallery-swiper{
  position: relative;
  padding-bottom: 24px;
}

.ds-gallery-swiper .swiper-pagination{
  bottom: 0 !important;
}

.ds-gallery-swiper .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.8);
  opacity: 1;
  margin: 0 4px !important;
}

.ds-gallery-swiper .swiper-pagination-bullet-active{
  background: var(--gray-500);
}

/* Responsive */
@media (max-width: 768px){
  .ds-gallery-card img{
    height: 220px;
  }

  .ds-gallery-stack{
    padding: 30px 0 50px;
  }

  .ds-gallery-stack__item{
    margin-bottom: 26px;
  }
}

/* =====================================================
   PROYECTOS CON GALERIA
===================================================== */

.ds-proyectos-galeria{
  background: var(--bg-default);
  padding: 32px 0 52px;
}

.ds-proyecto-card{
  background: #f5f5f5;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 32px;
}

.ds-proyecto-card:last-child{
  margin-bottom: 0;
}

/* Título y textos */
.ds-proyecto-card__title{
  margin: 0 0 14px;
  color: var(--color-accent);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  font-size: 34px;
}

.ds-proyecto-card__meta{
  margin-bottom: 14px;
}

.ds-proyecto-card__meta:last-child{
  margin-bottom: 0;
}

.ds-proyecto-card__label{
  margin: 0 0 4px;
  color: var(--color-primary);
  font-weight: var(--fw-bold);
  font-size: 14px;
  line-height: 1.2;
}

.ds-proyecto-card__text{
  margin: 0;
  color: var(--text-default);
  font-size: 14px;
  line-height: 1.45;
}

/* Galería */
.ds-proyecto-gallery__main{
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.ds-proyecto-gallery__main .swiper-slide img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.ds-proyecto-gallery__thumbs .swiper-slide{
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  opacity: .75;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}

.ds-proyecto-gallery__thumbs .swiper-slide-thumb-active{
  opacity: 1;
}

.ds-proyecto-gallery__thumbs .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 991px){
  .ds-proyecto-card{
    padding: 14px;
    margin-bottom: 24px;
  }

  .ds-proyecto-card__title{
    font-size: 28px;
  }

  .ds-proyecto-gallery__main .swiper-slide img{
    height: 240px;
  }
}

@media (max-width: 576px){
  .ds-proyectos-galeria{
    padding: 24px 0 40px;
  }

  .ds-proyecto-card__title{
    font-size: 22px;
  }

  .ds-proyecto-card__text,
  .ds-proyecto-card__label{
    font-size: 13px;
  }

  .ds-proyecto-gallery__main .swiper-slide img{
    height: 220px;
  }

  .ds-proyecto-gallery__thumbs .swiper-slide{
    width: 48px;
    height: 48px;
  }
}
/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width:768px){

  .ds-contact-bar{
    text-align:center;
  }

}

/* Responsive */
@media (max-width: 992px){
  .ds-diario{
    padding: 56px 0 64px;
  }
 
}

/* Responsive */
@media (max-width: 576px){
  .ds-form{
    padding: 56px 0 64px;
  }
  .ds-form__box{
    max-width: 100%;
  }
}

/* Responsive */
@media (max-width: 992px){
  .ds-programas{
    padding: 56px 0 64px;
  }

  .ds-programas__item{
    margin-bottom: 44px;
  }

  .ds-diferentes__photo--shield{
    max-width: 320px;
  }
}

@media (min-width: 993px){
  .ds-lideres__inner{
    align-items: flex-start; /* texto arriba */
  }

  .ds-lideres .container-lideres{
    min-height: 660px; /
  }

  .ds-lideres .container-gestion{
    min-height: 520px; 
  }

  .container-programa{
    min-height: 320px;
  }
}

/* =====================================================
   FOOTER
===================================================== */

.ds-footer{
  background: #171717;
  padding: 60px 0 50px;
  color: var(--text-inverse);
}

.ds-footer a{
  color: var(--text-inverse);
  text-decoration: none;
}

.ds-footer a:hover{
  color: var(--text-inverse);
  text-decoration: underline;
}

/* Brand */

.ds-footer__brand{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ds-footer__logo{
  width: 75px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.ds-footer__brand-text{
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
  max-width: 360px;
}

/* Social */

.ds-footer__social{
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ds-footer__social-label{
  font-size: 14px;
  color: var(--text-inverse);
  font-weight: var(--fw-bold);
}

.ds-footer__social-links{
  display: flex;
  align-items: center;
  gap: 14px;
}

.ds-footer__social-link{
  font-size: 14px;
  line-height: 1;
}

/* Titles */

.ds-footer__title{
  margin: 0 0 18px;
  color: var(--text-inverse);
  font-weight: var(--fw-bold);
  font-size: 14px !important;
}

/* Menu */

.ds-footer__menu{
  list-style: none;
  padding: 0;
  margin: 0;
}

.ds-footer__menu li{
  margin-bottom: 14px;
}

.ds-footer__menu li:last-child{
  margin-bottom: 0;
}

.ds-footer__menu a{
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255,255,255,.95);
}

/* Contact */

.ds-footer__contact{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ds-footer__contact-item{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ds-footer__contact-icon{
  font-size: 24px;
  line-height: 1;
  color: var(--text-inverse);
  flex-shrink: 0;
  margin-top: 2px;
}

.ds-footer__contact-text{
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255,255,255,.95);
}

.ds-footer__contact-text strong{
  font-weight: var(--fw-bold);
  color: var(--text-inverse);
}

.quote-contacto{
width: 75%;
}

/* Responsive */

@media (max-width: 991px){
  .quote-contacto{
  width: 100%;
  }
  
  .ds-footer{
    padding: 50px 0 40px;
  }

  .ds-footer__brand{
    align-items: center;
    text-align: center;
  }

  .ds-footer__brand-text{
    max-width: 100%;
  }

  .ds-footer__social{
    justify-content: center;
  }
}

@media (max-width: 767px){
  .ds-footer{
    text-align: center;
  }

  .ds-footer__contact-item{
    justify-content: center;
    text-align: left;
  }

  .ds-footer__title{
    margin-bottom: 12px;
  }

  .ds-footer__menu li{
    margin-bottom: 10px;
  }
}

.ds-blog-archive {
  padding: 20px 0 60px;
  background: var(--gradient-1);
}

.ds-blog-archive__wrap {
  max-width: 920px;
  margin: 0 auto;
}

.ds-blog-archive__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Card compacta */
.ds-blog-card--compact {
  background: var(--bg-default);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
width: 800px;
  margin: 0 auto;
}

.ds-blog-card--compact .ds-blog-card__media {
  width: 34%;
  min-height: 190px;
  display: block;
  overflow: hidden;
}

.ds-blog-card--compact .ds-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ds-blog-card--compact .ds-blog-card__body {
  width: 66%;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds-blog-card--compact .ds-blog-card__meta {
  font-size: 12px;
  color: var(--text-muted);
}

.ds-blog-card--compact .ds-blog-card__title {
  margin: 0;
  line-height: 1.15;
  font-size: 28px;
}

.ds-blog-card--compact .ds-blog-card__title a {
  color: var(--color-accent);
  text-decoration: none;
}

.ds-blog-card--compact .ds-blog-card__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-default);
}

.ds-blog-card--compact .ds-blog-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ds-blog-card--compact .ds-blog-card__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.ds-blog-card--compact .ds-blog-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--color-primary);
  display: inline-block;
}

.ds-blog-archive__pagination {
  margin-top: 30px;
  text-align: center;
}

/* Paginación WP */
.ds-blog-archive__pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ds-blog-archive__pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--bg-default);
  color: var(--color-primary);
  border: 1px solid var(--border-default);
}

.ds-blog-archive__pagination .page-numbers.current {
  background: var(--color-accent);
  color: var(--text-inverse);
  border-color: var(--color-accent);
}

@media (max-width: 768px) {
  .ds-blog-card--compact {
    flex-direction: column;
    max-width: 100%;
  }

  .ds-blog-card--compact .ds-blog-card__media,
  .ds-blog-card--compact .ds-blog-card__body {
    width: 100%;
  }

  .ds-blog-card--compact .ds-blog-card__media {
    min-height: 210px;
  }

  .ds-blog-card--compact .ds-blog-card__title {
    font-size: 22px;
  }

  .ds-blog-card--compact .ds-blog-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.navigation.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.ds-programas__list {
  width: 100%;
}

.ds-programas__list--has-table {
  margin-top: 1rem;
}

.ds-programas__list p:last-child,
.ds-programas__list ul:last-child,
.ds-programas__list ol:last-child {
  margin-bottom: 0;
}

.ds-table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  margin-top: 0.75rem;
}

.ds-table-responsive table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: #ffffff;
}

.ds-table-responsive th,
.ds-table-responsive td {
  padding: 10px 12px;
  border: 1px solid #d9e1e7;
  text-align: left;
  vertical-align: middle;
  color: #3e3e3e;
  font-size: 0.875rem;
  line-height: 1.35;
}

.ds-table-responsive thead th {
  font-weight: 800;
  text-transform: uppercase;
  color: #3d3d3d;
  background: #f7f8fa;
  white-space: nowrap;
  font-size: 0.82rem;
  padding: 12px;
}

.ds-table-responsive tbody td:first-child {
  font-weight: 700;
  min-width: 180px;
}

.ds-table-responsive tbody td:not(:first-child),
.ds-table-responsive thead th:not(:first-child) {
  min-width: 110px;
}

.ds-table-responsive tbody tr:nth-child(even) {
  background: #fcfcfc;
}

.ds-table-responsive td p,
.ds-table-responsive th p {
  margin: 0;
}

.ds-table-responsive td ul,
.ds-table-responsive td ol,
.ds-table-responsive th ul,
.ds-table-responsive th ol {
  margin: 0;
  padding-left: 1rem;
}

@media (max-width: 991.98px) {
  .ds-table-responsive table {
    min-width: 560px;
  }

  .ds-table-responsive th,
  .ds-table-responsive td {
    padding: 9px 10px;
    font-size: 0.82rem;
  }

  .ds-table-responsive thead th {
    font-size: 0.76rem;
    padding: 10px;
  }

  .ds-table-responsive tbody td:first-child {
    min-width: 160px;
  }

  .ds-table-responsive tbody td:not(:first-child),
  .ds-table-responsive thead th:not(:first-child) {
    min-width: 100px;
  }
}

@media (max-width: 575.98px) {
  .ds-table-responsive table {
    min-width: 520px;
  }

  .ds-table-responsive th,
  .ds-table-responsive td {
    padding: 8px 9px;
    font-size: 0.78rem;
  }

  .ds-table-responsive thead th {
    font-size: 0.72rem;
    padding: 9px;
  }

  .ds-table-responsive tbody td:first-child {
    min-width: 145px;
  }
}

/* =====================================================
   SECTION: Testimoniales
===================================================== */

.ds-testimoniales{
  padding: 70px 0 80px;
  background: var(--bg-default);
}

.ds-testimoniales__head{
  margin-bottom: 24px;
}

.ds-testimoniales__title{
  margin: 0;
  color: var(--color-primary);
  line-height: 1.1;
}

.fw-black{
  font-weight: 900;
}

.ds-testimoniales__wrap{
  max-width: 980px;
  margin: 0 auto;
}

/* Card */

.ds-testimonial-card{
  background: var(--bg-default);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  display: flex;
  align-items: stretch;
}

/* Foto */

.ds-testimonial-card__media{
  width: 34%;
  min-height: 360px;
  overflow: hidden;
  background: var(--bg-soft);
}

.ds-testimonial-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Body */

.ds-testimonial-card__body{
  width: 66%;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.ds-testimonial-card__label{
  display: inline-block;
  font-size: 18px;
  font-weight: var(--fw-black);
  color: var(--color-accent);
  letter-spacing: .4px;
  text-transform: uppercase;
}

.ds-testimonial-card__text{
  margin: 0;
  color: var(--text-default);
  line-height: 1.7;
}

/* Pagination */

.ds-testimoniales__pagination{
  position: static !important;
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ds-testimoniales__pagination .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  background: rgba(35,42,85,.25);
  opacity: 1;
}

.ds-testimoniales__pagination .swiper-pagination-bullet-active{
  background: var(--color-accent);
}

/* Responsive */

@media (max-width: 991px){
  .ds-testimonial-card{
    flex-direction: column;
  }

  .ds-testimonial-card__media,
  .ds-testimonial-card__body{
    width: 100%;
  }

  .ds-testimonial-card__media{
    min-height: 280px;
  }

  .ds-testimonial-card__body{
    padding: 24px 20px;
  }
}

@media (max-width: 576px){
  .ds-testimoniales{
    padding: 56px 0 64px;
  }

  .ds-testimonial-card__media{
    min-height: 230px;
  }

  .ds-testimonial-card__body{
    padding: 20px 18px;
  }
}

/* Ocultar radio pero mantener accesible */
.ds-form__chips input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Contenedor */
.ds-form__chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Chip base */
.ds-chip {
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #ccc;
  background: #fff;
  font-size: 14px;
  transition: all 0.25s ease;
  user-select: none;
}

/* Hover */
.ds-chip:hover {
  border-color: var(--blue-900);
  transform: translateY(-1px);
}

/* Estado activo */
.ds-form__chips input[type="radio"]:checked + .ds-chip {
  background: var(--blue-900);
  color: #fff;
  border-color: var(--blue-900);
  transform: scale(1.05);
}



/* Error */
.error-msg {
  color: red;
  font-size: 12px;
  margin-top: 6px;
}

/* =====================================================
   VALUES / BENEFICIOS
===================================================== */

.values-section {
  padding: 40px 0 42px;
  background-color: #ffffff;
}

.value-item {
  height: 100%;
  color: #202020;
}

/* Icono */

.value-item__icon {
  display: flex;
  align-items: center;
  height: 52px;
  margin-bottom: 8px;
}

.value-item__icon i {
  font-size: 40px;
  line-height: 1;
  color: #202020;
}

/* Título */

.value-item__title {
  margin: 0 0 2px;
  color: #202020;
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1.35;
}

/* Texto */

.value-item__text {

  margin: 0;
  color: #252525;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.43;
}


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

@media (max-width: 991.98px) {
  .values-section {
    padding: 40px 0;
  }

  .value-item__text {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .values-section {
    padding: 32px 0;
  }

  .value-item {
    max-width: 420px;
  }

  .value-item__icon {
    height: auto;
    margin-bottom: 12px;
  }

  .value-item__icon i {
    font-size: 38px;
  }

  .value-item__title {
    font-size: 16px;
  }

  .value-item__text {
    font-size: 15px;
  }
}