/* PMI HomeV2 — footer.css */
/* Measurements: deep navy #0d1530, 4-col grid, white headings 10px 700 uppercase, links rgba white 0.7 */

.v2-footer, .v2-footer *, .v2-footer *::before, .v2-footer *::after { box-sizing: border-box; margin: 0; padding: 0; }

.elementor-widget-pmiv2_footer .elementor-widget-container { padding: 0 !important; margin: 0 !important; }
.elementor-section:has(.v2-footer), .e-con:has(.v2-footer) {
    padding: 0 !important;
    --padding-top: 0 !important; --padding-bottom: 0 !important;
    --padding-left: 0 !important; --padding-right: 0 !important;
}

.v2-footer {
    background: #0d1530;
    font-family: 'DM Sans', sans-serif;
    color: rgba(255,255,255,0.7);
}

.v2-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 0;
}

.v2-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.v2-footer__col-heading {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.v2-footer__logo-link { display: inline-block; text-decoration: none; transition: opacity 0.2s ease; }
.v2-footer__logo-link:hover { opacity: 0.85; }
.v2-footer__logo-link img { display: block; }

.v2-footer__logo-text {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 12px;
}

.v2-footer__logo-pmi    { font-size: 20px; font-weight: 900; color: #fff; }
.v2-footer__logo-uganda { font-size: 18px; font-weight: 800; color: #f97316; }

.v2-footer__tagline {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}

.v2-footer__socials {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.v2-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.v2-footer__social:hover {
    background: #f97316;
    color: #fff;
    transform: translateY(-2px);
}

.v2-footer__social:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; }

.v2-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v2-footer__link {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.v2-footer__link:hover { color: #f97316; padding-left: 4px; }
.v2-footer__link:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; border-radius: 2px; }

.v2-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.v2-footer__contact-item svg { flex-shrink: 0; margin-top: 2px; }
a.v2-footer__contact-item:hover { color: #f97316; }

.v2-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.v2-footer__copyright {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
}

.v2-footer__legal {
    display: flex;
    gap: 20px;
}

.v2-footer__legal-link {
    font-size: 11px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.v2-footer__legal-link:hover { color: rgba(255,255,255,0.8); }
.v2-footer__legal-link:focus-visible { outline: 2px solid #f97316; outline-offset: 2px; }

@media (max-width: 1100px) {
    .v2-footer__grid { gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

@media (max-width: 900px) {
    .v2-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .v2-footer__col--brand { grid-column: 1 / -1; }
    .v2-footer__tagline { max-width: 100%; }
}

@media (max-width: 640px) {
    .v2-footer__inner { padding: 48px 20px 0; }
    .v2-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .v2-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 420px) { .v2-footer__inner { padding: 40px 16px 0; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
