/* Language switcher (GTranslate) — styled after bondoaero.com */
.navbar .container { flex-wrap: nowrap; }
.navbar-tools { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; order: 2; }
.navbar .navbar-collapse { order: 1; }
.navbar .hamburger { order: 3; flex: none; }
.navbar .navbar-brand { min-width: 0; flex: 0 1 auto; }
.navbar .navbar-brand img { max-width: 100%; }
@media (min-width: 992px) {
    .navbar-tools { margin-left: 2.5rem; padding-left: 2.5rem; border-left: 1px solid rgba(178, 220, 215, .3); }
}

.lang { position: relative; display: flex; align-items: center; gap: .45rem; color: #fff; }
.lang-globe { width: 1rem; height: 1rem; opacity: .75; }
.lang-btn {
    background: none; border: 0; color: inherit; cursor: pointer; display: flex; align-items: center; gap: .25rem;
    font-size: .8rem; font-weight: 500; letter-spacing: .2em; line-height: 1; padding: .5rem 0; text-transform: uppercase;
}
.lang-chev { width: .9rem; height: .9rem; transition: transform .4s ease; }
.lang.is-open .lang-chev { transform: rotate(180deg); }
.lang-list {
    position: absolute; right: -1rem; top: calc(100% + 1rem); min-width: 12rem; z-index: 1050;
    background: #051C2C; border: 1px solid rgba(178, 220, 215, .25); padding: .5rem;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .4s ease;
}
.lang.is-open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a {
    display: flex; gap: 1rem; padding: .7rem .9rem; font-size: .85rem; color: rgba(255, 255, 255, .75);
    text-decoration: none; cursor: pointer; transition: color .3s, background-color .3s;
}
.lang-list a span { font-size: .68rem; letter-spacing: .15em; color: #B2DCD7; width: 1.5rem; padding-top: .15rem; }
.lang-list a:hover, .lang-list a[aria-current] { color: #fff; background: rgba(178, 220, 215, .08); }
.lang-list img { display: none; }

@media (max-width: 991.98px) {
    .navbar .container { flex-wrap: wrap; }
    .navbar .navbar-brand { flex: 0 1 auto; max-width: none; margin-right: auto; }
    .navbar .navbar-brand img { width: 170px; height: auto; }
    .navbar-tools { margin-right: 1rem; flex: none; }
    .navbar .navbar-collapse { order: 4; }
    .lang-list { right: -.5rem; }
}

/* hide Google's injected UI */
body { top: 0 !important; }
.skiptranslate iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style*="vertical-align"] { vertical-align: inherit !important; }

/* Hero: Vimeo promo video (muted autoplay + sound button) */
.hero-vimeo { position: absolute; inset: 0; overflow: hidden; background: #051C2C center / cover no-repeat; pointer-events: none; }
.hero-vimeo .hero-fallback { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; }
.hero-vimeo iframe { z-index: 1;
    position: absolute; top: 50%; left: 50%; border: 0;
    width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.78vh;
    transform: translate(-50%, -50%);
}
.hero-sound {
    position: absolute; right: 110px; bottom: 2rem; z-index: 20;
    display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem;
    background: rgba(5, 28, 44, .55); color: #fff; border: 1px solid rgba(178, 220, 215, .5); border-radius: 2rem;
    font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background-color .3s, color .3s;
}
.hero-sound:hover { background: #B2DCD7; color: #051C2C; }
.hero-sound svg { width: 1.2rem; height: 1.2rem; }
.hero-sound .ic-on, .hero-sound[aria-pressed="true"] .ic-off { display: none; }
.hero-sound[aria-pressed="true"] .ic-on { display: block; }
@media (max-width: 767.98px) { .hero-sound { right: 1rem; bottom: 1rem; padding: .6rem .9rem; } }

/* Portrait screens: theme shows the hero as a 16:9 strip under the navbar */
@media (max-aspect-ratio: 1/1) {
    .hero .hero-vimeo { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; }
    .hero .hero-vimeo iframe,
    .hero .hero-vimeo .hero-fallback {
        width: 100%; height: 100%; min-width: 0; min-height: 0;
        top: 0; left: 0; transform: none;
    }
    .hero-sound { right: .75rem; bottom: .75rem; padding: .45rem .8rem; font-size: .65rem; }
    .hero-sound svg { width: 1rem; height: 1rem; }
}
@media (max-width: 374.98px) {
    .navbar .navbar-brand img { width: 140px; }
    .navbar-tools { margin-right: .75rem; }
}

/* Mobile: product images were 15px wider than the screen, which zoomed the whole page out */
@media (max-width: 767.98px) {
    .product-image { max-width: 100%; height: auto; }
}

/* Footer: keep each phone number on one line */
.footer-contact a[href^="tel:"], .footer-contact a[href*="wa.me"] { white-space: nowrap; }
