/* ============================
   Footer — two-column layout
   Logo + tagline (left) | Newsletter (right)
   ============================ */

.site-footer {
    background-color: var(--color-dark);
    color: var(--color-text-muted);
    padding: var(--space-xl) 0 var(--space-lg);
    border-top: 1px solid #40271b;
}

.site-footer__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-xl);
}

/* Brand (left) */
.site-footer__brand {
    flex-shrink: 0;
}

.site-footer__logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.site-footer__logo-img {
    height: 68px;
    width: auto;
}

.site-footer__logo:hover {
    opacity: 0.8;
}

.site-footer__tagline {
    font-family: var(--font-body);
    font-size: var(--text-md);
    font-weight: 400;
    color: var(--color-text-light);
    max-width: 303px;
}

/* Newsletter (right) */
.site-footer__newsletter {
    flex-shrink: 0;
    max-width: 550px;
    width: 100%;
}

.site-footer__newsletter-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
}

/* Newsletter form (shared with old standalone section) */
.newsletter__form {
    display: flex;
}

.newsletter__input {
    flex: 1;
    padding: 0.75rem 1.125rem;
    border: none;
    background-color: #ffecd3;
    color: var(--color-bg-dark);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    border-radius: 0;
    -webkit-appearance: none;
    height: 49px;
}

.newsletter__input::placeholder {
    color: #8a8a8a;
}

.newsletter__input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(184, 150, 122, 0.3);
}

.newsletter__btn {
    padding: 0.75rem 1.25rem;
    background-color: #501812;
    color: var(--color-text-light);
    border: none;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    border-radius: 0;
    -webkit-appearance: none;
    height: 49px;
}

.newsletter__btn:hover {
    background-color: #3a100d;
    color: var(--color-text-light);
}

.newsletter__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mobile */
@media (max-width: 767px) {
    .site-footer {
        padding: var(--space-lg) 0 var(--space-md);
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-lg);
    }

    .site-footer__tagline {
        max-width: 100%;
    }

    .site-footer__newsletter {
        max-width: 100%;
    }

    .site-footer__newsletter-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .newsletter__form {
        flex-direction: column;
    }

    .newsletter__input {
        border-bottom: none;
    }

    .newsletter__btn {
        padding: 0.75rem 1.25rem;
    }
}
