/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f7fa;
}

/* Estilos del menú */

/* .menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%);
  z-index: 9999;
  transition: background-color 0.3s ease;
} */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: #102d56;
  /* background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%); */
  z-index: 9999;
  transition: background-color 0.3s ease;
}


.menu-opciones {
  background: #102d56;
  /* background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%); */
  display: flex;
  list-style: none;
  flex-grow: 1;
  justify-content: flex-end;
  padding-right: 30px;
  height: 100%;
  align-items: center;
  gap: 30px;
}

.menu-opciones a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.menu-opciones a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  bottom: 0;
  left: 0;
  background: #1E90FF;
  /* box-shadow: 0 0 8px #1E90FF; */
  transition: width 0.3s ease;
  border-radius: 2px;
}

.menu-opciones a:hover {
  color: #1E90FF;
  /* text-shadow: 0 0 8px #1E90FF; */
  transform: scale(1.1);
}

.menu-opciones a:hover::after {
  width: 100%;
}

.menu-opciones a.active,
.menu-opciones a.active:hover {
  color: #FFD700;
  text-shadow: 0 0 10px #FFD700;
  cursor: default;
}

/* submenu*/


.submenu {
  position: relative;
}

.submenu-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0A1E3F;
  padding: 10px 0;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.submenu-list li {
  padding: 0;
  margin: 0;
  list-style: none;
  /* Elimina los puntos */

}

.submenu-list a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s ease;
}

.submenu-list a:hover {
  background-color: #12305B;
}

.submenu:hover .submenu-list {
  display: block;
}


.logo {
  background-color: #ffffff;
  padding: 0 30px;
  display: flex;
  align-items: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.menu.show-logo .logo {
  opacity: 1;
  pointer-events: auto;
}

.logo img {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  /* box-shadow: 0 4px 12px rgba(0, 74, 173, 0.6); */
  cursor: pointer;
}

/* section hero carrusel*/

.hero-img {
  margin-top: 40px;
  position: relative;
  width: 100%;
  height: calc(100vh - 100px); /* altura total menos menú */
  padding-top: 100px; /* espacio para menú fijo */
  background-color: #f9fbfc;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  overflow: visible;
}

.carousel-image {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 1;
  transition: opacity 1s ease-in-out, transform 0.5s ease;
  cursor: pointer;
  user-select: none;
  object-fit: contain;
  object-position: center;
}

/* Tamaños y posición */
.main-image {
  width: 40%;
  max-height: 90%;
  z-index: 2;
  transform: scale(1);
}

.side-image {
  width: 25%;
  max-height: 80%;
  opacity: 0.7;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.side-image.left {
  order: 0;
  transform: translateX(-20px) scale(0.9);
}

.side-image.right {
  order: 2;
  transform: translateX(20px) scale(0.9);
}

/* Efecto fade */
.fade-out {
  opacity: 0 !important;
  pointer-events: none;
}



/**/



/*seccion hero*/
/* .hero-img {
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
 
  margin-top: 100px;
  overflow: hidden;
  background: linear-gradient(90deg, #0A1E3F 0%, #12305B 100%);

}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-container {
  max-width: 800px;
  color: #fff;
}

.hero-container h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.hero-container p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn-primary {
  background-color: #0A1E3F;
  color: #fff;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #1a3b75;
} */



.consejo-claro {
  background-color: #ffff;
  padding: 100px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.consejo-wrapper {
  max-width: 960px;
  color: #1c1c1c;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.consejo-wrapper h2 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
  color: #0A1E3F;
  border-bottom: 2px solid #1E90FF;
  display: inline-block;
  padding-bottom: 10px;
}

.consejo-wrapper p {
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
}


/*  Central */

.leyenda {
  font-size: 18px;
  font-weight: 600;
  color: #1E90FF;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}


.centro-operaciones {
  background-color: #f7f9fb;
  /* blanco azulado elegante */
  padding: 100px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.centro-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  justify-content: space-between;
}

.centro-texto {
  flex: 1 1 45%;
  color: #0A1E3F;
}

.centro-texto h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #0A1E3F;
}

.centro-texto .intro,
.centro-texto .footer-text {
  font-size: 18px;
  line-height: 1.7;
  color: #2c3e50;
  margin-bottom: 30px;
}

.centro-funciones {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.funcion {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.funcion img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.funcion h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #12305B;
}

.funcion p {
  margin: 0;
  font-size: 16px;
  color: #4a4a4a;
}



/*Servicios*/

.servicios {
  padding: 60px 20px;
  background-color: #ffff;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.servicios h2 {
  font-size: 2.5rem;
  color: #0A1E3F;
  margin-bottom: 40px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.servicio-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 74, 173, 0.2);
}

.servicio-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.servicio-item h3 {
  font-size: 1.3rem;
  color: #12305B;
  margin-bottom: 15px;
}

.servicio-item p {
  font-size: 1rem;
  color: #333333;
  line-height: 1.5;
}


/*   llamado a la accion  */

.cta {
  background: #f7f9fb;
  color: #1a3b75;
  text-align: center;
  padding: 80px 20px;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-button {
  background-color: #1a3b75;
  color: #fff;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background-color: #055bb1;
  transform: scale(1.05);
}



/*Pie de pagina*/

.footer {
  background-color: #0a1e3f;
  color: #ffffff;
  padding: 60px 20px 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-logo {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
  /* filter: brightness(0) invert(1);  */
}

.footer-info {
  flex: 1 1 200px;
}

.footer-address {
  flex: 2 1 300px;
  /* Este ocupa el doble de espacio disponible */
}

.footer-social {
  flex: 1 1 200px;
}

.footer-logo {
  flex: 1 1 100px;
}

.footer h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer p,
.footer a {
  font-size: 1rem;
  color: #d1d9e6;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer a:hover {
  color: #1e90ff;
}

.footer-address p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer .social-icons img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.footer .social-icons a:hover img {
  transform: scale(1.2);
  filter: brightness(0) invert(66%) sepia(100%) saturate(500%) hue-rotate(180deg);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #2f3f61;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #aab6cc;
}

