/* =========================================
   FOOTER
   ========================================= */

.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 5rem 0 2.5rem;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.footer .container {
    max-width: var(--container-width);
    padding: 0 4rem;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
    align-items: start;
}

/* Newsletter */
.newsletter h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.newsletter p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 340px;
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--text-muted);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
}

.newsletter-message {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    min-height: 1.2em;
}

/* Footer links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    padding-top: 0.25rem;
}

.link-group h3 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-brand {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-brand:hover {
    color: var(--text-secondary);
}

.footer-brand-st {
    color: var(--text-primary);
}

.footer-brand-art {
    color: var(--accent-color);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {
    .footer .container {
        padding: 0 2.5rem;
    }

    .footer-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer .container {
        padding: 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .newsletter p {
        max-width: none;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
        text-align: center;
    }

    .footer-links {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .footer .container {
        padding: 0 1.25rem;
    }
}
