/* ── IPGlobal Footer ── */

.ipg-footer {
    background: #000000;
    border-top: 1px solid rgba(255,255,255,.07);
    font-family: 'Inter', sans-serif;
    color: #a8b8cc;
}

/* ── Main footer grid: brand + 5 service cols + company ── */
.ipg-footer-main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 48px 52px;
    display: grid;
    grid-template-columns: 1.7fr repeat(6, 1fr);
    gap: 40px 28px;
    align-items: start;
}

/* ── Brand column ── */
.ipg-footer-logo {
    display: block;
    width: 160px;
    height: auto;
    margin-bottom: 14px;
}

.ipg-footer-tagline {
    font-size: 12.5px;
    line-height: 1.7;
    color: #5a7090;
    margin: 0 0 20px;
    max-width: 220px;
}

/* Contact rows */
.ipg-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.ipg-footer-contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #6a7f96;
    text-decoration: none;
    transition: color .2s;
    line-height: 1.4;
}

.ipg-footer-contact-row:hover {
    color: #00d4ff;
}

.ipg-footer-contact-row svg {
    width: 13px;
    height: 13px;
    fill: #3a5570;
    flex-shrink: 0;
}

.ipg-flag {
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
}

/* Social icons */
.ipg-footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.ipg-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    color: #7a8fa8;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}

.ipg-footer-social a:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    background: rgba(0,212,255,.06);
}

.ipg-footer-social svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* WSaaS logo */
.ipg-footer-wsaas-link {
    display: inline-block;
}

.ipg-footer-wsaas {
    display: block;
    width: 150px;
    height: auto;
    opacity: .75;
    transition: opacity .2s;
}

.ipg-footer-wsaas-link:hover .ipg-footer-wsaas {
    opacity: 1;
}

/* ── Nav columns ── */
.ipg-footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #ffffff;
    margin: 0 0 16px;
}

.ipg-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ipg-footer-col ul li {
    margin-bottom: 9px;
}

.ipg-footer-col ul li a {
    font-size: 12.5px;
    color: #5a7090;
    text-decoration: none;
    transition: color .2s;
    line-height: 1.45;
    display: inline-block;
}

.ipg-footer-col ul li a:hover {
    color: #00d4ff;
}

/* ── Certifications bar ── */
.ipg-footer-certs {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 28px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.ipg-footer-certs-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #3a5268;
    margin: 0;
}

.ipg-footer-certs-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ipg-footer-cert-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    transition: border-color .2s;
}

.ipg-footer-cert-badge:hover {
    border-color: rgba(255,255,255,.15);
}

.ipg-footer-cert-badge img,
.ipg-footer-cert-badge svg {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.ipg-footer-cert-badge-text strong {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.ipg-footer-cert-badge-text span {
    font-size: 10.5px;
    color: #3d5570;
}

/* WSaaS badge — no text label, just the logo */
.ipg-footer-cert-badge--wsaas {
    padding: 10px 20px;
}

.ipg-footer-cert-badge--wsaas img {
    width: 110px;
    height: auto;
    opacity: .8;
    transition: opacity .2s;
}

.ipg-footer-cert-badge--wsaas:hover img {
    opacity: 1;
}

/* ── Technology Partners bar ── */
.ipg-footer-partners {
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 24px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.ipg-footer-partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.ipg-footer-partner-logo {
    display: flex;
    align-items: center;
    opacity: .85;
    transition: opacity .2s;
}

.ipg-footer-partner-logo:hover {
    opacity: 1;
}

.ipg-footer-partner-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 640px) {
    .ipg-footer-partners { padding: 20px 24px; gap: 14px; }
    .ipg-footer-partners-logos { gap: 24px; }
    .ipg-footer-partner-logo img { height: 28px; }
}

/* ── Bottom bar ── */
.ipg-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
}

.ipg-footer-bottom-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ipg-footer-copy {
    font-size: 12px;
    color: #2d4256;
    margin: 0;
}

.ipg-footer-legal {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.ipg-footer-legal li a {
    font-size: 12px;
    color: #2d4256;
    text-decoration: none;
    transition: color .2s;
}

.ipg-footer-legal li a:hover {
    color: #6a8aaa;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
    .ipg-footer-main {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        padding: 56px 32px 44px;
        gap: 36px 24px;
    }
    /* Push last 3 service cols + company to a second row of 4 */
    .ipg-footer-brand { grid-row: 1 / 3; }
}

@media (max-width: 960px) {
    .ipg-footer-main {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 48px 24px 40px;
        gap: 32px 20px;
    }
    .ipg-footer-brand {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .ipg-footer-certs { padding: 18px 24px; }
    .ipg-footer-bottom-inner { padding: 16px 24px; }
}

@media (max-width: 640px) {
    .ipg-footer-main {
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px 32px;
        gap: 28px 16px;
    }
    .ipg-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ipg-footer-legal { gap: 12px; }
}

@media (max-width: 400px) {
    .ipg-footer-main { grid-template-columns: 1fr; }
}
