/* Definición de variables */
:root {
  --main-color: #121f3f;
  --gradient-start: #ff9f01;
  --gradient-end: #ff9f01;
  --bg-color: #ffffffbe;
  --hover-bg-color: #121f3f;
  --hover-text-color: #ffffff;
  --border-color: #888d91;
  --box-shadow-color: rgba(0, 0, 0, .5);
  --separator-color: #fff;
  --separator-gradient: linear-gradient(top, #fff, #2e3339);
  --text-color: #000000;
}

.header-logo {
  margin: 25px;
  display: flex;
  position: fixed;
  top: 0;
  background-color: transparent;
  z-index: 1000;
  width: 20px;
}

.social-icons-container {
  position: fixed;
  top: 0;
  right: 20px;
  display: flex;
  align-items: center;
  z-index: 1000;
  padding: 30px;
  gap: 15px;
}

.main-logo {
  width: 150px;
}

.social-icons {
  width: 30px;
  height: 30px;
}

#side-menu {
  width: 240px;
  position: fixed;
  top: 0;
  left: -240px;
  height: 70%;
  background-color: var(--hover-text-color);
  transition: left 0.3s ease;
  z-index: 1020;
  overflow-y: auto;
}

aside .side-menu-body {

  height: calc(100% - 56px);
}

aside .list-group-item {
  height: 40px;
  color: var(--text-color);
  padding: 0 30px;
  border: none;
  background-color: inherit;
  text-decoration: none;
  font-family: 'Montserrat-Regular';
  font-size: 15px;
}

aside .list-group-item:hover {
  background-color: var(--hover-bg-color);
  color: var(--hover-text-color);
}

aside.open {
  transform: translate3d(0, 0, 0);
}


#side-menu.open {
  left: 0;
}

#side-menu.open~#content {
  margin-left: 240px;
}

.side-menu-body {
  padding: 1rem;
}

.list-group-item {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.list-group-item svg {
  margin-right: 1rem;
}



.side-menu-body {
  max-height: calc(100% - 20%);
  overflow-y: auto;
}

.custom-side-menu-header {
  position: relative;
  padding-left: 1rem;
  height: 15%;
}

.custom-side-menu-header button {
  position: absolute;
  top: 20%;
}

.hamburger-btn {
  
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin-right: 1rem;
}

.hamburger-btn>img {
  width: 20px;
  margin: 12px;
}

.custom-menu-btn {
  border: none;
  background-color: transparent;
  cursor: pointer;
  margin-right: 1rem;
}

/* Nav Right */
a {
  color: #fff;
  text-decoration: none;
}

.anchors {
  margin: 0 20px;
  list-style: none;
}

.navegador {
  position: fixed;
  z-index: 10;
  top: 50%;
  right: 20px;
  margin-top: -113px;
}

.navegador__item {
  font-family: 'Montserrat-Regular';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  position: relative;
  box-shadow: 0 0 22px var(--box-shadow-color);
  cursor: pointer;
  background: transparent;
  color: #fff;
  letter-spacing: 1px;
  transition: background .25s ease;
}

.navegador__item strong {
  font-size: 13px;
  text-align: right;
  position: absolute;
  top: 3px;
  right: 25px;
  z-index: 3;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-animation: navegador__item__strongIn .35s ease-out;
  animation: navegador__item__strongIn .35s ease-out;
}

.navegador__item:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
}

.navegador__item:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--main-color);
  background: linear-gradient(90deg, var(--gradient-start) 0, var(--gradient-end));
  opacity: 0;
  transition: all .25s ease;
}

.navegador__item:hover {
  background: rgba(18, 31, 63);
}

.navegador__item:hover:after {
  opacity: 1;
}


.navegador__item.act:after,
.navegador__item:active:after {
  opacity: 1;
  height: 18px;
  border-radius: 10px;
  top: 50%;
}

.navegador__item.act strong,
.navegador__item:active strong {
  -webkit-animation: navegador__item__strong .35s ease-out;
  animation: navegador__item__strong .35s ease-out;
}

.navegador__item--nosotros.act:after,
.navegador__item--nosotros:active:after {
  width: 112px;
}

.navegador__item--soluciones.act:after,
.navegador__item--soluciones:active:after {
  width: 125px;
}

.navegador__item--profesional.act:after,
.navegador__item--profesional:active:after {
  width: 161px;
}

.navegador__item--operaciones.act:after,
.navegador__item--operaciones:active:after {
  width: 132px;
}

.navegador__item--inversionistas.act:after,
.navegador__item--inversionistas:active:after,
.navegador__item--sostenibilidad.act:after,
.navegador__item--sostenibilidad:active:after {
  width: 150px;
}

.navegador__item--home {
  background: transparent;
}

.navegador__item--home img {
  margin: auto;
  padding-top: 5px;
  width: 10px;
}

.navegador__item--home:after,
.navegador__item--home:before {
  display: none;
}

.navegador__item--home.act,
.navegador__item--home:hover {
  background: var(--main-color);
  background: linear-gradient(90deg, var(--gradient-start) 0, var(--gradient-end));
}

.navegador__separador {
  display: block;
  width: 1px;
  height: 12px;
  margin: auto;
  background: var(--separator-color);
  background: var(--separator-gradient);
}

/* Nav Contactos */
.logo-nav {
  width: 140px;
}

.nav-main {
  font-family: 'Montserrat-Regular';
  font-size: 17px;
  padding: 35px 10px !important;
  display: flex;
  gap: 20px;
}

.nav-main a {
  position: relative;
  color: rgb(255, 255, 255);
  text-decoration: none;
  transition: color 0.3s, font-size 0.3s, text-shadow 0.3s;
}

.nav-main a:hover {
  font-family: 'Montserrat-Regular';
  text-shadow: 2px 1px 1px rgb(0, 0, 0);
}



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

.icons-nav {
  width: 25px;
  height: 25px;
}

.main-content {
  background-image: url(../assets/img/RECURSOS\ WEB/OPACIDAD/CONTACTO.jpg);
  background-size: cover;
  background-position: center;
  font-size: 25px;
  font-family: 'Montserrat-Regular';
  color: aliceblue;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

.btn-asesoria {
  padding: 5px 15px;
  border-radius: 50px;
  background: linear-gradient(90deg, #ffa81d 40%, #d48300 90%);
  text-shadow: 0 0 2px rgb(0, 0, 0);
  transition: transform 0.75s ease, background 0.3s, color 0.3s;
}

.btn-asesoria:hover {
  background: rgb(18, 31, 63);
  color: #ffffff;
}

.btn-nav-left-asesoria {
  background: linear-gradient(90deg, #ffa81d 40%, #d48300 90%);
  color: #fff;
  font-family: 'Montserrat-Regular';
  text-shadow: 0 0 2px rgb(0, 0, 0);      
  margin-left: 22px;
  padding: 10px 25px;
  border-radius: 12px;
  transition: transform 0.75s ease, background 0.3s, color 0.3s;
}

.btn-nav-left-asesoria:hover {
  background: rgb(18, 31, 63);
  color: #ffffff;
}


.content {
  text-align: center;
  padding-top: 80px;
}

.horario {
  color: aliceblue;
  font-family: 'Montserrat-Regular';
  font-size: 100px;
}

.horario-text {
  font-family: 'Montserrat-Regular';
  font-size: 20px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
}


@media (max-width: 1100px) {
  .logo-nav {
    width: 100px;
  }
  #side-menu {
    width: 26%;
    left: -100%;
    height: 30%;
  }
  .btn-asesoria {
    font-size: 10px;
    padding: 4px 10px;
  }

  .nav-main {
    padding: 35px 0px;
    font-size: 15px;
    gap: 14px;
  }
}


@media (max-width: 950px) {
  .logo-nav {
    width: 90px;
  }

  #side-menu {
    width: 30%;
    left: -100%;
    height: 100%;
  }

  .btn-asesoria {
    font-size: 10px;
    padding: 3px 8px;
  }

  .nav-main {

    font-size: 12px;
    gap: 12px !important;
  }


  .content {
    text-align: center;
    padding-top: 50px;
  }

  .horario {
    color: aliceblue;
    font-family: 'Montserrat-Regular';
    font-size: 27px;
  }

  .horario-text {
    font-family: 'Montserrat-Regular';
    font-size: 14px;
  }

  #map {
    right: 35px;
    width: 70%;
    height: 250px; 
  }

}

@media (max-width: 800px) {
  .logo-nav {
    width: 90px;
  }

  .nav-main {
    padding: 25px 0px !important;
    font-size: 12px;
    gap: 7px;
  }

  .social-icons-container {
    top: 1%;
    right: 0px;
  }

  .main-logo {
    width: 120px;
  }

  .social-icons {
    width: 22px;
    height: 22px;
  }

}


@media screen and (max-width: 768px) {
  .nav-main {
    display: none !important;
  }

  .navegador,
  .profesional__bloque__icoCentro,
  .selectorIdioma {
    display: none;
  }

  .boton__mesa__partes {
    top: 65px;
    right: 5px;
    margin-top: 30px;
  }
}

.boton__mesa__partes {
  display: block;
  position: fixed;
  z-index: 10;
  top: 24%;
  right: 1.4%;
}

@media (max-width: 767.98px) {
  #side-menu {
    width: 60%;
    left: -100%;
    height: 60%;
  }

  #side-menu.open {
    left: 0;
  }

  #side-menu.open~#content {
    margin-left: 0;
  }


  .main-logo {
    width: 120px;
  }

  .social-icons {
    width: 25px;
    height: 25px;
  }

  .content {
    text-align: center;
    padding-top: 40px;
  }

  .horario {
    color: aliceblue;
    font-family: 'Montserrat-Regular';
    font-size: 27px;
  }

  .horario-text {
    font-family: 'Montserrat-Regular';
    font-size: 14px;
  }

  #map {
    width: 80%;
    height: 250px; 
  }
}


@media (max-width: 600px) {
  .logo-nav {
    width: 100px;
  }



  .social-icons-container {
    top: 12px;
    right: 0px;
    padding: 20px;
    gap: 10px;
  }

  .icons-nav {
    width: 20px;
    height: 20px;
  }

  .main-logo {
    width: 100px;
  }

  .social-icons {
    width: 20px;
    height: 20px;
  }

  .content {
    text-align: center;
    padding-top: 80px;
  }

  .horario {
    color: aliceblue;
    font-family: 'Montserrat-Regular';
    font-size: 27px;
  }

  .horario-text {
    font-family: 'Montserrat-Regular';
    font-size: 14px;
  }

  #map {
    right: 20px;
    width: 100%;
    height: 300px; /* Ajusta esta altura según sea necesario */
  }

}