@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
:root{
	--gris: #F2F2F2;
	--amarillo: #FF9619;
	--azul: #00345F;
	--azul2: #027BE4;
	--morado: #660EFF;
	--rosa: #DA0080;
}
body{
	max-width: 1266px;
	margin: 0 auto;
	font-family: "Lato", sans-serif;
}
section{
	padding: 30px 20px;
}
h1{
	font-size: 26pt;
    font-weight: 600;
    color: var(--azul2);
	margin: 0 0 15px;
}
h2{
	margin-top: 0;
	font-size: 20pt;
	color: var(--azul2);
}
p{
	font-size: 12pt;
	margin: 0;
}
/* ------------------------------------- Nav Bar ------------------------------------ */
/* ----------- NAV CONTAINER GENERAL ----------- */
.head{
	padding: 15px 20px !important;
    display: grid;
	align-items: center;
    grid-template-columns: 15% 85%;
}
.nav-container {
	display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--gris);
    width: -webkit-fill-available;
	border-radius: 5px;
  }
  
  .logo {
	flex: 1;
  }
  
  /* ----------- BOTÓN HAMBURGUESA ----------- */
  .menu-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #6c2bd9;
  }
  
  /* ----------- NAV LINKS ----------- */
  .nav-links {
	display: flex;
	align-items: center;
	gap: 10px;
  }
  
  .acceso-btn,
  .dropdown-button {
	background-color: #6c2bd9;
	color: white;
	border: none;
	padding: 10px 18px;
	font-size: 13pt;
  	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	text-align: center;
	transition: background-color 0.3s ease;
	font-family: "Lato", sans-serif;
	text-decoration: none;
  }
  .btn-nosotros{
	width: 190px;
    justify-content: center;
  }
  .acceso-btn:hover,
  .dropdown-button:hover {
	background-color: #551ea9;
  }
  
  /* ----------- DROPDOWN CONTENT ----------- */
  .dropdown {
	position: relative;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	top: 100%; /* 👈 justo debajo del botón */
	right: 0;
	background-color: white;
	min-width: 200px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	z-index: 999;
	border-radius: 8px;
	overflow: hidden;
	padding-top: 5px; /* 👈 "puente" para mantener el hover */
  }  
  
  .dropdown-content a {
	font-family: "Lato", sans-serif;
	color: #333;
	background-color: white;
	padding: 10px 15px;
	text-decoration: none;
	display: block;
	border-bottom: 1px solid #eee;
	font-size: 14px;
  }
  
  .dropdown-content a:last-child {
	border-bottom: none;
  }
  
  .dropdown-content a:hover {
	background-color: #f5f5f5;
  }
  
  /* Mostrar al hacer hover en desktop */
  .dropdown:hover .dropdown-content {
	display: block;
  }
  
  /* ----------- RESPONSIVE ----------- */
  @media (max-width: 768px) {
	.head{
		display: block;
	}
	.nav-container {
	  flex-wrap: wrap; /* permite que el menú se acomode abajo */
	  background-color: transparent;
	}
  
	.menu-toggle {
	  display: block;
	  margin-left: auto;
	  z-index: 2;
	}
  
	.nav-links {
	  display: none;
	  flex-direction: column;
	  width: 100%;
	  gap: 15px;
	  background-color: #fff;
	  border-radius: 10px;
	  padding: 15px;
	  margin-top: 10px;
	}
  
	.nav-links.active {
	  display: flex;
	  align-items: stretch;
	}
  
	.acceso-btn,
	.dropdown-button {
	  width: 100%;
	  justify-content: center;
	  font-size: 16px;
	  padding: 14px;
	  border-radius: 12px;
	}
  
	.dropdown-content {
	  position: static;
	  background-color: #f9f9f9;
	  width: 100%;
	  border-radius: 8px;
	  padding: 0;
	}
  
	.dropdown:hover .dropdown-content {
	  display: none;
	}
  
	.dropdown.active .dropdown-content {
	  display: block;
	}
  }  
/* ------------------------------------- Nab Var ------------------------------------ */
.center{
	text-align: center;
}
.bg-gris{
    background: var(--gris);
    border-radius: 10px;
}
.border-top{
    border-top: 3px solid var(--amarillo);
}
.eventos {
    display: flex;
    grid-gap: 0 20px;
    justify-content: space-between;
    align-items: center;
}
.btn-evento {
    width: 200px;
    height: 40px;
    border-radius: 30px;
    border: 2px solid var(--morado);
    background: #fff;
    font-size: 13pt;
    font-weight: 600;
    cursor: pointer;
}
.btn-evento:hover, .activebtn {
    background: var(--morado);
    color: #fff;
    box-shadow: 0 0 15px -7px #000;
}
.flex-evento {
    display: flex;
    grid-gap: 0 15px;
}
.grid4 {
    display: grid;
    grid-template-columns: 23% 23% 23% 23%;
    justify-content: space-between;
}
.btn-slide {
    margin: 15px 0;
    background: transparent !important;
}
.spans {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 5px;
}
.white {
    background: #7D7D7D !important;
    width: 25px !important;
    border-radius: 15px !important;
}
.w3-badge {
    height: 15px;
    width: 15px;
    padding: 0;
    display: flex;
    border-radius: 100%;
    border: 1px solid #7D7D7D;
    background: transparent;
}
.galeria img {
    height: 210px;
    object-fit: cover;
    object-position: top;
    cursor: pointer;
}
.show{
	display: block!important;
}
.footer {
    margin-top: 40px;
    background: var(--gris);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: grid;
    grid-template-columns: 12% 35% 22% 21%;
    justify-content: space-between;
    padding: 15px 21px;
}
.footer .centerf {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}
.flex {
    display: flex;
    grid-gap: 0 15px;
}
.movil, .hide{
    display: none;
}
@media (max-width: 820px) {
    .desk {
        display: none;
    }
	.movil{
		display: block;
	}
	section {
		padding: 20px;
	}
	h1{
		font-size: 18pt;
	}
	h2 {
        font-size: 16pt;
    }
	iframe{
		width: -webkit-fill-available;
	}
	.flex-movil, .flex-evento {
        flex-direction: column;
    }
	.grid4{
		grid-template-columns: 100%;
		justify-items: center;
	}
	.footer {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        grid-template-columns: 100%;
        padding: 20px;
        grid-gap: 18px;
    }
	.centerf {
        align-items: center;
    }
	.center-movil {
        text-align: center;
    }
}