.services {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 68px;
}

.services__container {
  width: 1150px;
  height: 445px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.services__title {
  width: 100%;
  height: 48px;
  font-family: 'Manrope', sans-serif;
  font-weight: 549;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  color: #24336F;
}

.services__cards {
  display: flex;
  gap: 16px;
  width: 100%;
  height: 373px;
  justify-content: space-between;
}

.services__card {
  position: relative;
  width: 386.67px;
  height: 353px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 4px 4px 6px 0px #00000040;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
}

.services__card:hover {
  transform: translateY(-5px);
}

.services__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    232.35deg,
    rgba(23, 47, 88, 0) -12.44%,
    #24336F 76.36%,
    #172F58 99.95%
  );
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 178px 32px 48px 32px;
  gap: 8px;
  color: white;
  text-align: left;
}

.services__overlay h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  margin: 0;
  color: #FFFFFF;
  width: 100%;
}

.services__button {
  width: fit-content;
  height: 32px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #FFFFFF;
  background-color: transparent;
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0%;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.services__button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}
/* Entre 1300px y 740px */
@media (max-width: 1300px) and (min-width: 740px) {
  .services {
    padding-top: 24px;
    padding-bottom: 50px;
  }

  .services__container {
    width: 90%;
    height: auto;
    gap: 12px;
    padding: 0 20px;
  }

  .services__title {
    font-size: 32px;
    line-height: 40px;
    height: auto;
    padding: 0 10px;
  }

  .services__cards {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 24px;
    width: 100%;
    justify-content: center;
  }

  .services__card {
    width: 100%;      /* ancho rectangular */
    max-width: 900px; /* para limitar ancho */
    height: 250px;    /* altura reducida */
  }

  .services__overlay {
    padding: 60px 40px 40px 40px;
    text-align: left;
    align-items: flex-start;
  }

  .services__overlay h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .services__button {
    font-size: 12px;
    height: 30px;
    padding: 2px 10px;
  }
}

/* Menores a 740px */
@media (max-width: 739px) {
  .services {
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .services__container {
    width: 100%;
    height: auto;
    padding: 0 16px;
    gap: 16px;
  }

  .services__title {
    font-size: 28px;
    line-height: 36px;
    height: auto;
    padding: 0 10px;
  }

  .services__cards {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: auto;
  }

  .services__card {
    width: 100%;
    max-width: 360px;
    height: 300px;
  }

  .services__overlay {
    padding: 100px 20px 32px 20px;
    text-align: center;
    align-items: center;
  }

  .services__overlay h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .services__button {
    font-size: 12px;
    height: 28px;
    padding: 2px 10px;
  }
}




:root {
  --bg-secondary: #172f58;
  --text-darkest: #172f58;

  --space-xxxs: 4px;
  --space-xxs: 8px;
  --space-xs: 12px;
  --space-s: 24px;
  --space-m: 32px;
  --space-l: 40px;
  --space-xl: 48px;
  --space-xxxl: 64px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
}

.about {
  width: 100%;
  height: 533px;
  margin-top: 0px;
  background: #f5f5f5;
  position: relative;
}

.about__container {
  width: 1150px;
  height: 407px;
  margin: 48px auto 0 auto;
  display: flex;
  gap: 32px;
}

/* Imagen con overlay */
.about__image-wrapper {
  position: relative;
  width: 481.713px;
  height: 407px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  margin-top: 100px;
}

.about__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg-secondary) 0%, var(--bg-secondary) 100%),
    linear-gradient(244.07deg, rgba(23, 47, 88, 0) -28.87%, #24336f 104.93%);
  opacity: 0.6;
}

/* Contenido textual */
.about__content {
  width: 600px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: -10px;
  margin-top: 120px;
  margin-left: 32px;
}

.about__text-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__label {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: var(--text-darkest);
}

.about__title {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 31px;
  line-height: 1.4;
  color: var(--text-darkest);
}

/* Estadísticas */
.about__stats {
  width: 100%;
  height: 108px;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}


.stat strong {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.3;
  color: #172F58;
  text-align: center;
}

.stat span {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.25;
  color: #172F58;
  text-align: center;
}


.stat {
  width: 152px;
  height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Líneas verticales para los dos elementos del medio */
.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  height: 70%;
  width: 1px;
  background-color: #172F58;
  opacity: 10; /* Opcional para suavizar */
  margin-left: -30px;
}


.about__content {
  width: 600px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: -10px; /* separacion controlada */
  margin-top: 130px; /* bajamos el margen superior para subir todo */
  margin-left: 32px;
}

.about__text-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px; /* espacio pequeño entre label y título */
  margin-bottom: 0; /* elimina margen inferior */
}

.about__stats {
  width: 100%;
  height: 108px;
  display: flex;
  justify-content: space-between;
  margin-top: 0; /* sube las estadísticas pegadas abajo */
  padding: 0;
  list-style: none;
}


@media screen and (max-width: 768px) {
  .about {
    height: auto;
    padding: 40px 16px;
  }

  .about__container {
    width: 100%;
    height: auto;
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    margin-top: 0;
  }

  .about__image-wrapper {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 3 / 2;
    margin-top: 0;
  }

  .about__content {
    width: 100%;
    max-width: 360px;
    margin: 0;
    padding: 0;
    gap: 16px;
  }

  .about__text-block {
    gap: 8px;
  }

  .about__label {
    font-size: 18px;
    text-align: center;
  }

  .about__title {
    font-size: 24px;
    text-align: center;
  }

  .about__stats {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: auto;
    margin-top: 24px;
  }

  .stat {
    width: 100%;
    max-width: 250px;
    height: auto;
    padding: 16px 0;
    border-top: 1px solid #172F58;
  }

  .stat:first-child {
    border-top: none;
  }

  .stat::before {
    display: none !important; /* Quitamos las líneas verticales */
  }

  .stat strong {
    font-size: 20px;
  }

  .stat span {
    font-size: 14px;
  }
}


@media (max-width: 1300px) and (min-width: 740px) {
  .about {
    height: auto;
    padding: 40px 10px 60px 20px;
  }

  .about__container {
    width: 93%;
    max-width: 1150px;
    margin: 32px auto 0 auto;
    display: flex;
    flex-direction: column-reverse; /* apilar verticalmente */
    gap: 24px;
    height: auto;
  }

  .about__content {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    gap: 12px;
  }

  .about__text-block {
    gap: 6px;
    margin-bottom: 12px;
  }

  .about__label {
    font-size: 18px;
  }

  .about__title {
    font-size: 28px;
    line-height: 1.3;
  }

  .about__stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .stat {
    width: 140px;
    height: auto;
    padding: 12px 0;
    position: relative;
  }


  .stat strong {
    font-size: 20px;
  }

  .stat span {
    font-size: 14px;
  }

 
  .about__image-wrapper {
    width: 100%;
    height: 400px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .about__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about__overlay {
    opacity: 0.5;
  }
}





/* ========================================
   SECCIÓN NOSOTROS AJUSTADA A NAV DE 1114px
   ======================================== */
.nosotros {
  padding: 20px 20px 100px ;
  background: #f5f5f5;
  display: flex;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  margin-top: 0px;
}

/* Contenedor de las tarjetas */
.nosotros-container {
  width: 1150px;
  display: flex;
  justify-content: space-between;
  gap: 26px; /* 3 espacios de 26px = 78px */
  margin-top: 0px;
  padding-top: 0px;
}

/* Tarjeta individual */
.nosotros-card {
  width: 1100px;
  height: 200px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, #08398E 0%, #24336F 100%);
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: transform 0.25s ease;
}

.nosotros-card:hover {
  transform: translateY(-6px);
}

/* Icono */
.nosotros-card i {
  font-size: 54px;
  width: 54px;
  height: 54px;
  color: #FFFFFF;
}

/* Contenedor del texto */
.nosotros-card__content {
  width: 211px;
  height: 136px;
  display: flex;
  flex-direction: column;
}

/* Título */
.nosotros-card h3 {
  width: 211px;
  height: 28px;
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #FFFFFF;
}

/* Descripción */
.nosotros-card p {
  width: 211px;
  height: 100px;
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  color: #FFFFFF;
}

/* Título principal arriba de las tarjetas */
.nosotros-title {
  width: 1208px;
  height: 56px;
  font-family: 'Header', sans-serif; /* asumí que "Typeface/family/Header" es una variable o nombre de fuente, si tienes el font real cambialo */
  font-weight: 545;
  font-size: 48px; /* asumí "Typeface/size/48" como 48px */
  line-height: 56px; /* "Typeface/line-height/xxl" lo tomé como 56px para coincidir con el height */
  letter-spacing: 0;
  color: var(--Colors-Text-Darkest, #172F58);
  margin-bottom: 40px; /* para separar el h2 de las tarjetas */
    background: #f5f5f5;
    margin-top: 0px;
    margin-bottom: 0px;
   padding-left: 100px;
   padding-top: 50px;
}

/* Ajuste para las imágenes dentro de las tarjetas */
.nosotros-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin-bottom: 12px; /* separación abajo para que no quede pegado al h3 */
}


@media screen and (max-width: 768px) {
  .nosotros {
    padding: 40px 16px;
    flex-direction: column;
    align-items: center;
  }

  .nosotros-title {
    width: 100%;
    font-size: 28px;
    line-height: 36px;
    padding: 0;
    margin-bottom: 24px;
    text-align: center;
  }

  .nosotros-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
  }

  .nosotros-card {
    width: 100%;
    max-width: 360px;
    height: auto;
    padding: 20px;
    gap: 12px;
    align-items: center;
    text-align: center;
  }

  .nosotros-card__content {
    width: 100%;
    height: auto;
    align-items: center;
  }

  .nosotros-card h3 {
    width: 100%;
    font-size: 16px;
    line-height: 1.4;
  }

  .nosotros-card p {
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
  }

  .nosotros-card i,
  .nosotros-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }
}

@media (max-width: 1300px) and (min-width: 700px) {
  .nosotros {
    padding: 20px 20px 60px;
    display: flex;
    justify-content: center; /* Centra el contenedor horizontalmente */
  }

  .nosotros-container {
    width: 700px; /* Ancho fijo para que cuadre 2 tarjetas por fila con espacio */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    grid-template-rows: auto auto;          /* 2 filas */
    gap: 26px 30px;                         /* espacio vertical y horizontal */
    margin: 0 auto;
    padding-top: 0;
  }

  .nosotros-card {
    width: 320px; /* Ancho fijo para que quepan dos en 700px con gap */
    height: 200px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, #08398E 0%, #24336F 100%);
    border-radius: 8px;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
  }

  .nosotros-card:hover {
    transform: translateY(-6px);
  }

  .nosotros-card i,
  .nosotros-card img {
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    color: #FFFFFF;
  }

  .nosotros-card__content {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .nosotros-card h3 {
    font-size: 18px;
    line-height: 1.4;
    color: #FFFFFF;
    margin: 0;
  }

  .nosotros-card p {
    font-size: 12px;
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0;
  }

  .nosotros-title {
    width: 700px;
    font-size: 36px;
    line-height: 44px;
    padding-left: 20px;
    padding-top: 40px;
    margin: 0 auto 24px auto;
    color: #172F58;
  }
}



/* ------------------------------
   Fuente general del sitio
------------------------------ */
body {
  font-family:  'Manrope', sans-serif;
  margin: 0;
  padding: 0;
}

/* ------------------------------
   Sección con fondo degradado
------------------------------ */
.pas-section {
  background: linear-gradient(180deg, #08398E 0%, #24336F 100%);
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

/* ------------------------------
   Contenedor general
------------------------------ */
.pas-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  height: 90%;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
}

/* ------------------------------
   Contenedor de imagen
------------------------------ */
.pas-image {
  width: 659px;
  height: 482px;
  padding: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.pas-image img {
  width: 627px;
  height: 450px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* ------------------------------
   Contenido de texto
------------------------------ */
.pas-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  max-width: 540px;
  font-family:  'Manrope', sans-serif;
}

.pas-content h2 {
  color: #172F58;
  font-size: 45px;
  font-weight: 500;
  margin: 0;
}

.pas-content p {
  color: #172F58;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* ------------------------------
   Botonera
------------------------------ */
.pas-buttons {
  display: flex;
  gap: 8px; /* Espaciado entre botones */
}

/* ------------------------------
   Botón PRIMARIO
------------------------------ */
.btn-primary {
  width: 120px;       /* Más chico */
  height: 36px;

  padding: 4px 12px;  /* Ajustado */
  gap: 6px;

  background: #24336F;
  border: none;
  border-radius: 4px;
  color: #FFFFFF;

  font-family: 'Manrope',  sans-serif;
  font-weight: 500;
  font-size: 16px;    /* Más chico */
  line-height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background: #001f5c;
}

/* ------------------------------
   Botón OUTLINE (terciario)
------------------------------ */
.btn-outline {
  width: 100px;
  height: 36px;

  padding: 4px 12px;
  gap: 6px;

  background: transparent;
  border: 1px solid #172F58;
  border-radius: 4px;
  color: #172F58;

  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #172F58;
  color: #FFFFFF;
}


@media screen and (max-width: 768px) {
  .pas-section {
    padding: 24px 0;
  }

  .pas-container {
    flex-direction: column;
    width: 90%;
    border-radius: 8px;
  }

  .pas-image {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .pas-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }

  .pas-content {
    padding: 24px 16px;
    max-width: 100%;
    gap: 16px;
    text-align: center;
  }

  .pas-content h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .pas-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .pas-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 220px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 1300px) and (min-width: 700px) {
  .pas-section {
    padding: 30px 20px;
  }

  .pas-container {
    flex-direction: row;
    width: 90%;
    height: auto;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    padding: 20px;
    gap: 24px;
    align-items: center;
  }

  .pas-image {
    width: 50%;           /* Más ancho para imagen más alargada */
    height: 90%;
    padding: 0;
  }

  .pas-image img {
    width: 100%;
    height: 100%;         
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }

  .pas-content {
    width: 60%;           /* Texto más estrecho */
    padding: 0 20px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .pas-content h2 {
    font-size: 36px;
    line-height: 42px;
    color: #172F58;
    margin: 0;
  }

  .pas-content p {
    font-size: 16px;
    line-height: 1.5;
    color: #172F58;
    margin: 0;
  }

  .pas-buttons {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;       /* para que no se rompan en varias filas */
    display: flex;
  }

  .btn-primary {
    width: 100px;         /* Más pequeño */
    height: 32px;
    font-size: 14px;
    padding: 4px 10px;
  }

  .btn-outline {
    width: 90px;          /* Más pequeño */
    height: 32px;
    font-size: 14px;
    padding: 4px 10px;
  }
}