:root {
    --olive: #808000;
    --olive-dark: #747401;
    --olive-light: #E8F0E6;
    --text-dark: #012405;
    --shadow-soft: 0 18px 45px rgba(74, 107, 68, 0.12);
}

body {
    font-family: 'Inter', sans-serif;
    background: #F7F7F5;
    color: var(--text-dark);
}

.btn-olive {
    background: var(--olive);
    border-color: var(--olive);
    color: #fff;
    border-radius: 40px;
    padding: 0.30rem 1.6rem;
}

.btn-outline-olive {
    color: var(--olive);
    border-color: var(--olive);
    padding: 0.30rem 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
}

.btn-outline-olive:hover,
.btn-outline-olive:focus {
    color: #fff;
    background: var(--olive);
    border-color: var(--olive);
}

.btn-olive:hover,
.btn-olive:focus {
    background: var(--olive-dark);
    border-color: var(--olive-dark);
    color: #fff;
}

.navbar-brand,
.nav-link,
.footer-link {
    color: var(--olive-dark) !important;
}

.brand-wordmark {
    height: 34px;
    width: auto;
    display: block;
}

.nav-link:hover {
    color: var(--olive) !important;
}

.card-custom {
    border: none;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 55px rgba(74, 107, 68, 0.18);
}

.feature-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--olive-light);
    color: var(--olive-dark);
}

footer {
    background: var(--olive-dark);
}

footer a {
    color: #E8F0E6;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

.badge-olive {
    background: var(--olive);
    color: #fff;
}

.hero-overlay {
    background: rgba(74, 107, 68, 0.08);
}

.google-translate-host {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
}

.google-translate-host .goog-te-gadget,
.google-translate-host .goog-te-gadget span {
    font-family: inherit !important;
    color: inherit !important;
}

iframe.goog-te-banner-frame,
iframe.skiptranslate,
.goog-te-banner-frame.skiptranslate,
.google-translate-host .skiptranslate,
.goog-te-balloon-frame,
.skiptranslate {
    display: none !important;
}

html,
body {
    top: 0 !important;
    position: static !important;
}

body.notranslate,
html.notranslate {
    -webkit-text-size-adjust: 100%;
}

.language-switcher {
    position: relative;
    z-index: 1030;
}

.language-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(119, 119, 0, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #fbfbf7 100%);
    color: var(--text-dark);
    border-radius: 999px;
    padding: 0.52rem 0.95rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.language-switcher-btn:hover,
.language-switcher-btn:focus {
    border-color: rgba(119, 119, 0, 0.38);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
    background: #fff;
    transform: translateY(-1px);
    outline: none;
}

.language-switcher-flag {
    font-size: 1.15rem;
    line-height: 1;
}

.language-switcher-label {
    white-space: nowrap;
}

.language-switcher-chevron {
    font-size: 0.72rem;
    color: var(--olive-dark);
}

.language-switcher-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: min(780px, calc(100vw - 2rem));
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.language-switcher.open .language-switcher-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.language-switcher-list {
    max-height: 440px;
    overflow: auto;
    padding: 0.85rem;
}

.language-switcher-header {
    padding: 1.1rem 1.1rem 0.95rem;
    background: linear-gradient(135deg, #6f6f00 0%, #9e9700 100%);
    color: #fff;
}

.language-switcher-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.language-switcher-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.2rem;
}

.language-switcher-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.38rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.language-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin: 0.4rem 0 0.75rem;
    padding: 0 0.25rem;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.language-option-grid {
    min-height: 74px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    background: linear-gradient(180deg, #fafafa 0%, #f4f4ee 100%);
}

.language-switcher .input-group-text {
    border-radius: 999px 0 0 999px;
}

.language-switcher .form-control {
    border-radius: 0 999px 999px 0;
    box-shadow: none;
}

.language-switcher .form-control:focus {
    border-color: rgba(119, 119, 0, 0.45);
    box-shadow: 0 0 0 0.15rem rgba(128, 128, 0, 0.12);
}

.language-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 0;
    background: transparent;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    text-align: left;
    transition: background-color 0.15s ease;
}

.language-option:hover,
.language-option:focus {
    background: rgba(128, 128, 0, 0.10);
    outline: none;
}

.language-option.is-active {
    background: rgba(128, 128, 0, 0.14);
    box-shadow: inset 0 0 0 1px rgba(128, 128, 0, 0.20);
}

.language-option-flag {
    width: 2rem;
    text-align: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.language-option-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.language-option-text small {
    color: #6b7280;
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

@media (max-width: 991.98px) {
    .language-switcher {
        width: auto;
        margin-top: 0.5rem;
        position: static;
    }

    .language-switcher-btn {
        width: auto;
        justify-content: center;
    }

    .language-switcher-menu {
        position: fixed;
        left: 0.5rem;
        right: 0.5rem;
        top: 5.8rem;
        width: auto;
        max-height: calc(100vh - 6.5rem);
    }

    .language-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .brand-wordmark {
        height: 28px;
    }

    .language-switcher-menu {
        left: 0.35rem;
        right: 0.35rem;
        top: 5.35rem;
        max-height: calc(100vh - 5.9rem);
    }

    .language-switcher-header {
        padding: 0.95rem 0.95rem 0.85rem;
    }

    .language-switcher-list {
        padding: 0.75rem;
    }

    .language-option {
        padding: 0.68rem 0.7rem;
    }
}
