/* Contenedor principal de la sección */
.sumate-section {
  width: 97%;
  height: auto;
  min-height: 494px;
  border-radius: 20px;
  background: linear-gradient(180deg, #08398E 100%, #24336F 0%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  margin: 35px auto 80px auto;
  box-sizing: border-box;
}

/* Imagen de fondo */
.sumate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('multimedia/FigurasPAS/B.1.png'); /* Reemplazá con tu imagen */
  background-size: cover;
  background-position: center;
  z-index: 0;
  border-radius: 20px;
}

/* Contenedor interno con textos y botones */
.sumate-content {
  position: relative;
  z-index: 1;
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: #FFFFFF;
  box-sizing: border-box;
}

/* Título */
.sumate-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  margin: 0;
  color: #FFFFFF;
}

/* Descripción */
.sumate-description {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  margin: 0;
  width: 100%;
  color: #FFFFFF;
}

/* Contenedor de botones */
.sumate-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* Botón secundario (blanco) */
.btn-secondary {
  width: 178px;
  height: 40px;
  border-radius: 4px;
  padding: 6px 16px;
  background-color: #FFFFFF;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #172F58;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
}

/* Botón terciario (borde blanco) */
.btn-tertiary {
  width: 182px;
  height: 40px;
  border-radius: 4px;
  padding: 6px 16px;
  background-color: transparent;
  border: 1px solid #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #FFFFFF;
  cursor: pointer;
  box-sizing: border-box;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .sumate-title {
    font-size: 32px;
    line-height: 40px;
  }

  .sumate-description {
    font-size: 18px;
    line-height: 26px;
  }

  .btn-secondary,
  .btn-tertiary {
    width: 100%;
    max-width: 300px;
  }

  .sumate-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 390px) {
  .sumate-section {
    width: 100%;
    padding: 32px 16px;
    border-radius: 16px;
    margin: 24px auto 60px auto;
    min-height: auto;
  }

  .sumate-section::before {
    border-radius: 16px;
    background-position: center;
    background-size: cover;
  }

  .sumate-content {
    gap: 12px;
    text-align: center;
  }

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

  .sumate-description {
    font-size: 16px;
    line-height: 24px;
    padding: 0 10px;
  }

  .sumate-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-top: 12px;
  }

  .btn-secondary,
  .btn-tertiary {
    width: 100%;
    max-width: 280px;
    font-size: 16px;
    line-height: 22px;
    height: 44px;
  }
}



/* seccion 2 */




.red-pas {
  width: 90%;
  height: 494px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding-right: 107px;
  margin: 0 auto;
  margin-top: 35px;
  position: relative; /* Necesario para que ::before se posicione dentro */
}

.red-pas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('multimedia/FigurasPAS/Frame\ 72.png'); /* Reemplazá con tu imagen real */
  background-size: cover;
  background-position: center;
  z-index: 0; /* Detrás del contenido */
  border-radius: 20px;
}

/* Contenido arriba de la imagen */
.contenido-texto {
  width: 651px;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #FFFFFF;
  position: relative; /* Para asegurar que se superponga */
  z-index: 1;
}


/* Título */
.titulo-red {
  font-family: 'Header', sans-serif; /* Usar fuente real si está disponible */
  font-weight: 500;
  font-size: 48px;
  line-height: 64px; /* suponiendo line-height xxl = 64px */
  letter-spacing: 0;
  margin: 0;
}

/* Descripción */
.descripcion-red {
  font-family: 'Body', sans-serif; /* Usar fuente real si está disponible */
  font-weight: 400;
  font-size: 20px;
  line-height: 28px; /* suponiendo line-height m = 28px */
  letter-spacing: 0;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .red-pas {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    height: auto;
    border-radius: 16px;
    padding-right: 0;
    text-align: center;
  }

  .red-pas::before {
    border-radius: 16px;
    background-position: center;
    background-size: cover;
  }

  .contenido-texto {
    width: 100%;
    max-width: 90%;
    height: auto;
    gap: 12px;
    z-index: 1;
    padding: 16px 0;
  }

  .titulo-red {
    font-size: 28px;
    line-height: 36px;
    padding: 0 8px;
  }

  .descripcion-red {
    font-size: 16px;
    line-height: 24px;
    padding: 0 8px;
  }
}






/* seccion 3 */
.multicotizador {
  width: 100%;
  max-width: 1115px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Importante para evitar desbordes en pantallas pequeñas */
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px; /* Espaciado interno para que no toque los bordes */
  box-sizing: border-box;
  margin-top: 50px;
}

/* COLUMNA DE TEXTO */
.multicotizador-texto {
  flex: 1 1 500px;
  max-width: 573px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0;
}

/* FRASE INICIAL */
.intro {
  font-family: 'Manrope', sans-serif;
  font-weight: 530;
  font-size: 20px;
  color: #172F58;
  margin-bottom: 8px;
}

/* TÍTULO */
.titulo {
  font-family: 'Manrope', sans-serif;
  font-weight: 520;
  font-size: 45px;
  line-height: 48px;
  color: #172F58;
  margin: 0 0 16px 0;
}

/* DESCRIPCIÓN */
.descripcion {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #172F58;
  margin: 0 0 32px 0;
}

/* ACCIONES */
.acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

/* CADA ACCIÓN */
.accion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 254.5px;
  flex: 1 1 200px;
}

/* ÍCONO */
.icono {
  width: 67px;
  height: 67px;
  background: #172F58;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono .material-symbols-outlined {
  color: white;
  font-size: 35px;
}

/* TEXTO DE CADA ACCIÓN */
.texto-accion {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #172F58;
  margin: 0;
}

/* COLUMNA DE IMAGEN */
.multicotizador-imagen {
  flex: 1 1 400px;
  max-width: 518.1px;
}

.multicotizador-imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}


/* TABLETS: hasta 1024px */
@media screen and (max-width: 1024px) {
  .multicotizador {
    flex-direction: column-reverse;
    align-items: center;
    padding: 24px;
    gap: 32px;
  }

  .multicotizador-texto {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .acciones {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 24px;
  }

  .accion {
    width: 100%;
    max-width: 320px;
    align-items: center;
    text-align: center;
  }
  .bloque-accion{
    text-align: left;
  }

  .multicotizador-imagen img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .descripcion {
  text-align: center;
  margin: 0 auto 32px auto;
  width: 60%;
}

}

/* MÓVILES: hasta 767px */
@media screen and (max-width: 767px) {
  .intro {
    font-size: 16px;
  }

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

  .descripcion {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 24px;
  }

  .acciones {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .accion {
    width: 100%;
    max-width: 90%;
  }

  .icono {
    width: 56px;
    height: 56px;
  }

  .icono .material-symbols-outlined {
    font-size: 28px;
  }

  .texto-accion {
    font-size: 18px;
    line-height: 24px;
  }

  .multicotizador-imagen img {
    border-radius: 12px;
  }
}





/* SECCIÓN 4 */
.seccion-capacitaciones {
  width: 100%;
  max-width: 1115px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;                 /* permite apilar en pantallas chicas */
  gap: 40px;
  margin-top: 100px;
}

/* COLUMNA DE LA IMAGEN */
.seccion-capacitaciones .capacitaciones-imagen {
  flex: 1;
  max-width: 518px;
}

.seccion-capacitaciones .capacitaciones-imagen img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

/* COLUMNA DE TEXTO */
.seccion-capacitaciones .capacitaciones-contenido {
  flex: 1;
  max-width: 573px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TÍTULOS */
.seccion-capacitaciones .capacitaciones-titulo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seccion-capacitaciones .capacitaciones-subtitulo {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  color: #172F58;
  margin: 0;
}

.seccion-capacitaciones .capacitaciones-principal {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 56px;
  color: #172F58;
  margin: 0;
}

/* BLOQUES DE ACCIONES */
.seccion-capacitaciones .capacitaciones-acciones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

/* CADA ACCIÓN */
.seccion-capacitaciones .bloque-accion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%; /* ahora se adapta al ancho del grid */
}

/* ÍCONO */
.seccion-capacitaciones .bloque-accion .icono-accion {
  width: 67px;
  height: 67px;
  background: #172F58;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seccion-capacitaciones .bloque-accion .icono-accion .material-symbols-outlined {
  color: white;
  font-size: 35px;
}


/* TABLETS: hasta 1024px */
@media screen and (max-width: 1024px) {
  .seccion-capacitaciones {
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    gap: 48px;
  }

  .capacitaciones-imagen img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .capacitaciones-contenido {
    align-items: center;
    text-align: center;
  }

  .capacitaciones-acciones {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    justify-items: center;
  }

  .capacitaciones-acciones .accion {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
}


/* MÓVILES: hasta 767px */
@media screen and (max-width: 767px) {
  .seccion-capacitaciones {
    gap: 40px;
    margin-top: 64px;
  }

  .seccion-capacitaciones .capacitaciones-subtitulo {
    font-size: 20px;
    line-height: 28px;
  }

  .seccion-capacitaciones .capacitaciones-principal {
    font-size: 28px;
    line-height: 36px;
  }

  .seccion-capacitaciones .capacitaciones-acciones {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seccion-capacitaciones .bloque-accion {
    align-items: center;
    text-align: center;
  }

  .seccion-capacitaciones .icono-accion {
    width: 56px;
    height: 56px;
  }

  .seccion-capacitaciones .icono-accion .material-symbols-outlined {
    font-size: 28px;
  }
}



/* Seccion 5*/

.card-section {
  width: 100%;
  max-width: 3000px;
  display: flex;
  gap: 32px;
  justify-content: center;
  padding: 70px 0;
}

.card {
  width: 560px; /* Más ancha */
  height: 400px;
  padding: 32px 32px 24px; /* Menos padding arriba */
  border-radius: 20px;
  background: linear-gradient(180deg, #08398E 0%, #24336F 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 20px;
  margin-left: 30px;
  margin-right: 30px;
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 50px;
  line-height: 60px;
  color: white;
  margin: 0;
}

.card-description {
  font-family: 'Poppins', sans-serif;
  font-weight: 0px;
  font-size: 20px;
  line-height: 26px;
  color: white;
}

.card-button {
  margin-top: 16px;
  width: fit-content;
  padding: 8px 16px;
  font-size: 20px;
  color: white;
  background: transparent;
  border: 1px solid white;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  text-decoration: none;
}

/* TABLETS: hasta 1024px */
@media screen and (max-width: 1024px) {
  .card-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 80px 0;
  }

  .card {
    width: 90%;
    height: auto;
    padding: 28px 24px 24px;
  }

  .card-content {
    margin: 20px 0;
  }

  .card-title {
    font-size: 40px;
    line-height: 52px;
  }

  .card-description {
    font-size: 18px;
    line-height: 24px;
  }

  .card-button {
    font-size: 18px;
  }
}

/* MÓVILES: hasta 767px */
@media screen and (max-width: 767px) {
  .card-section {
    gap: 32px;
    padding: 70px 0;
  }

  .card {
    border-radius: 16px;
    padding: 24px 20px;
  }

  .card-title {
    font-size: 28px;
    line-height: 36px;
  }

  .card-description {
    font-size: 16px;
    line-height: 22px;
  }

  .card-button {
    font-size: 16px;
    padding: 6px 14px;
  }

  .card-content {
    margin: 16px 0;
  }
}
