/* Header & Footer (native CSS) */
:root {
    --header-bg: #111;
    --header-border: #1f1f1f;
    --header-text: #f2f2f2;
    --header-text-muted: #cfcfcf;
    --accent: #d4af37;
    --footer-bg: #0f0f0f;
    --footer-border: #1f1f1f;
}

.top-bar {
    background: #0f7b6c;
    color: #fff;
    padding: 8px 0;
}

.bar-container,
.nav-shell,
.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

.contact-link:hover {
    color: var(--header-text-muted);
}

.icon-16 {
    width: 16px;
    height: 16px;
}

.icon-20 {
    width: 20px;
    height: 20px;
}

.icon-24 {
    width: 24px;
    height: 24px;
}

.me-6 {
    margin-right: 6px;
}

.me-8 {
    margin-right: 8px;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    color: inherit;
    transition: color .2s;
}

.social-link:hover {
    color: var(--header-text-muted);
}

.search-button {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #262626;
    border-bottom: 1px solid var(--header-border);
}

.nav-shell {
    padding: 0 16px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    color: var(--header-text);
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: auto;
    width: auto;
    max-height: 36px;
    max-width: 180px;
    object-fit: contain;
}

.logo-text {
    color: var(--header-text);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.desktop-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--header-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all .2s;
}

.nav-link:hover {
    color: rgb(15 123 108 / var(--tw-text-opacity, 1));
    background: #1b1b1b;
}

.nav-link.is-active {
    color: #fff;
    border-bottom: 2px solid #0f7b6c;
}

.nav-link.disabled {
    opacity: .5;
    cursor: default;
}

.dropdown-arrow {
    transition: transform .2s;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    width: 220px;
    background: #0f0f0f;
    border: 1px solid var(--header-border);
    border-radius: 10px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s, transform .2s;
    transform: translateY(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 50;
}

.has-dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    color: var(--header-text);
    text-decoration: none;
    transition: all .2s;
}

.dropdown-link.small {
    font-size: 14px;
}

.dropdown-link:hover {
    color: #0f7b6c;
    background: #1b1b1b;
}

.dropdown-link.is-active {
    color: #0f7b6c;
    background: #1b1b1b;
    border-left: 2px solid #0f7b6c;
}

.dropdown-link.disabled {
    color: var(--header-text-muted);
    cursor: default;
}

.sub-dropdown {
    border-left: 1px solid var(--header-border);
    margin-left: 10px;
    padding-left: 10px;
}

.lang-switcher {
    display: none;
    align-items: center;
}

.lang-dropdown {
    position: relative;
}

.lang-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--header-border);
    color: var(--header-text);
    cursor: pointer;
    transition: all .2s;
}

.lang-trigger:hover {
    color: rgb(15 123 108 / var(--tw-bg-opacity, 1));
    background: #1b1b1b;
    border-color: #2a2a2a;
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #0f0f0f;
    border: 1px solid var(--header-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    z-index: 60;
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
}

.lang-menu-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--header-border);
}

.lang-menu-title {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lang-menu-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.lang-menu-item {
    display: block;
    padding: 10px 14px;
    color: var(--header-text);
    text-decoration: none;
    transition: all .2s;
}

.lang-menu-item:hover {
    color: #0f7b6c;
    background: #1b1b1b;
}

.lang-menu-item.is-active {
    color: rgb(15 123 108 / var(--tw-bg-opacity, 1));
    background: #1b1b1b;
}

.lang-menu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lang-code {
    font-size: 12px;
    color: #777;
}

.text-accent {
    color: rgb(15 123 108 / var(--tw-bg-opacity, 1));
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-icon-btn {
    background: transparent;
    border: 1px solid var(--header-border);
    border-radius: 8px;
    padding: 8px;
    color: var(--header-text);
    cursor: pointer;
    transition: all .2s;
}

.mobile-icon-btn:hover {
    background: #1b1b1b;
    border-color: #2a2a2a;
    color: #0f7b6c;
}

.mobile-lang-menu {
    position: absolute;
    right: 0;
    margin-top: 8px;
    width: 180px;
    background: #0f0f0f;
    border: 1px solid var(--header-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    padding: 6px 0;
}

.mobile-lang-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-lang-item {
    display: block;
    padding: 10px 14px;
    color: var(--header-text);
    text-decoration: none;
}

.mobile-lang-item.is-active {
    color: #0f7b6c;
    background: #1b1b1b;
}

.mobile-menu {
    background: #0f0f0f;
    color: var(--header-text);
    padding: 12px 0 16px;
}

.mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-link {
    display: block;
    padding: 10px 14px;
    color: var(--header-text);
    text-decoration: none;
    border-radius: 6px;
    transition: all .2s;
}

.mobile-link-row {
    display: flex;
    align-items: center;
}

.mobile-link-row.between {
    justify-content: space-between;
    gap: 10px;
}

.mobile-link.child {
    padding-left: 10px;
}

.mobile-link.grandchild {
    padding-left: 16px;
    font-size: 14px;
}

.mobile-link:hover {
    background: #1b1b1b;
    color: #0f7b6c;
}

.mobile-link.is-active {
    background: #1b1b1b;
    color: #0f7b6c;
}

.mobile-link.disabled {
    color: var(--header-text-muted);
    cursor: default;
}

.mobile-submenu {
    list-style: none;
    margin: 8px 0 0;
    padding-left: 14px;
}

.mobile-submenu-toggle {
    background: transparent;
    border: none;
    color: var(--header-text);
    cursor: pointer;
    padding: 6px;
}

.is-hidden {
    display: none !important;
}

.hidden {
    display: none !important;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #ccc;
    padding: 48px 0 32px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-title.small {
    font-size: 14px;
}

.footer-title.center {
    text-align: center;
}

.footer-subtitle {
    color: #fff;
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-logo {
    height: auto;
    width: auto;
}

.footer-text {
    color: #b5b5b5;
    font-size: 14px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    color: #aaa;
    transition: color .2s;
}

.footer-social-link:hover {
    color: #fff;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    transition: color .2s;
}

.footer-link:hover {
    color: #fff;
}

.contact-list {
    gap: 10px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.footer-lang {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-lang-chip {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #444;
    border-radius: 999px;
    color: #aaa;
    text-decoration: none;
    font-size: 12px;
    transition: all .2s;
}

.footer-lang-chip:hover {
    color: #fff;
    border-color: #777;
}

.footer-lang-chip.is-active {
    background: #1e1e1e;
    color: #fff;
    border-color: #777;
}

.footer-divider {
    border-top: 1px solid var(--footer-border);
    margin-top: 28px;
    padding-top: 20px;
}

.footer-friends {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.text-center {
    text-align: center;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }

    .lang-switcher {
        display: flex;
    }

    .mobile-actions {
        display: none;
    }

    .mobile-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .desktop-nav {
        display: none;
    }
}