/* ═══════════════════════════════════════════════════════════════════════════
   Site Footer — loaded on every page via base.html
   ═══════════════════════════════════════════════════════════════════════════ */

.footer {
    background: var(--color-bg-dark, #0e0e0e);
    color: rgba(255, 255, 255, 0.78);
    padding: 56px 0 0;
    margin-top: 64px;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ── Top grid: brand / links / links / links ───────────────────────────── */
.footer__top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Brand column */
.footer__brand-name {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.footer__brand-logo {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}
.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
    max-width: 32ch;
}
.footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
}
.footer__contact li i {
    color: var(--color-accent, #ff4081);
    margin-top: 3px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.footer__contact a {
    color: inherit;
    transition: color 0.2s;
}
.footer__contact a:hover { color: #fff; }

/* Link columns */
.footer__heading {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 18px;
}
.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s, padding 0.2s;
    display: inline-block;
}
.footer__links a:hover {
    color: #fff;
    padding-inline-start: 4px;
}

/* ── Middle row: newsletter + social ──────────────────────────────────── */
.footer__middle {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__newsletter-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__newsletter-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.footer__newsletter-text {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}
.footer__newsletter {
    display: flex;
    gap: 0;
    max-width: 480px;
}
.footer__newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-inline-end: none;
    border-radius: var(--radius-sm, 4px) 0 0 var(--radius-sm, 4px);
    color: #fff;
    font-size: 0.875rem;
    outline: none;
}
.footer__newsletter-input:focus {
    border-color: var(--color-accent, #ff4081);
    background: rgba(255, 255, 255, 0.08);
}
.footer__newsletter-input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer__newsletter-btn {
    padding: 12px 24px;
    background: var(--color-accent, #ff4081);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-sm, 4px) var(--radius-sm, 4px) 0;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.footer__newsletter-btn:hover { background: var(--color-accent-dark, #d81e60); }

/* Social */
.footer__social-block { text-align: end; }
.footer__social-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 12px;
}
.footer__social {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}
.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.footer__social a:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: transparent;
}
/* Brand-tinted hover backgrounds */
.footer__social a.is-fb:hover { background: #1877F2; }
.footer__social a.is-ig:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer__social a.is-tt:hover { background: linear-gradient(135deg, #25F4EE, #FE2C55); }
.footer__social a.is-x:hover { background: #000; border-color: rgba(255, 255, 255, 0.45); }
.footer__social a.is-yt:hover { background: #FF0000; }
.footer__social a.is-wa:hover { background: #25D366; }

/* ── Bottom row: payments + copyright ─────────────────────────────────── */
.footer__bottom-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer__payment {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer__payment-label {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}
.footer__payment-icons {
    display: flex;
    gap: 14px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.65);
}
.footer__copy { color: rgba(255, 255, 255, 0.45); margin: 0; text-align: end; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 992px) {
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__middle { grid-template-columns: 1fr; }
    .footer__social-block { text-align: start; }
    .footer__social { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .footer { padding-top: 40px; margin-top: 40px; }
    .footer__top { grid-template-columns: 1fr; gap: 28px; }
    .footer__bottom-row { flex-direction: column; align-items: flex-start; }
    .footer__copy { text-align: start; }
    .footer__newsletter { max-width: 100%; }
}

/* ── Print: hide footer entirely ──────────────────────────────────────── */
@media print {
    .footer { display: none !important; }
}
