body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
 /* padding-top: 70px; /* Ajusta según la altura de tu navbar */
}


.hero {
  background-size: cover;
  background-position: center;
  height: 28vh;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background: rgba(0, 114, 187, 0.027); /* semitransparente para contraste */
  padding: 0px;
  z-index: 10;
}

.overlay h1 {
  font-size: 2.0rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.overlay p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 10px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.overlay .btn {
  background-color: #0F5FCE;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.overlay .btn:hover {
  background-color: #0946a0;
}
.botones-central {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.logo-hero {
  max-width: 350px;
  height: auto;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .logo-hero {
    max-width: 120px;
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000; /* Fondo negro */
  color: white;           /* Texto blanco */
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Sombra más marcada */
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
}
.nav-links a:hover {
  color: #ccc; /* Color al pasar el cursor */
}
.navbar.transparent {
  background-color: rgba(0, 0, 0, 0.8); /* fondo negro con transparencia */
  transition: background-color 0.3s ease;
}
.navbar.shrink {
  padding: 0.5rem 1rem;
  transition: padding 0.3s ease;
}

.servicios, .rvoe {
  padding: 4rem 2rem;
  text-align: center;
}

.bloques {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
  margin-top: 2rem;
}

.bloque {
  font-size: 1.2rem;
  text-align: center;
  background-color: #f4f4f4;
  padding: 2rem;
  border-radius: 10px;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.bloque strong {
  display: block;
  margin-top: 0.5rem;
  color: #004080;
}


/* === Sección RVOE === */
.rvoe-section {
  padding: 2rem;
  background-color: #0072bb;
}

.rvoe-container {
  max-width: 1300px;
  margin: 0 auto;
}
/*
.rvoe-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem; /* antes 4rem 
  justify-content: center;
}

.rvoe-item {
  flex: 1 1 250px; /* permite que se ajusten automáticamente 
  max-width: 280px; /* ligeramente más pequeño 
}*/

.rvoe-list {
    display: flex;
    /*flex-wrap: wrap;*/
	flex: 1 1 250px;
    gap: 4rem;
    align-content: stretch;
    justify-content: center;
    align-items: stretch;
}

.rvoe-item {
  background-color: #0072bb;
  /*border: 1px solid #ddd;*/
  border-radius: 12px;
  padding: 1rem;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.rvoe-item:hover {
  transform: translateY(-5px);
}

.rvoe-item img {
  max-width: 50%;
  height: auto;
  margin-bottom: 1rem;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .rvoe-list {
    flex-direction: column;
    align-items: center;
  }

  .rvoe-item {
    max-width: 70%;
  }
}
.footer {
  background-color: #111;
  color: white;
  padding: 1rem 1rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-info,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.footer h3, .footer h4 {
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 0.3rem 0;
}

.footer-links a:hover {
  color: #ffcc00;
}
.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.social-icons a {
  margin-right: 10px;
  font-size: 1.5rem;
  text-decoration: none;
  color: white;
}

.social-icons a:hover {
  color: #ffcc00;
}
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
  .logo-img {
    width: 100px;
  }
}
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }

  .nav-menu a {
    display: block;
    padding: 5px 10px;
    font-size: 16px;
  }

  .dropdown {
    position: static;
    width: 100%;
  }

  .header, .footer-contact {
    text-align: center;
    padding: 10px;
  }
}
p.vistoso {
  font-size: 18px;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #ffffff;
  /*background: linear-gradient(to right, #eaf4ff, #ffffff);*/
  padding: 15px 20px;
  /*border-left: 6px solid #0F5FCE;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);*/
  margin: 20px auto;
  max-width: 800px;
  line-height: 1.6;
}