* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  color: #333;
  padding: 20px;
}

.header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.logo {
  width: 50px;
  height: auto;
}

.contenedor-noticia {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner-noticia img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

h1 {
  font-size: 2rem;
  color: #1a3e5f;
}

.fecha {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.texto-noticia {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  .texto-noticia {
    font-size: 1rem;
  }
}
/* parte2  */

.bloque-info {
  display: flex;
  flex-direction: row;
  border-radius: 30px;
  overflow: hidden;
  margin: 40px auto;
  max-width: 1100px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bloque-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 500px;
  display: block;
}

.bloque-texto {
  background-color: #000000;
  padding: 40px;
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  text-align: left;
}

.bloque-titulo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.bloque-parrafo {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-bloque {
  background-color: #404040;
  color: white;
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  width: fit-content;
  transition: background 0.3s ease;
}

.btn-bloque:hover {
  background-color: #1f1f1f;
}

@media (max-width: 768px) {
  .bloque-info {
    flex-direction: column;
  }

  .bloque-texto {
    padding: 25px;
    text-align: center;
  }

  .bloque-titulo {
    font-size: 1.5rem;
  }

  .btn-bloque {
    margin: auto;
  }
}
/*  parte 3 */
.ventajas-noticia {
  background-color: #0b2c6a;
  color: white;
  padding: 40px 20px;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1300px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.ventajas-titulo {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

.ventaja-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  text-align: center;
}

.ventaja-item {
  flex: 1 1 250px;
  padding: 10px;
  max-width: 280px;
}

.ventaja-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.ventaja-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.ventaja-item p {
  font-size: 0.95rem;
  color: #e2e2e2;
}
/* parte4 */

.casos-section {
  padding: 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

.casos-section h2 {
  color: #d6002f;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.casos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.caso {
  flex: 1 1 280px;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.caso:hover {
  transform: scale(1.05);
}

.caso-icono {
  font-size: 3rem;
  color: #d6002f;
  margin-bottom: 1rem;
  display: inline-block;
}

.caso p {
  font-size: 1rem;
  color: #333;
}

@media (max-width: 768px) {
  .casos-container {
    flex-direction: column;
    align-items: center;
  }
}

/* parte 5 */

.resumen-section {
  background-color: #fefefe;
  padding: 2rem;
  margin-top: 2rem;
  border-left: 5px solid #c62828;
}

.resumen-section h2 {
  color: #c62828;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.resumen-contenido {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 960px;
  margin: 0 auto;
  color: #333;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .resumen-section h2 {
    font-size: 1.5rem;
  }
  .resumen-contenido {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .resumen-section {
    padding: 1rem;
  }
  .resumen-contenido {
    font-size: 0.95rem;
    padding: 0;
  }
}

/* referencias */
.referencias-section {
  padding: 2rem;
  background-color: #f9f9f9;
  border-top: 3px solid #c62828;
  margin-top: 2rem;
}

.referencias-section h3 {
  font-size: 1.5rem;
  color: #c62828;
  text-align: center;
  margin-bottom: 1rem;
}

#lista-referencias {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

#lista-referencias li {
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .referencias-section h3 {
    font-size: 1.3rem;
  }
  #lista-referencias {
    font-size: 0.95rem;
  }
}

/* porque elegirnos */
.razones {
  padding: 2rem;
  background-color: #f9f9f9;
  border-top: 2px solid #ccc;
}

.titulo-razones {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.lista-razones {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.lista-razones li {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .titulo-razones {
    font-size: 1.5rem;
  }

  .lista-razones li {
    font-size: 1rem;
  }
}
/* wsap */
.wsp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.wsp-btn:hover {
  transform: scale(1.1);
}

.wsp-btn img {
  width: 35px;
  height: 35px;
}
/* vistanos */
.footer {
  background-color: #2c2c2c;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 1rem;
  margin-top: 40px;
}

.footer a {
  color: #00e676;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .desarrollado {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer {
    font-size: 0.9rem;
    padding: 1rem;
  }
}

