@import url('https://fonts.googleapis.com/css?family=Raleway|Roboto+Condensed');
/*font-family: 'Roboto Condensed', sans-serif;
font-family: 'Raleway', sans-serif;*/

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'Raleway', sans-serif;
}

#body_black {
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'Raleway', sans-serif;
  background-color: #FFFFFF;
}

header {
  width: 100%;
  background-color: #FFFFFF;
  position: fixed;
  z-index: 10000;
  font-family: 'Raleway', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contenedor {
  width: 100%;
  margin: auto;
}

header nav {
  display: none;
}

.menu {
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

.menu li {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.menu li a img {
  height: 80px;
}

.menu li:first-child {
  padding: 10px;
  padding-top: 17px;
  height: 100px;
}

.menu li a {
  color: #1F2937;
  text-decoration: none;
  line-height: 3;
  display: block;
  padding-left: .7em;
  font-size: .9em;
}

.menu li a:hover {
  color: #FF6B35;
}

header .contenedor .menu_bar {
  display: block;
  width: 100%;
  background: #F8F9FA;
}

header .contenedor .menu_bar .bt-menu {
  display: block;
  padding: 20px;
  background: white;
  color: #1F2937;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.menu_bar span {
  float: right;
  font-size: 22px;

}

/*MEDIA QUERYS*/
@media screen and (min-width: 600px) {

  .menu {
    /*background-color: #212121;*/
  }

  header .contenedor .menu_bar {
    display: block;
  }

  header {
    /*border-bottom: 1px solid rgba(255,255,255,.3);*/
  }
}

@media screen and (min-width: 768px) {

  .contenedor {
    width: 100%;
  }

  header nav {
    display: block;
  }

  header .contenedor .menu_bar {
    display: none;
  }

  .menu {
    display: flex;
  }

  .menu li {
    flex: auto;
    text-align: center;
    border-bottom: 0;
  }

  .menu li a {
    padding-left: 0;
    line-height: 8;
  }

}

@media (min-width: 1280px) {
  .contenedor {
    width: 1280px;
  }

  header nav {
    display: block;
  }

  header .contenedor .menu_bar {
    display: none;
  }

}

/* --- NUEVO MENÚ MODERNO --- */
.main-header {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 80px;
}

.logo-img {
  height: 60px;
  width: auto;
  filter: none;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li a {
  color: #181818;
  text-decoration: none;
  font-size: 1.1em;
  font-family: 'Raleway', sans-serif;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

/* Animated underline effect */
.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF6B35, #E85A2A);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-list li a:hover::after {
  width: 100%;
}

.nav-list li a:hover {
  color: #FF6B35;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger {
  width: 28px;
  height: 3px;
  background: #181818;
  border-radius: 2px;
  display: block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger animation when menu is open */
.nav-toggle.active .hamburger:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.nav-toggle.active .hamburger:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-list {
    gap: 0.7rem;
  }

  .nav-container {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 80px;
    right: 0;
    background: #fff;
    width: 100%;
    max-width: 320px;
    height: calc(100vh - 80px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    display: block;
    z-index: 10001;
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* Backdrop overlay */
  .main-nav.open::before {
    content: '';
    position: fixed;
    top: 80px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding-top: 2rem;
  }

  .nav-list li {
    text-align: left;
    padding: 0 2rem;
    border-bottom: 1px solid #eee;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Fondo blanco y texto oscuro para mapa y footer */
.mapa-blanco {
  background: #fff !important;
  color: #181818 !important;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.mapa-blanco h4 {
  color: #181818;
}

.mapa-blanco a {
  color: #181818;
  text-decoration: underline;
}

.footer-blanco {
  background: #fff !important;
  color: #181818 !important;
  border-top: 1px solid #eee;
}

.footer-blanco a {
  color: #181818;
}

.footer-blanco .copy {
  color: #181818;
}

/* Asegurar contraste: texto negro en mapa y footer blanco */
.mapa-blanco,
.mapa-blanco * {
  color: #181818 !important;
}

.footer-blanco,
.footer-blanco * {
  color: #181818 !important;
}

/* --- Estilo compacto y bonito para sección mapa --- */
.mapa-blanco .contenedor {
  display: block;
  padding: 0 !important;
  gap: 0 !important;
}

.mapa-blanco article {
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: #fff !important;
  max-width: 100%;
}

.mapa-blanco h4 {
  margin: 0 !important;
  padding: 0 !important;
}

.mapa-blanco ul#elementos {
  margin: 0 !important;
  padding: 0 !important;
}

.mapa-blanco ul#elementos li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.1 !important;
}

.mapa-blanco ul#elementos li#bolas {
  margin-top: 0 !important;
}

.mapa-blanco ul#elementos a {
  color: #181818;
  text-decoration: underline;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .mapa-blanco .contenedor {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.2rem 0 1rem 0;
  }

  .mapa-blanco article {
    max-width: 100%;
    padding: 1rem 1rem 0.7rem 1rem;
  }
}

/* --- Footer tres columnas estilo moderno --- */
.footer-tres-columnas .contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 1rem 1.2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-tres-columnas .footer-col {
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 340px;
}

.footer-tres-columnas h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  color: #fff;
}

.footer-tres-columnas ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-tres-columnas ul li {
  margin: 0.18rem 0;
  font-size: 1rem;
  color: #fff;
}

.footer-tres-columnas ul li a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-tres-columnas ul li a:hover {
  color: #ff2d2d;
}

.footer-tres-columnas .footer-social {
  margin-top: 1.1rem;
  display: flex;
  gap: 0.7rem;
}

.footer-tres-columnas .footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ff2d2d;
  color: #fff !important;
  border-radius: 50%;
  font-size: 1.3rem;
  transition: background 0.2s;
}

.footer-tres-columnas .footer-social a:hover {
  background: #b71c1c;
}

.footer-tres-columnas {
  background: #4a4a4a !important;
  color: #fff !important;
  border-top: 2px solid #eee;
}

@media (max-width: 900px) {
  .footer-tres-columnas .contenedor {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1rem 1rem 1rem;
  }

  .footer-tres-columnas .footer-col {
    max-width: 100%;
  }
}