/* My Website Parts - Diseño 1 (menú, bloque del logo y footer).
   Generado a partir de Pagina_web_opcion_1.html. Todo va dentro de .mwl para no chocar con el tema. */

.mwl, .mwl * { box-sizing: border-box; }
.mwl * { margin: 0; padding: 0; }
.mwl svg { fill: none; }
.mwl {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

.mwl .mwl-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 1);
  padding: 18px 40px;
  transition: background-color 0.35s ease;
}

.mwl .mwl-menu.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
}

.mwl .mwl-menu__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mwl .mwl-menu__list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  list-style: none;
  flex-wrap: wrap;
}

.mwl .mwl-menu__link {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.3s ease;
}

.mwl .mwl-menu__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1.5px;
  background-color: #fff;
  transition: width 0.35s ease;
}

.mwl .mwl-menu__link:hover {
  opacity: 0.85;
}

.mwl .mwl-menu__link:hover::after {
  width: 100%;
}

.mwl .mwl-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
}

.mwl .mwl-lang__item {
  cursor: pointer;
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 0.5);
}

.mwl .mwl-lang__item:hover {
  color: #fff;
}

.mwl .mwl-lang__item.active {
  color: #fff;
  font-weight: 500;
}

.mwl .mwl-lang__divider {
  color: rgba(255, 255, 255, 0.35);
}

.mwl .mwl-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mwl .mwl-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mwl .mwl-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mwl .mwl-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.mwl .mwl-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mwl .mwl-logo {
  width: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 40px;
  margin-top: 62px;
}

.mwl .mwl-logo__img {
  display: block;
  max-height: 150px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.mwl .mwl-footer {
  width: 100%;
  background-color: #111111;
  color: #fff;
  padding: 80px 40px 0;
}

.mwl .mwl-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
}

.mwl .mwl-footer__brand {
  font-family: 'Barlow', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.mwl .mwl-footer__tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #888888;
  margin-bottom: 24px;
  max-width: 320px;
}

.mwl .mwl-footer__social {
  display: flex;
  gap: 14px;
}

.mwl .mwl-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.mwl .mwl-footer__social-link:hover {
  background-color: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-2px);
}

.mwl .mwl-footer__social-link svg {
  width: 18px;
  height: 18px;
}

.mwl .mwl-footer__heading {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}

.mwl .mwl-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mwl .mwl-footer__link {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #888888;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mwl .mwl-footer__link:hover {
  color: #fff;
  padding-left: 6px;
}

.mwl .mwl-footer__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mwl .mwl-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #888888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mwl .mwl-footer__contact-link:hover {
  color: #fff;
}

.mwl .mwl-footer__contact-link--static {
  cursor: default;
}

.mwl .mwl-footer__contact-link--static:hover {
  color: #888888;
}

.mwl .mwl-footer__contact-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.8;
}

.mwl .mwl-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.mwl .mwl-footer__bottom-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.mwl .mwl-footer__copy,
.mwl .mwl-footer__credit {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  color: #666666;
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .mwl .mwl-menu {
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
  }

  .mwl .mwl-menu__inner {
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
  }

  .mwl .mwl-hamburger {
    display: flex;
  }

  .mwl .mwl-lang {
    font-size: 0.72rem; gap: 8px;
  }

  .mwl .mwl-menu__list {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background-color: #000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    flex-wrap: nowrap;
  }

  .mwl .mwl-menu__list.open {
    max-height: 500px;
  }

  .mwl .mwl-menu__list li {
    width: 100%; text-align: center;
  }

  .mwl .mwl-menu__link {
    display: block;
    padding: 16px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .mwl .mwl-menu__link::after {
    display: none;
  }

  .mwl .mwl-logo {
    margin-top: 60px;
  }

  .mwl .mwl-footer__nav-col {
    display: none;
  }

  .mwl .mwl-footer__inner {
    grid-template-columns: 1.4fr 1.2fr;
    gap: 40px;
  }

}

@media (max-width: 768px) {
  .mwl .mwl-menu {
    padding: 0 16px; height: 56px;
  }

  .mwl .mwl-lang {
    font-size: 0.65rem; gap: 6px;
  }

  .mwl .mwl-menu__list {
    top: 56px;
  }

  .mwl .mwl-logo {
    padding: 18px 20px; margin-top: 56px;
  }

  .mwl .mwl-logo__img {
    max-height: 110px;
  }

  .mwl .mwl-footer {
    padding: 60px 24px 0;
  }

  .mwl .mwl-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }

  .mwl .mwl-footer__bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

}

@media (max-width: 480px) {
  .mwl .mwl-menu {
    padding: 0 16px;
  }

  .mwl .mwl-lang {
    font-size: 0.62rem; gap: 5px;
  }

  .mwl .mwl-logo {
    padding: 14px 16px;
  }

  .mwl .mwl-logo__img {
    max-height: 80px;
  }

  .mwl .mwl-footer {
    padding: 50px 20px 0;
  }

  .mwl .mwl-footer__brand {
    font-size: 1.3rem;
  }

  .mwl .mwl-footer__social-link {
    width: 38px;
    height: 38px;
  }

}

/* ---- Extras del plugin ---- */
.mwl .mwl-logo { position: relative; z-index: 2; box-shadow: 0 1px 6px rgba(0, 0, 0, 0.14); }
.mwl .mwl-logo--empty { padding-top: 0; padding-bottom: 0; min-height: 0; border: 0; box-shadow: none; }
.mwl .mwl-logo__text {
  font-family: 'Barlow', sans-serif;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: #111;
}
.mwl .mwl-lang a.mwl-lang__item { text-decoration: none; }
.mwl .mwl-footer__social { flex-wrap: wrap; }
.mwl .mwl-footer__brand a { color: inherit; text-decoration: none; }
@media (min-width: 1025px) {
  .mwl .mwl-footer__inner--c2 { grid-template-columns: 1.4fr 1fr; }
  .mwl .mwl-footer__inner--c1 { grid-template-columns: 1fr; }
}
/* Con muchos enlaces, la lista del menú móvil se desplaza en vez de cortarse */
@media (max-width: 1024px) { .mwl .mwl-menu__list.open { max-height: calc(100vh - 60px); overflow-y: auto; } }
/* Barra de administración de WordPress */
body.admin-bar .mwl .mwl-menu { top: 32px; }
@media (max-width: 782px) { body.admin-bar .mwl .mwl-menu { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .mwl .mwl-menu { top: 0; } }

/* Sin selector de idioma el menú va centrado */
.mwl .mwl-menu--nolang .mwl-menu__inner { justify-content: center; }
@media (min-width: 1025px) { .mwl .mwl-menu--nolang .mwl-menu__list { justify-content: center; } }
