/* ==========================================================
   IB-S Global Footer — v2.0.0
   Full width with the same 4vw gutter as the header; same type scale as the site:
   labels = body font 700 uppercase tracked (like every eyebrow),
   links and contacts = body font 15px on one rhythm.
   ========================================================== */

.ibs-footer {
    width: 100%;
    background: #071a0d;
    border-top: 1px solid rgba(100,230,155,.14);
    color: rgba(255,255,255,.72);
    font-family: var(--et_global_body_font, 'Open Sans'), sans-serif;
}

.ibs-footer__body {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
    column-gap: 4rem;
    row-gap: 3rem;
    align-items: start;
    padding: 5rem 4vw 4rem;
    box-sizing: border-box;
}

/* Brand */
.ibs-footer__logo { display: inline-block; margin-bottom: 1.5rem; }
.ibs-footer__logo img { display: block; height: 44px; width: auto; }
.ibs-footer__about {
    max-width: 300px;
    margin: 0;
    padding: 0;
    font-size: .95rem;
    line-height: 1.65;
    color: rgba(255,255,255,.72);
}
.ibs-footer__social { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: 1.75rem; }
.ibs-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}
.ibs-footer__social a svg { display: block; }
.ibs-footer__social a:focus-visible { outline: 2px solid #6fe8a2; outline-offset: 3px; }

.ibs-footer__social a:hover { color: #6fe8a2; border-color: #6fe8a2; background-color: rgba(61,186,114,.08); }

/* Column labels — same style as the site eyebrows */
.ibs-footer .ibs-footer__col-title {
    font-family: var(--et_global_body_font, 'Open Sans'), sans-serif !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    letter-spacing: .2em;
    line-height: 1.2 !important;
    text-transform: uppercase;
    color: #3dba72 !important;
    margin: 0 0 1.4rem !important;
    padding: 0 !important;
}

/* Links and contacts share one size and rhythm */
.ibs-footer__nav { display: flex; flex-direction: column; gap: .7rem; }
.ibs-footer__nav a,
.ibs-footer__address span,
.ibs-footer__contact-link {
    font-size: .95rem;
    line-height: 1.5;
    color: rgba(255,255,255,.72);
    text-decoration: none;
}
.ibs-footer__nav a,
.ibs-footer__contact-link { transition: color .2s; width: fit-content; }
.ibs-footer__nav a:hover,
.ibs-footer__contact-link:hover { color: #6fe8a2; }

.ibs-footer__address { font-style: normal; display: flex; flex-direction: column; gap: .15rem; margin: 0; }
.ibs-footer__address-sep { display: block; height: .85rem; }

/* Bottom bar */
.ibs-footer__divider { display: none; }
.ibs-footer__bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1.6rem 4vw 2rem;
    box-sizing: border-box;
}
.ibs-footer__bottom::before {
    content: '';
    position: absolute;
    top: 0; left: 4vw; right: 4vw;
    height: 1px;
    background: rgba(255,255,255,.1);
}
.ibs-footer__copy { font-size: .82rem; color: rgba(255,255,255,.55); }
.ibs-footer__bottom-links { display: flex; gap: 1.5rem; }
.ibs-footer__bottom-links a { font-size: .82rem; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.ibs-footer__bottom-links a:hover { color: #6fe8a2; }

@media (max-width: 1024px) {
    .ibs-footer__body { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; padding: 4rem 6vw 3rem; }
    .ibs-footer__col--brand { grid-column: 1 / -1; }
    .ibs-footer__bottom { padding: 1.4rem 6vw 1.8rem; }
    .ibs-footer__bottom::before { left: 6vw; right: 6vw; }
}
@media (max-width: 600px) {
    .ibs-footer__body { grid-template-columns: 1fr; row-gap: 2.25rem; }
    .ibs-footer__bottom { flex-direction: column; align-items: flex-start; }
}
/* Remove the Divi section padding around the footer (dark band above it) */
.et_pb_section:has(.ibs-footer), .et_pb_row:has(.ibs-footer), .et_pb_column:has(.ibs-footer) { padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; }
