.site-footer{
    background: linear-gradient(to top, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    width:100%;
    background:#1a1a1a;
    color:#fff;
    margin-top:4rem;
}

.footer-inner{
    max-width:1200px;
    margin:0 auto;
    padding:2.5rem 2rem;
}

.footer-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1.5fr;
    gap:3rem;
}

.footer-logo-img{
    height: auto;
    max-height: 60px;
    max-width: 220px;
    width: auto;
    margin-bottom:1.4rem;
    display: block;
}

.footer-logo-link{
    display: inline-block;
    color: var(--accent, #b89b5e);
    margin-bottom: 1.4rem;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-logo-link:hover{
    opacity: .85;
}

.footer-logo-link .brand-logo{
    display: block;
    width: auto;
    height: 56px;
    color: inherit;
}

.footer-logo-text{
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom:1.4rem;
    display: none;
}

/* Light theme: show light logo, hide dark logo and text */
:root[data-theme="light"] .footer-logo-light,
:root:not([data-theme]) .footer-logo-light {
    display: block !important;
}

:root[data-theme="light"] .footer-logo-dark,
:root:not([data-theme]) .footer-logo-dark {
    display: none !important;
}

:root[data-theme="light"] .footer-logo-text,
:root:not([data-theme]) .footer-logo-text {
    display: none !important;
}

/* Dark theme: show dark logo if exists, otherwise show text */
:root[data-theme="dark"] .footer-logo-light {
    display: none !important;
}

:root[data-theme="dark"] .footer-logo-dark {
    display: block !important;
}

/* If dark logo doesn't exist, show text instead */
:root[data-theme="dark"] .footer-logo-text {
    display: block !important;
}

/* Hide text if dark logo exists */
:root[data-theme="dark"] .footer-col:has(.footer-logo-dark) .footer-logo-text {
    display: none !important;
}

.footer-title{
    font-size:1rem;
    font-weight:600;
    margin-bottom:1.2rem;
}

.footer-list{
    list-style:none;
    padding:0;
    margin:0;
}

.footer-list li{
    margin-bottom:0.6rem;
}

.site-footer a{
    color:#999;
    text-decoration:none;
}

.site-footer a:hover{
    color:var(--accent);
}

.footer-newsletter{
    display:flex;
    align-items:center;
    border:2px solid var(--accent);
    border-radius:999px;
    background:#fff;
    overflow:hidden;
    margin-bottom:1.6rem;
}

.footer-newsletter input{
    flex:1;
    padding:0.85rem 1.3rem;
    border:none;
    outline:none;
}

.footer-newsletter button{
    margin:5px;
    padding:0.75rem 1.4rem;
    background:var(--accent);
    border:none;
    border-radius:999px;
    color:#fff;
    font-size:0.8rem;
    letter-spacing:0.06em;
    cursor:pointer;
}

.footer-newsletter button:hover{
    background:#3a3a3a;
}

.newsletter-success{
    background:rgba(40,167,69,0.15);
    color:#28a745;
    padding:0.6rem 1rem;
    border-radius:6px;
    font-size:0.85rem;
    margin-bottom:0.8rem;
    border:1px solid rgba(40,167,69,0.3);
}

.newsletter-error{
    background:rgba(220,53,69,0.15);
    color:#dc3545;
    padding:0.6rem 1rem;
    border-radius:6px;
    font-size:0.85rem;
    margin-bottom:0.8rem;
    border:1px solid rgba(220,53,69,0.3);
}

.footer-press{
    font-size:0.9rem;
    color:#ccc;
}

@media (max-width:900px){
    .footer-grid{
        grid-template-columns:1fr;
        gap:2.2rem;
    }
}
