/* Shared language control, following the site's gold and white palette. */
.header-container {
    gap: 20px;
}

header nav {
    gap: 16px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.logo img {
    flex-shrink: 0;
    height: 55px;
    width: 55px;
    object-fit: contain;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    color: var(--gold-dark);
    border: 1px solid rgba(196, 163, 90, 0.45);
    border-radius: 6px;
    background: var(--white);
    min-height: 44px;
}

.language-switcher svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.language-switcher select {
    font: inherit;
    font-size: 0.85rem;
    color: var(--text-dark);
    background: transparent;
    border: 0;
    cursor: pointer;
    min-height: 30px;
    max-width: 104px;
}

.language-switcher:focus-within {
    outline: 2px solid var(--gold-dark);
    outline-offset: 3px;
}

html[lang="en"] .logo-text > span:last-child {
    display: none !important;
}

html[lang="en"] .nav-menu > li > a {
    padding-right: 12px;
    padding-left: 12px;
}

html[lang="en"] .slide-content h1 {
    line-height: 1.2;
}

html[lang="en"] .diagram-center {
    font-size: 0.85rem;
    line-height: 1.35;
}

html[lang="en"] .diagram-item {
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Make space for longer English navigation labels on tablets and small laptops. */
@media (min-width: 769px) and (max-width: 1200px) {
    .header-container {
        padding-right: 20px;
        padding-left: 20px;
        gap: 12px;
    }

    .logo-text {
        max-width: 175px;
    }

    header nav {
        gap: 8px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-menu > li > a,
    html[lang="en"] .nav-menu > li > a {
        padding-right: 8px;
        padding-left: 8px;
        font-size: 0.82rem;
    }
}

@media (max-width: 768px) {
    .slider-arrows {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .strategy-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-item .text {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .contact-form {
        min-width: 0;
    }

    .strategy-text,
    .strategy-diagram {
        min-width: 0;
    }

    .diagram-circle {
        flex-shrink: 0;
    }

    .header-container {
        padding-right: 15px;
        padding-left: 15px;
        gap: 8px;
    }

    .logo {
        gap: 8px;
    }

    .logo img {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        letter-spacing: 0;
        overflow-wrap: anywhere;
    }

    .logo-text > span:first-child {
        font-size: 0.65rem !important;
    }

    .logo-text > span:last-child {
        font-size: 0.75rem !important;
    }

    header nav {
        gap: 8px;
    }

    .language-switcher {
        gap: 4px;
        padding: 4px 6px;
    }

    .language-switcher select {
        font-size: 0.78rem;
    }

    html[lang="en"] .nav-menu > li > a {
        padding: 15px 0;
    }
}

@media (max-width: 359px) {
    .logo-text > span:first-child {
        display: none !important;
    }

    html[lang="en"] .logo-text > span:first-child {
        display: block !important;
    }

    .language-switcher svg {
        display: none;
    }
}
