body {
  margin: 0; padding: 0; min-height: 200vh; /* para scroll */
font-family: "azo-sans-web", sans-serif;
}

/* Header */
.icono {
width: 100%;
height: auto;
}

.header {
  background-color: #00526f;
  color: fcf6ef;
  padding: 0 20px;
  font-family: "azo-sans-web", sans-serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1900px;
  margin: auto;
  padding: 15px;
  font-family: "azo-sans-web", sans-serif;
}

/* Logo */
.nav-logo img {
  height: 50px;
  display: block;
}

/* Menú principal */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "azo-sans-web", sans-serif;
}

.nav-item {
  position: relative;
  font-family: "azo-sans-web", sans-serif;
}

.nav-link {
  color: #fcf6ef;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
  border-radius: 25px;
  font-family: "azo-sans-web", sans-serif;
  font-weight: 900;
font-style: normal;
}

.nav-link:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Submenús */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00526f;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 280px;
  z-index: 999;
}

.submenu li {
  background: #004c67;
}

.submenu li:hover {
  background: #003f55;
}

.submenu li a {
  padding: 15px 20px;
  display: block;
  color: #fcf6ef;
  text-decoration: none;
    font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
}

.has-submenu:hover .submenu {
  display: block;
}

/* Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
  transition: all 0.3s ease;
}

/* Mobile */
@media (max-width: 1200px) {

.submenu li {
background: #fcf6ef;
}

.submenu li:hover {
  background: #e9e3dc;
}

.submenu li a {
color: #00526f;
}
  .nav-item {
  background: #00465f;
}

  .nav-link {
  border-radius: 0px;
}

  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: -100%;
    background-color: #00526f;
    width: 100%;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  /* Submenús en móviles */
  .has-submenu > .submenu {
    position: static;
  }

  .has-submenu.open > .submenu {
    display: block;
  }
}

/* Mostrar hamburguesa sólo en móvil */
.hamburger { display: none; cursor: pointer; }
.hamburger .bar { width: 25px; height: 3px; background: white; margin: 4px 0; transition: all .25s; }

/* comportamiento escritorio */
@media (min-width: 1200px) {
  .nav-menu { display:flex !important; position: static; }
  .hamburger { display: none; }
}

/* comportamiento móvil */
@media (max-width: 1200px) {
  .hamburger { display: flex; align-items:center; justify-content:center; width:44px; height:44px; }

  /* menú deslizado fuera de pantalla */
  .nav-menu {
    position: fixed;
    top: 80px;            /* ajustar según altura header */
    left: -100%;
    width: 100%;
    height: calc(100% - 64px);
    background: #00526f;
    display: flex;
    flex-direction: column;
    overflow: auto;
    transition: left .25s ease;
    z-index: 999;
  }
  .nav-menu.active { left: 0; }

  /* submenus dentro del flujo en móvil */
  .has-submenu > .submenu { display: none; }
  .has-submenu.open > .submenu { display: block; }
}

/* animación icono -> X */
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(1) { transform: translateY(15px) rotate(45deg); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


h2.hero-title {
	display: block;
font-family: "azo-sans-web", sans-serif;
  font-size: 33px;
  color: #00526f;
  font-weight: 600;
  line-height: 1.3em;
  margin: 0;
  font-size: 55px;
  font-weight: 800;	
	text-align: left;
  margin: 0 25% 0;
}

.hero-description {
	display: block;
  font-size: 14px;
  color: #00526f;
  margin: 20px 25% 0;
	text-align: center;
  text-align: justify;
}

.hero {
  padding: 50px 0;
margin: 0 0 0;
background-image:url(images/fondoweb.png)
}

@media (max-width: 780px) {
  h2.hero-title {
  font-size: 40px;
  text-align: left;
  margin: 0 25px 0;
	}

  .hero-description {
  margin: 20px 25px 0;
	text-align: center;
  text-align: justify;
}
}

@media (max-width: 380px) {
  h2.hero-title {
    font-size: 37px;
    text-align: left;
    margin: 0 25px 0;
  }
}



/* Footer general */
.footer {
  background: #00526f;
  color: #fcf6ef;
  padding-top: 25px;
  font-family: Arial, sans-serif;
  margin-top: 25px;
}

/* Contenedor de 3 columnas */
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer .footer-section h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #ffcc00;
  font-weight: 900;
}

.footer .footer-section p, 
.footer .footer-section li {
  font-size: 14px;
  line-height: 1.6;
  margin-right: 30px;
}

.footer .footer-section ul {
  list-style: none;
  padding: 0;
}

.footer .footer-section ul li a {
  text-decoration: none;
  color: #fcf6ef;
  transition: color 0.3s ease;
}

.footer .footer-section ul li a:hover {
  color: #fcf6ef;
}

/* Derechos reservados */
.footer-bottom {
  background: #004057;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  margin-top: 20px;
  border-top: 1px solid #fcf6ef;
}

/* Móviles */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
.footer .footer-section p, 
.footer .footer-section li {
  font-size: 14px;
  line-height: 1.6;
  margin-right: 5px;
}

}



.footer .footer-extra-menu ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  gap: 15px;
}

.footer .footer-extra-menu ul li {
  display: inline-block;
}

.footer .footer-extra-menu a {
  font-size: 24px;
  color: #00b384;
  transition: color 0.3s;
}

.footer .footer-extra-menu a:hover {
  color: #12765f;
}
