body
{
    font-family: verdana;
    margin: 0;           /* IMPORTANTE: quitar margen por defecto */
}

div.bottom
{
	height:700px;
	width:200px;
}

div.container
{
	margin:0 auto;
	width:1280px;
}
h1
{
	color:#000180;
	font-size:25px;
	text-align:center;
}
h2
{
	color:#000180;
	font-size:20px;
}
p.ctr
{
	text-align:center;
}

#banner{
	max-width:100%;
	height:auto;
}

#bannervert{
	display: none;
}


@media (max-width: 1024px) {
	#banner{
		height:100%;
		width:100%;
	}
	div.container
	{
		width:100%;
	}
}

/* ==============================
   Header / menú
   ============================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  padding: 0.5rem 1rem;
}

.logo-img {
  max-width: 150px;
  height: auto;
  transition: transform 0.2s ease;
}

.logo-img:hover {
  transform: scale(1.03);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #0077ff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 4rem;  /* MÁS GRANDE */
  padding: 1rem;    /* AUMENTA EL ÁREA DE TOQUE */
  cursor: pointer;
}

/* dropdown idiomas */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 4px;
  min-width: 140px;
  display: none;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: .5rem .75rem;
}


@media (max-width: 768px) {
	#banner{
		display: none;
	}
	#bannervert{
		display:block;
		max-width:100%;
		height:auto;
	}
    html, body {
        max-width: 100%;
        overflow-x: hidden;  /* Bloquea cualquier scroll lateral */
    }
	body.nav-open .main-nav {
		display: flex;
	}
    .main-nav {
        position: fixed;
        top: 150px;
        left: 0;
        right: 0;
        width: 100%;          /* Asegura que no se pase del viewport */
        box-sizing: border-box;
        background: #dcf0ff;
        border-bottom: 1px solid rgba(0,0,0,.05);
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
        z-index: 999;
    }
	.main-nav a {
		font-size: 1.35rem;
		padding: 0.9rem 0;
	}
	.main-nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: .25rem;
	}
	.nav-container {
		min-height: 80px;      /* El header real mide más que 60px */
	}
	.nav-toggle {
		display: block;
		font-size: 4rem;   /* AÚN MÁS EN MÓVIL */
		padding: 1rem;
	}
	.has-dropdown .dropdown {
		position: static;
		border: none;
		background: none;
		display: block;
		padding-left: 1rem;
	}
	.logo-img {
		max-width: 150px;
	}
	div.container
	{
		width:90%;
	}
}