/* Shared site chrome: navigation and footer */
.site-nav {
    position: sticky; top: 14px; z-index: 100;
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    background: rgba(255, 253, 249, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(20, 17, 15, 0.07);
    border-radius: 999px;
    box-shadow: 0 12px 30px -20px rgba(37, 27, 18, 0.14);
}

.site-nav::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: calc(100% - 2px);
    height: 34px;
    pointer-events: none;
    border-radius: 0 0 24px 24px;
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.34) 0%, rgba(255, 253, 249, 0) 100%);
}

.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 16px;
}

.nav-brand {
    font-family: var(--font-u);
    font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(20, 17, 15, 0.9); white-space: nowrap; flex-shrink: 0;
}

.nav-links {
    display: flex; gap: 24px; align-items: center;
    list-style: none; margin: 0; padding: 0;
}

.nav-product-menu {
    position: relative;
}

.nav-product-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.nav-product-menu > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-product-menu > a::after {
    display: inline-block;
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transform-origin: center;
    opacity: 0.7;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a {
    font-size: 13px; font-weight: 500; color: rgba(20, 17, 15, 0.7);
    transition: color 0.2s;
    padding: 0; border-radius: 0; background: none;
}

.nav-links a::after { display: none; content: none; }

.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); background: none; }

.nav-product-menu-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    display: none;
    min-width: 196px;
    padding: 8px;
    border: 1px solid rgba(20, 17, 15, 0.06);
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.96);
    box-shadow: 0 18px 34px -24px rgba(20, 17, 15, 0.22);
}

.nav-product-menu:hover .nav-product-menu-panel,
.nav-product-menu:focus-within .nav-product-menu-panel {
    display: grid;
    gap: 4px;
}

.nav-product-menu:hover > a::after,
.nav-product-menu:focus-within > a::after {
    transform: rotate(225deg);
    opacity: 1;
}

.nav-product-menu-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    white-space: nowrap;
}

.nav-product-menu-panel a:hover,
.nav-product-menu-panel a:focus-visible {
    background: rgba(79, 138, 120, 0.08);
    color: var(--ink);
}

.nav-right {
    display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}

.lang-dropdown { position: relative; }

.lang-switch {
    font-size: 12px; font-weight: 500; color: rgba(20, 17, 15, 0.72);
    border: 1px solid rgba(20, 17, 15, 0.06); border-radius: 100px;
    padding: 4px 12px; background: rgba(255, 255, 255, 0.42); cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.lang-switch:hover { color: var(--ink); border-color: rgba(20, 17, 15, 0.12); }

.lang-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    background: rgba(255, 252, 247, 0.96); border: 1px solid rgba(20, 17, 15, 0.06);
    border-radius: var(--r-lg); box-shadow: 0 16px 34px -24px rgba(20, 17, 15, 0.18);
    min-width: 158px; padding: 6px 0; display: none; z-index: 200;
    margin-top: 0;
}

.lang-menu.open { display: block; }

.lang-option {
    padding: 9px 16px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-radius: 0;
}

.lang-option:hover { background: var(--bg); color: var(--ink); }
.lang-option.active { color: var(--brand); font-weight: 600; background: none; }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px; padding: 8px;
    background: none; border: none; cursor: pointer;
    width: auto; height: auto; border-radius: 0;
}

.menu-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--ink); border-radius: 2px; margin: 0 auto;
    transition: 0.3s var(--ease);
}

.nav-panel {
    display: none; flex-direction: column;
    padding: 6px 0 16px; border-top: 1px solid var(--border);
    position: static; background: none; box-shadow: none; border-left: 0; border-right: 0; border-bottom: 0;
}

.nav-panel.open { display: flex; }
.nav-panel .nav-links { flex-direction: column; gap: 0; }
.nav-panel .nav-links a { display: block; padding: 10px 48px; font-size: 15px; }

.nav-mobile-product-links {
    display: grid;
    gap: 0;
    margin-top: -4px;
    padding-bottom: 6px;
}

.nav-panel .nav-mobile-product-links a {
    padding: 8px 48px 8px 68px;
    font-size: 14px;
    color: rgba(20, 17, 15, 0.62);
}

.nav-panel .lang-dropdown { padding: 10px 48px; }

.nav-panel .lang-menu {
    position: static; display: block; box-shadow: none; border: 0;
    background: transparent; padding: 4px 0; min-width: 0; border-radius: 0;
}

.nav-panel .lang-option { padding-left: 8px; }

.site-footer {
    background: var(--ink) !important;
    padding: 64px 0 40px !important;
    border-top: none !important;
}

.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 56px;
    padding: 0; border-radius: 0; border: none; background: none; box-shadow: none;
}

.footer-brand-name {
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
    color: #fff; margin-bottom: 10px; display: block;
}

.footer-tagline { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.4); line-height: 1.65; max-width: 220px; }

.footer-col-title {
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.55); margin-bottom: 18px; display: block;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-col a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col span { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.3); }

.footer-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.3);
}

.footer-bar a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bar a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { display: none !important; }
.footer-nav { display: none !important; }
.footer-brand h2 { display: none !important; }
.footer-note { display: none !important; }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .site-nav {
        top: 8px;
        width: min(100% - 16px, calc(100% - 16px));
    }

    .nav-links { display: none; }
    .nav-product-menu-panel { display: none !important; }
    .menu-toggle { display: flex !important; }
}

@media (max-width: 600px) {
    .nav-inner { height: 64px; }
    .nav-brand { font-size: 11px; letter-spacing: 0.11em; }
    .footer-grid { grid-template-columns: 1fr; }
}
