
.block-1 {
  width: 100%;
  min-height: 100vh;
  background-color: #022559;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column; /* 🔥 CLAVE */
  padding-top: 80px; /* altura del header fijo */
  /*align-items: center;
  justify-content: space-between;
  padding: 0;
  position: relative;
  z-index: 0;*/
}



/*
.block-1 {
  width: 100%;
  min-height: 100vh;
  background-color: #022559;
  display: flex;
  flex-direction: column; /* 🔥 CLAVE *
  padding-top: 80px; /* altura del header fijo *
}*/


.block-1-section-1 {
  width: 100%;
  height: 260px; /* más parecido a la imagen */
  position: relative;
  overflow: hidden;
}

/*
.block-1-section-1 {
  width: 100%;
  height: 25vh;
  position: relative;
  overflow: hidden;
}*/

.block-1-section-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(2, 37, 89, 0.4);
  z-index: 1;
}

/* Contenedor de imágenes */
.block-1-section-1-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.block-1-section-1-images img {
  width: 33.333%;
  height: 100%;
  object-fit: cover;
  /*filter: brightness(60%); /* oscurece las imágenes */
}

.block-1-section-1-title h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

/* Texto centrado encima *
.block-1-section-1-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}*/

.block-1-title h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}



.block-1-section-2 {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
    url("../img/img_new/inicio/background_03_casos.png");
  background-size: cover;  /* Asegura que la imagen cubra todo el fondo */
  background-position: center;  /* Centra la imagen para mejor visualización */
  padding: 4rem 2rem;
}

/*
.block-1-section-2 {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), 
    url("../img/img_new/inicio/background_03_casos.png");
  padding: 4rem 2rem;
}*/
/*
.block-1-section-2 {
  background-image: url("../img/img_new/inicio/background_03_casos.png");
  /*opacity: 0.9; * Adjust transparency here *

  /*background: #f1f1f1;*
  padding: 4rem 2rem;
}*/

.block-1-section-2-title h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #4a5d87;
}

.block-1-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}



.block-1-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columnas en pantallas grandes */
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .block-1-content {
    grid-template-columns: repeat(5, 1fr); /* 5 columnas en pantallas medianas */

  }
  
  
}

@media (max-width: 768px) {
  .block-1-content {
    grid-template-columns: 1fr; /* 1 columna en pantallas pequeñas */
  }

  .block-1-content-item {
    padding: 1.2rem; /* Reducir el padding en pantallas más pequeñas */
  }

  .block-1-content-item-title h2 {
    font-size: 1rem; /* Reducir el tamaño del título en pantallas pequeñas */
  }

  .block-1-content-item-img img {
    width: 40px; /* Ajustar el tamaño de las imágenes en pantallas pequeñas */
  }
}

@media (max-width: 480px) {
  .block-1-content-item-title h2 {
    font-size: 0.9rem; /* Asegurarse de que los títulos sigan legibles en móviles pequeños */
  }

  .block-1-content-item {
    padding: 1rem; /* Reducir aún más el padding */
  }

  .block-1-content-item-img img {
    width: 35px; /* Reducir el tamaño de las imágenes en móviles muy pequeños */
  }
}


@media (max-width: 768px) {
  .block-1-content {
    grid-template-columns: 1fr;
  }
}


.block-1-content-item{
  background: rgba(230, 230, 230, 0.7);
  /*background: #e6e6e6;/
  background: red;*/
  border-radius: 4px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}

.block-1-content-item:hover{
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}

.block-1-content-item-img img {
  width: 55px;
  margin-bottom: 1rem;
}

.block-1-content-item-title h2 {
  font-size: 1.1rem;
  color: #002060;
  margin-bottom: 1rem;
}


.block-1-content-item-box-text ul {
  color: #002060; /*COLOR DISTINTO O NEGRILLA SLIDE 11*/
  text-align: left;
  font-size: 0.9rem;
  padding-left: 1rem;
}

.block--content-item-box-text li {
  margin-bottom: 0.6rem;
}





/* ==========================
   BLOCK 2 - BENEFICIOS
========================== */

.block-2 {
  width: 100%;
  min-height: 100vh;
  padding: 4rem 2rem 5rem;
  background: linear-gradient(90deg, #0b2a4a 0%, #123b66 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* TÍTULO */
.block-2-title h1 {
  width: 100%;
  color: #ffffff;
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 4rem;
  letter-spacing: 2px;
  background-color: #12516d ;
}

/* GRID */
.block-2-content {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem 2rem;
}

/* ITEM */
.block-2-content-item {
  text-align: center;
  color: #ffffff;
}

/* ICONO */
.block-2-content-item-img img {
  width: 55px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); /* iconos blancos */
}

/* TITULO ITEM */
.block-2-content-item h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* TEXTO */
.block-2-content-item p {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #d6e4ff;
  max-width: 220px;
  margin: 0 auto;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1200px) {
  .block-2-content {
    grid-template-columns: repeat(5, 1fr);
  }

  
  .block-1-content-item{
    /*background: #e6e6e6;*/
    border-radius: 4px;
    padding: 0.5rem ;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
    /*
    transition: transform .25s ease, box-shadow .25s ease;*/
  }

  .block-1-content-item:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,.18);
  }

  .block-1-content-item-img img {
    width: 35px;
    margin-bottom: 1rem;
  }

  .block-1-content-item-title h2 {
    font-size: 1.1rem;
    color: #002060;
    margin-bottom: 1rem;
  }


  .block-1-content-item-box-text ul {
    color: #002060; /*COLOR DISTINTO O NEGRILLA SLIDE 11*/
    text-align: left;
    font-size: 0.9rem;
    padding-left: 1rem;
  }

  .block--content-item-box-text li {
    margin-bottom: 0.6rem;
  }

}

@media (max-width: 768px) {
  .block-2-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .block-2-title h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .block-2-content {
    grid-template-columns: 1fr;
  }
}

























































































