.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: var(--radius-full);
    font-family: var(--font-body); font-size: var(--text-sm);
    font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.3s ease;
}
.btn-primary { background: var(--gradient-accent); color: var(--color-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-accent); color: var(--color-primary); }
.btn-secondary { background: var(--color-glass); color: var(--color-text); border: 1px solid var(--color-border); backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 24px; }
.hero-eyebrow::before { content: ; width: 40px; height: 1px; background: var(--gradient-accent); }

.glass-card { background: var(--color-glass); border: 1px solid var(--color-border); border-radius: var(--radius-lg); backdrop-filter: blur(10px); transition: all 0.4s ease; }
.glass-card:hover { transform: translateY(-5px); border-color: rgba(197, 168, 128, 0.3); box-shadow: var(--glow-accent); }

.divider-custom { width: 60px; height: 1px; background: var(--color-accent); margin: 30px auto; opacity: 0.5; }

.section-eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-accent); text-align: center; margin-bottom: 16px; }
.section-title { font-family: var(--font-heading); font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); font-weight: 400; color: var(--color-secondary); text-align: center; margin-bottom: 24px; }
.section-description { font-size: var(--text-lg); color: var(--color-text-muted); text-align: center; max-width: 700px; margin: 0 auto; line-height: 1.8; }

.lang-btn { padding: 8px 16px; border-radius: var(--radius-full); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; color: var(--color-text-muted); text-decoration: none; transition: all 0.3s ease; }
.lang-btn.active { background: var(--gradient-accent); color: var(--color-primary); }
.lang-btn:hover:not(.active) { color: var(--color-secondary); }

.category-pill { display: inline-flex; align-items: center; padding: 10px 24px; background: var(--color-glass); border: 1px solid var(--color-border); border-radius: var(--radius-full); color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 500; text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.category-pill:hover { background: rgba(197, 168, 128, 0.1); border-color: rgba(197, 168, 128, 0.3); color: var(--color-secondary); }
.category-pill.active { background: var(--gradient-accent); color: var(--color-primary); border-color: transparent; }

.form-group { margin-bottom: var(--space-lg); }
.form-group label { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--color-secondary); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 18px; background: var(--color-glass); border: 1px solid var(--color-border); border-radius: var(--radius-md); color: var(--color-secondary); font-family: var(--font-body); font-size: var(--text-base); transition: all 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.2); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--color-text-muted); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--color-primary); color: var(--color-text); }

.alert { padding: 16px 24px; border-radius: var(--radius-md); margin-bottom: var(--space-lg); font-size: var(--text-sm); }
.alert-success { background: rgba(76, 175, 80, 0.15); border: 1px solid rgba(76, 175, 80, 0.3); color: #81c784; }
.alert-error { background: rgba(244, 67, 54, 0.15); border: 1px solid rgba(244, 67, 54, 0.3); color: #e57373; }

/* ===== Site Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(197, 168, 128, 0.2);
}

.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.site-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.site-logo img {
    height: 44px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}
.site-logo:hover img {
    transform: scale(1.02);
}

.header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin-left: 48px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-list li a {
    position: relative;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    white-space: nowrap;
}
.nav-list li a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.nav-list li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}
.nav-list li a:hover::after {
    width: 60%;
}
.nav-list li a.active {
    color: #fff;
    background: rgba(197, 168, 128, 0.12);
}
.nav-list li a.active::after {
    width: 60%;
}
.nav-list li a.nav-cta {
    background: var(--color-accent);
    color: #0a0a0a;
    font-weight: 600;
    padding: 10px 26px;
    margin-left: 8px;
}
.nav-list li a.nav-cta::after {
    display: none;
}
.nav-list li a.nav-cta:hover {
    background: var(--color-accent-hover);
    box-shadow: 0 0 30px rgba(197, 168, 128, 0.35);
    color: #0a0a0a;
    transform: translateY(-2px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.header-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.header-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.header-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}
.mobile-overlay.active {
    display: block;
}

/* ===== Mobile Header ===== */
@media (max-width: 868px) {
    .header-inner {
        padding: 0 20px;
        height: 64px;
    }
    .site-logo img {
        height: 36px;
    }
    .header-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        transform: none;
        left: auto;
        margin-left: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(24px);
        border-left: 1px solid var(--color-border);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        padding: 80px 24px 24px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .header-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 4px;
    }
    .nav-list li a {
        display: block;
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: var(--radius-sm);
    }
    .nav-list li a::after {
        display: none;
    }
    .nav-list li a.active {
        background: rgba(197, 168, 128, 0.15);
        color: var(--color-accent);
    }
    .nav-list li a.nav-cta {
        text-align: center;
        margin-left: 0;
        margin-top: 8px;
    }
    .header-toggle {
        display: flex;
    }
}

/* ===== Site Footer ===== */
.site-footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, #0a0a0a 100%);
    border-top: 1px solid var(--color-border);
    padding: 72px 40px 0;
    margin-top: auto;
}

.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}
.footer-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0 0 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-glass);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: rgba(197, 168, 128, 0.15);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links li a {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}
.footer-links li a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}
.footer-links li span {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer-contact-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    opacity: 0.6;
    margin: 0;
}

/* ===== Mobile Footer ===== */
@media (max-width: 968px) {
    .site-footer {
        padding: 56px 24px 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    .footer-logo {
        display: inline-block;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-nav, .footer-contact {
        text-align: center;
    }
    .footer-links li a:hover {
        transform: none;
    }
    .footer-contact-links li a {
        justify-content: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .site-header .header-inner {
        height: 58px;
    }
    .site-logo img {
        height: 32px;
    }
}

/* ===== Hero Background ===== */
.hero-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--gradient-primary);
}
.hero-bg::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(197, 168, 128, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(197, 168, 128, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== Mobile Menu Fix (eHC) ===== */
@media (max-width: 991px) {
    .header-nav .nav-list li a { color: #fff !important; font-size: 1rem !important; font-weight: 500; padding: 14px 18px; display: flex !important; align-items: center; gap: 8px; }
    .header-nav .nav-list li a:hover, .header-nav .nav-list li a:focus { background: rgba(197,168,128,0.12); color: var(--color-accent) !important; }
    .header-nav .nav-list li a.active { color: var(--color-accent) !important; background: rgba(197,168,128,0.15); }
    .header-nav .nav-list li a.nav-cta { background: var(--color-accent) !important; color: #0a0a0a !important; font-weight: 600; justify-content: center; margin-top: 12px; }
    .dropdown-menu { max-height: 0; overflow: hidden; padding: 0; background: rgba(255,255,255,0.04); border-radius: var(--radius-md); margin: 0 0 8px; transition: max-height .3s ease, padding .3s ease; }
    .nav-dropdown.open .dropdown-menu { max-height: 500px; padding: 8px 0; }
    .nav-dropdown.open > a .dropdown-arrow { transform: rotate(180deg); }
    .dropdown-menu li a { padding: 10px 18px !important; font-size: .9rem !important; color: rgba(255,255,255,.75) !important; }
    .dropdown-menu li a:hover { color: var(--color-accent) !important; }
    .nav-dropdown > a { justify-content: space-between; width: 100%; }
}
