/* =========================================================
   Kornelia — footer.css
   ========================================================= */

.site-footer {
    background: var(--c-light);
    color: var(--c-black);
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(61,33,12,0.2), transparent);
}

.site-footer__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px var(--sp-4) 56px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
    gap: 56px;
}

.footer-col { min-width: 0; }

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out);
}
.footer-logo:hover { opacity: 0.85; transform: translateY(-2px); }
.footer-logo img { height: 68px; width: auto; }

.footer-tagline {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    color: rgba(36,35,33,0.7);
    margin: 0 0 28px;
    max-width: 340px;
}

.footer-social {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(61,33,12,0.25);
    border-radius: 50%;
    color: var(--c-brown);
    transition:
        background 0.35s var(--ease-out),
        color 0.35s var(--ease-out),
        border-color 0.35s var(--ease-out),
        transform 0.35s var(--ease-out);
}
.footer-social a:hover {
    background: var(--c-brown);
    color: var(--c-light);
    border-color: var(--c-brown);
    transform: translateY(-3px);
}
.footer-social .icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}
.footer-social .icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-heading {
    font-family: var(--f-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-brown);
    margin: 0 0 24px;
    padding-bottom: 14px;
    position: relative;
}
.footer-heading::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 1px;
    background: var(--c-brown);
}

.footer-links,
.footer-links .menu,
.footer-contact {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-links .menu a {
    position: relative;
    font-size: 14px;
    letter-spacing: 0.04em;
    color: rgba(36,35,33,0.75);
    transition: color 0.3s ease, padding-left 0.35s var(--ease-out);
    display: inline-block;
}
.footer-links a::before,
.footer-links .menu a::before {
    content: "→";
    position: absolute;
    left: -4px; top: 0;
    opacity: 0;
    transform: translateX(-8px);
    color: var(--c-brown);
    transition: opacity 0.3s ease, transform 0.35s var(--ease-out);
}
.footer-links a:hover,
.footer-links .menu a:hover {
    color: var(--c-brown);
    padding-left: 22px;
}
.footer-links a:hover::before,
.footer-links .menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--c-black);
}
.footer-contact__label {
    display: block;
    font-family: var(--f-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(61,33,12,0.7);
    margin-bottom: 2px;
}
.footer-contact a {
    color: var(--c-black);
    transition: color 0.3s ease;
}
.footer-contact a:hover { color: var(--c-brown); }
.footer-contact address {
    font-style: normal;
    color: var(--c-black);
}

.footer-newsletter__desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(36,35,33,0.7);
    margin: 0 0 16px;
}

.footer-newsletter {
    display: flex;
    background: var(--c-white);
    border: 1px solid rgba(61,33,12,0.25);
    transition: border-color 0.3s ease;
}
.footer-newsletter:focus-within {
    border-color: var(--c-brown);
}
.footer-newsletter input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    padding: 12px 14px;
    font-family: var(--f-sans);
    font-size: 14px;
    color: var(--c-black);
    letter-spacing: 0.02em;
}
.footer-newsletter input::placeholder {
    color: rgba(36,35,33,0.4);
}
.footer-newsletter button {
    background: var(--c-brown);
    color: var(--c-light);
    border: 0;
    width: 48px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, letter-spacing 0.3s var(--ease-out);
}
.footer-newsletter button:hover {
    background: var(--c-black);
    letter-spacing: 0.1em;
}

.footer-newsletter__note {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(36,35,33,0.55);
    margin: 12px 0 0;
}
.footer-newsletter__note a {
    color: var(--c-brown);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}
.footer-newsletter__note a:hover { color: var(--c-black); }

/* ——— BOTTOM BAR ——— */
.site-footer__bottom {
    border-top: 1px solid rgba(61,33,12,0.12);
}
.site-footer__bottom-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 22px var(--sp-4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(36,35,33,0.55);
    margin: 0;
}

.footer-legal,
.footer-legal .menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}
.footer-legal li + li::before,
.footer-legal .menu li + li::before {
    content: "·";
    margin: 0 14px;
    color: rgba(61,33,12,0.35);
}
.footer-legal a,
.footer-legal .menu a {
    font-size: 12px;
    letter-spacing: 0.04em;
    color: rgba(36,35,33,0.6);
    transition: color 0.3s ease;
}
.footer-legal a:hover,
.footer-legal .menu a:hover { color: var(--c-brown); }

/* ——— RESPONSIVE ——— */
@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 64px 24px 40px;
    }
    .site-footer__bottom-inner {
        padding: 20px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .site-footer__inner { grid-template-columns: 1fr; gap: 44px; }
    .footer-legal li + li::before { margin: 0 10px; }
}
