/* ==== Helpers de visibilidad responsive ==== */

/* Siempre visible */
.d-block {
  display: block !important;
}

/* Siempre oculto */
.d-none {
  display: none !important;
}

/* Desktop: ≥992px */
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
  .d-lg-none {
    display: none !important;
  }
}

/* Mobile: <992px */
@media (max-width: 991.98px) {
  .d-lg-block {
    display: none !important;
  }
  .d-lg-none {
    display: block !important;
  }
}

/* ==== Language Switcher ==== */

/* Desktop: convertimos #header-container a flex para que el switcher entre en el flujo normal */
@media (min-width: 1025px) {
    .classic-menu #header-container {
        display: flex;
        align-items: center;
    }

    .classic-menu #logo {
        float: none;
        top: 0;
        margin-right: auto;
    }

    .classic-menu nav {
        float: none !important;
        margin: 0;
        height: 60px;
        display: flex;
        align-items: center;
    }

    #lang-switcher {
        margin-left: 30px;
        flex-shrink: 0;
    }
}

/* Mobile: absolute para no romper el layout de floats */
@media (max-width: 1024px) {
    #lang-switcher {
        position: absolute;
        right: 75px;
        top: 50%;
        transform: translateY(-50%);
    }
}

#lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 20;
    pointer-events: initial;
}

#lang-switcher .lang-item {
    pointer-events: initial;
}

#lang-switcher .lang-item {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease;
    line-height: 1;
}

#lang-switcher .lang-item.current {
    color: #AA4CEF;
}

#lang-switcher .lang-item:hover {
    color: #AA4CEF;
}

#lang-switcher .lang-sep {
    font-size: 10px;
    color: #222;
    opacity: 0.35;
    line-height: 1;
}

/* Header claro (home): texto en blanco */
.light-content #lang-switcher .lang-item,
.light-content #lang-switcher .lang-sep {
    color: #fff;
}

.light-content #lang-switcher .lang-item.current,
.light-content #lang-switcher .lang-item:hover {
    color: #AA4CEF;
}

/* ==== Fix: nombres de oficinas no se transforman en uppercase por la fuente ==== */
.offices__container--item h3,
.right__container--offices h5 {
  text-transform: none;
}
