/* =========================================================
   ESPAGLOBAL - FOOTER 3
   Theme variables are provided by _design_variables.php
========================================================= */

.espa-footer-3{
    --footer-bg:var(--espa-secondary);
    --footer-bg-dark:color-mix(in srgb,var(--espa-secondary) 82%,#000);
    --footer-text:rgba(255,255,255,.82);
    --footer-muted:rgba(255,255,255,.58);
    --footer-border:rgba(255,255,255,.12);
    --footer-accent:var(--espa-primary);
    position:relative;
    background:var(--footer-bg);
    color:var(--footer-text);
    font-family:var(--font-family-body);
}

.espa-footer-3__main{padding:38px 0 26px}
.espa-footer-3__topline{display:flex;align-items:center;justify-content:space-between;gap:28px}
.espa-footer-3__call{display:inline-flex;align-items:center;gap:12px;color:#fff;text-decoration:none}
.espa-footer-3__call-icon{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--footer-accent) 16%,transparent);color:var(--footer-accent)}
.espa-footer-3__call-icon iconify-icon{width:22px;height:22px}
.espa-footer-3__call small{display:block;margin-bottom:2px;color:var(--footer-muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.espa-footer-3__call strong{display:block;color:#fff;font-family:var(--font-family-heading);font-size:18px;line-height:1.15;font-weight:var(--font-weight-heading)}

.espa-footer-3__social-wrap{text-align:right}
.espa-footer-3__eyebrow{display:block;margin-bottom:10px;color:var(--footer-muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.espa-footer-3__socials{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.espa-footer-3__socials a{width:34px;height:34px;border:1px solid rgba(255,255,255,.22);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:background .18s ease,border-color .18s ease,transform .18s ease,color .18s ease}
.espa-footer-3__socials a:hover{background:var(--footer-accent);border-color:var(--footer-accent);color:var(--espa-button-text);transform:translateY(-2px)}
.espa-footer-3__socials iconify-icon{width:16px;height:16px}

.espa-footer-3__divider{height:1px;margin:26px 0 30px;background:var(--footer-border)}
.espa-footer-3__menus-row{align-items:flex-start}
.espa-footer-3__title{margin:0 0 14px;color:#fff;font-family:var(--font-family-heading);font-size:13px;font-weight:var(--font-weight-heading)}
.espa-footer-3__menu{display:flex;flex-direction:column;gap:8px}
.espa-footer-3__menu a{color:var(--footer-text);font-size:12px;line-height:1.4;text-decoration:none;transition:color .16s ease,transform .16s ease}
.espa-footer-3__menu a:hover{color:var(--footer-accent);transform:translateX(2px)}

.espa-footer-3__contact{display:grid;gap:11px}
.espa-footer-3__contact-item{display:flex;align-items:flex-start;gap:10px;color:var(--footer-text);text-decoration:none;font-size:12px;line-height:1.45}
.espa-footer-3__contact-item>span{width:26px;height:26px;border-radius:8px;flex:0 0 26px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);color:var(--footer-accent)}
.espa-footer-3__contact-item iconify-icon{width:15px;height:15px}
.espa-footer-3__contact-item:hover{color:#fff}

.espa-footer-3__meta-card{margin-top:34px;padding:18px 20px;border:1px solid rgba(255,255,255,.08);border-radius:var(--espa-card-radius);background:color-mix(in srgb,var(--footer-bg-dark) 56%,transparent);display:flex;align-items:center;justify-content:space-between;gap:20px}
.espa-footer-3__copyright{color:var(--footer-muted);font-size:11px}

.espa-footer-3__certificates{display:flex;align-items:center;justify-content:flex-end;gap:12px}
.espa-footer-3__certificates img{display:block;width:auto;max-width:110px;max-height:42px;object-fit:contain}

.espa-footer-3__lower{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.espa-footer-3__payments{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.espa-footer-3__payments img{display:block;width:auto;max-height:24px;object-fit:contain}

.espa-footer-3__bottom-menu{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px}
.espa-footer-3__bottom-menu a{color:var(--footer-muted);font-size:10px;font-weight:600;text-decoration:none;transition:color .16s ease}
.espa-footer-3__bottom-menu a:hover{color:var(--footer-accent)}

.espa-footer-3__footer-text{margin-top:16px;padding-top:16px;border-top:1px solid var(--footer-border);color:var(--footer-muted);font-size:10px;line-height:1.65}

@media(max-width:991.98px){
    .espa-footer-3__topline{align-items:flex-start}
    .espa-footer-3__meta-card,.espa-footer-3__lower{align-items:flex-start;flex-direction:column}
    .espa-footer-3__bottom-menu{justify-content:flex-start}
    .espa-footer-3__certificates{justify-content:flex-start}
}

@media(max-width:767.98px){
    .espa-footer-3__main{padding:28px 0 20px}
    .espa-footer-3__topline{flex-direction:column}
    .espa-footer-3__social-wrap{text-align:left}
    .espa-footer-3__socials{justify-content:flex-start}
    .espa-footer-3__divider{margin:22px 0 24px}
    .espa-footer-3__title{margin-bottom:11px}
    .espa-footer-3__menu{gap:7px}
    .espa-footer-3__meta-card{margin-top:26px;padding:16px}
    .espa-footer-3__certificates img{max-width:92px;max-height:36px}
}
